diff --git a/cldk/analysis/java/codeanalyzer/codeanalyzer.py b/cldk/analysis/java/codeanalyzer/codeanalyzer.py index 0a2fcd2..0a1d9fe 100644 --- a/cldk/analysis/java/codeanalyzer/codeanalyzer.py +++ b/cldk/analysis/java/codeanalyzer/codeanalyzer.py @@ -729,20 +729,21 @@ def __raw_call_graph_using_symbol_table_target_method(self, target_class_name: s source_class = "" callee_signature = "" if call_site.callee_signature != "": - pattern = r"\b(?:[a-zA-Z_][\w\.]*\.)+([a-zA-Z_][\w]*)\b|<[^>]*>" - - # Find the part within the parentheses - start = call_site.callee_signature.find("(") + 1 - end = call_site.callee_signature.rfind(")") - - # Extract the elements inside the parentheses - elements = call_site.callee_signature[start:end].split(",") - - # Apply the regex to each element - simplified_elements = [re.sub(pattern, r"\1", element.strip()) for element in elements] - - # Reconstruct the string with simplified elements - callee_signature = f"{call_site.callee_signature[:start]}{', '.join(simplified_elements)}{call_site.callee_signature[end:]}" + # pattern = r"\b(?:[a-zA-Z_][\w\.]*\.)+([a-zA-Z_][\w]*)\b|<[^>]*>" + # + # # Find the part within the parentheses + # start = call_site.callee_signature.find("(") + 1 + # end = call_site.callee_signature.rfind(")") + # + # # Extract the elements inside the parentheses + # elements = call_site.callee_signature[start:end].split(",") + # + # # Apply the regex to each element + # simplified_elements = [re.sub(pattern, r"\1", element.strip()) for element in elements] + # + # # Reconstruct the string with simplified elements + # callee_signature = f"{call_site.callee_signature[:start]}{', '.join(simplified_elements)}{call_site.callee_signature[end:]}" + callee_signature = call_site.callee_signature if call_site.receiver_type != "": # call to any class @@ -796,20 +797,21 @@ def __raw_call_graph_using_symbol_table(self, qualified_class_name: str, method_ # Currently the callee signature returns the fully qualified type, whereas # the key for JCallable does not. The below logic converts the fully qualified signature # to the desider format. Only limitation is the nested generic type. - pattern = r"\b(?:[a-zA-Z_][\w\.]*\.)+([a-zA-Z_][\w]*)\b|<[^>]*>" - - # Find the part within the parentheses - start = call_site.callee_signature.find("(") + 1 - end = call_site.callee_signature.rfind(")") - - # Extract the elements inside the parentheses - elements = call_site.callee_signature[start:end].split(",") - - # Apply the regex to each element - simplified_elements = [re.sub(pattern, r"\1", element.strip()) for element in elements] - - # Reconstruct the string with simplified elements - callee_signature = f"{call_site.callee_signature[:start]}{', '.join(simplified_elements)}{call_site.callee_signature[end:]}" + # pattern = r"\b(?:[a-zA-Z_][\w\.]*\.)+([a-zA-Z_][\w]*)\b|<[^>]*>" + # + # # Find the part within the parentheses + # start = call_site.callee_signature.find("(") + 1 + # end = call_site.callee_signature.rfind(")") + # + # # Extract the elements inside the parentheses + # elements = call_site.callee_signature[start:end].split(",") + # + # # Apply the regex to each element + # simplified_elements = [re.sub(pattern, r"\1", element.strip()) for element in elements] + # + # # Reconstruct the string with simplified elements + # callee_signature = f"{call_site.callee_signature[:start]}{', '.join(simplified_elements)}{call_site.callee_signature[end:]}" + callee_signature = call_site.callee_signature if call_site.receiver_type != "": # call to any class diff --git a/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar b/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.5.jar similarity index 73% rename from cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar rename to cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.5.jar index 5118d1a..869243c 100644 Binary files a/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.4.jar and b/cldk/analysis/java/codeanalyzer/jar/codeanalyzer-2.3.5.jar differ diff --git a/cldk/models/java/models.py b/cldk/models/java/models.py index 52e855c..3a62544 100644 --- a/cldk/models/java/models.py +++ b/cldk/models/java/models.py @@ -158,6 +158,7 @@ class JCallSite(BaseModel): receiver_expr (str): Expression for the receiver of the method call. receiver_type (str): Name of type declaring the called method. argument_types (List[str]): Types of actual parameters for the call. + argument_expr (List[str]): Actual parameter expressions for the call. return_type (str): Return type of the method call (resolved type of the method call expression; empty string if expression is unresolved). callee_signature (str): Signature of the callee. is_static_call (bool): Flag indicating whether the call is a static call. @@ -179,6 +180,7 @@ class JCallSite(BaseModel): receiver_expr: str = "" receiver_type: str argument_types: List[str] + argument_expr: List[str] return_type: str = "" callee_signature: str = "" is_static_call: bool | None = None diff --git a/tests/analysis/java/test_java_analysis.py b/tests/analysis/java/test_java_analysis.py index 57327d1..6b88168 100644 --- a/tests/analysis/java/test_java_analysis.py +++ b/tests/analysis/java/test_java_analysis.py @@ -370,7 +370,7 @@ def test_get_callers(test_fixture, analysis_json): ) # Test using call graph - callers = java_analysis.get_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(String)", False) + callers = java_analysis.get_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(java.lang.String)", False) assert callers is not None assert isinstance(callers, Dict) assert "caller_details" in callers @@ -383,7 +383,7 @@ def test_get_callers(test_fixture, analysis_json): # Uncomment this next test section when fixed # Test using symbol table - callers = java_analysis.get_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(String)", True) + callers = java_analysis.get_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(java.lang.String)", True) assert callers is not None assert isinstance(callers, Dict) assert "caller_details" in callers @@ -415,14 +415,14 @@ def test_get_callees(test_fixture, analysis_json): ) # Test with a class that has no callees - callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.util.Log", "log(String)", False) + callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.util.Log", "log(java.lang.String)", False) assert callees is not None assert isinstance(callees, Dict) assert "callee_details" in callees assert len(callees["callee_details"]) == 0 # Test with a class that has callees - callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "doDecoding(String)", False) + callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "doDecoding(java.lang.String)", False) assert callees is not None assert isinstance(callees, Dict) assert "callee_details" in callees @@ -435,7 +435,7 @@ def test_get_callees(test_fixture, analysis_json): # Uncomment this next test section when fixed # # Test using symbol table - callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "doDecoding(String)", True) + callees = java_analysis.get_callees("com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "doDecoding(java.lang.String)", True) assert callees is not None assert isinstance(callees, Dict) assert "callee_details" in callees @@ -572,7 +572,7 @@ def test_get_method(test_fixture, analysis_json): eager_analysis=False, ) - the_method = java_analysis.get_method("com.ibm.websphere.samples.daytrader.util.Log", "trace(String)") + the_method = java_analysis.get_method("com.ibm.websphere.samples.daytrader.util.Log", "trace(java.lang.String)") assert the_method is not None assert isinstance(the_method, JCallable) assert the_method.declaration == "public static void trace(String message)" @@ -594,7 +594,7 @@ def test_get_method_parameters(test_fixture, analysis_json): eager_analysis=False, ) - the_method_parameters = java_analysis.get_method_parameters("com.ibm.websphere.samples.daytrader.util.Log", "trace(String)") + the_method_parameters = java_analysis.get_method_parameters("com.ibm.websphere.samples.daytrader.util.Log", "trace(java.lang.String)") assert the_method_parameters is not None assert isinstance(the_method_parameters, List) assert len(the_method_parameters) == 1 diff --git a/tests/analysis/java/test_jcodeanalyzer.py b/tests/analysis/java/test_jcodeanalyzer.py index 0ec4892..faac597 100644 --- a/tests/analysis/java/test_jcodeanalyzer.py +++ b/tests/analysis/java/test_jcodeanalyzer.py @@ -342,7 +342,7 @@ def test_get_all_callers(test_fixture, analysis_json): ) # Call without using symbol table - all_callers = code_analyzer.get_all_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(String)", False) + all_callers = code_analyzer.get_all_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(java.lang.String)", False) assert all_callers is not None assert isinstance(all_callers, Dict) assert len(all_callers) > 0 @@ -355,7 +355,7 @@ def test_get_all_callers(test_fixture, analysis_json): # TODO: This currently doesn't work. Code has bad call as seen in this error message: # TypeError: TreesitterJava.get_calling_lines() missing 1 required positional argument: 'is_target_method_a_constructor' - all_callers = code_analyzer.get_all_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(String)", True) + all_callers = code_analyzer.get_all_callers("com.ibm.websphere.samples.daytrader.util.Log", "log(java.lang.String)", True) assert all_callers is not None assert isinstance(all_callers, Dict) assert "caller_details" in all_callers @@ -378,7 +378,7 @@ def test_get_all_callees(test_fixture, analysis_json): ) # Call without using symbol table - all_callees = code_analyzer.get_all_callees("com.ibm.websphere.samples.daytrader.util.Log", "printCollection(String, Collection)", False) + all_callees = code_analyzer.get_all_callees("com.ibm.websphere.samples.daytrader.util.Log", "printCollection(java.lang.String, java.util.Collection)", False) assert all_callees is not None assert isinstance(all_callees, Dict) assert "callee_details" in all_callees @@ -388,7 +388,7 @@ def test_get_all_callees(test_fixture, analysis_json): # TODO: Throws the following exception # TypeError: TreesitterJava.get_calling_lines() missing 1 required positional argument: 'is_target_method_a_constructor' - all_callees = code_analyzer.get_all_callees("com.ibm.websphere.samples.daytrader.util.Log", "printCollection(String, Collection)", True) + all_callees = code_analyzer.get_all_callees("com.ibm.websphere.samples.daytrader.util.Log", "printCollection(java.lang.String, java.util.Collection)", True) assert all_callees is not None assert isinstance(all_callees, Dict) assert "callee_details" in all_callees @@ -458,7 +458,7 @@ def test_get_method(test_fixture, analysis_json): target_files=None, ) - method = code_analyzer.get_method("com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)") + method = code_analyzer.get_method("com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)") assert method is not None assert isinstance(method, JCallable) @@ -730,7 +730,7 @@ def test_get_class_call_graph(test_fixture, analysis_json): # Call with method signature class_call_graph = code_analyzer.get_class_call_graph( - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "createHolding(Connection, int, String, double, BigDecimal)" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" ) assert class_call_graph is not None assert isinstance(class_call_graph, List) diff --git a/tests/resources/java/analysis_json/analysis.json b/tests/resources/java/analysis_json/analysis.json index 958c85f..fb2d9f2 100644 --- a/tests/resources/java/analysis_json/analysis.json +++ b/tests/resources/java/analysis_json/analysis.json @@ -1,16605 +1,12730 @@ { - "symbol_table": { - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * A basic POJO class for resetting the database.\r\n ", - "start_line": 36, - "end_line": 38, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 67, - "end_line": 73, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Open the input file as a stream of bytes", - "start_line": 82, - "end_line": 82, - "start_column": 3, - "end_column": 45, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 91, - "end_line": 93, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 101, - "end_line": 103, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 144, - "end_line": 146, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 179, - "end_line": 181, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 241, - "end_line": 241, - "start_column": 4, - "end_column": 89, - "is_javadoc": false - }, - { - "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 242, - "end_line": 242, - "start_column": 4, - "end_column": 82, - "is_javadoc": false - }, - { - "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 243, - "end_line": 243, - "start_column": 4, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 248, - "end_line": 250, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting backorders", - "start_line": 255, - "end_line": 255, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 270, - "end_line": 272, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting Suppliers", - "start_line": 277, - "end_line": 277, - "start_column": 4, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.DataInputStream", - "java.io.File", - "java.io.FileInputStream", - "java.io.FileNotFoundException", - "java.io.IOException", - "java.net.URL", - "java.util.Vector", - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.Populate": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 67, - "end_line": 73, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Open the input file as a stream of bytes", - "start_line": 82, - "end_line": 82, - "start_column": 3, - "end_column": 45, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 91, - "end_line": 93, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 101, - "end_line": 103, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 144, - "end_line": 146, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 179, - "end_line": 181, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 241, - "end_line": 241, - "start_column": 4, - "end_column": 89, - "is_javadoc": false - }, - { - "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 242, - "end_line": 242, - "start_column": 4, - "end_column": 82, - "is_javadoc": false - }, - { - "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 243, - "end_line": 243, - "start_column": 4, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 248, - "end_line": 250, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting backorders", - "start_line": 255, - "end_line": 255, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 270, - "end_line": 272, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting Suppliers", - "start_line": 277, - "end_line": 277, - "start_column": 4, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "\r\n * A basic POJO class for resetting the database.\r\n ", - "start_line": 36, - "end_line": 38, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "signature": "Populate()", - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Populate()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 56, - "end_line": 57, - "code_start_line": 56, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPopulate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "signature": "doPopulate()", - "comments": [ - { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 101, - "end_line": 103, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 144, - "end_line": 146, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 179, - "end_line": 181, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 241, - "end_line": 241, - "start_column": 4, - "end_column": 89, - "is_javadoc": false - }, - { - "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 242, - "end_line": 242, - "start_column": 4, - "end_column": 82, - "is_javadoc": false - }, - { - "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 243, - "end_line": 243, - "start_column": 4, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 248, - "end_line": 250, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting backorders", - "start_line": 255, - "end_line": 255, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 270, - "end_line": 272, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Inserting Suppliers", - "start_line": 277, - "end_line": 277, - "start_column": 4, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 91, - "end_line": 93, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void doPopulate()", - "parameters": [], - "code": "{\r\n\t\ttry {\r\n\t\t\tresetDB.deleteAll();\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Populate:doPopulate() - Exception deleting data in database: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate INVENTORY table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating INVENTORY table with text...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"inventory\");\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tUtil.debug(\"Found INVENTORY property values: \" + values[index]);\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString id = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString heading = fields[2];\r\n\t\t\t\tString descr = fields[3];\r\n\t\t\t\tString pkginfo = fields[4];\r\n\t\t\t\tString image = fields[5];\r\n\t\t\t\tfloat price = new Float(fields[6]).floatValue();\r\n\t\t\t\tfloat cost = new Float(fields[7]).floatValue();\r\n\t\t\t\tint quantity = new Integer(fields[8]).intValue();\r\n\t\t\t\tint category = new Integer(fields[9]).intValue();\r\n\t\t\t\tString notes = fields[10];\r\n\t\t\t\tboolean isPublic = new Boolean(fields[11]).booleanValue();\r\n\t\t\t\tUtil.debug(\"Populating INVENTORY with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\tInventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity,\r\n\t\t\t\t\t\tcategory, notes, isPublic);\r\n\t\t\t\tcatalog.addItem(storeItem);\r\n\t\t\t\taddImage(id, image, catalog);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"INVENTORY table populated with text...\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate INVENTORY table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating CUSTOMER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"customer\");\r\n\t\t\tUtil.debug(\"Found CUSTOMER properties: \" + values[0]);\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString customerID = fields[0];\r\n\t\t\t\tString password = fields[1];\r\n\t\t\t\tString firstName = fields[2];\r\n\t\t\t\tString lastName = fields[3];\r\n\t\t\t\tString addr1 = fields[4];\r\n\t\t\t\tString addr2 = fields[5];\r\n\t\t\t\tString addrCity = fields[6];\r\n\t\t\t\tString addrState = fields[7];\r\n\t\t\t\tString addrZip = fields[8];\r\n\t\t\t\tString phone = fields[9];\r\n\t\t\t\tUtil.debug(\"Populating CUSTOMER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tlogin.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate ORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating ORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"order\");\r\n\t\t\tUtil.debug(\"Found ORDER properties: \" + values[0]);\r\n\t\t\tif (values[0] != null && values.length > 0) {\r\n\t\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\t\tif (fields != null && fields.length >= 21) {\r\n\t\t\t\t\t\tString customerID = fields[0];\r\n\t\t\t\t\t\tString billName = fields[1];\r\n\t\t\t\t\t\tString billAddr1 = fields[2];\r\n\t\t\t\t\t\tString billAddr2 = fields[3];\r\n\t\t\t\t\t\tString billCity = fields[4];\r\n\t\t\t\t\t\tString billState = fields[5];\r\n\t\t\t\t\t\tString billZip = fields[6];\r\n\t\t\t\t\t\tString billPhone = fields[7];\r\n\t\t\t\t\t\tString shipName = fields[8];\r\n\t\t\t\t\t\tString shipAddr1 = fields[9];\r\n\t\t\t\t\t\tString shipAddr2 = fields[10];\r\n\t\t\t\t\t\tString shipCity = fields[11];\r\n\t\t\t\t\t\tString shipState = fields[12];\r\n\t\t\t\t\t\tString shipZip = fields[13];\r\n\t\t\t\t\t\tString shipPhone = fields[14];\r\n\t\t\t\t\t\tint shippingMethod = Integer.parseInt(fields[15]);\r\n\t\t\t\t\t\tString creditCard = fields[16];\r\n\t\t\t\t\t\tString ccNum = fields[17];\r\n\t\t\t\t\t\tString ccExpireMonth = fields[18];\r\n\t\t\t\t\t\tString ccExpireYear = fields[19];\r\n\t\t\t\t\t\tString cardHolder = fields[20];\r\n\t\t\t\t\t\tVector items = new Vector();\r\n\t\t\t\t\t\tUtil.debug(\"Populating ORDER with following values: \");\r\n\t\t\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\t\t\tUtil.debug(fields[12]);\r\n\t\t\t\t\t\tUtil.debug(fields[13]);\r\n\t\t\t\t\t\tUtil.debug(fields[14]);\r\n\t\t\t\t\t\tUtil.debug(fields[15]);\r\n\t\t\t\t\t\tUtil.debug(fields[16]);\r\n\t\t\t\t\t\tUtil.debug(fields[17]);\r\n\t\t\t\t\t\tUtil.debug(fields[18]);\r\n\t\t\t\t\t\tUtil.debug(fields[19]);\r\n\t\t\t\t\t\tUtil.debug(fields[20]);\r\n\t\t\t\t\t\tcart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tUtil.debug(\"Property does not contain enough fields: \" + values[index]);\r\n\t\t\t\t\t\tUtil.debug(\"Fields found were: \" + fields);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\r\n\t\t\t// CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\r\n\t\t\t// 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate BACKORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating BACKORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"backorder\");\r\n\t\t\tUtil.debug(\"Found BACKORDER properties: \" + values[0]);\r\n\t\t\t// Inserting backorders\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString inventoryID = fields[0];\r\n\t\t\t\tint amountToOrder = new Integer(fields[1]).intValue();\r\n\t\t\t\tint maximumItems = new Integer(fields[2]).intValue();\r\n\t\t\t\tUtil.debug(\"Populating BACKORDER with following values: \");\r\n\t\t\t\tUtil.debug(inventoryID);\r\n\t\t\t\tUtil.debug(\"amountToOrder -> \" + amountToOrder);\r\n\t\t\t\tUtil.debug(\"maximumItems -> \" + maximumItems);\r\n\t\t\t\tbackOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate BACKORDER table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating SUPPLIER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"supplier\");\r\n\t\t\tUtil.debug(\"Found SUPPLIER properties: \" + values[0]);\r\n\t\t\t// Inserting Suppliers\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString supplierID = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString address = fields[2];\r\n\t\t\t\tString city = fields[3];\r\n\t\t\t\tString state = fields[4];\r\n\t\t\t\tString zip = fields[5];\r\n\t\t\t\tString phone = fields[6];\r\n\t\t\t\tString url = fields[7];\r\n\t\t\t\tUtil.debug(\"Populating SUPPLIER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tsuppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\r\n\t\t}\r\n\t}", - "start_line": 94, - "end_line": 302, - "code_start_line": 94, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.Vector", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.Populate.backOrderStock", - "com.ibm.websphere.samples.pbw.war.Populate.suppliers", - "com.ibm.websphere.samples.pbw.war.Populate.cart", - "length", - "com.ibm.websphere.samples.pbw.war.Populate.resetDB", - "com.ibm.websphere.samples.pbw.war.Populate.login", - "com.ibm.websphere.samples.pbw.war.Populate.catalog" - ], - "call_sites": [ - { - "method_name": "deleteAll", - "comment": null, - "receiver_expr": "resetDB", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "argument_types": [], - "return_type": "", - "callee_signature": "deleteAll()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 96, - "start_column": 4, - "end_line": 96, - "end_column": 22 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 98, - "start_column": 4, - "end_line": 98, - "end_column": 82 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 99, - "start_column": 4, - "end_line": 99, - "end_column": 22 - }, - { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 101, - "end_line": 103, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 104, - "start_column": 3, - "end_line": 104, - "end_column": 55 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 106, - "start_column": 22, - "end_line": 106, - "end_column": 52 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 108, - "start_column": 5, - "end_line": 108, - "end_column": 68 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 109, - "start_column": 23, - "end_line": 109, - "end_column": 57 - }, - { - "method_name": "floatValue", - "comment": null, - "receiver_expr": "new Float(fields[6])", - "receiver_type": "java.lang.Float", - "argument_types": [], - "return_type": "", - "callee_signature": "floatValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 19, - "end_line": 116, - "end_column": 51 - }, - { - "method_name": "floatValue", - "comment": null, - "receiver_expr": "new Float(fields[7])", - "receiver_type": "java.lang.Float", - "argument_types": [], - "return_type": "", - "callee_signature": "floatValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 18, - "end_line": 117, - "end_column": 50 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "new Integer(fields[8])", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 20, - "end_line": 118, - "end_column": 52 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "new Integer(fields[9])", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 52 - }, - { - "method_name": "booleanValue", - "comment": null, - "receiver_expr": "new Boolean(fields[11])", - "receiver_type": "java.lang.Boolean", - "argument_types": [], - "return_type": "", - "callee_signature": "booleanValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 24, - "end_line": 121, - "end_column": 61 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 5, - "end_line": 122, - "end_column": 63 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 5, - "end_line": 123, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 5, - "end_line": 124, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 5, - "end_line": 125, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 5, - "end_line": 126, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 5, - "end_line": 127, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 128, - "start_column": 5, - "end_line": 128, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 129, - "start_column": 5, - "end_line": 129, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 5, - "end_line": 130, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 5, - "end_line": 131, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 132, - "start_column": 5, - "end_line": 132, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 5, - "end_line": 133, - "end_column": 26 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 134, - "start_column": 5, - "end_line": 134, - "end_column": 26 - }, - { - "method_name": "addItem", - "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "", - "callee_signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 137, - "start_column": 5, - "end_line": 137, - "end_column": 30 - }, - { - "method_name": "addImage", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr" - ], - "return_type": "", - "callee_signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 5, - "end_line": 138, - "end_column": 32 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 4, - "end_line": 140, - "end_column": 55 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 142, - "start_column": 4, - "end_line": 142, - "end_column": 72 - }, - { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 144, - "end_line": 146, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 147, - "start_column": 3, - "end_line": 147, - "end_column": 64 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 149, - "start_column": 22, - "end_line": 149, - "end_column": 51 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 150, - "start_column": 4, - "end_line": 150, - "end_column": 57 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 23, - "end_line": 152, - "end_column": 57 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 163, - "start_column": 5, - "end_line": 163, - "end_column": 62 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 164, - "start_column": 5, - "end_line": 164, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 165, - "start_column": 5, - "end_line": 165, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 166, - "start_column": 5, - "end_line": 166, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 167, - "start_column": 5, - "end_line": 167, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 5, - "end_line": 168, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 169, - "start_column": 5, - "end_line": 169, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 170, - "start_column": 5, - "end_line": 170, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 171, - "start_column": 5, - "end_line": 171, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 172, - "start_column": 5, - "end_line": 172, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 5, - "end_line": 173, - "end_column": 25 - }, - { - "method_name": "createCustomer", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 174, - "start_column": 5, - "end_line": 174, - "end_column": 118 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 4, - "end_line": 177, - "end_column": 71 - }, - { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 179, - "end_line": 181, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 182, - "start_column": 3, - "end_line": 182, - "end_column": 61 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 184, - "start_column": 22, - "end_line": 184, - "end_column": 48 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 185, - "start_column": 4, - "end_line": 185, - "end_column": 54 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 24, - "end_line": 188, - "end_column": 58 - }, - { - "method_name": "parseInt", - "comment": null, - "receiver_expr": "Integer", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "parseInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 205, - "start_column": 28, - "end_line": 205, - "end_column": 55 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 212, - "start_column": 7, - "end_line": 212, - "end_column": 61 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 213, - "start_column": 7, - "end_line": 213, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 214, - "start_column": 7, - "end_line": 214, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 7, - "end_line": 215, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 7, - "end_line": 216, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 7, - "end_line": 217, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 218, - "start_column": 7, - "end_line": 218, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 219, - "start_column": 7, - "end_line": 219, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 220, - "start_column": 7, - "end_line": 220, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 221, - "start_column": 7, - "end_line": 221, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 222, - "start_column": 7, - "end_line": 222, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 223, - "start_column": 7, - "end_line": 223, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 224, - "start_column": 7, - "end_line": 224, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 225, - "start_column": 7, - "end_line": 225, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 226, - "start_column": 7, - "end_line": 226, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 227, - "start_column": 7, - "end_line": 227, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 228, - "start_column": 7, - "end_line": 228, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 229, - "start_column": 7, - "end_line": 229, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 230, - "start_column": 7, - "end_line": 230, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 231, - "start_column": 7, - "end_line": 231, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 232, - "start_column": 7, - "end_line": 232, - "end_column": 28 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 7, - "end_line": 233, - "end_column": 28 - }, - { - "method_name": "createOrder", - "comment": null, - "receiver_expr": "cart", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "java.util.Vector" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 234, - "start_column": 7, - "end_line": 234, - "end_column": 263 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 236, - "start_column": 7, - "end_line": 236, - "end_column": 77 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 237, - "start_column": 7, - "end_line": 237, - "end_column": 48 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 245, - "start_column": 4, - "end_line": 245, - "end_column": 72 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 246, - "start_column": 4, - "end_line": 246, - "end_column": 22 - }, - { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 248, - "end_line": 250, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 251, - "start_column": 3, - "end_line": 251, - "end_column": 65 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 253, - "start_column": 22, - "end_line": 253, - "end_column": 52 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 254, - "start_column": 4, - "end_line": 254, - "end_column": 58 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 257, - "start_column": 23, - "end_line": 257, - "end_column": 57 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "new Integer(fields[1])", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 259, - "start_column": 25, - "end_line": 259, - "end_column": 57 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "new Integer(fields[2])", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 260, - "start_column": 24, - "end_line": 260, - "end_column": 56 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 261, - "start_column": 5, - "end_line": 261, - "end_column": 63 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 262, - "start_column": 5, - "end_line": 262, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 263, - "start_column": 5, - "end_line": 263, - "end_column": 51 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 264, - "start_column": 5, - "end_line": 264, - "end_column": 49 - }, - { - "method_name": "createBackOrder", - "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [ - "java.lang.String", - "", - "" - ], - "return_type": "", - "callee_signature": "createBackOrder(java.lang.String, int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 265, - "start_column": 5, - "end_line": 265, - "end_column": 76 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 268, - "start_column": 4, - "end_line": 268, - "end_column": 72 - }, - { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 270, - "end_line": 272, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 273, - "start_column": 3, - "end_line": 273, - "end_column": 64 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 275, - "start_column": 22, - "end_line": 275, - "end_column": 51 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 276, - "start_column": 4, - "end_line": 276, - "end_column": 57 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 279, - "start_column": 23, - "end_line": 279, - "end_column": 57 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 288, - "start_column": 5, - "end_line": 288, - "end_column": 62 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 289, - "start_column": 5, - "end_line": 289, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 290, - "start_column": 5, - "end_line": 290, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 291, - "start_column": 5, - "end_line": 291, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 292, - "start_column": 5, - "end_line": 292, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 293, - "start_column": 5, - "end_line": 293, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 294, - "start_column": 5, - "end_line": 294, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 295, - "start_column": 5, - "end_line": 295, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 296, - "start_column": 5, - "end_line": 296, - "end_column": 25 - }, - { - "method_name": "createSupplier", - "comment": null, - "receiver_expr": "suppliers", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 297, - "start_column": 5, - "end_line": 297, - "end_column": 85 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 300, - "start_column": 4, - "end_line": 300, - "end_column": 71 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 19, - "end_line": 116, - "end_column": 38 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 18, - "end_line": 117, - "end_column": 37 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 20, - "end_line": 118, - "end_column": 41 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 41 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Boolean", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Boolean", - "callee_signature": "Boolean(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 24, - "end_line": 121, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "", - "", - "", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 135, - "start_column": 27, - "end_line": 136, - "end_column": 32 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Vector", - "argument_types": [], - "return_type": "java.util.Vector", - "callee_signature": "Vector()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 211, - "start_column": 33, - "end_line": 211, - "end_column": 55 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 259, - "start_column": 25, - "end_line": 259, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 260, - "start_column": 24, - "end_line": 260, - "end_column": 45 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"inventory\")", - "start_line": 106, - "start_column": 13, - "end_line": 106, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 107, - "start_column": 13, - "end_line": 107, - "end_column": 21 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 109, - "start_column": 14, - "end_line": 109, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "id", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 110, - "start_column": 12, - "end_line": 110, - "end_column": 25 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 111, - "start_column": 12, - "end_line": 111, - "end_column": 27 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "heading", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 112, - "start_column": 12, - "end_line": 112, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "descr", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 113, - "start_column": 12, - "end_line": 113, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "pkginfo", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 114, - "start_column": 12, - "end_line": 114, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "image", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 115, - "start_column": 12, - "end_line": 115, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "price", - "type": "float", - "initializer": "new Float(fields[6]).floatValue()", - "start_line": 116, - "start_column": 11, - "end_line": 116, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cost", - "type": "float", - "initializer": "new Float(fields[7]).floatValue()", - "start_line": 117, - "start_column": 11, - "end_line": 117, - "end_column": 50 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "int", - "initializer": "new Integer(fields[8]).intValue()", - "start_line": 118, - "start_column": 9, - "end_line": 118, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "category", - "type": "int", - "initializer": "new Integer(fields[9]).intValue()", - "start_line": 119, - "start_column": 9, - "end_line": 119, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "notes", - "type": "java.lang.String", - "initializer": "fields[10]", - "start_line": 120, - "start_column": 12, - "end_line": 120, - "end_column": 29 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "isPublic", - "type": "boolean", - "initializer": "new Boolean(fields[11]).booleanValue()", - "start_line": 121, - "start_column": 13, - "end_line": 121, - "end_column": 61 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "storeItem", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic)", - "start_line": 135, - "start_column": 15, - "end_line": 136, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"customer\")", - "start_line": 149, - "start_column": 13, - "end_line": 149, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 151, - "start_column": 13, - "end_line": 151, - "end_column": 21 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 152, - "start_column": 14, - "end_line": 152, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customerID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 153, - "start_column": 12, - "end_line": 153, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "password", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 154, - "start_column": 12, - "end_line": 154, - "end_column": 31 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "firstName", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 155, - "start_column": 12, - "end_line": 155, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "lastName", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 156, - "start_column": 12, - "end_line": 156, - "end_column": 31 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr1", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 157, - "start_column": 12, - "end_line": 157, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr2", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 158, - "start_column": 12, - "end_line": 158, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrCity", - "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 159, - "start_column": 12, - "end_line": 159, - "end_column": 31 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrState", - "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 160, - "start_column": 12, - "end_line": 160, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrZip", - "type": "java.lang.String", - "initializer": "fields[8]", - "start_line": 161, - "start_column": 12, - "end_line": 161, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", - "type": "java.lang.String", - "initializer": "fields[9]", - "start_line": 162, - "start_column": 12, - "end_line": 162, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"order\")", - "start_line": 184, - "start_column": 13, - "end_line": 184, - "end_column": 48 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 187, - "start_column": 14, - "end_line": 187, - "end_column": 22 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 188, - "start_column": 15, - "end_line": 188, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customerID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 190, - "start_column": 14, - "end_line": 190, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billName", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 191, - "start_column": 14, - "end_line": 191, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billAddr1", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 192, - "start_column": 14, - "end_line": 192, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billAddr2", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 193, - "start_column": 14, - "end_line": 193, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billCity", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 194, - "start_column": 14, - "end_line": 194, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billState", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 195, - "start_column": 14, - "end_line": 195, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billZip", - "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 196, - "start_column": 14, - "end_line": 196, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billPhone", - "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 197, - "start_column": 14, - "end_line": 197, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipName", - "type": "java.lang.String", - "initializer": "fields[8]", - "start_line": 198, - "start_column": 14, - "end_line": 198, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipAddr1", - "type": "java.lang.String", - "initializer": "fields[9]", - "start_line": 199, - "start_column": 14, - "end_line": 199, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipAddr2", - "type": "java.lang.String", - "initializer": "fields[10]", - "start_line": 200, - "start_column": 14, - "end_line": 200, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipCity", - "type": "java.lang.String", - "initializer": "fields[11]", - "start_line": 201, - "start_column": 14, - "end_line": 201, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipState", - "type": "java.lang.String", - "initializer": "fields[12]", - "start_line": 202, - "start_column": 14, - "end_line": 202, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipZip", - "type": "java.lang.String", - "initializer": "fields[13]", - "start_line": 203, - "start_column": 14, - "end_line": 203, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipPhone", - "type": "java.lang.String", - "initializer": "fields[14]", - "start_line": 204, - "start_column": 14, - "end_line": 204, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shippingMethod", - "type": "int", - "initializer": "Integer.parseInt(fields[15])", - "start_line": 205, - "start_column": 11, - "end_line": 205, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "creditCard", - "type": "java.lang.String", - "initializer": "fields[16]", - "start_line": 206, - "start_column": 14, - "end_line": 206, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccNum", - "type": "java.lang.String", - "initializer": "fields[17]", - "start_line": 207, - "start_column": 14, - "end_line": 207, - "end_column": 31 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccExpireMonth", - "type": "java.lang.String", - "initializer": "fields[18]", - "start_line": 208, - "start_column": 14, - "end_line": 208, - "end_column": 39 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccExpireYear", - "type": "java.lang.String", - "initializer": "fields[19]", - "start_line": 209, - "start_column": 14, - "end_line": 209, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cardHolder", - "type": "java.lang.String", - "initializer": "fields[20]", - "start_line": 210, - "start_column": 14, - "end_line": 210, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "items", - "type": "java.util.Vector", - "initializer": "new Vector()", - "start_line": 211, - "start_column": 25, - "end_line": 211, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"backorder\")", - "start_line": 253, - "start_column": 13, - "end_line": 253, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 256, - "start_column": 13, - "end_line": 256, - "end_column": 21 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 257, - "start_column": 14, - "end_line": 257, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inventoryID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 258, - "start_column": 12, - "end_line": 258, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "amountToOrder", - "type": "int", - "initializer": "new Integer(fields[1]).intValue()", - "start_line": 259, - "start_column": 9, - "end_line": 259, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "maximumItems", - "type": "int", - "initializer": "new Integer(fields[2]).intValue()", - "start_line": 260, - "start_column": 9, - "end_line": 260, - "end_column": 56 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"supplier\")", - "start_line": 275, - "start_column": 13, - "end_line": 275, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 278, - "start_column": 13, - "end_line": 278, - "end_column": 21 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 279, - "start_column": 14, - "end_line": 279, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplierID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 280, - "start_column": 12, - "end_line": 280, - "end_column": 33 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 281, - "start_column": 12, - "end_line": 281, - "end_column": 27 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "address", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 282, - "start_column": 12, - "end_line": 282, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "city", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 283, - "start_column": 12, - "end_line": 283, - "end_column": 27 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "state", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 284, - "start_column": 12, - "end_line": 284, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "zip", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 285, - "start_column": 12, - "end_line": 285, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", - "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 286, - "start_column": 12, - "end_line": 286, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 287, - "start_column": 12, - "end_line": 287, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 14, - "is_entrypoint": false - }, - "(ResetDBBean, CatalogMgr, CustomerMgr, BackOrderMgr, SuppliersBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "signature": "Populate(ResetDBBean, CatalogMgr, CustomerMgr, BackOrderMgr, SuppliersBean)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Populate(ResetDBBean resetDB, CatalogMgr c, CustomerMgr l, BackOrderMgr b, SuppliersBean s)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "name": "resetDB", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 18, - "end_column": 36 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "name": "c", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 39, - "end_column": 50 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "name": "l", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 53, - "end_column": 65 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "name": "b", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 68, - "end_column": 81 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "name": "s", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 84, - "end_column": 98 - } - ], - "code": "{\r\n\t\tthis.resetDB = resetDB;\r\n\t\tthis.catalog = c;\r\n\t\tthis.login = l;\r\n\t\tthis.backOrderStock = b;\r\n\t\tthis.suppliers = s;\r\n\t}", - "start_line": 59, - "end_line": 65, - "code_start_line": 59, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.Populate.backOrderStock", - "com.ibm.websphere.samples.pbw.war.Populate.suppliers", - "com.ibm.websphere.samples.pbw.war.Populate.resetDB", - "com.ibm.websphere.samples.pbw.war.Populate.login", - "com.ibm.websphere.samples.pbw.war.Populate.catalog" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "addImage(String, String, CatalogMgr)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", - "signature": "addImage(String, String, CatalogMgr)", - "comments": [ - { - "content": " Open the input file as a stream of bytes", - "start_line": 82, - "end_line": 82, - "start_column": 3, - "end_column": 45, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 67, - "end_line": 73, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [ - "java.io.FileNotFoundException", - "java.io.IOException" - ], - "declaration": "public static void addImage(String itemID, String fileName, CatalogMgr catalog) throws FileNotFoundException, IOException", - "parameters": [ - { - "type": "java.lang.String", - "name": "itemID", - "annotations": [], - "modifiers": [], - "start_line": 74, - "end_line": 74, - "start_column": 30, - "end_column": 42 - }, - { - "type": "java.lang.String", - "name": "fileName", - "annotations": [], - "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 4, - "end_column": 18 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "name": "catalog", - "annotations": [], - "modifiers": [], - "start_line": 76, - "end_line": 76, - "start_column": 4, - "end_column": 21 - } - ], - "code": "{\r\n\t\tURL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\r\n\t\tUtil.debug(\"URL: \" + url);\r\n\t\tfileName = url.getPath();\r\n\t\tUtil.debug(\"Fully-qualified Filename: \" + fileName);\r\n\t\tFile imgFile = new File(fileName);\r\n\t\t// Open the input file as a stream of bytes\r\n\t\tFileInputStream fis = new FileInputStream(imgFile);\r\n\t\tDataInputStream dis = new DataInputStream(fis);\r\n\t\tint dataSize = dis.available();\r\n\t\tbyte[] data = new byte[dataSize];\r\n\t\tdis.readFully(data);\r\n\t\tcatalog.setItemImageBytes(itemID, data);\r\n\t}", - "start_line": 74, - "end_line": 89, - "code_start_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.DataInputStream", - "java.net.URL", - "java.io.FileInputStream", - "java.io.File" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.Populate.catalog" - ], - "call_sites": [ - { - "method_name": "getResource", - "comment": null, - "receiver_expr": "Thread.currentThread().getContextClassLoader()", - "receiver_type": "java.lang.ClassLoader", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.net.URL", - "callee_signature": "getResource(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 77, - "start_column": 13, - "end_line": 77, - "end_column": 102 - }, - { - "method_name": "getContextClassLoader", - "comment": null, - "receiver_expr": "Thread.currentThread()", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "java.lang.ClassLoader", - "callee_signature": "getContextClassLoader()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 77, - "start_column": 13, - "end_line": 77, - "end_column": 58 - }, - { - "method_name": "currentThread", - "comment": null, - "receiver_expr": "Thread", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "java.lang.Thread", - "callee_signature": "currentThread()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 77, - "start_column": 13, - "end_line": 77, - "end_column": 34 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 78, - "start_column": 3, - "end_line": 78, - "end_column": 27 - }, - { - "method_name": "getPath", - "comment": null, - "receiver_expr": "url", - "receiver_type": "java.net.URL", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPath()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 79, - "start_column": 14, - "end_line": 79, - "end_column": 26 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 80, - "start_column": 3, - "end_line": 80, - "end_column": 53 - }, - { - "method_name": "available", - "comment": null, - "receiver_expr": "dis", - "receiver_type": "java.io.DataInputStream", - "argument_types": [], - "return_type": "", - "callee_signature": "available()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 85, - "start_column": 18, - "end_line": 85, - "end_column": 32 - }, - { - "method_name": "readFully", - "comment": null, - "receiver_expr": "dis", - "receiver_type": "java.io.DataInputStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "readFully(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 87, - "start_column": 3, - "end_line": 87, - "end_column": 21 - }, - { - "method_name": "setItemImageBytes", - "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "", - "callee_signature": "setItemImageBytes(java.lang.String, byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 88, - "start_column": 3, - "end_line": 88, - "end_column": 41 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.File", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.File", - "callee_signature": "File(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 18, - "end_line": 81, - "end_column": 35 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.FileInputStream", - "argument_types": [ - "java.io.File" - ], - "return_type": "java.io.FileInputStream", - "callee_signature": "FileInputStream(java.io.File)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 83, - "start_column": 25, - "end_line": 83, - "end_column": 52 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.DataInputStream", - "argument_types": [ - "java.io.FileInputStream" - ], - "return_type": "java.io.DataInputStream", - "callee_signature": "DataInputStream(java.io.InputStream)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 84, - "start_column": 25, - "end_line": 84, - "end_column": 48 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.net.URL", - "initializer": "Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName)", - "start_line": 77, - "start_column": 7, - "end_line": 77, - "end_column": 102 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "imgFile", - "type": "java.io.File", - "initializer": "new File(fileName)", - "start_line": 81, - "start_column": 8, - "end_line": 81, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fis", - "type": "java.io.FileInputStream", - "initializer": "new FileInputStream(imgFile)", - "start_line": 83, - "start_column": 19, - "end_line": 83, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "dis", - "type": "java.io.DataInputStream", - "initializer": "new DataInputStream(fis)", - "start_line": 84, - "start_column": 19, - "end_line": 84, - "end_column": 48 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "dataSize", - "type": "int", - "initializer": "dis.available()", - "start_line": 85, - "start_column": 7, - "end_line": 85, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "data", - "type": "byte[]", - "initializer": "new byte[dataSize]", - "start_line": 86, - "start_column": 10, - "end_line": 86, - "end_column": 34 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "start_line": 41, - "end_line": 41, - "variables": [ - "resetDB" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "start_line": 43, - "end_line": 43, - "variables": [ - "catalog" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "start_line": 45, - "end_line": 45, - "variables": [ - "login" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "start_line": 47, - "end_line": 47, - "variables": [ - "cart" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "start_line": 49, - "end_line": 49, - "variables": [ - "backOrderStock" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "start_line": 51, - "end_line": 51, - "variables": [ - "suppliers" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * This class sends the email confirmation message.\r\n ", - "start_line": 27, - "end_line": 29, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 32, - "end_line": 34, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Public constructor ", - "start_line": 40, - "end_line": 40, - "start_column": 2, - "end_column": 26, - "is_javadoc": true - }, - { - "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", - "start_line": 44, - "end_line": 51, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " The MailerAppException will be ignored since mail may not be configured.", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 77, - "is_javadoc": false - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.inject.Inject", - "javax.inject.Named", - "com.ibm.websphere.samples.pbw.bean.MailerAppException", - "com.ibm.websphere.samples.pbw.bean.MailerBean", - "com.ibm.websphere.samples.pbw.jpa.Customer", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.MailAction": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 32, - "end_line": 34, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Public constructor ", - "start_line": 40, - "end_line": 40, - "start_column": 2, - "end_column": 26, - "is_javadoc": true - }, - { - "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", - "start_line": 44, - "end_line": 51, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " The MailerAppException will be ignored since mail may not be configured.", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 77, - "is_javadoc": false - }, - { - "content": "\r\n * This class sends the email confirmation message.\r\n ", - "start_line": 27, - "end_line": 29, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(\"mailaction\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", - "signature": "MailAction()", - "comments": [ - { - "content": " Public constructor ", - "start_line": 40, - "end_line": 40, - "start_column": 2, - "end_column": 26, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public MailAction()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 41, - "end_line": 42, - "code_start_line": 41, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "sendConfirmationMessage(Customer, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", - "signature": "sendConfirmationMessage(Customer, String)", - "comments": [ - { - "content": " The MailerAppException will be ignored since mail may not be configured.", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 77, - "is_javadoc": false - }, - { - "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", - "start_line": 44, - "end_line": 51, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public", - "final" - ], - "thrown_exceptions": [], - "declaration": "public final void sendConfirmationMessage(Customer customer, String orderKey)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "name": "customer", - "annotations": [], - "modifiers": [], - "start_line": 52, - "end_line": 52, - "start_column": 44, - "end_column": 60 - }, - { - "type": "java.lang.String", - "name": "orderKey", - "annotations": [], - "modifiers": [], - "start_line": 53, - "end_line": 53, - "start_column": 4, - "end_column": 18 - } - ], - "code": "{\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"mailer=\" + mailer);\r\n\t\t\tmailer.createAndSendMail(customer, orderKey);\r\n\t\t}\r\n\t\t// The MailerAppException will be ignored since mail may not be configured.\r\n\t\tcatch (MailerAppException e) {\r\n\t\t\tUtil.debug(\"Mailer threw exception, mail may not be configured. Exception:\" + e);\r\n\t\t}\r\n\t}", - "start_line": 52, - "end_line": 62, - "code_start_line": 53, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.MailAction.mailer", - "java.lang.System.out" - ], - "call_sites": [ - { - "method_name": "println", - "comment": null, - "receiver_expr": "System.out", - "receiver_type": "java.io.PrintStream", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "println(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 55, - "start_column": 4, - "end_line": 55, - "end_column": 41 - }, - { - "method_name": "createAndSendMail", - "comment": null, - "receiver_expr": "mailer", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 4, - "end_line": 56, - "end_column": 47 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 4, - "end_line": 60, - "end_column": 83 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 32, - "end_line": 34, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 35, - "end_line": 35, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.MailerBean", - "start_line": 37, - "end_line": 38, - "variables": [ - "mailer" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Bean implementation class for Enterprise Bean: Suppliers\r\n ", - "start_line": 31, - "end_line": 33, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 40, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return Supplier\r\n\t ", - "start_line": 73, - "end_line": 75, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Retrieve the first Supplier Info", - "start_line": 77, - "end_line": 77, - "start_column": 3, - "end_column": 37, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 93, - "end_line": 103, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Create a new Supplier if there is NOT an existing Supplier.", - "start_line": 117, - "end_line": 117, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", - "start_line": 118, - "end_line": 118, - "start_column": 5, - "end_column": 87, - "is_javadoc": false - }, - { - "content": "\r\n\t * @return suppliers\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable", - "java.util.Collection", - "java.util.Iterator", - "javax.enterprise.context.Dependent", - "javax.persistence.EntityManager", - "javax.persistence.PersistenceContext", - "javax.persistence.Query", - "com.ibm.websphere.samples.pbw.jpa.Supplier", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.SuppliersBean": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 40, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return Supplier\r\n\t ", - "start_line": 73, - "end_line": 75, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Retrieve the first Supplier Info", - "start_line": 77, - "end_line": 77, - "start_column": 3, - "end_column": 37, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 93, - "end_line": 103, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Create a new Supplier if there is NOT an existing Supplier.", - "start_line": 117, - "end_line": 117, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", - "start_line": 118, - "end_line": 118, - "start_column": 5, - "end_column": 87, - "is_javadoc": false - }, - { - "content": "\r\n\t * @return suppliers\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n * Bean implementation class for Enterprise Bean: Suppliers\r\n ", - "start_line": 31, - "end_line": 33, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Dependent" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "updateSupplier(String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "signature": "updateSupplier(String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": " Create a new Supplier if there is NOT an existing Supplier.", - "start_line": 117, - "end_line": 117, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", - "start_line": 118, - "end_line": 118, - "start_column": 5, - "end_column": 87, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 93, - "end_line": 103, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Supplier updateSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierID", - "annotations": [], - "modifiers": [], - "start_line": 104, - "end_line": 104, - "start_column": 33, - "end_column": 49 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 105, - "end_line": 105, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "street", - "annotations": [], - "modifiers": [], - "start_line": 106, - "end_line": 106, - "start_column": 4, - "end_column": 16 - }, - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [], - "start_line": 107, - "end_line": 107, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "state", - "annotations": [], - "modifiers": [], - "start_line": 108, - "end_line": 108, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "zip", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 4, - "end_column": 13 - }, - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "url", - "annotations": [], - "modifiers": [], - "start_line": 111, - "end_line": 111, - "start_column": 4, - "end_column": 13 - } - ], - "code": "{\r\n\t\tSupplier supplier = null;\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - Entered\");\r\n\t\t\tsupplier = em.find(Supplier.class, supplierID);\r\n\t\t\tif (supplier != null) {\r\n\t\t\t\t// Create a new Supplier if there is NOT an existing Supplier.\r\n\t\t\t\t// supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));\r\n\t\t\t\tsupplier.setName(name);\r\n\t\t\t\tsupplier.setStreet(street);\r\n\t\t\t\tsupplier.setCity(city);\r\n\t\t\t\tsupplier.setUsstate(state);\r\n\t\t\t\tsupplier.setZip(zip);\r\n\t\t\t\tsupplier.setPhone(phone);\r\n\t\t\t\tsupplier.setUrl(url);\r\n\t\t\t} else {\r\n\t\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - supplier doesn't exist.\");\r\n\t\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - Couldn't update Supplier for SupplierID: \" + supplierID);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\r\n\t\t}\r\n\t\treturn (supplier);\r\n\t}", - "start_line": 104, - "end_line": 134, - "code_start_line": 111, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" - ], - "call_sites": [ - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 4, - "end_line": 114, - "end_column": 57 - }, - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 15, - "end_line": 115, - "end_column": 49 - }, - { - "method_name": "setName", - "comment": { - "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", - "start_line": 118, - "end_line": 118, - "start_column": 5, - "end_column": 87, - "is_javadoc": false - }, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 5, - "end_line": 119, - "end_column": 26 - }, - { - "method_name": "setStreet", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStreet(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 5, - "end_line": 120, - "end_column": 30 - }, - { - "method_name": "setCity", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCity(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 5, - "end_line": 121, - "end_column": 26 - }, - { - "method_name": "setUsstate", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setUsstate(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 5, - "end_line": 122, - "end_column": 30 - }, - { - "method_name": "setZip", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setZip(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 5, - "end_line": 123, - "end_column": 24 - }, - { - "method_name": "setPhone", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setPhone(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 5, - "end_line": 124, - "end_column": 28 - }, - { - "method_name": "setUrl", - "comment": null, - "receiver_expr": "supplier", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setUrl(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 5, - "end_line": 125, - "end_column": 24 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 5, - "end_line": 127, - "end_column": 74 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 128, - "start_column": 5, - "end_line": 128, - "end_column": 105 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 4, - "end_line": 131, - "end_column": 65 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplier", - "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "initializer": "null", - "start_line": 112, - "start_column": 12, - "end_line": 112, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "createSupplier(String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "signature": "createSupplier(String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 40, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void createSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierID", - "annotations": [], - "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 29, - "end_column": 45 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 51, - "end_line": 51, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "street", - "annotations": [], - "modifiers": [], - "start_line": 52, - "end_line": 52, - "start_column": 4, - "end_column": 16 - }, - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [], - "start_line": 53, - "end_line": 53, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "state", - "annotations": [], - "modifiers": [], - "start_line": 54, - "end_line": 54, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "zip", - "annotations": [], - "modifiers": [], - "start_line": 55, - "end_line": 55, - "start_column": 4, - "end_column": 13 - }, - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 56, - "end_line": 56, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "url", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 4, - "end_column": 13 - } - ], - "code": "{\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Entered\");\r\n\t\t\tSupplier supplier = null;\r\n\t\t\tsupplier = em.find(Supplier.class, supplierID);\r\n\t\t\tif (supplier == null) {\r\n\t\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - supplier doesn't exist.\");\r\n\t\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Creating Supplier for SupplierID: \" + supplierID);\r\n\t\t\t\tsupplier = new Supplier(supplierID, name, street, city, state, zip, phone, url);\r\n\t\t\t\tem.persist(supplier);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\r\n\t\t}\r\n\t}", - "start_line": 50, - "end_line": 71, - "code_start_line": 57, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" - ], - "call_sites": [ - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 59, - "start_column": 4, - "end_line": 59, - "end_column": 57 - }, - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 15, - "end_line": 61, - "end_column": 49 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 5, - "end_line": 63, - "end_column": 74 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 64, - "start_column": 5, - "end_line": 64, - "end_column": 98 - }, - { - "method_name": "persist", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 5, - "end_line": 66, - "end_column": 24 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 4, - "end_line": 69, - "end_column": 65 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "callee_signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 65, - "start_column": 16, - "end_line": 65, - "end_column": 83 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplier", - "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "initializer": "null", - "start_line": 60, - "start_column": 13, - "end_line": 60, - "end_column": 27 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "getSupplier()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "signature": "getSupplier()", - "comments": [ - { - "content": " Retrieve the first Supplier Info", - "start_line": 77, - "end_line": 77, - "start_column": 3, - "end_column": 37, - "is_javadoc": false - }, - { - "content": "\r\n\t * @return Supplier\r\n\t ", - "start_line": 73, - "end_line": 75, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Supplier getSupplier()", - "parameters": [], - "code": "{\r\n\t\t// Retrieve the first Supplier Info\r\n\t\ttry {\r\n\t\t\tCollection suppliers = this.findSuppliers();\r\n\t\t\tif (suppliers != null) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.getSupplierInfo() - Supplier found!\");\r\n\t\t\t\tIterator i = suppliers.iterator();\r\n\t\t\t\tif (i.hasNext()) {\r\n\t\t\t\t\treturn (Supplier) i.next();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"AdminServlet.getSupplierInfo() - Exception:\" + e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", - "start_line": 76, - "end_line": 91, - "code_start_line": 76, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Iterator", - "java.util.Collection" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "findSuppliers", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "argument_types": [], - "return_type": "java.util.Collection", - "callee_signature": "findSuppliers()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 79, - "start_column": 37, - "end_line": 79, - "end_column": 56 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 5, - "end_line": 81, - "end_column": 66 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "suppliers", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 82, - "start_column": 28, - "end_line": 82, - "end_column": 47 - }, - { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "i", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 83, - "start_column": 9, - "end_line": 83, - "end_column": 19 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "i", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 84, - "start_column": 24, - "end_line": 84, - "end_column": 31 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 88, - "start_column": 4, - "end_line": 88, - "end_column": 64 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "suppliers", - "type": "java.util.Collection", - "initializer": "this.findSuppliers()", - "start_line": 79, - "start_column": 25, - "end_line": 79, - "end_column": 56 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "java.util.Iterator", - "initializer": "suppliers.iterator()", - "start_line": 82, - "start_column": 24, - "end_line": 82, - "end_column": 47 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - }, - "findSuppliers()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", - "signature": "findSuppliers()", - "comments": [ - { - "content": "\r\n\t * @return suppliers\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [ - "@SuppressWarnings(\"unchecked\")" - ], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private Collection findSuppliers()", - "parameters": [], - "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"findAllSuppliers\");\r\n\t\treturn q.getResultList();\r\n\t}", - "start_line": 139, - "end_line": 143, - "code_start_line": 140, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "Query" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" - ], - "call_sites": [ - { - "method_name": "createNamedQuery", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 141, - "start_column": 13, - "end_line": 141, - "end_column": 51 - }, - { - "method_name": "getResultList", - "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 142, - "start_column": 10, - "end_line": 142, - "end_column": 26 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "q", - "type": "Query", - "initializer": "em.createNamedQuery(\"findAllSuppliers\")", - "start_line": 141, - "start_column": 9, - "end_line": 141, - "end_column": 51 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "EntityManager", - "start_line": 37, - "end_line": 38, - "variables": [ - "em" - ], - "modifiers": [], - "annotations": [ - "@PersistenceContext(unitName = \"PBW\")" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * A JSF validator class, not implemented in Bean Validation since validation is only required\r\n * during GUI interaction.\r\n ", - "start_line": 27, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.faces.component.UIComponent", - "javax.faces.component.UIInput", - "javax.faces.context.FacesContext", - "javax.faces.validator.FacesValidator", - "javax.faces.validator.Validator", - "javax.faces.validator.ValidatorException" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.ValidatePasswords": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n * A JSF validator class, not implemented in Bean Validation since validation is only required\r\n * during GUI interaction.\r\n ", - "start_line": 27, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "Validator" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@FacesValidator(value = \"validatePasswords\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "validate(FacesContext, UIComponent, Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", - "signature": "validate(FacesContext, UIComponent, Object)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ValidatorException" - ], - "declaration": "public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException", - "parameters": [ - { - "type": "FacesContext", - "name": "context", - "annotations": [], - "modifiers": [], - "start_line": 35, - "end_line": 35, - "start_column": 23, - "end_column": 42 - }, - { - "type": "UIComponent", - "name": "component", - "annotations": [], - "modifiers": [], - "start_line": 35, - "end_line": 35, - "start_column": 45, - "end_column": 65 - }, - { - "type": "java.lang.Object", - "name": "value", - "annotations": [], - "modifiers": [], - "start_line": 35, - "end_line": 35, - "start_column": 68, - "end_column": 79 - } - ], - "code": "{\r\n\t\tUIInput otherComponent;\r\n\t\tString otherID = (String) component.getAttributes().get(\"otherPasswordID\");\r\n\t\tString otherStr;\r\n\t\tString str = (String) value;\r\n\r\n\t\totherComponent = (UIInput) context.getViewRoot().findComponent(otherID);\r\n\t\totherStr = (String) otherComponent.getValue();\r\n\r\n\t\tif (!otherStr.equals(str)) {\r\n\t\t\tValidatorUtils.addErrorMessage(context, \"Passwords do not match.\");\r\n\t\t}\r\n\t}", - "start_line": 34, - "end_line": 47, - "code_start_line": 35, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "UIInput" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "component.getAttributes()", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 37, - "start_column": 29, - "end_line": 37, - "end_column": 76 - }, - { - "method_name": "getAttributes", - "comment": null, - "receiver_expr": "component", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 37, - "start_column": 29, - "end_line": 37, - "end_column": 53 - }, - { - "method_name": "findComponent", - "comment": null, - "receiver_expr": "context.getViewRoot()", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "UIInput", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 41, - "start_column": 30, - "end_line": 41, - "end_column": 73 - }, - { - "method_name": "getViewRoot", - "comment": null, - "receiver_expr": "context", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 41, - "start_column": 30, - "end_line": 41, - "end_column": 50 - }, - { - "method_name": "getValue", - "comment": null, - "receiver_expr": "otherComponent", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 42, - "start_column": 23, - "end_line": 42, - "end_column": 47 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "otherStr", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 44, - "start_column": 8, - "end_line": 44, - "end_column": 27 - }, - { - "method_name": "addErrorMessage", - "comment": null, - "receiver_expr": "ValidatorUtils", - "receiver_type": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 4, - "end_line": 45, - "end_column": 69 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "otherComponent", - "type": "UIInput", - "initializer": "", - "start_line": 36, - "start_column": 11, - "end_line": 36, - "end_column": 24 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "otherID", - "type": "java.lang.String", - "initializer": "(String) component.getAttributes().get(\"otherPasswordID\")", - "start_line": 37, - "start_column": 10, - "end_line": 37, - "end_column": 76 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "otherStr", - "type": "java.lang.String", - "initializer": "", - "start_line": 38, - "start_column": 10, - "end_line": 38, - "end_column": 17 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "str", - "type": "java.lang.String", - "initializer": "(String) value", - "start_line": 39, - "start_column": 10, - "end_line": 39, - "end_column": 29 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - } - }, - "field_declarations": [], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * A JSF backing bean used to store information for the login web page. It is accessed via the\r\n * account bean.\r\n *\r\n ", - "start_line": 23, - "end_line": 27, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.validation.constraints.Pattern", - "javax.validation.constraints.Size" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.LoginInfo": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n * A JSF backing bean used to store information for the login web page. It is accessed via the\r\n * account bean.\r\n *\r\n ", - "start_line": 23, - "end_line": 27, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "LoginInfo()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public LoginInfo()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 38, - "end_line": 39, - "code_start_line": 38, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPassword()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "getPassword()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getPassword()", - "parameters": [], - "code": "{\r\n\t\treturn this.password;\r\n\t}", - "start_line": 53, - "end_line": 55, - "code_start_line": 53, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.password" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setEmail(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "setEmail(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setEmail(String email)", - "parameters": [ - { - "type": "java.lang.String", - "name": "email", - "annotations": [], - "modifiers": [], - "start_line": 61, - "end_line": 61, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.email = email;\r\n\t}", - "start_line": 61, - "end_line": 63, - "code_start_line": 61, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.email" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setMessage(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "setMessage(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setMessage(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 65, - "end_line": 65, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.message = message;\r\n\t}", - "start_line": 65, - "end_line": 67, - "code_start_line": 65, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.message" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCheckPassword()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "getCheckPassword()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCheckPassword()", - "parameters": [], - "code": "{\r\n\t\treturn this.checkPassword;\r\n\t}", - "start_line": 41, - "end_line": 43, - "code_start_line": 41, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.checkPassword" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCheckPassword(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "setCheckPassword(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCheckPassword(String checkPassword)", - "parameters": [ - { - "type": "java.lang.String", - "name": "checkPassword", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 31, - "end_column": 50 - } - ], - "code": "{\r\n\t\tthis.checkPassword = checkPassword;\r\n\t}", - "start_line": 57, - "end_line": 59, - "code_start_line": 57, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.checkPassword" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getMessage()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "getMessage()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getMessage()", - "parameters": [], - "code": "{\r\n\t\treturn this.message;\r\n\t}", - "start_line": 49, - "end_line": 51, - "code_start_line": 49, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.message" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getEmail()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "getEmail()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getEmail()", - "parameters": [], - "code": "{\r\n\t\treturn this.email;\r\n\t}", - "start_line": 45, - "end_line": 47, - "code_start_line": 45, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.email" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPassword(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", - "signature": "setPassword(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPassword(String password)", - "parameters": [ - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 69, - "end_line": 69, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.password = password;\r\n\t}", - "start_line": 69, - "end_line": 71, - "code_start_line": 69, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.LoginInfo.password" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 29, - "end_line": 29, - "variables": [ - "checkPassword" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 31, - "end_line": 32, - "variables": [ - "email" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Pattern(regexp = \"[a-zA-Z0-9_-]+@[a-zA-Z0-9.-]+\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 33, - "end_line": 33, - "variables": [ - "message" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 35, - "end_line": 36, - "variables": [ - "password" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Size(min = 6, max = 10, message = \"Password must be between 6 and 10 characters.\")" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Provides backing bean support for the product web page. Accessed via the shopping bean.\r\n *\r\n ", - "start_line": 28, - "end_line": 31, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable", - "java.text.NumberFormat", - "java.util.Locale", - "java.util.Objects", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.ProductBean": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n * Provides backing bean support for the product web page. Accessed via the shopping bean.\r\n *\r\n ", - "start_line": 28, - "end_line": 31, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getCategoryName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "getCategoryName()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCategoryName()", - "parameters": [], - "code": "{\r\n\t\treturn Util.getCategoryString(this.inventory.getCategory());\r\n\t}", - "start_line": 43, - "end_line": 45, - "code_start_line": 43, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.inventory" - ], - "call_sites": [ - { - "method_name": "getCategoryString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getCategoryString(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 44, - "start_column": 10, - "end_line": 44, - "end_column": 61 - }, - { - "method_name": "getCategory", - "comment": null, - "receiver_expr": "this.inventory", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getCategory()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 44, - "start_column": 33, - "end_line": 44, - "end_column": 60 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "getQuantity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getQuantity()", - "parameters": [], - "code": "{\r\n\t\treturn this.quantity;\r\n\t}", - "start_line": 75, - "end_line": 77, - "code_start_line": 75, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPrice()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "getPrice()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getPrice()", - "parameters": [], - "code": "{\r\n\t\treturn NumberFormat.getCurrencyInstance(Locale.US).format(new Float(this.inventory.getPrice()));\r\n\t}", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.Locale" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.inventory", - "java.util.Locale.US" - ], - "call_sites": [ - { - "method_name": "format", - "comment": null, - "receiver_expr": "NumberFormat.getCurrencyInstance(Locale.US)", - "receiver_type": "java.text.NumberFormat", - "argument_types": [ - "java.lang.Float" - ], - "return_type": "java.lang.String", - "callee_signature": "format(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 10, - "end_line": 72, - "end_column": 97 - }, - { - "method_name": "getCurrencyInstance", - "comment": null, - "receiver_expr": "NumberFormat", - "receiver_type": "java.text.NumberFormat", - "argument_types": [ - "java.util.Locale" - ], - "return_type": "java.text.NumberFormat", - "callee_signature": "getCurrencyInstance(java.util.Locale)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 10, - "end_line": 72, - "end_column": 52 - }, - { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "this.inventory", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 71, - "end_line": 72, - "end_column": 95 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(float)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 61, - "end_line": 72, - "end_column": 96 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getInventory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "getInventory()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Inventory getInventory()", - "parameters": [], - "code": "{\r\n\t\treturn this.inventory;\r\n\t}", - "start_line": 47, - "end_line": 49, - "code_start_line": 47, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.inventory" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "setQuantity(int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", - "start_line": 79, - "end_line": 81, - "code_start_line": 79, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "ProductBean(Inventory)", - "comments": [], - "annotations": [], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [], - "declaration": "protected ProductBean(Inventory inventory)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inventory", - "annotations": [], - "modifiers": [], - "start_line": 37, - "end_line": 37, - "start_column": 24, - "end_column": 42 - } - ], - "code": "{\r\n\t Objects.requireNonNull(inventory, \"Inventory cannot be null\");\r\n\t\tthis.inventory = inventory;\r\n\t\tthis.quantity = 1;\r\n\t}", - "start_line": 37, - "end_line": 41, - "code_start_line": 37, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ProductBean.inventory", - "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" - ], - "call_sites": [ - { - "method_name": "requireNonNull", - "comment": null, - "receiver_expr": "Objects", - "receiver_type": "java.util.Objects", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "requireNonNull(T, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 38, - "start_column": 6, - "end_line": 38, - "end_column": 66 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getMenuString()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", - "signature": "getMenuString()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getMenuString()", - "parameters": [], - "code": "{\r\n\t\tString categoryString = getCategoryName();\r\n\r\n\t\tif (categoryString.equals(\"Flowers\")) {\r\n\t\t\treturn \"banner:menu1\";\r\n\t\t}\r\n\r\n\t\telse if (categoryString.equals(\"Fruits & Vegetables\")) {\r\n\t\t\treturn \"banner:menu2\";\r\n\t\t}\r\n\r\n\t\telse if (categoryString.equals(\"Trees\")) {\r\n\t\t\treturn \"banner:menu3\";\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\treturn \"banner:menu4\";\r\n\t\t}\r\n\t}", - "start_line": 51, - "end_line": 69, - "code_start_line": 51, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getCategoryName", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCategoryName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 27, - "end_line": 52, - "end_column": 43 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "categoryString", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 7, - "end_line": 54, - "end_column": 38 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "categoryString", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 12, - "end_line": 58, - "end_column": 55 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "categoryString", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 62, - "start_column": 12, - "end_line": 62, - "end_column": 41 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "categoryString", - "type": "java.lang.String", - "initializer": "getCategoryName()", - "start_line": 52, - "start_column": 10, - "end_line": 52, - "end_column": 43 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 33, - "end_line": 33, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "start_line": 34, - "end_line": 34, - "variables": [ - "inventory" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 35, - "end_line": 35, - "variables": [ - "quantity" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Servlet to handle customer account actions, such as login and register.\r\n ", - "start_line": 37, - "end_line": 39, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": " Servlet action codes.", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 56, - "end_line": 58, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 63, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 76, - "end_line": 83, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 89, - "end_line": 96, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " user id was invalid, and may contain XSS attack", - "start_line": 114, - "end_line": 114, - "start_column": 6, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " If results have an error msg, return it, otherwise continue.", - "start_line": 119, - "end_line": 119, - "start_column": 5, - "end_column": 67, - "is_javadoc": false - }, - { - "content": " Proliferate UPDATING flag if user is trying to update his account.", - "start_line": 121, - "end_line": 121, - "start_column": 6, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " If not logging in for the first time, then clear out the", - "start_line": 128, - "end_line": 128, - "start_column": 6, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " session data for the old user.", - "start_line": 129, - "end_line": 129, - "start_column": 6, - "end_column": 38, - "is_javadoc": false - }, - { - "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", - "start_line": 132, - "end_line": 132, - "start_column": 7, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Store customer userid in HttpSession.", - "start_line": 137, - "end_line": 137, - "start_column": 6, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " Was customer trying to edit account information.", - "start_line": 142, - "end_line": 142, - "start_column": 6, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 148, - "end_line": 148, - "start_column": 7, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 159, - "end_line": 159, - "start_column": 8, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Register a new user.", - "start_line": 180, - "end_line": 180, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 181, - "end_line": 181, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 262, - "end_line": 262, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 263, - "end_line": 263, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 182, - "end_line": 182, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " validate all user input", - "start_line": 198, - "end_line": 198, - "start_column": 4, - "end_column": 29, - "is_javadoc": false - }, - { - "content": " Make sure passwords match.", - "start_line": 227, - "end_line": 227, - "start_column": 4, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 232, - "end_line": 232, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Store customer info in HttpSession.", - "start_line": 237, - "end_line": 237, - "start_column": 6, - "end_column": 43, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 240, - "end_line": 240, - "start_column": 6, - "end_column": 54, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 247, - "end_line": 247, - "start_column": 7, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 278, - "end_line": 278, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 316, - "end_line": 316, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 317, - "end_line": 317, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 279, - "end_line": 279, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " Store updated customer info in HttpSession.", - "start_line": 296, - "end_line": 296, - "start_column": 4, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 299, - "end_line": 299, - "start_column": 4, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 306, - "end_line": 306, - "start_column": 5, - "end_column": 24, - "is_javadoc": false - }, - { - "content": "\r\n\t * Request dispatch.\r\n\t ", - "start_line": 329, - "end_line": 331, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.IOException", - "javax.inject.Inject", - "javax.inject.Named", - "javax.servlet.ServletConfig", - "javax.servlet.ServletContext", - "javax.servlet.ServletException", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "javax.servlet.http.HttpSession", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "com.ibm.websphere.samples.pbw.jpa.Customer", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.AccountServlet": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "HttpServlet" - ], - "comments": [ - { - "content": " Servlet action codes.", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 56, - "end_line": 58, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 63, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 76, - "end_line": 83, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 89, - "end_line": 96, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " user id was invalid, and may contain XSS attack", - "start_line": 114, - "end_line": 114, - "start_column": 6, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " If results have an error msg, return it, otherwise continue.", - "start_line": 119, - "end_line": 119, - "start_column": 5, - "end_column": 67, - "is_javadoc": false - }, - { - "content": " Proliferate UPDATING flag if user is trying to update his account.", - "start_line": 121, - "end_line": 121, - "start_column": 6, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " If not logging in for the first time, then clear out the", - "start_line": 128, - "end_line": 128, - "start_column": 6, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " session data for the old user.", - "start_line": 129, - "end_line": 129, - "start_column": 6, - "end_column": 38, - "is_javadoc": false - }, - { - "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", - "start_line": 132, - "end_line": 132, - "start_column": 7, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Store customer userid in HttpSession.", - "start_line": 137, - "end_line": 137, - "start_column": 6, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " Was customer trying to edit account information.", - "start_line": 142, - "end_line": 142, - "start_column": 6, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 148, - "end_line": 148, - "start_column": 7, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 159, - "end_line": 159, - "start_column": 8, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Register a new user.", - "start_line": 180, - "end_line": 180, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 181, - "end_line": 181, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 262, - "end_line": 262, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 263, - "end_line": 263, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 182, - "end_line": 182, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " validate all user input", - "start_line": 198, - "end_line": 198, - "start_column": 4, - "end_column": 29, - "is_javadoc": false - }, - { - "content": " Make sure passwords match.", - "start_line": 227, - "end_line": 227, - "start_column": 4, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 232, - "end_line": 232, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Store customer info in HttpSession.", - "start_line": 237, - "end_line": 237, - "start_column": 6, - "end_column": 43, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 240, - "end_line": 240, - "start_column": 6, - "end_column": 54, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 247, - "end_line": 247, - "start_column": 7, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 278, - "end_line": 278, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 316, - "end_line": 316, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 317, - "end_line": 317, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 279, - "end_line": 279, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " Store updated customer info in HttpSession.", - "start_line": 296, - "end_line": 296, - "start_column": 4, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 299, - "end_line": 299, - "start_column": 4, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 306, - "end_line": 306, - "start_column": 5, - "end_column": 24, - "is_javadoc": false - }, - { - "content": "\r\n\t * Request dispatch.\r\n\t ", - "start_line": 329, - "end_line": 331, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n * Servlet to handle customer account actions, such as login and register.\r\n ", - "start_line": 37, - "end_line": 39, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(value = \"accountservlet\")", - "@WebServlet(\"/servlet/AccountServlet\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 56, - "end_line": 58, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 19, - "end_column": 38 - } - ], - "code": "{\r\n\t\tsuper.init(config);\r\n\t}", - "start_line": 59, - "end_line": 61, - "code_start_line": 59, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 3, - "end_line": 60, - "end_column": 20 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 63, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 20, - "end_column": 64 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 4, - "end_column": 50 - } - ], - "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", - "start_line": 71, - "end_line": 74, - "code_start_line": 72, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 3, - "end_line": 73, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 76, - "end_line": 83, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [], - "start_line": 84, - "end_line": 84, - "start_column": 21, - "end_column": 65 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [], - "start_line": 85, - "end_line": 85, - "start_column": 4, - "end_column": 50 - } - ], - "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", - "start_line": 84, - "end_line": 87, - "code_start_line": 85, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 86, - "start_column": 3, - "end_line": 86, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": " user id was invalid, and may contain XSS attack", - "start_line": 114, - "end_line": 114, - "start_column": 6, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " If results have an error msg, return it, otherwise continue.", - "start_line": 119, - "end_line": 119, - "start_column": 5, - "end_column": 67, - "is_javadoc": false - }, - { - "content": " Proliferate UPDATING flag if user is trying to update his account.", - "start_line": 121, - "end_line": 121, - "start_column": 6, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " If not logging in for the first time, then clear out the", - "start_line": 128, - "end_line": 128, - "start_column": 6, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " session data for the old user.", - "start_line": 129, - "end_line": 129, - "start_column": 6, - "end_column": 38, - "is_javadoc": false - }, - { - "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", - "start_line": 132, - "end_line": 132, - "start_column": 7, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Store customer userid in HttpSession.", - "start_line": 137, - "end_line": 137, - "start_column": 6, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " Was customer trying to edit account information.", - "start_line": 142, - "end_line": 142, - "start_column": 6, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 148, - "end_line": 148, - "start_column": 7, - "end_column": 55, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 159, - "end_line": 159, - "start_column": 8, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Register a new user.", - "start_line": 180, - "end_line": 180, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 181, - "end_line": 181, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 262, - "end_line": 262, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 263, - "end_line": 263, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 182, - "end_line": 182, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " validate all user input", - "start_line": 198, - "end_line": 198, - "start_column": 4, - "end_column": 29, - "is_javadoc": false - }, - { - "content": " Make sure passwords match.", - "start_line": 227, - "end_line": 227, - "start_column": 4, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 232, - "end_line": 232, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " Store customer info in HttpSession.", - "start_line": 237, - "end_line": 237, - "start_column": 6, - "end_column": 43, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 240, - "end_line": 240, - "start_column": 6, - "end_column": 54, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 247, - "end_line": 247, - "start_column": 7, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " try", - "start_line": 278, - "end_line": 278, - "start_column": 4, - "end_column": 9, - "is_javadoc": false - }, - { - "content": " }", - "start_line": 316, - "end_line": 316, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " catch (CreateException e) { }", - "start_line": 317, - "end_line": 317, - "start_column": 4, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " {", - "start_line": 279, - "end_line": 279, - "start_column": 4, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " Create the new user.", - "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " Store updated customer info in HttpSession.", - "start_line": 296, - "end_line": 296, - "start_column": 4, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " See if user was in the middle of checking out.", - "start_line": 299, - "end_line": 299, - "start_column": 4, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " Default to plants", - "start_line": 306, - "end_line": 306, - "start_column": 5, - "end_column": 24, - "is_javadoc": false - }, - { - "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 89, - "end_line": 96, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "private void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 97, - "end_line": 97, - "start_column": 27, - "end_column": 48 - }, - { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 97, - "end_line": 97, - "start_column": 51, - "end_column": 74 - } - ], - "code": "{\r\n\t\tString action = null;\r\n\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tUtil.debug(\"action=\" + action);\r\n\r\n\t\tif (action.equals(ACTION_LOGIN)) {\r\n\t\t\ttry {\r\n\t\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\t\tString userid = req.getParameter(\"userid\");\r\n\t\t\t\tString passwd = req.getParameter(\"passwd\");\r\n\t\t\t\tString updating = req.getParameter(Util.ATTR_UPDATING);\r\n\r\n\t\t\t\tString results = null;\r\n\t\t\t\tif (Util.validateString(userid)) {\r\n\t\t\t\t\tresults = login.verifyUserAndPassword(userid, passwd);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// user id was invalid, and may contain XSS attack\r\n\t\t\t\t\tresults = \"\\nEmail address was invalid.\";\r\n\t\t\t\t\tUtil.debug(\"User id or email address was invalid. id=\" + userid);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// If results have an error msg, return it, otherwise continue.\r\n\t\t\t\tif (results != null) {\r\n\t\t\t\t\t// Proliferate UPDATING flag if user is trying to update his account.\r\n\t\t\t\t\tif (updating.equals(\"true\"))\r\n\t\t\t\t\t\treq.setAttribute(Util.ATTR_UPDATING, \"true\");\r\n\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, results);\r\n\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_LOGIN);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// If not logging in for the first time, then clear out the\r\n\t\t\t\t\t// session data for the old user.\r\n\t\t\t\t\tif (session.getAttribute(Util.ATTR_CUSTOMER) != null) {\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_CART);\r\n\t\t\t\t\t\t// session.removeAttribute(Util.ATTR_CART_CONTENTS);\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_ORDERKEY);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// Store customer userid in HttpSession.\r\n\t\t\t\t\tCustomer customer = login.getCustomer(userid);\r\n\t\t\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\t\t\t\t\tUtil.debug(\"updating=\" + updating + \"=\");\r\n\r\n\t\t\t\t\t// Was customer trying to edit account information.\r\n\t\t\t\t\tif (updating.equals(\"true\")) {\r\n\t\t\t\t\t\treq.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\r\n\r\n\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ACCOUNT);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// See if user was in the middle of checking out.\r\n\t\t\t\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\t\tUtil.debug(\"checkingOut=\" + checkingOut + \"=\");\r\n\t\t\t\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\t\t\t\tUtil.debug(\"must be checking out\");\r\n\t\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ORDERINFO);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tUtil.debug(\"must NOT be checking out\");\r\n\t\t\t\t\t\t\tString url;\r\n\t\t\t\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t\t\t\t// Default to plants\r\n\t\t\t\t\t\t\tif ((category == null) || (category.equals(\"null\"))) {\r\n\t\t\t\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog\r\n\t\t\t\t\t\t\t\t\t\t.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (ServletException e) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\r\n\t\t\t\tthrow e;\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\r\n\t\t\t\tthrow new ServletException(e.getMessage());\r\n\t\t\t}\r\n\t\t} else if (action.equals(ACTION_REGISTER)) {\r\n\t\t\t// Register a new user.\r\n\t\t\t// try\r\n\t\t\t// {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\r\n\t\t\tString userid = req.getParameter(\"userid\");\r\n\t\t\tString password = req.getParameter(\"passwd\");\r\n\t\t\tString cpassword = req.getParameter(\"vpasswd\");\r\n\t\t\tString firstName = req.getParameter(\"fname\");\r\n\t\t\tString lastName = req.getParameter(\"lname\");\r\n\t\t\tString addr1 = req.getParameter(\"addr1\");\r\n\t\t\tString addr2 = req.getParameter(\"addr2\");\r\n\t\t\tString addrCity = req.getParameter(\"city\");\r\n\t\t\tString addrState = req.getParameter(\"state\");\r\n\t\t\tString addrZip = req.getParameter(\"zip\");\r\n\t\t\tString phone = req.getParameter(\"phone\");\r\n\r\n\t\t\t// validate all user input\r\n\t\t\tif (!Util.validateString(userid)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Email address contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(firstName)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"First Name contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(lastName)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Last Name contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addr1)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Address Line 1 contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addr2)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Address Line 2 contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrCity)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"City contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrState)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"State contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrZip)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Zip contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(phone)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Phone Number contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t}\r\n\t\t\t// Make sure passwords match.\r\n\t\t\telse if (!password.equals(cpassword)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Passwords do not match.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else {\r\n\t\t\t\t// Create the new user.\r\n\t\t\t\tCustomer customer = login\r\n\t\t\t\t\t\t.createCustomer(userid, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\r\n\t\t\t\tif (customer != null) {\r\n\t\t\t\t\t// Store customer info in HttpSession.\r\n\t\t\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\r\n\t\t\t\t\t// See if user was in the middle of checking out.\r\n\t\t\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\t\t\turl = Util.PAGE_ORDERINFO;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t\t\t// Default to plants\r\n\t\t\t\t\t\tif (category == null) {\r\n\t\t\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog\r\n\t\t\t\t\t\t\t\t\t.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"New user NOT created!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t// }\r\n\t\t\t// catch (CreateException e) { }\r\n\t\t} else if (action.equals(ACTION_ACCOUNT)) {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\tCustomer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\r\n\t\t\tif (customer == null) {\r\n\t\t\t\turl = Util.PAGE_LOGIN;\r\n\t\t\t\treq.setAttribute(Util.ATTR_UPDATING, \"true\");\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"\\nYou must login first.\");\r\n\t\t\t} else {\r\n\t\t\t\turl = Util.PAGE_ACCOUNT;\r\n\t\t\t\treq.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\r\n\t\t\t}\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t} else if (action.equals(ACTION_ACCOUNTUPDATE)) {\r\n\t\t\t// try\r\n\t\t\t// {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\tCustomer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\r\n\r\n\t\t\tString userid = customer.getCustomerID();\r\n\t\t\tString firstName = req.getParameter(\"fname\");\r\n\t\t\tString lastName = req.getParameter(\"lname\");\r\n\t\t\tString addr1 = req.getParameter(\"addr1\");\r\n\t\t\tString addr2 = req.getParameter(\"addr2\");\r\n\t\t\tString addrCity = req.getParameter(\"city\");\r\n\t\t\tString addrState = req.getParameter(\"state\");\r\n\t\t\tString addrZip = req.getParameter(\"zip\");\r\n\t\t\tString phone = req.getParameter(\"phone\");\r\n\r\n\t\t\t// Create the new user.\r\n\t\t\tcustomer = login.updateUser(userid, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t// Store updated customer info in HttpSession.\r\n\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\r\n\t\t\t// See if user was in the middle of checking out.\r\n\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\turl = Util.PAGE_ORDERINFO;\r\n\t\t\t} else {\r\n\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t// Default to plants\r\n\t\t\t\tif (category == null) {\r\n\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t} else {\r\n\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t// }\r\n\t\t\t// catch (CreateException e) { }\r\n\t\t} else if (action.equals(ACTION_SETLOGGING)) {\r\n\t\t\tString debugSetting = req.getParameter(\"logging\");\r\n\t\t\tif ((debugSetting == null) || (!debugSetting.equals(\"debug\")))\r\n\t\t\t\tUtil.setDebug(false);\r\n\t\t\telse\r\n\t\t\t\tUtil.setDebug(true);\r\n\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_HELP);\r\n\t\t}\r\n\t}", - "start_line": 97, - "end_line": 327, - "code_start_line": 97, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "HttpSession", - "java.lang.Boolean", - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", - "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_REGISTER", - "com.ibm.websphere.samples.pbw.war.AccountServlet.login", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CATEGORY", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CUSTOMER", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ORDERINFO", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_INVITEMS", - "com.ibm.websphere.samples.pbw.war.AccountServlet.catalog", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_UPDATING", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_HELP", - "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_SETLOGGING", - "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_LOGIN", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CHECKOUT", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CART", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ACCOUNT", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_RESULTS", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ORDERKEY", - "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_ACCOUNTUPDATE", - "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_ACCOUNT", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_EDITACCOUNTINFO", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_PROMO", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_LOGIN", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_SHOPPING", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_REGISTER" - ], - "call_sites": [ - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 12, - "end_line": 100, - "end_column": 45 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 3, - "end_line": 101, - "end_column": 32 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 7, - "end_line": 103, - "end_column": 33 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 27, - "end_line": 105, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 106, - "start_column": 21, - "end_line": 106, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 21, - "end_line": 107, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 108, - "start_column": 23, - "end_line": 108, - "end_column": 58 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 111, - "start_column": 9, - "end_line": 111, - "end_column": 35 - }, - { - "method_name": "verifyUserAndPassword", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 16, - "end_line": 112, - "end_column": 58 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 6, - "end_line": 116, - "end_column": 69 - }, - { - "method_name": "equals", - "comment": { - "content": " Proliferate UPDATING flag if user is trying to update his account.", - "start_line": 121, - "end_line": 121, - "start_column": 6, - "end_column": 74, - "is_javadoc": false - }, - "receiver_expr": "updating", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 10, - "end_line": 122, - "end_column": 32 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 7, - "end_line": 123, - "end_column": 50 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 6, - "end_line": 125, - "end_column": 49 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 6, - "end_line": 126, - "end_column": 88 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 22, - "end_line": 126, - "end_column": 59 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 22, - "end_line": 126, - "end_column": 39 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 10, - "end_line": 130, - "end_column": 49 - }, - { - "method_name": "removeAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 7, - "end_line": 131, - "end_column": 45 - }, - { - "method_name": "removeAttribute", - "comment": { - "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", - "start_line": 132, - "end_line": 132, - "start_column": 7, - "end_column": 58, - "is_javadoc": false - }, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 7, - "end_line": 133, - "end_column": 49 - }, - { - "method_name": "removeAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 134, - "start_column": 7, - "end_line": 134, - "end_column": 49 - }, - { - "method_name": "getCustomer", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "getCustomer(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 26, - "end_line": 138, - "end_column": 50 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 139, - "start_column": 6, - "end_line": 139, - "end_column": 55 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 6, - "end_line": 140, - "end_column": 45 - }, - { - "method_name": "equals", - "comment": { - "content": " Was customer trying to edit account information.", - "start_line": 142, - "end_line": 142, - "start_column": 6, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "updating", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 10, - "end_line": 143, - "end_column": 32 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 144, - "start_column": 7, - "end_line": 144, - "end_column": 59 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 146, - "start_column": 7, - "end_line": 146, - "end_column": 91 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 146, - "start_column": 23, - "end_line": 146, - "end_column": 60 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 146, - "start_column": 23, - "end_line": 146, - "end_column": 40 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Boolean", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 149, - "start_column": 39, - "end_line": 149, - "end_column": 78 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 150, - "start_column": 7, - "end_line": 150, - "end_column": 52 - }, - { - "method_name": "booleanValue", - "comment": null, - "receiver_expr": "checkingOut", - "receiver_type": "java.lang.Boolean", - "argument_types": [], - "return_type": "", - "callee_signature": "booleanValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 151, - "start_column": 37, - "end_line": 151, - "end_column": 62 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 8, - "end_line": 152, - "end_column": 41 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 8, - "end_line": 153, - "end_column": 94 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 24, - "end_line": 153, - "end_column": 61 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 24, - "end_line": 153, - "end_column": 41 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 155, - "start_column": 8, - "end_line": 155, - "end_column": 45 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 157, - "start_column": 35, - "end_line": 157, - "end_column": 74 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "category", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 160, - "start_column": 35, - "end_line": 160, - "end_column": 57 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.util.Vector" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 164, - "start_column": 9, - "end_line": 165, - "end_column": 58 - }, - { - "method_name": "getItemsByCategory", - "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "" - ], - "return_type": "java.util.Vector", - "callee_signature": "getItemsByCategory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 164, - "start_column": 46, - "end_line": 165, - "end_column": 57 - }, - { - "method_name": "parseInt", - "comment": null, - "receiver_expr": "Integer", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "parseInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 165, - "start_column": 31, - "end_line": 165, - "end_column": 56 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 8, - "end_line": 168, - "end_column": 78 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 24, - "end_line": 168, - "end_column": 61 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 24, - "end_line": 168, - "end_column": 41 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 5, - "end_line": 173, - "end_column": 63 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 5, - "end_line": 176, - "end_column": 63 - }, - { - "method_name": "getMessage", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 32, - "end_line": 177, - "end_column": 45 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 179, - "start_column": 14, - "end_line": 179, - "end_column": 43 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 184, - "start_column": 26, - "end_line": 184, - "end_column": 45 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 186, - "start_column": 20, - "end_line": 186, - "end_column": 45 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 187, - "start_column": 22, - "end_line": 187, - "end_column": 47 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 23, - "end_line": 188, - "end_column": 49 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 189, - "start_column": 23, - "end_line": 189, - "end_column": 47 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 190, - "start_column": 22, - "end_line": 190, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 191, - "start_column": 19, - "end_line": 191, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 192, - "start_column": 19, - "end_line": 192, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 193, - "start_column": 22, - "end_line": 193, - "end_column": 45 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 194, - "start_column": 23, - "end_line": 194, - "end_column": 47 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 195, - "start_column": 21, - "end_line": 195, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 196, - "start_column": 19, - "end_line": 196, - "end_column": 43 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 199, - "start_column": 9, - "end_line": 199, - "end_column": 35 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 200, - "start_column": 5, - "end_line": 200, - "end_column": 85 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 202, - "start_column": 16, - "end_line": 202, - "end_column": 45 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 203, - "start_column": 5, - "end_line": 203, - "end_column": 82 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 205, - "start_column": 16, - "end_line": 205, - "end_column": 44 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 206, - "start_column": 5, - "end_line": 206, - "end_column": 81 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 208, - "start_column": 16, - "end_line": 208, - "end_column": 41 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 209, - "start_column": 5, - "end_line": 209, - "end_column": 86 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 211, - "start_column": 16, - "end_line": 211, - "end_column": 41 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 212, - "start_column": 5, - "end_line": 212, - "end_column": 86 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 214, - "start_column": 16, - "end_line": 214, - "end_column": 44 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 5, - "end_line": 215, - "end_column": 76 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 16, - "end_line": 217, - "end_column": 45 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 218, - "start_column": 5, - "end_line": 218, - "end_column": 77 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 220, - "start_column": 16, - "end_line": 220, - "end_column": 43 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 221, - "start_column": 5, - "end_line": 221, - "end_column": 75 - }, - { - "method_name": "validateString", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "validateString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 223, - "start_column": 16, - "end_line": 223, - "end_column": 41 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 224, - "start_column": 5, - "end_line": 224, - "end_column": 84 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "password", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 228, - "start_column": 14, - "end_line": 228, - "end_column": 39 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 229, - "start_column": 5, - "end_line": 229, - "end_column": 66 - }, - { - "method_name": "createCustomer", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 25, - "end_line": 234, - "end_column": 111 - }, - { - "method_name": "setAttribute", - "comment": { - "content": " Store customer info in HttpSession.", - "start_line": 237, - "end_line": 237, - "start_column": 6, - "end_column": 43, - "is_javadoc": false - }, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 238, - "start_column": 6, - "end_line": 238, - "end_column": 55 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Boolean", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 241, - "start_column": 38, - "end_line": 241, - "end_column": 77 - }, - { - "method_name": "booleanValue", - "comment": null, - "receiver_expr": "checkingOut", - "receiver_type": "java.lang.Boolean", - "argument_types": [], - "return_type": "", - "callee_signature": "booleanValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 242, - "start_column": 36, - "end_line": 242, - "end_column": 61 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 245, - "start_column": 34, - "end_line": 245, - "end_column": 73 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.util.Vector" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 8, - "end_line": 253, - "end_column": 57 - }, - { - "method_name": "getItemsByCategory", - "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "" - ], - "return_type": "java.util.Vector", - "callee_signature": "getItemsByCategory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 45, - "end_line": 253, - "end_column": 56 - }, - { - "method_name": "parseInt", - "comment": null, - "receiver_expr": "Integer", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "parseInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 253, - "start_column": 30, - "end_line": 253, - "end_column": 55 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 258, - "start_column": 6, - "end_line": 258, - "end_column": 65 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 261, - "start_column": 4, - "end_line": 261, - "end_column": 74 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 261, - "start_column": 20, - "end_line": 261, - "end_column": 57 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 261, - "start_column": 20, - "end_line": 261, - "end_column": 37 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 264, - "start_column": 14, - "end_line": 264, - "end_column": 42 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 266, - "start_column": 26, - "end_line": 266, - "end_column": 45 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 267, - "start_column": 35, - "end_line": 267, - "end_column": 74 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 270, - "start_column": 5, - "end_line": 270, - "end_column": 48 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 271, - "start_column": 5, - "end_line": 271, - "end_column": 66 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 274, - "start_column": 5, - "end_line": 274, - "end_column": 57 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 276, - "start_column": 4, - "end_line": 276, - "end_column": 74 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 276, - "start_column": 20, - "end_line": 276, - "end_column": 57 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 276, - "start_column": 20, - "end_line": 276, - "end_column": 37 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 277, - "start_column": 14, - "end_line": 277, - "end_column": 48 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 281, - "start_column": 26, - "end_line": 281, - "end_column": 45 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 282, - "start_column": 35, - "end_line": 282, - "end_column": 74 - }, - { - "method_name": "getCustomerID", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCustomerID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 284, - "start_column": 20, - "end_line": 284, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 285, - "start_column": 23, - "end_line": 285, - "end_column": 47 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 286, - "start_column": 22, - "end_line": 286, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 287, - "start_column": 19, - "end_line": 287, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 288, - "start_column": 19, - "end_line": 288, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 289, - "start_column": 22, - "end_line": 289, - "end_column": 45 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 290, - "start_column": 23, - "end_line": 290, - "end_column": 47 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 291, - "start_column": 21, - "end_line": 291, - "end_column": 43 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 292, - "start_column": 19, - "end_line": 292, - "end_column": 43 - }, - { - "method_name": "updateUser", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 295, - "start_column": 15, - "end_line": 295, - "end_column": 110 - }, - { - "method_name": "setAttribute", - "comment": { - "content": " Store updated customer info in HttpSession.", - "start_line": 296, - "end_line": 296, - "start_column": 4, - "end_column": 49, - "is_javadoc": false - }, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 297, - "start_column": 4, - "end_line": 297, - "end_column": 53 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Boolean", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 300, - "start_column": 36, - "end_line": 300, - "end_column": 75 - }, - { - "method_name": "booleanValue", - "comment": null, - "receiver_expr": "checkingOut", - "receiver_type": "java.lang.Boolean", - "argument_types": [], - "return_type": "", - "callee_signature": "booleanValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 301, - "start_column": 34, - "end_line": 301, - "end_column": 59 - }, - { - "method_name": "getAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 304, - "start_column": 32, - "end_line": 304, - "end_column": 71 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.util.Vector" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 311, - "start_column": 6, - "end_line": 311, - "end_column": 97 - }, - { - "method_name": "getItemsByCategory", - "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "" - ], - "return_type": "java.util.Vector", - "callee_signature": "getItemsByCategory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 311, - "start_column": 43, - "end_line": 311, - "end_column": 96 - }, - { - "method_name": "parseInt", - "comment": null, - "receiver_expr": "Integer", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "parseInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 311, - "start_column": 70, - "end_line": 311, - "end_column": 95 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 315, - "start_column": 4, - "end_line": 315, - "end_column": 74 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 315, - "start_column": 20, - "end_line": 315, - "end_column": 57 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 315, - "start_column": 20, - "end_line": 315, - "end_column": 37 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 318, - "start_column": 14, - "end_line": 318, - "end_column": 45 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 319, - "start_column": 26, - "end_line": 319, - "end_column": 52 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "debugSetting", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 320, - "start_column": 36, - "end_line": 320, - "end_column": 63 - }, - { - "method_name": "setDebug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setDebug(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 321, - "start_column": 5, - "end_line": 321, - "end_column": 24 - }, - { - "method_name": "setDebug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setDebug(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 323, - "start_column": 5, - "end_line": 323, - "end_column": 23 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 325, - "start_column": 4, - "end_line": 325, - "end_column": 85 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 325, - "start_column": 20, - "end_line": 325, - "end_column": 57 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 325, - "start_column": 20, - "end_line": 325, - "end_column": 37 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "ServletException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "ServletException", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 11, - "end_line": 177, - "end_column": 46 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "action", - "type": "java.lang.String", - "initializer": "null", - "start_line": 98, - "start_column": 10, - "end_line": 98, - "end_column": 22 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 105, - "start_column": 17, - "end_line": 105, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "userid", - "type": "java.lang.String", - "initializer": "req.getParameter(\"userid\")", - "start_line": 106, - "start_column": 12, - "end_line": 106, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "passwd", - "type": "java.lang.String", - "initializer": "req.getParameter(\"passwd\")", - "start_line": 107, - "start_column": 12, - "end_line": 107, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "updating", - "type": "java.lang.String", - "initializer": "req.getParameter(Util.ATTR_UPDATING)", - "start_line": 108, - "start_column": 12, - "end_line": 108, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "results", - "type": "java.lang.String", - "initializer": "null", - "start_line": 110, - "start_column": 12, - "end_line": 110, - "end_column": 25 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customer", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "login.getCustomer(userid)", - "start_line": 138, - "start_column": 15, - "end_line": 138, - "end_column": 50 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "checkingOut", - "type": "java.lang.Boolean", - "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", - "start_line": 149, - "start_column": 15, - "end_line": 149, - "end_column": 78 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "", - "start_line": 156, - "start_column": 15, - "end_line": 156, - "end_column": 17 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "category", - "type": "java.lang.String", - "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", - "start_line": 157, - "start_column": 15, - "end_line": 157, - "end_column": 74 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "", - "start_line": 183, - "start_column": 11, - "end_line": 183, - "end_column": 13 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 184, - "start_column": 16, - "end_line": 184, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "userid", - "type": "java.lang.String", - "initializer": "req.getParameter(\"userid\")", - "start_line": 186, - "start_column": 11, - "end_line": 186, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "password", - "type": "java.lang.String", - "initializer": "req.getParameter(\"passwd\")", - "start_line": 187, - "start_column": 11, - "end_line": 187, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cpassword", - "type": "java.lang.String", - "initializer": "req.getParameter(\"vpasswd\")", - "start_line": 188, - "start_column": 11, - "end_line": 188, - "end_column": 49 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "firstName", - "type": "java.lang.String", - "initializer": "req.getParameter(\"fname\")", - "start_line": 189, - "start_column": 11, - "end_line": 189, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "lastName", - "type": "java.lang.String", - "initializer": "req.getParameter(\"lname\")", - "start_line": 190, - "start_column": 11, - "end_line": 190, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr1", - "type": "java.lang.String", - "initializer": "req.getParameter(\"addr1\")", - "start_line": 191, - "start_column": 11, - "end_line": 191, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr2", - "type": "java.lang.String", - "initializer": "req.getParameter(\"addr2\")", - "start_line": 192, - "start_column": 11, - "end_line": 192, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrCity", - "type": "java.lang.String", - "initializer": "req.getParameter(\"city\")", - "start_line": 193, - "start_column": 11, - "end_line": 193, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrState", - "type": "java.lang.String", - "initializer": "req.getParameter(\"state\")", - "start_line": 194, - "start_column": 11, - "end_line": 194, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrZip", - "type": "java.lang.String", - "initializer": "req.getParameter(\"zip\")", - "start_line": 195, - "start_column": 11, - "end_line": 195, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", - "type": "java.lang.String", - "initializer": "req.getParameter(\"phone\")", - "start_line": 196, - "start_column": 11, - "end_line": 196, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customer", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "login.createCustomer(userid, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone)", - "start_line": 233, - "start_column": 14, - "end_line": 234, - "end_column": 111 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "checkingOut", - "type": "java.lang.Boolean", - "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", - "start_line": 241, - "start_column": 14, - "end_line": 241, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "category", - "type": "java.lang.String", - "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", - "start_line": 245, - "start_column": 14, - "end_line": 245, - "end_column": 73 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "", - "start_line": 265, - "start_column": 11, - "end_line": 265, - "end_column": 13 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 266, - "start_column": 16, - "end_line": 266, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customer", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "(Customer) session.getAttribute(Util.ATTR_CUSTOMER)", - "start_line": 267, - "start_column": 13, - "end_line": 267, - "end_column": 74 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "", - "start_line": 280, - "start_column": 11, - "end_line": 280, - "end_column": 13 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 281, - "start_column": 16, - "end_line": 281, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customer", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "(Customer) session.getAttribute(Util.ATTR_CUSTOMER)", - "start_line": 282, - "start_column": 13, - "end_line": 282, - "end_column": 74 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "userid", - "type": "java.lang.String", - "initializer": "customer.getCustomerID()", - "start_line": 284, - "start_column": 11, - "end_line": 284, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "firstName", - "type": "java.lang.String", - "initializer": "req.getParameter(\"fname\")", - "start_line": 285, - "start_column": 11, - "end_line": 285, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "lastName", - "type": "java.lang.String", - "initializer": "req.getParameter(\"lname\")", - "start_line": 286, - "start_column": 11, - "end_line": 286, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr1", - "type": "java.lang.String", - "initializer": "req.getParameter(\"addr1\")", - "start_line": 287, - "start_column": 11, - "end_line": 287, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr2", - "type": "java.lang.String", - "initializer": "req.getParameter(\"addr2\")", - "start_line": 288, - "start_column": 11, - "end_line": 288, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrCity", - "type": "java.lang.String", - "initializer": "req.getParameter(\"city\")", - "start_line": 289, - "start_column": 11, - "end_line": 289, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrState", - "type": "java.lang.String", - "initializer": "req.getParameter(\"state\")", - "start_line": 290, - "start_column": 11, - "end_line": 290, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrZip", - "type": "java.lang.String", - "initializer": "req.getParameter(\"zip\")", - "start_line": 291, - "start_column": 11, - "end_line": 291, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", - "type": "java.lang.String", - "initializer": "req.getParameter(\"phone\")", - "start_line": 292, - "start_column": 11, - "end_line": 292, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "checkingOut", - "type": "java.lang.Boolean", - "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", - "start_line": 300, - "start_column": 12, - "end_line": 300, - "end_column": 75 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "category", - "type": "java.lang.String", - "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", - "start_line": 304, - "start_column": 12, - "end_line": 304, - "end_column": 71 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "debugSetting", - "type": "java.lang.String", - "initializer": "req.getParameter(\"logging\")", - "start_line": 319, - "start_column": 11, - "end_line": 319, - "end_column": 52 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 32, - "is_entrypoint": true - }, - "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "comments": [ - { - "content": "\r\n\t * Request dispatch.\r\n\t ", - "start_line": 329, - "end_line": 331, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String page) throws ServletException, IOException", - "parameters": [ - { - "type": "ServletContext", - "name": "ctx", - "annotations": [], - "modifiers": [], - "start_line": 332, - "end_line": 332, - "start_column": 31, - "end_column": 48 - }, - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 333, - "end_line": 333, - "start_column": 4, - "end_column": 25 - }, - { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 334, - "end_line": 334, - "start_column": 4, - "end_column": 27 - }, - { - "type": "java.lang.String", - "name": "page", - "annotations": [], - "modifiers": [], - "start_line": 335, - "end_line": 335, - "start_column": 4, - "end_column": 14 - } - ], - "code": "{\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tctx.getRequestDispatcher(page).include(req, resp);\r\n\t}", - "start_line": 332, - "end_line": 338, - "code_start_line": 335, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setContentType", - "comment": null, - "receiver_expr": "resp", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 336, - "start_column": 3, - "end_line": 336, - "end_column": 34 - }, - { - "method_name": "include", - "comment": null, - "receiver_expr": "ctx.getRequestDispatcher(page)", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 337, - "start_column": 3, - "end_line": 337, - "end_column": 51 - }, - { - "method_name": "getRequestDispatcher", - "comment": null, - "receiver_expr": "ctx", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 337, - "start_column": 3, - "end_line": 337, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 43, - "end_line": 43, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " Servlet action codes.", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 25, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 45, - "end_line": 45, - "variables": [ - "ACTION_ACCOUNT" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 46, - "end_line": 46, - "variables": [ - "ACTION_ACCOUNTUPDATE" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 47, - "end_line": 47, - "variables": [ - "ACTION_LOGIN" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 48, - "end_line": 48, - "variables": [ - "ACTION_REGISTER" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 49, - "end_line": 49, - "variables": [ - "ACTION_SETLOGGING" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "start_line": 51, - "end_line": 52, - "variables": [ - "login" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "start_line": 53, - "end_line": 54, - "variables": [ - "catalog" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": true - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Bean mapping for BACKORDER table.\r\n ", - "start_line": 32, - "end_line": 34, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": " missing table", - "start_line": 49, - "end_line": 49, - "start_column": 34, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " relationships", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 17, - "is_javadoc": false - }, - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 107, - "end_line": 107, - "start_column": 3, - "end_column": 64, - "is_javadoc": false - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.persistence.Entity", - "javax.persistence.GeneratedValue", - "javax.persistence.GenerationType", - "javax.persistence.Id", - "javax.persistence.JoinColumn", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.OneToOne", - "javax.persistence.Table", - "javax.persistence.TableGenerator", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.BackOrder": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": " missing table", - "start_line": 49, - "end_line": 49, - "start_column": 34, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " relationships", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 17, - "is_javadoc": false - }, - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 107, - "end_line": 107, - "start_column": 3, - "end_column": 64, - "is_javadoc": false - }, - { - "content": "\r\n * Bean mapping for BACKORDER table.\r\n ", - "start_line": 32, - "end_line": 34, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Entity(name = \"BackOrder\")", - "@Table(name = \"BACKORDER\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"findAllBackOrders\", query = \"select b from BackOrder b\"), @NamedQuery(name = \"findByInventoryID\", query = \"select b from BackOrder b where ((b.inventory.inventoryId = :id) and (b.status = 'Order Stock'))\"), @NamedQuery(name = \"removeAllBackOrder\", query = \"delete from BackOrder\") })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setBackOrderID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setBackOrderID(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBackOrderID(String backOrderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 74, - "end_line": 74, - "start_column": 29, - "end_column": 46 - } - ], - "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t}", - "start_line": 74, - "end_line": 76, - "code_start_line": 74, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getQuantity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getQuantity()", - "parameters": [], - "code": "{\r\n\t\treturn quantity;\r\n\t}", - "start_line": 94, - "end_line": 96, - "code_start_line": 94, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getInventory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getInventory()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Inventory getInventory()", - "parameters": [], - "code": "{\r\n\t\treturn inventory;\r\n\t}", - "start_line": 127, - "end_line": 129, - "code_start_line": 127, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrderDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getOrderDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public long getOrderDate()", - "parameters": [], - "code": "{\r\n\t\treturn orderDate;\r\n\t}", - "start_line": 86, - "end_line": 88, - "code_start_line": 86, - "return_type": "long", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.orderDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getLowDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getLowDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public long getLowDate()", - "parameters": [], - "code": "{\r\n\t\treturn lowDate;\r\n\t}", - "start_line": 78, - "end_line": 80, - "code_start_line": 78, - "return_type": "long", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.lowDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Inventory, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "BackOrder(Inventory, int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BackOrder(Inventory inventory, int quantity)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inventory", - "annotations": [], - "modifiers": [], - "start_line": 63, - "end_line": 63, - "start_column": 19, - "end_column": 37 - }, - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 63, - "end_line": 63, - "start_column": 40, - "end_column": 51 - } - ], - "code": "{\r\n\t\t\tthis.setInventory(inventory);\r\n\t\t\tthis.setQuantity(quantity);\r\n\t\t\tthis.setStatus(Util.STATUS_ORDERSTOCK);\r\n\t\t\tthis.setLowDate(System.currentTimeMillis());\r\n\t}", - "start_line": 63, - "end_line": 68, - "code_start_line": 63, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity", - "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK", - "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" - ], - "call_sites": [ - { - "method_name": "setInventory", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "", - "callee_signature": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 64, - "start_column": 4, - "end_line": 64, - "end_column": 31 - }, - { - "method_name": "setQuantity", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 65, - "start_column": 4, - "end_line": 65, - "end_column": 29 - }, - { - "method_name": "setStatus", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStatus(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 4, - "end_line": 66, - "end_column": 41 - }, - { - "method_name": "setLowDate", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setLowDate(long)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 4, - "end_line": 67, - "end_column": 46 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 20, - "end_line": 67, - "end_column": 45 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setStatus(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setStatus(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setStatus(String status)", - "parameters": [ - { - "type": "java.lang.String", - "name": "status", - "annotations": [], - "modifiers": [], - "start_line": 115, - "end_line": 115, - "start_column": 24, - "end_column": 36 - } - ], - "code": "{\r\n\t\tthis.status = status;\r\n\t}", - "start_line": 115, - "end_line": 117, - "code_start_line": 115, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setLowDate(long)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setLowDate(long)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setLowDate(long lowDate)", - "parameters": [ - { - "type": "long", - "name": "lowDate", - "annotations": [], - "modifiers": [], - "start_line": 82, - "end_line": 82, - "start_column": 25, - "end_column": 36 - } - ], - "code": "{\r\n\t\tthis.lowDate = lowDate;\r\n\t}", - "start_line": 82, - "end_line": 84, - "code_start_line": 82, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.lowDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrderDate(long)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setOrderDate(long)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderDate(long orderDate)", - "parameters": [ - { - "type": "long", - "name": "orderDate", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 27, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.orderDate = orderDate;\r\n\t}", - "start_line": 90, - "end_line": 92, - "code_start_line": 90, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.orderDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "BackOrder(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BackOrder(String backOrderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 59, - "end_line": 59, - "start_column": 19, - "end_column": 36 - } - ], - "code": "{\r\n\t\tsetBackOrderID(backOrderID);\r\n\t}", - "start_line": 59, - "end_line": 61, - "code_start_line": 59, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" - ], - "call_sites": [ - { - "method_name": "setBackOrderID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setBackOrderID(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 3, - "end_line": 60, - "end_column": 29 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "BackOrder()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BackOrder()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 56, - "end_line": 57, - "code_start_line": 56, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getSupplierOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getSupplierOrderID()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getSupplierOrderID()", - "parameters": [], - "code": "{\r\n\t\treturn supplierOrderID;\r\n\t}", - "start_line": 119, - "end_line": 121, - "code_start_line": 119, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.supplierOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "increateQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "increateQuantity(int)", - "comments": [ - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 107, - "end_line": 107, - "start_column": 3, - "end_column": 64, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void increateQuantity(int delta)", - "parameters": [ - { - "type": "int", - "name": "delta", - "annotations": [], - "modifiers": [], - "start_line": 102, - "end_line": 102, - "start_column": 31, - "end_column": 39 - } - ], - "code": "{\r\n\t\tif (!(status.equals(Util.STATUS_ORDERSTOCK))) {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\r\n\t\t\tthrow new RuntimeException(\"cannot increase order size for orders already in progress\");\r\n\t\t}\r\n\t\t// Increase the BackOrder quantity for an existing Back Order.\r\n\t\tquantity = quantity + delta;\r\n\t}", - "start_line": 102, - "end_line": 109, - "code_start_line": 102, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity", - "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK", - "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" - ], - "call_sites": [ - { - "method_name": "equals", - "comment": null, - "receiver_expr": "status", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 9, - "end_line": 103, - "end_column": 45 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 104, - "start_column": 4, - "end_line": 104, - "end_column": 114 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.RuntimeException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.RuntimeException", - "callee_signature": "RuntimeException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 10, - "end_line": 105, - "end_column": 90 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "setInventory(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setInventory(Inventory)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInventory(Inventory inventory)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inventory", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 27, - "end_column": 45 - } - ], - "code": "{\r\n\t\tthis.inventory = inventory;\r\n\t}", - "start_line": 131, - "end_line": 133, - "code_start_line": 131, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setQuantity(int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 98, - "end_line": 98, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", - "start_line": 98, - "end_line": 100, - "code_start_line": 98, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setSupplierOrderID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "setSupplierOrderID(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSupplierOrderID(String supplierOrderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierOrderID", - "annotations": [], - "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 33, - "end_column": 54 - } - ], - "code": "{\r\n\t\tthis.supplierOrderID = supplierOrderID;\r\n\t}", - "start_line": 123, - "end_line": 125, - "code_start_line": 123, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.supplierOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getStatus()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getStatus()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getStatus()", - "parameters": [], - "code": "{\r\n\t\treturn status;\r\n\t}", - "start_line": 111, - "end_line": 113, - "code_start_line": 111, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBackOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", - "signature": "getBackOrderID()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBackOrderID()", - "parameters": [], - "code": "{\r\n\t\treturn backOrderID;\r\n\t}", - "start_line": 70, - "end_line": 72, - "code_start_line": 70, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 44, - "variables": [ - "backOrderID" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Id", - "@GeneratedValue(strategy = GenerationType.TABLE, generator = \"BackOrderSeq\")", - "@TableGenerator(name = \"BackOrderSeq\", table = \"IDGENERATOR\", pkColumnName = \"IDNAME\", pkColumnValue = \"BACKORDER\", valueColumnName = \"IDVALUE\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 45, - "end_line": 45, - "variables": [ - "quantity" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 46, - "end_line": 46, - "variables": [ - "status" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 47, - "end_line": 47, - "variables": [ - "lowDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 48, - "end_line": 48, - "variables": [ - "orderDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " missing table", - "start_line": 49, - "end_line": 49, - "start_column": 34, - "end_column": 49, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 49, - "end_line": 49, - "variables": [ - "supplierOrderID" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " relationships", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 17, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "start_line": 52, - "end_line": 54, - "variables": [ - "inventory" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@OneToOne", - "@JoinColumn(name = \"INVENTORYID\")" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 21, - "end_line": 23, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", - "start_line": 26, - "end_line": 30, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [], - "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.NoSupplierException": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "java.lang.Exception" - ], - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 21, - "end_line": 23, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", - "start_line": 26, - "end_line": 30, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java", - "signature": "NoSupplierException(String)", - "comments": [ - { - "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", - "start_line": 26, - "end_line": 30, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public NoSupplierException(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 31, - "end_line": 31, - "start_column": 29, - "end_column": 42 - } - ], - "code": "{\r\n\t\tsuper(message);\r\n\t\treturn;\r\n\t}", - "start_line": 31, - "end_line": 34, - "code_start_line": 31, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 21, - "end_line": 23, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 24, - "end_line": 24, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 60, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * JSF action bean for the help page.\r\n *\r\n ", - "start_line": 29, - "end_line": 32, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the dbDumpFile\r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", - "start_line": 60, - "end_line": 63, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return whether debug is on or not\r\n\t ", - "start_line": 68, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", - "start_line": 75, - "end_line": 81, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable", - "javax.enterprise.context.Dependent", - "javax.inject.Inject", - "javax.inject.Named", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.HelpBean": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * @return the dbDumpFile\r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", - "start_line": 60, - "end_line": 63, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return whether debug is on or not\r\n\t ", - "start_line": 68, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", - "start_line": 75, - "end_line": 81, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n * JSF action bean for the help page.\r\n *\r\n ", - "start_line": 29, - "end_line": 32, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(\"help\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setDebug(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "setDebug(boolean)", - "comments": [ - { - "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", - "start_line": 75, - "end_line": 81, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setDebug(boolean debug)", - "parameters": [ - { - "type": "boolean", - "name": "debug", - "annotations": [], - "modifiers": [], - "start_line": 82, - "end_line": 82, - "start_column": 23, - "end_column": 35 - } - ], - "code": "{\r\n\t\tUtil.setDebug(debug);\r\n\t}", - "start_line": 82, - "end_line": 84, - "code_start_line": 82, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setDebug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setDebug(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 83, - "start_column": 3, - "end_line": 83, - "end_column": 22 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "performDBReset()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "performDBReset()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String performDBReset()", - "parameters": [], - "code": "{\r\n\t\trdb.resetDB();\r\n\t\treturn ACTION_HOME;\r\n\t}", - "start_line": 48, - "end_line": 51, - "code_start_line": 48, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.HelpBean.rdb", - "com.ibm.websphere.samples.pbw.war.HelpBean.ACTION_HOME" - ], - "call_sites": [ - { - "method_name": "resetDB", - "comment": null, - "receiver_expr": "rdb", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "argument_types": [], - "return_type": "", - "callee_signature": "resetDB()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 49, - "start_column": 3, - "end_line": 49, - "end_column": 15 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getDbDumpFile()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "getDbDumpFile()", - "comments": [ - { - "content": "\r\n\t * @return the dbDumpFile\r\n\t ", - "start_line": 53, - "end_line": 55, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getDbDumpFile()", - "parameters": [], - "code": "{\r\n\t\treturn dbDumpFile;\r\n\t}", - "start_line": 56, - "end_line": 58, - "code_start_line": 56, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.HelpBean.dbDumpFile" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setDbDumpFile(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "setDbDumpFile(String)", - "comments": [ - { - "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", - "start_line": 60, - "end_line": 63, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setDbDumpFile(String dbDumpFile)", - "parameters": [ - { - "type": "java.lang.String", - "name": "dbDumpFile", - "annotations": [], - "modifiers": [], - "start_line": 64, - "end_line": 64, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\r\n\t\tthis.dbDumpFile = dbDumpFile;\r\n\t}", - "start_line": 64, - "end_line": 66, - "code_start_line": 64, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.HelpBean.dbDumpFile" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "performHelp()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "performHelp()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String performHelp()", - "parameters": [], - "code": "{\r\n\t\treturn ACTION_HELP;\r\n\t}", - "start_line": 44, - "end_line": 46, - "code_start_line": 44, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.HelpBean.ACTION_HELP" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "isDebug()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", - "signature": "isDebug()", - "comments": [ - { - "content": "\r\n\t * @return whether debug is on or not\r\n\t ", - "start_line": 68, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean isDebug()", - "parameters": [], - "code": "{\r\n\t\treturn Util.debugOn();\r\n\t}", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "debugOn", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [], - "return_type": "", - "callee_signature": "debugOn()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 10, - "end_line": 72, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "start_line": 36, - "end_line": 37, - "variables": [ - "rdb" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 39, - "end_line": 39, - "variables": [ - "dbDumpFile" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 41, - "variables": [ - "ACTION_HELP" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 42, - "end_line": 42, - "variables": [ - "ACTION_HOME" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } + "call_graph": [ + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getBackOrderID()", + "callable_declaration": "getBackOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getInventory()", + "callable_declaration": "getInventory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getStatus()", + "callable_declaration": "getStatus()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getLowDate()", + "callable_declaration": "getLowDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getOrderDate()", + "callable_declaration": "getOrderDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getSupplierOrderID()", + "callable_declaration": "getSupplierOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setSupplierID(java.lang.String)", + "callable_declaration": "setSupplierID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setSupplierID(java.lang.String)", + "callable_declaration": "setSupplierID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setStreet(java.lang.String)", + "callable_declaration": "setStreet(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setCity(java.lang.String)", + "callable_declaration": "setCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setUsstate(java.lang.String)", + "callable_declaration": "setUsstate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setZip(java.lang.String)", + "callable_declaration": "setZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setPhone(java.lang.String)", + "callable_declaration": "setPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setUrl(java.lang.String)", + "callable_declaration": "setUrl(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setBackOrderID(java.lang.String)", + "callable_declaration": "setBackOrderID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setStatus(java.lang.String)", + "callable_declaration": "setStatus(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setLowDate(long)", + "callable_declaration": "setLowDate(long)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "increateQuantity(int)", + "callable_declaration": "increateQuantity(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getCategoryName()", + "callable_declaration": "getCategoryName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCategory()", + "callable_declaration": "getCategory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getCategoryName()", + "callable_declaration": "getCategoryName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getCategoryString(int)", + "callable_declaration": "getCategoryString(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getMenuString()", + "callable_declaration": "getMenuString()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getCategoryName()", + "callable_declaration": "getCategoryName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "ShoppingItem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getSubtotalPrice()", + "callable_declaration": "getSubtotalPrice()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getSubtotalPrice()", + "callable_declaration": "getSubtotalPrice()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderKey", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderKey", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "toString()", + "callable_declaration": "toString()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "increaseInventory(int)", + "callable_declaration": "increaseInventory(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "increaseInventory(int)", + "callable_declaration": "increaseInventory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getCategory()", + "callable_declaration": "getCategory()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCategory()", + "callable_declaration": "getCategory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setCategory(int)", + "callable_declaration": "setCategory(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCategory(int)", + "callable_declaration": "setCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getCost()", + "callable_declaration": "getCost()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCost()", + "callable_declaration": "getCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setCost(float)", + "callable_declaration": "setCost(float)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCost(float)", + "callable_declaration": "setCost(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getDescription()", + "callable_declaration": "getDescription()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getDescription()", + "callable_declaration": "getDescription()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setDescription(java.lang.String)", + "callable_declaration": "setDescription(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setDescription(java.lang.String)", + "callable_declaration": "setDescription(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getHeading()", + "callable_declaration": "getHeading()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getHeading()", + "callable_declaration": "getHeading()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setHeading(java.lang.String)", + "callable_declaration": "setHeading(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setHeading(java.lang.String)", + "callable_declaration": "setHeading(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getImage()", + "callable_declaration": "getImage()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getImage()", + "callable_declaration": "getImage()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setImage(java.lang.String)", + "callable_declaration": "setImage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setImage(java.lang.String)", + "callable_declaration": "setImage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getName()", + "callable_declaration": "getName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getName()", + "callable_declaration": "getName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getNotes()", + "callable_declaration": "getNotes()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getNotes()", + "callable_declaration": "getNotes()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setNotes(java.lang.String)", + "callable_declaration": "setNotes(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setNotes(java.lang.String)", + "callable_declaration": "setNotes(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getPkginfo()", + "callable_declaration": "getPkginfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPkginfo()", + "callable_declaration": "getPkginfo()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setPkginfo(java.lang.String)", + "callable_declaration": "setPkginfo(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPkginfo(java.lang.String)", + "callable_declaration": "setPkginfo(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setPrice(float)", + "callable_declaration": "setPrice(float)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPrice(float)", + "callable_declaration": "setPrice(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getMaxThreshold()", + "callable_declaration": "getMaxThreshold()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getMaxThreshold()", + "callable_declaration": "getMaxThreshold()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setMaxThreshold(int)", + "callable_declaration": "setMaxThreshold(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMaxThreshold(int)", + "callable_declaration": "setMaxThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getMinThreshold()", + "callable_declaration": "getMinThreshold()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getMinThreshold()", + "callable_declaration": "getMinThreshold()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setMinThreshold(int)", + "callable_declaration": "setMinThreshold(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMinThreshold(int)", + "callable_declaration": "setMinThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getID()", + "callable_declaration": "getID()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setID(java.lang.String)", + "callable_declaration": "setID(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setID(java.lang.String)", + "callable_declaration": "setID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "isPublic()", + "callable_declaration": "isPublic()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "isPublic()", + "callable_declaration": "isPublic()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setIsPublic(boolean)", + "callable_declaration": "setIsPublic(boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setIsPublic(boolean)", + "callable_declaration": "setIsPublic(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setPrivacy(boolean)", + "callable_declaration": "setPrivacy(boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPrivacy(boolean)", + "callable_declaration": "setPrivacy(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getImgbytes()", + "callable_declaration": "getImgbytes()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getImgbytes()", + "callable_declaration": "getImgbytes()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setImgbytes(byte[])", + "callable_declaration": "setImgbytes(byte[])" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setImgbytes(byte[])", + "callable_declaration": "setImgbytes(byte[])" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "getBackOrder()", + "callable_declaration": "getBackOrder()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getBackOrder()", + "callable_declaration": "getBackOrder()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "callable_declaration": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "callable_declaration": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "PK()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "PK(java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "PK(java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "hashCode()", + "callable_declaration": "hashCode()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setSellDate(java.lang.String)", + "callable_declaration": "setSellDate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getSellDate()", + "callable_declaration": "getSellDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getSellDate()", + "callable_declaration": "getSellDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getSellDate()", + "callable_declaration": "getSellDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setSellDate(java.lang.String)", + "callable_declaration": "setSellDate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)", + "callable_declaration": "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillName(java.lang.String)", + "callable_declaration": "setBillName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillAddr1(java.lang.String)", + "callable_declaration": "setBillAddr1(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillAddr2(java.lang.String)", + "callable_declaration": "setBillAddr2(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillCity(java.lang.String)", + "callable_declaration": "setBillCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillState(java.lang.String)", + "callable_declaration": "setBillState(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillZip(java.lang.String)", + "callable_declaration": "setBillZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setBillPhone(java.lang.String)", + "callable_declaration": "setBillPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipName(java.lang.String)", + "callable_declaration": "setShipName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipAddr1(java.lang.String)", + "callable_declaration": "setShipAddr1(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipAddr2(java.lang.String)", + "callable_declaration": "setShipAddr2(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipCity(java.lang.String)", + "callable_declaration": "setShipCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipState(java.lang.String)", + "callable_declaration": "setShipState(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipZip(java.lang.String)", + "callable_declaration": "setShipZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShipPhone(java.lang.String)", + "callable_declaration": "setShipPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCreditCard(java.lang.String)", + "callable_declaration": "setCreditCard(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCcNum(java.lang.String)", + "callable_declaration": "setCcNum(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCcExpireMonth(java.lang.String)", + "callable_declaration": "setCcExpireMonth(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCcExpireYear(java.lang.String)", + "callable_declaration": "setCcExpireYear(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setCardHolder(java.lang.String)", + "callable_declaration": "setCardHolder(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setShippingMethod(int)", + "callable_declaration": "setShippingMethod(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "getCost()", + "callable_declaration": "getCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setProfit(float)", + "callable_declaration": "setProfit(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "setOrderID(java.lang.String)", + "callable_declaration": "setOrderID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getInventory()", + "callable_declaration": "getInventory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performAddToCart()", + "callable_declaration": "performAddToCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performCart()", + "callable_declaration": "performCart()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performCart()", + "callable_declaration": "performCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getItems()", + "callable_declaration": "getItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performCart()", + "callable_declaration": "performCart()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "wrapInventoryItems(java.util.Collection)", + "callable_declaration": "wrapInventoryItems(java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performProductDetail()", + "callable_declaration": "performProductDetail()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemInventory(java.lang.String)", + "callable_declaration": "getItemInventory(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performProductDetail()", + "callable_declaration": "performProductDetail()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "ProductBean(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performRecalculate()", + "callable_declaration": "performRecalculate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeZeroQuantityItems()", + "callable_declaration": "removeZeroQuantityItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performRecalculate()", + "callable_declaration": "performRecalculate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getItems()", + "callable_declaration": "getItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performRecalculate()", + "callable_declaration": "performRecalculate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "wrapInventoryItems(java.util.Collection)", + "callable_declaration": "wrapInventoryItems(java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performRecalculate()", + "callable_declaration": "performRecalculate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performCart()", + "callable_declaration": "performCart()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performShopping()", + "callable_declaration": "performShopping()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemsByCategory(int)", + "callable_declaration": "getItemsByCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performShopping()", + "callable_declaration": "performShopping()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "isPublic()", + "callable_declaration": "isPublic()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "performShopping()", + "callable_declaration": "performShopping()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ProductBean", + "signature": "ProductBean(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "getTotalCost()", + "callable_declaration": "getTotalCost()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getSubtotalCost()", + "callable_declaration": "getSubtotalCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "getTotalCostString()", + "callable_declaration": "getTotalCostString()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "getTotalCost()", + "callable_declaration": "getTotalCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "wrapInventoryItems(java.util.Collection)", + "callable_declaration": "wrapInventoryItems(java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "ShoppingItem()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "getSupplier()", + "callable_declaration": "getSupplier()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "findSuppliers()", + "callable_declaration": "findSuppliers()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "getSupplier()", + "callable_declaration": "getSupplier()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "getSupplier()", + "callable_declaration": "getSupplier()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setStreet(java.lang.String)", + "callable_declaration": "setStreet(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setCity(java.lang.String)", + "callable_declaration": "setCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setUsstate(java.lang.String)", + "callable_declaration": "setUsstate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setZip(java.lang.String)", + "callable_declaration": "setZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setPhone(java.lang.String)", + "callable_declaration": "setPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "signature": "setUrl(java.lang.String)", + "callable_declaration": "setUrl(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setCustomerID(java.lang.String)", + "callable_declaration": "setCustomerID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setPassword(java.lang.String)", + "callable_declaration": "setPassword(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setFirstName(java.lang.String)", + "callable_declaration": "setFirstName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setLastName(java.lang.String)", + "callable_declaration": "setLastName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddr1(java.lang.String)", + "callable_declaration": "setAddr1(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddr2(java.lang.String)", + "callable_declaration": "setAddr2(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrCity(java.lang.String)", + "callable_declaration": "setAddrCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrState(java.lang.String)", + "callable_declaration": "setAddrState(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrZip(java.lang.String)", + "callable_declaration": "setAddrZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setPhone(java.lang.String)", + "callable_declaration": "setPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "verifyPassword(java.lang.String)", + "callable_declaration": "verifyPassword(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getPassword()", + "callable_declaration": "getPassword()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFullName()", + "callable_declaration": "getFullName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFirstName()", + "callable_declaration": "getFirstName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFullName()", + "callable_declaration": "getFullName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getLastName()", + "callable_declaration": "getLastName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", + "signature": "addErrorMessage(javax.faces.context.FacesContext, javax.faces.component.UIComponent)", + "callable_declaration": "addErrorMessage(javax.faces.context.FacesContext, javax.faces.component.UIComponent)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", + "signature": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)", + "callable_declaration": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.HelpBean", + "signature": "performDBReset()", + "callable_declaration": "performDBReset()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "resetDB()", + "callable_declaration": "resetDB()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.HelpBean", + "signature": "isDebug()", + "callable_declaration": "isDebug()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debugOn()", + "callable_declaration": "debugOn()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.HelpBean", + "signature": "setDebug(boolean)", + "callable_declaration": "setDebug(boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "setDebug(boolean)", + "callable_declaration": "setDebug(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "getSupplier()", + "callable_declaration": "getSupplier()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "Populate(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderInventoryID(java.lang.String)", + "callable_declaration": "getBackOrderInventoryID(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderQuantity(java.lang.String)", + "callable_declaration": "getBackOrderQuantity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemQuantity(java.lang.String, int)", + "callable_declaration": "setItemQuantity(java.lang.String, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "updateStock(java.lang.String, int)", + "callable_declaration": "updateStock(java.lang.String, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "deleteBackOrder(java.lang.String)", + "callable_declaration": "deleteBackOrder(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderQuantity(java.lang.String, int)", + "callable_declaration": "setBackOrderQuantity(java.lang.String, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "findBackOrders()", + "callable_declaration": "findBackOrders()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "BackOrderItem()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getBackOrderID()", + "callable_declaration": "getBackOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getInventory()", + "callable_declaration": "getInventory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemInventory(java.lang.String)", + "callable_declaration": "getItemInventory(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "setInventoryQuantity(int)", + "callable_declaration": "setInventoryQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getName()", + "callable_declaration": "getName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getStatus()", + "callable_declaration": "getStatus()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getInventory()", + "callable_declaration": "getInventory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getSupplierOrderID()", + "callable_declaration": "getSupplierOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getStatus()", + "callable_declaration": "getStatus()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getLowDate()", + "callable_declaration": "getLowDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "signature": "getOrderDate()", + "callable_declaration": "getOrderDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AdminServlet", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "callable_declaration": "getBackOrders(javax.servlet.http.HttpSession)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderKey", + "signature": "equals(java.lang.Object)", + "callable_declaration": "equals(java.lang.Object)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeZeroQuantityItems()", + "callable_declaration": "removeZeroQuantityItems()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getSubtotalCost()", + "callable_declaration": "getSubtotalCost()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getSubtotalCost()", + "callable_declaration": "getSubtotalCost()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getInventoryItem(java.lang.String)", + "callable_declaration": "getInventoryItem(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getMinThreshold()", + "callable_declaration": "getMinThreshold()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "updatePK()", + "callable_declaration": "updatePK()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getSize()", + "callable_declaration": "getSize()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getItems()", + "callable_declaration": "getItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "callable_declaration": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "callable_declaration": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemImageBytes(java.lang.String, byte[])", + "callable_declaration": "setItemImageBytes(java.lang.String, byte[])" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "deleteAll()", + "callable_declaration": "deleteAll()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.Populate", + "signature": "doPopulate()", + "callable_declaration": "doPopulate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "callable_declaration": "verifyUserAndPassword(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "getCustomer(java.lang.String)", + "callable_declaration": "getCustomer(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemsByCategory(int)", + "callable_declaration": "getItemsByCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "validateString(java.lang.String)", + "callable_declaration": "validateString(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemsByCategory(int)", + "callable_declaration": "getItemsByCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getCustomerID()", + "callable_declaration": "getCustomerID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemsByCategory(int)", + "callable_declaration": "getItemsByCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "setDebug(boolean)", + "callable_declaration": "setDebug(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "setDebug(boolean)", + "callable_declaration": "setDebug(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountServlet", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccount()", + "callable_declaration": "performAccount()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "LoginInfo()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccount()", + "callable_declaration": "performAccount()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "setMessage(java.lang.String)", + "callable_declaration": "setMessage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "getEmail()", + "callable_declaration": "getEmail()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "getPassword()", + "callable_declaration": "getPassword()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFirstName()", + "callable_declaration": "getFirstName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getLastName()", + "callable_declaration": "getLastName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr1()", + "callable_declaration": "getAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr2()", + "callable_declaration": "getAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrCity()", + "callable_declaration": "getAddrCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrState()", + "callable_declaration": "getAddrState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrZip()", + "callable_declaration": "getAddrZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getPhone()", + "callable_declaration": "getPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getCustomerID()", + "callable_declaration": "getCustomerID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFirstName()", + "callable_declaration": "getFirstName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getLastName()", + "callable_declaration": "getLastName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr1()", + "callable_declaration": "getAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr2()", + "callable_declaration": "getAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrCity()", + "callable_declaration": "getAddrCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrState()", + "callable_declaration": "getAddrState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrZip()", + "callable_declaration": "getAddrZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getPhone()", + "callable_declaration": "getPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccountUpdate()", + "callable_declaration": "performAccountUpdate()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCheckoutFinal()", + "callable_declaration": "performCheckoutFinal()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethod()", + "callable_declaration": "getShippingMethod()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCheckoutFinal()", + "callable_declaration": "performCheckoutFinal()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getShippingMethodPrice(int)", + "callable_declaration": "getShippingMethodPrice(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCheckoutFinal()", + "callable_declaration": "performCheckoutFinal()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "signature": "setShippingCost(float)", + "callable_declaration": "setShippingCost(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getCustomerID()", + "callable_declaration": "getCustomerID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillName()", + "callable_declaration": "getBillName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillAddr1()", + "callable_declaration": "getBillAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillAddr2()", + "callable_declaration": "getBillAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillCity()", + "callable_declaration": "getBillCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillState()", + "callable_declaration": "getBillState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillZip()", + "callable_declaration": "getBillZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getBillPhone()", + "callable_declaration": "getBillPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipName()", + "callable_declaration": "getShipName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipAddr1()", + "callable_declaration": "getShipAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipAddr2()", + "callable_declaration": "getShipAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipCity()", + "callable_declaration": "getShipCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipState()", + "callable_declaration": "getShipState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipZip()", + "callable_declaration": "getShipZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShipPhone()", + "callable_declaration": "getShipPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getCardName()", + "callable_declaration": "getCardName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getCardNum()", + "callable_declaration": "getCardNum()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getCardExpMonth()", + "callable_declaration": "getCardExpMonth()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getCardExpYear()", + "callable_declaration": "getCardExpYear()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getCardholderName()", + "callable_declaration": "getCardholderName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethod()", + "callable_declaration": "getShippingMethod()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "getItems()", + "callable_declaration": "getItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performCompleteCheckout()", + "callable_declaration": "performCompleteCheckout()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "removeAllItems()", + "callable_declaration": "removeAllItems()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLogin()", + "callable_declaration": "performLogin()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "LoginInfo()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLogin()", + "callable_declaration": "performLogin()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "setMessage(java.lang.String)", + "callable_declaration": "setMessage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "getEmail()", + "callable_declaration": "getEmail()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "getPassword()", + "callable_declaration": "getPassword()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "callable_declaration": "verifyUserAndPassword(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "setMessage(java.lang.String)", + "callable_declaration": "setMessage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "getEmail()", + "callable_declaration": "getEmail()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "getCustomer(java.lang.String)", + "callable_declaration": "getCustomer(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "isCheckingOut()", + "callable_declaration": "isCheckingOut()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "isUpdating()", + "callable_declaration": "isUpdating()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performLoginComplete()", + "callable_declaration": "performLoginComplete()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performAccount()", + "callable_declaration": "performAccount()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "LoginInfo()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "setMessage(java.lang.String)", + "callable_declaration": "setMessage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getFirstName()", + "callable_declaration": "getFirstName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getLastName()", + "callable_declaration": "getLastName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr1()", + "callable_declaration": "getAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddr2()", + "callable_declaration": "getAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrCity()", + "callable_declaration": "getAddrCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrState()", + "callable_declaration": "getAddrState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getAddrZip()", + "callable_declaration": "getAddrZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getPhone()", + "callable_declaration": "getPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performOrderInfo()", + "callable_declaration": "performOrderInfo()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performRegister()", + "callable_declaration": "performRegister()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "signature": "LoginInfo()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "performRegister()", + "callable_declaration": "performRegister()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "getCustomer()", + "callable_declaration": "getCustomer()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.AccountBean", + "signature": "isRegister()", + "callable_declaration": "isRegister()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getName()", + "callable_declaration": "getName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPkginfo()", + "callable_declaration": "getPkginfo()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCost()", + "callable_declaration": "getCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCategory()", + "callable_declaration": "getCategory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setPkginfo(java.lang.String)", + "callable_declaration": "setPkginfo(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setPrice(float)", + "callable_declaration": "setPrice(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setCost(float)", + "callable_declaration": "setCost(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setCategory(int)", + "callable_declaration": "setCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setSellDate(java.lang.String)", + "callable_declaration": "setSellDate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getOrderID()", + "callable_declaration": "getOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "PK(java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "updatePK()", + "callable_declaration": "updatePK()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getOrderID()", + "callable_declaration": "getOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "updatePK()", + "callable_declaration": "updatePK()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "signature": "PK(java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getSellDate()", + "callable_declaration": "getSellDate()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getStatus()", + "callable_declaration": "getStatus()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "deleteBackOrder(java.lang.String)", + "callable_declaration": "deleteBackOrder(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "updateStock(java.lang.String, int)", + "callable_declaration": "updateStock(java.lang.String, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderStatus(java.lang.String, java.lang.String)", + "callable_declaration": "setBackOrderStatus(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderInventoryID(java.lang.String)", + "callable_declaration": "getBackOrderInventoryID(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderInventoryID(java.lang.String)", + "callable_declaration": "getBackOrderInventoryID(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getInventory()", + "callable_declaration": "getInventory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderInventoryID(java.lang.String)", + "callable_declaration": "getBackOrderInventoryID(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderQuantity(java.lang.String)", + "callable_declaration": "getBackOrderQuantity(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "getBackOrderQuantity(java.lang.String)", + "callable_declaration": "getBackOrderQuantity(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderQuantity(java.lang.String, int)", + "callable_declaration": "setBackOrderQuantity(java.lang.String, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderQuantity(java.lang.String, int)", + "callable_declaration": "setBackOrderQuantity(java.lang.String, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderStatus(java.lang.String, java.lang.String)", + "callable_declaration": "setBackOrderStatus(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderStatus(java.lang.String, java.lang.String)", + "callable_declaration": "setBackOrderStatus(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setStatus(java.lang.String)", + "callable_declaration": "setStatus(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderOrderDate(java.lang.String)", + "callable_declaration": "setBackOrderOrderDate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "setBackOrderOrderDate(java.lang.String)", + "callable_declaration": "setBackOrderOrderDate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "signature": "setOrderDate(long)", + "callable_declaration": "setOrderDate(long)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ValidatePasswords", + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", + "signature": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)", + "callable_declaration": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.MailAction", + "signature": "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.MailAction", + "signature": "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipName()", + "callable_declaration": "getShipName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipAddr1()", + "callable_declaration": "getShipAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipAddr2()", + "callable_declaration": "getShipAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipCity()", + "callable_declaration": "getShipCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipState()", + "callable_declaration": "getShipState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipZip()", + "callable_declaration": "getShipZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createSubjectLine(java.lang.String)", + "callable_declaration": "createSubjectLine(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createMessage(java.lang.String)", + "callable_declaration": "createMessage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "getCustomerID()", + "callable_declaration": "getCustomerID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "EMailMessage(java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getEmailReceiver()", + "callable_declaration": "getEmailReceiver()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getSubject()", + "callable_declaration": "getSubject()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getHtmlContents()", + "callable_declaration": "getHtmlContents()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getEmailReceiver()", + "callable_declaration": "getEmailReceiver()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getSubject()", + "callable_declaration": "getSubject()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getHtmlContents()", + "callable_declaration": "getHtmlContents()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getEmailReceiver()", + "callable_declaration": "getEmailReceiver()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getSubject()", + "callable_declaration": "getSubject()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "getHtmlContents()", + "callable_declaration": "getHtmlContents()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "callable_declaration": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.MailerAppException", + "signature": "MailerAppException()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "resetDB()", + "callable_declaration": "resetDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "deleteAll()", + "callable_declaration": "deleteAll()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "resetDB()", + "callable_declaration": "resetDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemImageBytes(java.lang.String, byte[])", + "callable_declaration": "setItemImageBytes(java.lang.String, byte[])" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callable_declaration": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "callable_declaration": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "signature": "createBackOrder(java.lang.String, int, int)", + "callable_declaration": "createBackOrder(java.lang.String, int, int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readTokens(java.lang.String, java.lang.String)", + "callable_declaration": "readTokens(java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "deleteAll()", + "callable_declaration": "deleteAll()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "deleteAll()", + "callable_declaration": "deleteAll()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemInventory(java.lang.String)", + "callable_declaration": "getItemInventory(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemImageBytes(java.lang.String)", + "callable_declaration": "getItemImageBytes(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getInv(java.lang.String)", + "callable_declaration": "getInv(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemImageBytes(java.lang.String)", + "callable_declaration": "getItemImageBytes(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getImgbytes()", + "callable_declaration": "getImgbytes()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemImageBytes(java.lang.String, byte[])", + "callable_declaration": "setItemImageBytes(java.lang.String, byte[])" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getInvUpdate(java.lang.String)", + "callable_declaration": "getInvUpdate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemImageBytes(java.lang.String, byte[])", + "callable_declaration": "setItemImageBytes(java.lang.String, byte[])" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setImgbytes(byte[])", + "callable_declaration": "setImgbytes(byte[])" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemQuantity(java.lang.String, int)", + "callable_declaration": "setItemQuantity(java.lang.String, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getInvUpdate(java.lang.String)", + "callable_declaration": "getInvUpdate(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "setItemQuantity(java.lang.String, int)", + "callable_declaration": "setItemQuantity(java.lang.String, int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + }, + "target": { + "file_path": "<>", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "ListProperties()", + "callable_declaration": "()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "load(java.io.InputStream)", + "callable_declaration": "load(java.io.InputStream)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperty(java.lang.String)", + "callable_declaration": "getProperty(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperty(java.lang.String)", + "callable_declaration": "getProperty(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "readProperties()", + "callable_declaration": "readProperties()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getProperties(java.lang.String)", + "callable_declaration": "getProperties(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "setDebug(boolean)", + "callable_declaration": "setDebug(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setFirstName(java.lang.String)", + "callable_declaration": "setFirstName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setLastName(java.lang.String)", + "callable_declaration": "setLastName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddr1(java.lang.String)", + "callable_declaration": "setAddr1(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddr2(java.lang.String)", + "callable_declaration": "setAddr2(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrCity(java.lang.String)", + "callable_declaration": "setAddrCity(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrState(java.lang.String)", + "callable_declaration": "setAddrState(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setAddrZip(java.lang.String)", + "callable_declaration": "setAddrZip(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "setPhone(java.lang.String)", + "callable_declaration": "setPhone(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "callable_declaration": "verifyUserAndPassword(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Customer", + "signature": "verifyPassword(java.lang.String)", + "callable_declaration": "verifyPassword(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "callable_declaration": "verifyUserAndPassword(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "callable_declaration": "verifyUserAndPassword(java.lang.String, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.ImageServlet", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "signature": "getItemImageBytes(java.lang.String)", + "callable_declaration": "getItemImageBytes(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setHeading(java.lang.String)", + "callable_declaration": "setHeading(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setDescription(java.lang.String)", + "callable_declaration": "setDescription(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPkginfo(java.lang.String)", + "callable_declaration": "setPkginfo(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setImage(java.lang.String)", + "callable_declaration": "setImage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPrice(float)", + "callable_declaration": "setPrice(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCost(float)", + "callable_declaration": "setCost(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCategory(int)", + "callable_declaration": "setCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setNotes(java.lang.String)", + "callable_declaration": "setNotes(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setIsPublic(boolean)", + "callable_declaration": "setIsPublic(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMinThreshold(int)", + "callable_declaration": "setMinThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMaxThreshold(int)", + "callable_declaration": "setMaxThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getInventoryId()", + "callable_declaration": "getInventoryId()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setInventoryId(java.lang.String)", + "callable_declaration": "setInventoryId(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getName()", + "callable_declaration": "getName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setName(java.lang.String)", + "callable_declaration": "setName(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getHeading()", + "callable_declaration": "getHeading()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setHeading(java.lang.String)", + "callable_declaration": "setHeading(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getDescription()", + "callable_declaration": "getDescription()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setDescription(java.lang.String)", + "callable_declaration": "setDescription(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPkginfo()", + "callable_declaration": "getPkginfo()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPkginfo(java.lang.String)", + "callable_declaration": "setPkginfo(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getImage()", + "callable_declaration": "getImage()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setImage(java.lang.String)", + "callable_declaration": "setImage(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getPrice()", + "callable_declaration": "getPrice()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPrice(float)", + "callable_declaration": "setPrice(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCost()", + "callable_declaration": "getCost()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCost(float)", + "callable_declaration": "setCost(float)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getCategory()", + "callable_declaration": "getCategory()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setCategory(int)", + "callable_declaration": "setCategory(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" }, - "is_modified": false + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getNotes()", + "callable_declaration": "getNotes()" + } }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setNotes(java.lang.String)", + "callable_declaration": "setNotes(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMinThreshold(int)", + "callable_declaration": "setMinThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setMaxThreshold(int)", + "callable_declaration": "setMaxThreshold(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "isPublic()", + "callable_declaration": "isPublic()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "Inventory()", + "callable_declaration": "()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setIsPublic(boolean)", + "callable_declaration": "setIsPublic(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "increaseInventory(int)", + "callable_declaration": "increaseInventory(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "increaseInventory(int)", + "callable_declaration": "increaseInventory(int)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setQuantity(int)", + "callable_declaration": "setQuantity(int)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setPrivacy(boolean)", + "callable_declaration": "setPrivacy(boolean)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "setIsPublic(boolean)", + "callable_declaration": "setIsPublic(boolean)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "initLists()", + "callable_declaration": "initLists()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getOrderID()", + "callable_declaration": "getOrderID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillName()", + "callable_declaration": "getBillName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillAddr1()", + "callable_declaration": "getBillAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillAddr2()", + "callable_declaration": "getBillAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillCity()", + "callable_declaration": "getBillCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillState()", + "callable_declaration": "getBillState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillZip()", + "callable_declaration": "getBillZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getBillPhone()", + "callable_declaration": "getBillPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipName()", + "callable_declaration": "getShipName()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipAddr1()", + "callable_declaration": "getShipAddr1()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipAddr2()", + "callable_declaration": "getShipAddr2()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipCity()", + "callable_declaration": "getShipCity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipState()", + "callable_declaration": "getShipState()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipZip()", + "callable_declaration": "getShipZip()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShipPhone()", + "callable_declaration": "getShipPhone()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "callable_declaration": "(com.ibm.websphere.samples.pbw.jpa.Order)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Order", + "signature": "getShippingMethod()", + "callable_declaration": "getShippingMethod()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethodName()", + "callable_declaration": "getShippingMethodName()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethods()", + "callable_declaration": "getShippingMethods()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "setShippingMethodName(java.lang.String)", + "callable_declaration": "setShippingMethodName(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getShippingMethodStrings()", + "callable_declaration": "getShippingMethodStrings()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethods()", + "callable_declaration": "getShippingMethods()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getFullShippingMethodStrings()", + "callable_declaration": "getFullShippingMethodStrings()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "type_declaration": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "signature": "getShippingMethodCount()", + "callable_declaration": "getShippingMethodCount()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "getShippingMethodStrings()", + "callable_declaration": "getShippingMethodStrings()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.PopulateDBBean", + "signature": "initDB()", + "callable_declaration": "initDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "type_declaration": "com.ibm.websphere.samples.pbw.utils.Util", + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.PopulateDBBean", + "signature": "initDB()", + "callable_declaration": "initDB()" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "signature": "populateDB()", + "callable_declaration": "populateDB()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent", + "signature": "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent", + "signature": "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getQuantity()", + "callable_declaration": "getQuantity()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "type_declaration": "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callable_declaration": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "type_declaration": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "signature": "getID()", + "callable_declaration": "getID()" + } + } + ], + "symbol_table": { + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -16713,14 +12838,6 @@ "end_column": 61, "is_javadoc": false }, - { - "content": "\r\n * ResetDBBean provides a transactional and secure facade to reset all the database information for\r\n * the PlantsByWebSphere application.\r\n ", - "start_line": 49, - "end_line": 52, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, { "content": "", "start_line": 16, @@ -16729,118 +12846,126 @@ "end_column": 2, "is_javadoc": false }, + { + "content": "\r\n * A basic POJO class for resetting the database.\r\n ", + "start_line": 36, + "end_line": 38, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, { "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 81, - "end_line": 87, + "start_line": 67, + "end_line": 73, "start_column": 2, "end_column": 4, "is_javadoc": true }, { "content": " Open the input file as a stream of bytes", - "start_line": 96, - "end_line": 96, + "start_line": 82, + "end_line": 82, "start_column": 3, "end_column": 45, "is_javadoc": false }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 91, + "end_line": 93, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, { "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 106, - "end_line": 108, + "start_line": 101, + "end_line": 103, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 150, - "end_line": 152, + "start_line": 144, + "end_line": 146, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 186, - "end_line": 188, + "start_line": 179, + "end_line": 181, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 248, - "end_line": 248, + "start_line": 241, + "end_line": 241, "start_column": 4, "end_column": 89, "is_javadoc": false }, { "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 249, - "end_line": 249, + "start_line": 242, + "end_line": 242, "start_column": 4, "end_column": 82, "is_javadoc": false }, { "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 250, - "end_line": 250, + "start_line": 243, + "end_line": 243, "start_column": 4, "end_column": 63, "is_javadoc": false }, { "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 256, - "end_line": 258, + "start_line": 248, + "end_line": 250, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Inserting backorders", - "start_line": 263, - "end_line": 263, + "start_line": 255, + "end_line": 255, "start_column": 4, "end_column": 26, "is_javadoc": false }, { "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 279, - "end_line": 281, + "start_line": 270, + "end_line": 272, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Inserting Suppliers", - "start_line": 286, - "end_line": 286, + "start_line": 277, + "end_line": 277, "start_column": 4, "end_column": 25, "is_javadoc": false }, - { - "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", - "start_line": 321, - "end_line": 321, - "start_column": 4, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " q.executeUpdate();", - "start_line": 322, - "end_line": 322, - "start_column": 4, - "end_column": 24, - "is_javadoc": false - }, { "content": "", "start_line": 1, @@ -16856,31 +12981,19 @@ "java.io.FileInputStream", "java.io.FileNotFoundException", "java.io.IOException", - "java.io.Serializable", "java.net.URL", "java.util.Vector", - "javax.annotation.Resource", - "javax.annotation.security.RolesAllowed", - "javax.enterprise.context.Dependent", - "javax.inject.Inject", - "javax.inject.Named", - "javax.persistence.EntityManager", - "javax.persistence.PersistenceContext", - "javax.persistence.PersistenceContextType", - "javax.persistence.Query", - "javax.persistence.SynchronizationType", - "javax.transaction.HeuristicMixedException", - "javax.transaction.HeuristicRollbackException", - "javax.transaction.NotSupportedException", - "javax.transaction.RollbackException", - "javax.transaction.SystemException", - "javax.transaction.Transactional", - "javax.transaction.UserTransaction", + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "com.ibm.websphere.samples.pbw.jpa.Inventory", "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.ResetDBBean": { + "com.ibm.websphere.samples.pbw.war.Populate": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -16891,462 +13004,1729 @@ "is_local_class": false, "extends_list": [], "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, { "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 81, - "end_line": 87, + "start_line": 67, + "end_line": 73, "start_column": 2, "end_column": 4, "is_javadoc": true }, { "content": " Open the input file as a stream of bytes", - "start_line": 96, - "end_line": 96, + "start_line": 82, + "end_line": 82, "start_column": 3, "end_column": 45, "is_javadoc": false }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 91, + "end_line": 93, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, { "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 106, - "end_line": 108, + "start_line": 101, + "end_line": 103, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 150, - "end_line": 152, + "start_line": 144, + "end_line": 146, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 186, - "end_line": 188, + "start_line": 179, + "end_line": 181, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 248, - "end_line": 248, + "start_line": 241, + "end_line": 241, "start_column": 4, "end_column": 89, "is_javadoc": false }, { "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 249, - "end_line": 249, + "start_line": 242, + "end_line": 242, "start_column": 4, "end_column": 82, "is_javadoc": false }, { "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 250, - "end_line": 250, + "start_line": 243, + "end_line": 243, "start_column": 4, "end_column": 63, "is_javadoc": false }, { "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 256, - "end_line": 258, + "start_line": 248, + "end_line": 250, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Inserting backorders", - "start_line": 263, - "end_line": 263, + "start_line": 255, + "end_line": 255, "start_column": 4, "end_column": 26, "is_javadoc": false }, { "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 279, - "end_line": 281, + "start_line": 270, + "end_line": 272, "start_column": 3, "end_column": 5, "is_javadoc": true }, { "content": " Inserting Suppliers", - "start_line": 286, - "end_line": 286, + "start_line": 277, + "end_line": 277, "start_column": 4, "end_column": 25, "is_javadoc": false }, { - "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", - "start_line": 321, - "end_line": 321, - "start_column": 4, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " q.executeUpdate();", - "start_line": 322, - "end_line": 322, - "start_column": 4, - "end_column": 24, - "is_javadoc": false + "content": "\r\n * A basic POJO class for resetting the database.\r\n ", + "start_line": 36, + "end_line": 38, + "start_column": 1, + "end_column": 3, + "is_javadoc": true } ], - "implements_list": [ - "java.io.Serializable" - ], + "implements_list": [], "modifiers": [ "public" ], - "annotations": [ - "@Named(value = \"resetbean\")", - "@Dependent", - "@RolesAllowed(\"SampAdmin\")" - ], + "annotations": [], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "deleteAll()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "signature": "deleteAll()", + "(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "signature": "(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Populate(ResetDBBean resetDB, CatalogMgr c, CustomerMgr l, BackOrderMgr b, SuppliersBean s)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "name": "resetDB", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 18, + "end_column": 36 + }, + { + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "name": "c", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 39, + "end_column": 50 + }, + { + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "name": "l", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 53, + "end_column": 65 + }, + { + "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "name": "b", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 68, + "end_column": 81 + }, + { + "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "name": "s", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 84, + "end_column": 98 + } + ], + "code": "{\r\n\t\tthis.resetDB = resetDB;\r\n\t\tthis.catalog = c;\r\n\t\tthis.login = l;\r\n\t\tthis.backOrderStock = b;\r\n\t\tthis.suppliers = s;\r\n\t}", + "start_line": 59, + "end_line": 65, + "code_start_line": 59, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.Populate.backOrderStock", + "com.ibm.websphere.samples.pbw.war.Populate.suppliers", + "com.ibm.websphere.samples.pbw.war.Populate.resetDB", + "com.ibm.websphere.samples.pbw.war.Populate.login", + "com.ibm.websphere.samples.pbw.war.Populate.catalog" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "signature": "()", + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Populate()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 56, + "end_line": 57, + "code_start_line": 56, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "doPopulate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "signature": "doPopulate()", "comments": [ { - "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", - "start_line": 321, - "end_line": 321, - "start_column": 4, - "end_column": 52, - "is_javadoc": false + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 101, + "end_line": 103, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 144, + "end_line": 146, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 179, + "end_line": 181, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", + "start_line": 241, + "end_line": 241, + "start_column": 4, + "end_column": 89, + "is_javadoc": false + }, + { + "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", + "start_line": 242, + "end_line": 242, + "start_column": 4, + "end_column": 82, + "is_javadoc": false + }, + { + "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", + "start_line": 243, + "end_line": 243, + "start_column": 4, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 248, + "end_line": 250, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting backorders", + "start_line": 255, + "end_line": 255, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 270, + "end_line": 272, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting Suppliers", + "start_line": 277, + "end_line": 277, + "start_column": 4, + "end_column": 25, + "is_javadoc": false + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 91, + "end_line": 93, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void doPopulate()", + "parameters": [], + "code": "{\r\n\t\ttry {\r\n\t\t\tresetDB.deleteAll();\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Populate:doPopulate() - Exception deleting data in database: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate INVENTORY table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating INVENTORY table with text...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"inventory\");\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tUtil.debug(\"Found INVENTORY property values: \" + values[index]);\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString id = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString heading = fields[2];\r\n\t\t\t\tString descr = fields[3];\r\n\t\t\t\tString pkginfo = fields[4];\r\n\t\t\t\tString image = fields[5];\r\n\t\t\t\tfloat price = new Float(fields[6]).floatValue();\r\n\t\t\t\tfloat cost = new Float(fields[7]).floatValue();\r\n\t\t\t\tint quantity = new Integer(fields[8]).intValue();\r\n\t\t\t\tint category = new Integer(fields[9]).intValue();\r\n\t\t\t\tString notes = fields[10];\r\n\t\t\t\tboolean isPublic = new Boolean(fields[11]).booleanValue();\r\n\t\t\t\tUtil.debug(\"Populating INVENTORY with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\tInventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity,\r\n\t\t\t\t\t\tcategory, notes, isPublic);\r\n\t\t\t\tcatalog.addItem(storeItem);\r\n\t\t\t\taddImage(id, image, catalog);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"INVENTORY table populated with text...\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate INVENTORY table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating CUSTOMER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"customer\");\r\n\t\t\tUtil.debug(\"Found CUSTOMER properties: \" + values[0]);\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString customerID = fields[0];\r\n\t\t\t\tString password = fields[1];\r\n\t\t\t\tString firstName = fields[2];\r\n\t\t\t\tString lastName = fields[3];\r\n\t\t\t\tString addr1 = fields[4];\r\n\t\t\t\tString addr2 = fields[5];\r\n\t\t\t\tString addrCity = fields[6];\r\n\t\t\t\tString addrState = fields[7];\r\n\t\t\t\tString addrZip = fields[8];\r\n\t\t\t\tString phone = fields[9];\r\n\t\t\t\tUtil.debug(\"Populating CUSTOMER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tlogin.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate ORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating ORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"order\");\r\n\t\t\tUtil.debug(\"Found ORDER properties: \" + values[0]);\r\n\t\t\tif (values[0] != null && values.length > 0) {\r\n\t\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\t\tif (fields != null && fields.length >= 21) {\r\n\t\t\t\t\t\tString customerID = fields[0];\r\n\t\t\t\t\t\tString billName = fields[1];\r\n\t\t\t\t\t\tString billAddr1 = fields[2];\r\n\t\t\t\t\t\tString billAddr2 = fields[3];\r\n\t\t\t\t\t\tString billCity = fields[4];\r\n\t\t\t\t\t\tString billState = fields[5];\r\n\t\t\t\t\t\tString billZip = fields[6];\r\n\t\t\t\t\t\tString billPhone = fields[7];\r\n\t\t\t\t\t\tString shipName = fields[8];\r\n\t\t\t\t\t\tString shipAddr1 = fields[9];\r\n\t\t\t\t\t\tString shipAddr2 = fields[10];\r\n\t\t\t\t\t\tString shipCity = fields[11];\r\n\t\t\t\t\t\tString shipState = fields[12];\r\n\t\t\t\t\t\tString shipZip = fields[13];\r\n\t\t\t\t\t\tString shipPhone = fields[14];\r\n\t\t\t\t\t\tint shippingMethod = Integer.parseInt(fields[15]);\r\n\t\t\t\t\t\tString creditCard = fields[16];\r\n\t\t\t\t\t\tString ccNum = fields[17];\r\n\t\t\t\t\t\tString ccExpireMonth = fields[18];\r\n\t\t\t\t\t\tString ccExpireYear = fields[19];\r\n\t\t\t\t\t\tString cardHolder = fields[20];\r\n\t\t\t\t\t\tVector items = new Vector();\r\n\t\t\t\t\t\tUtil.debug(\"Populating ORDER with following values: \");\r\n\t\t\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\t\t\tUtil.debug(fields[12]);\r\n\t\t\t\t\t\tUtil.debug(fields[13]);\r\n\t\t\t\t\t\tUtil.debug(fields[14]);\r\n\t\t\t\t\t\tUtil.debug(fields[15]);\r\n\t\t\t\t\t\tUtil.debug(fields[16]);\r\n\t\t\t\t\t\tUtil.debug(fields[17]);\r\n\t\t\t\t\t\tUtil.debug(fields[18]);\r\n\t\t\t\t\t\tUtil.debug(fields[19]);\r\n\t\t\t\t\t\tUtil.debug(fields[20]);\r\n\t\t\t\t\t\tcart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tUtil.debug(\"Property does not contain enough fields: \" + values[index]);\r\n\t\t\t\t\t\tUtil.debug(\"Fields found were: \" + fields);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\r\n\t\t\t// CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\r\n\t\t\t// 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate BACKORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating BACKORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"backorder\");\r\n\t\t\tUtil.debug(\"Found BACKORDER properties: \" + values[0]);\r\n\t\t\t// Inserting backorders\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString inventoryID = fields[0];\r\n\t\t\t\tint amountToOrder = new Integer(fields[1]).intValue();\r\n\t\t\t\tint maximumItems = new Integer(fields[2]).intValue();\r\n\t\t\t\tUtil.debug(\"Populating BACKORDER with following values: \");\r\n\t\t\t\tUtil.debug(inventoryID);\r\n\t\t\t\tUtil.debug(\"amountToOrder -> \" + amountToOrder);\r\n\t\t\t\tUtil.debug(\"maximumItems -> \" + maximumItems);\r\n\t\t\t\tbackOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate BACKORDER table with text data: \" + e);\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating SUPPLIER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"supplier\");\r\n\t\t\tUtil.debug(\"Found SUPPLIER properties: \" + values[0]);\r\n\t\t\t// Inserting Suppliers\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString supplierID = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString address = fields[2];\r\n\t\t\t\tString city = fields[3];\r\n\t\t\t\tString state = fields[4];\r\n\t\t\t\tString zip = fields[5];\r\n\t\t\t\tString phone = fields[6];\r\n\t\t\t\tString url = fields[7];\r\n\t\t\t\tUtil.debug(\"Populating SUPPLIER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tsuppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\r\n\t\t}\r\n\t}", + "start_line": 94, + "end_line": 302, + "code_start_line": 94, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.Vector", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.Populate.backOrderStock", + "com.ibm.websphere.samples.pbw.war.Populate.suppliers", + "com.ibm.websphere.samples.pbw.war.Populate.cart", + "length", + "com.ibm.websphere.samples.pbw.war.Populate.resetDB", + "com.ibm.websphere.samples.pbw.war.Populate.login", + "com.ibm.websphere.samples.pbw.war.Populate.catalog" + ], + "call_sites": [ + { + "method_name": "deleteAll", + "comment": null, + "receiver_expr": "resetDB", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "deleteAll()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 96, + "start_column": 4, + "end_line": 96, + "end_column": 22 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populate:doPopulate() - Exception deleting data in database: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 98, + "start_column": 4, + "end_line": 98, + "end_column": 82 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 99, + "start_column": 4, + "end_line": 99, + "end_column": 22 + }, + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 101, + "end_line": 103, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating INVENTORY table with text...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 104, + "start_column": 3, + "end_line": 104, + "end_column": 55 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"inventory\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 106, + "start_column": 22, + "end_line": 106, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found INVENTORY property values: \" + values[index]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 5, + "end_line": 108, + "end_column": 68 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 109, + "start_column": 23, + "end_line": 109, + "end_column": 57 + }, + { + "method_name": "floatValue", + "comment": null, + "receiver_expr": "new Float(fields[6])", + "receiver_type": "java.lang.Float", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "floatValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 19, + "end_line": 116, + "end_column": 51 + }, + { + "method_name": "floatValue", + "comment": null, + "receiver_expr": "new Float(fields[7])", + "receiver_type": "java.lang.Float", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "floatValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 117, + "start_column": 18, + "end_line": 117, + "end_column": 50 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[8])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 20, + "end_line": 118, + "end_column": 52 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[9])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 52 + }, + { + "method_name": "booleanValue", + "comment": null, + "receiver_expr": "new Boolean(fields[11])", + "receiver_type": "java.lang.Boolean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "booleanValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 24, + "end_line": 121, + "end_column": 61 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating INVENTORY with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 5, + "end_line": 122, + "end_column": 63 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 5, + "end_line": 123, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 5, + "end_line": 124, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 5, + "end_line": 125, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 5, + "end_line": 126, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 5, + "end_line": 127, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 5, + "end_line": 128, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 129, + "start_column": 5, + "end_line": 129, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 130, + "start_column": 5, + "end_line": 130, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 5, + "end_line": 131, + "end_column": 25 }, { - "content": " q.executeUpdate();", - "start_line": 322, - "end_line": 322, - "start_column": 4, - "end_column": 24, - "is_javadoc": false - } - ], - "annotations": [ - "@Transactional" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void deleteAll()", - "parameters": [], - "code": "{\r\n\t\ttry {\r\n\t\t\tQuery q = em.createNamedQuery(\"removeAllOrders\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllInventory\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\t// q=em.createNamedQuery(\"removeAllIdGenerator\");\r\n\t\t\t// q.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllCustomers\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllOrderItem\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllBackOrder\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllSupplier\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tem.flush();\r\n\t\t\tUtil.debug(\"Deleted all data from database\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"ResetDB(deleteAll) -- Error deleting data from the database: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n tx.setRollbackOnly();\r\n } catch (IllegalStateException | SystemException ignore) {\r\n }\r\n\t\t}\r\n\t}", - "start_line": 314, - "end_line": 341, - "code_start_line": 315, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "Query" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.tx", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.em" - ], - "call_sites": [ + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 132, + "start_column": 5, + "end_line": 132, + "end_column": 25 + }, { - "method_name": "createNamedQuery", + "method_name": "debug", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[10]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 5, + "end_line": 133, + "end_column": 26 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[11]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 134, + "start_column": 5, + "end_line": 134, + "end_column": 26 + }, + { + "method_name": "addItem", + "comment": null, + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "storeItem" + ], + "return_type": "", + "callee_signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 14, - "end_line": 317, - "end_column": 51 + "start_line": 137, + "start_column": 5, + "end_line": 137, + "end_column": 30 }, { - "method_name": "executeUpdate", + "method_name": "addImage", "comment": null, - "receiver_expr": "q", + "receiver_expr": "", "receiver_type": "", - "argument_types": [], + "argument_types": [ + "java.lang.String", + "java.lang.String", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr" + ], + "argument_expr": [ + "id", + "image", + "catalog" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, + "start_line": 138, + "start_column": 5, + "end_line": 138, + "end_column": 32 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"INVENTORY table populated with text...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, "start_column": 4, - "end_line": 318, - "end_column": 20 + "end_line": 140, + "end_column": 55 }, { - "method_name": "createNamedQuery", + "method_name": "debug", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Unable to populate INVENTORY table with text data: \" + e" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 4, + "end_line": 142, + "end_column": 72 + }, + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 144, + "end_line": 146, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating CUSTOMER table with default values...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 3, + "end_line": 147, + "end_column": 64 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"customer\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 149, + "start_column": 22, + "end_line": 149, + "end_column": 51 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found CUSTOMER properties: \" + values[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 150, + "start_column": 4, + "end_line": 150, + "end_column": 57 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 152, + "start_column": 23, + "end_line": 152, + "end_column": 57 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating CUSTOMER with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 163, + "start_column": 5, + "end_line": 163, + "end_column": 62 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 164, + "start_column": 5, + "end_line": 164, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 165, + "start_column": 5, + "end_line": 165, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 166, + "start_column": 5, + "end_line": 166, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 167, + "start_column": 5, + "end_line": 167, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 168, + "start_column": 5, + "end_line": 168, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 169, + "start_column": 5, + "end_line": 169, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 319, - "start_column": 8, - "end_line": 319, - "end_column": 48 + "start_line": 170, + "start_column": 5, + "end_line": 170, + "end_column": 25 }, { - "method_name": "executeUpdate", + "method_name": "debug", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, - "start_column": 4, - "end_line": 320, - "end_column": 20 + "start_line": 171, + "start_column": 5, + "end_line": 171, + "end_column": 25 }, { - "method_name": "createNamedQuery", + "method_name": "debug", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[8]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 323, - "start_column": 8, - "end_line": 323, - "end_column": 48 + "start_line": 172, + "start_column": 5, + "end_line": 172, + "end_column": 25 }, { - "method_name": "executeUpdate", + "method_name": "debug", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 324, - "start_column": 4, - "end_line": 324, - "end_column": 20 + "start_line": 173, + "start_column": 5, + "end_line": 173, + "end_column": 25 }, { - "method_name": "createNamedQuery", + "method_name": "createCustomer", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "customerID", + "password", + "firstName", + "lastName", + "addr1", + "addr2", + "addrCity", + "addrState", + "addrZip", + "phone" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 325, - "start_column": 8, - "end_line": 325, - "end_column": 48 + "start_line": 174, + "start_column": 5, + "end_line": 174, + "end_column": 118 }, { - "method_name": "executeUpdate", + "method_name": "debug", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate CUSTOMER table with text data: \" + e" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 326, + "start_line": 177, "start_column": 4, - "end_line": 326, - "end_column": 20 + "end_line": 177, + "end_column": 71 }, { - "method_name": "createNamedQuery", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 179, + "end_line": 181, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Populating ORDER table with default values...\"" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 8, - "end_line": 327, - "end_column": 48 + "start_line": 182, + "start_column": 3, + "end_line": 182, + "end_column": 61 }, { - "method_name": "executeUpdate", + "method_name": "getProperties", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"order\"" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 328, - "start_column": 4, - "end_line": 328, - "end_column": 20 + "start_line": 184, + "start_column": 22, + "end_line": 184, + "end_column": 48 }, { - "method_name": "createNamedQuery", + "method_name": "debug", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Found ORDER properties: \" + values[0]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 329, - "start_column": 8, - "end_line": 329, - "end_column": 47 + "start_line": 185, + "start_column": 4, + "end_line": 185, + "end_column": 54 }, { - "method_name": "executeUpdate", + "method_name": "readTokens", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, - "start_column": 4, - "end_line": 330, - "end_column": 20 + "start_line": 188, + "start_column": 24, + "end_line": 188, + "end_column": 58 }, { - "method_name": "flush", + "method_name": "parseInt", "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Integer", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[15]" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "parseInt(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, - "start_column": 4, - "end_line": 331, - "end_column": 13 + "start_line": 205, + "start_column": 28, + "end_line": 205, + "end_column": 55 }, { "method_name": "debug", @@ -17356,6 +14736,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Populating ORDER with following values: \"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -17366,10 +14749,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 332, - "start_column": 4, - "end_line": 332, - "end_column": 47 + "start_line": 212, + "start_column": 7, + "end_line": 212, + "end_column": 61 }, { "method_name": "debug", @@ -17379,6 +14762,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[0]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -17389,280 +14775,154 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, - "start_column": 4, - "end_line": 334, - "end_column": 82 + "start_line": 213, + "start_column": 7, + "end_line": 213, + "end_column": 27 }, { - "method_name": "printStackTrace", + "method_name": "debug", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], "return_type": "", - "callee_signature": "printStackTrace()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 335, - "start_column": 4, - "end_line": 335, - "end_column": 22 + "start_line": 214, + "start_column": 7, + "end_line": 214, + "end_column": 27 }, { - "method_name": "setRollbackOnly", - "comment": null, - "receiver_expr": "tx", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 337, - "start_column": 17, - "end_line": 337, - "end_column": 36 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "q", - "type": "Query", - "initializer": "em.createNamedQuery(\"removeAllOrders\")", - "start_line": 317, - "start_column": 10, - "end_line": 317, - "end_column": 51 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "resetDB()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "signature": "resetDB()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void resetDB()", - "parameters": [], - "code": "{\r\n\t\tdeleteAll();\r\n\t\tpopulateDB();\r\n\t}", - "start_line": 76, - "end_line": 79, - "code_start_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "deleteAll", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], "return_type": "", - "callee_signature": "deleteAll()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, - "start_column": 3, - "end_line": 77, - "end_column": 13 + "start_line": 215, + "start_column": 7, + "end_line": 215, + "end_column": 27 }, { - "method_name": "populateDB", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], "return_type": "", - "callee_signature": "populateDB()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 78, - "start_column": 3, - "end_line": 78, - "end_column": 14 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "addImage(String, String, CatalogMgr)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "signature": "addImage(String, String, CatalogMgr)", - "comments": [ - { - "content": " Open the input file as a stream of bytes", - "start_line": 96, - "end_line": 96, - "start_column": 3, - "end_column": 45, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", - "start_line": 81, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [ - "java.io.FileNotFoundException", - "java.io.IOException" - ], - "declaration": "public static void addImage(String itemID, String fileName, CatalogMgr catalog) throws FileNotFoundException, IOException", - "parameters": [ - { - "type": "java.lang.String", - "name": "itemID", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 30, - "end_column": 42 - }, - { - "type": "java.lang.String", - "name": "fileName", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 4, - "end_column": 18 - }, - { - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "name": "catalog", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 4, - "end_column": 21 - } - ], - "code": "{\r\n\t\tURL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\r\n\t\tUtil.debug(\"URL: \" + url);\r\n\t\tfileName = url.getPath();\r\n\t\tUtil.debug(\"Fully-qualified Filename: \" + fileName);\r\n\t\tFile imgFile = new File(fileName);\r\n\t\t// Open the input file as a stream of bytes\r\n\t\tFileInputStream fis = new FileInputStream(imgFile);\r\n\t\tDataInputStream dis = new DataInputStream(fis);\r\n\t\tint dataSize = dis.available();\r\n\t\tbyte[] data = new byte[dataSize];\r\n\t\tdis.readFully(data);\r\n\t\tcatalog.setItemImageBytes(itemID, data);\r\n\t}", - "start_line": 88, - "end_line": 103, - "code_start_line": 90, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.io.DataInputStream", - "java.net.URL", - "java.io.FileInputStream", - "java.io.File" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.catalog" - ], - "call_sites": [ + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 7, + "end_line": 216, + "end_column": 27 + }, { - "method_name": "getResource", + "method_name": "debug", "comment": null, - "receiver_expr": "Thread.currentThread().getContextClassLoader()", - "receiver_type": "java.lang.ClassLoader", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.net.URL", - "callee_signature": "getResource(java.lang.String)", + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 13, - "end_line": 91, - "end_column": 102 + "start_line": 217, + "start_column": 7, + "end_line": 217, + "end_column": 27 }, { - "method_name": "getContextClassLoader", + "method_name": "debug", "comment": null, - "receiver_expr": "Thread.currentThread()", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "java.lang.ClassLoader", - "callee_signature": "getContextClassLoader()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 13, - "end_line": 91, - "end_column": 58 + "start_line": 218, + "start_column": 7, + "end_line": 218, + "end_column": 27 }, { - "method_name": "currentThread", + "method_name": "debug", "comment": null, - "receiver_expr": "Thread", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "java.lang.Thread", - "callee_signature": "currentThread()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -17671,10 +14931,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 13, - "end_line": 91, - "end_column": 34 + "start_line": 219, + "start_column": 7, + "end_line": 219, + "end_column": 27 }, { "method_name": "debug", @@ -17684,6 +14944,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[7]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -17694,31 +14957,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, - "start_column": 3, - "end_line": 92, + "start_line": 220, + "start_column": 7, + "end_line": 220, "end_column": 27 }, { - "method_name": "getPath", + "method_name": "debug", "comment": null, - "receiver_expr": "url", - "receiver_type": "java.net.URL", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPath()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, - "start_column": 14, - "end_line": 93, - "end_column": 26 + "start_line": 221, + "start_column": 7, + "end_line": 221, + "end_column": 27 }, { "method_name": "debug", @@ -17728,6 +14996,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[9]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -17738,377 +15009,471 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 3, - "end_line": 94, - "end_column": 53 + "start_line": 222, + "start_column": 7, + "end_line": 222, + "end_column": 27 }, { - "method_name": "available", + "method_name": "debug", "comment": null, - "receiver_expr": "dis", - "receiver_type": "java.io.DataInputStream", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[10]" + ], "return_type": "", - "callee_signature": "available()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, - "start_column": 18, - "end_line": 99, - "end_column": 32 + "start_line": 223, + "start_column": 7, + "end_line": 223, + "end_column": 28 }, { - "method_name": "readFully", + "method_name": "debug", "comment": null, - "receiver_expr": "dis", - "receiver_type": "java.io.DataInputStream", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "fields[11]" ], "return_type": "", - "callee_signature": "readFully(byte[])", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 101, - "start_column": 3, - "end_line": 101, - "end_column": 21 + "start_line": 224, + "start_column": 7, + "end_line": 224, + "end_column": 28 }, { - "method_name": "setItemImageBytes", + "method_name": "debug", "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.String", - "" + "java.lang.String" + ], + "argument_expr": [ + "fields[12]" ], "return_type": "", - "callee_signature": "setItemImageBytes(java.lang.String, byte[])", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 102, - "start_column": 3, - "end_line": 102, - "end_column": 41 + "start_line": 225, + "start_column": 7, + "end_line": 225, + "end_column": 28 }, { - "method_name": "", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.File", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.io.File", - "callee_signature": "File(java.lang.String)", - "is_public": false, + "argument_expr": [ + "fields[13]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 18, - "end_line": 95, - "end_column": 35 + "start_line": 226, + "start_column": 7, + "end_line": 226, + "end_column": 28 }, { - "method_name": "", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.FileInputStream", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.io.File" + "java.lang.String" ], - "return_type": "java.io.FileInputStream", - "callee_signature": "FileInputStream(java.io.File)", - "is_public": false, + "argument_expr": [ + "fields[14]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 97, - "start_column": 25, - "end_line": 97, - "end_column": 52 + "start_line": 227, + "start_column": 7, + "end_line": 227, + "end_column": 28 }, { - "method_name": "", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.DataInputStream", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.io.FileInputStream" + "java.lang.String" ], - "return_type": "java.io.DataInputStream", - "callee_signature": "DataInputStream(java.io.InputStream)", - "is_public": false, + "argument_expr": [ + "fields[15]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 98, - "start_column": 25, - "end_line": 98, - "end_column": 48 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.net.URL", - "initializer": "Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName)", - "start_line": 91, + "start_line": 228, "start_column": 7, - "end_line": 91, - "end_column": 102 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "imgFile", - "type": "java.io.File", - "initializer": "new File(fileName)", - "start_line": 95, - "start_column": 8, - "end_line": 95, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fis", - "type": "java.io.FileInputStream", - "initializer": "new FileInputStream(imgFile)", - "start_line": 97, - "start_column": 19, - "end_line": 97, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "dis", - "type": "java.io.DataInputStream", - "initializer": "new DataInputStream(fis)", - "start_line": 98, - "start_column": 19, - "end_line": 98, - "end_column": 48 + "end_line": 228, + "end_column": 28 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "dataSize", - "type": "int", - "initializer": "dis.available()", - "start_line": 99, + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[16]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 229, "start_column": 7, - "end_line": 99, - "end_column": 32 + "end_line": 229, + "end_column": 28 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "data", - "type": "byte[]", - "initializer": "new byte[dataSize]", - "start_line": 100, - "start_column": 10, - "end_line": 100, - "end_column": 34 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "populateDB()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", - "signature": "populateDB()", - "comments": [ - { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 106, - "end_line": 108, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[17]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 230, + "start_column": 7, + "end_line": 230, + "end_column": 28 }, { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 150, - "end_line": 152, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[18]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 231, + "start_column": 7, + "end_line": 231, + "end_column": 28 }, { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 186, - "end_line": 188, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[19]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 232, + "start_column": 7, + "end_line": 232, + "end_column": 28 }, { - "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", - "start_line": 248, - "end_line": 248, - "start_column": 4, - "end_column": 89, - "is_javadoc": false + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[20]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 7, + "end_line": 233, + "end_column": 28 }, { - "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", - "start_line": 249, - "end_line": 249, - "start_column": 4, - "end_column": 82, - "is_javadoc": false + "method_name": "createOrder", + "comment": null, + "receiver_expr": "cart", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "java.util.Vector" + ], + "argument_expr": [ + "customerID", + "billName", + "billAddr1", + "billAddr2", + "billCity", + "billState", + "billZip", + "billPhone", + "shipName", + "shipAddr1", + "shipAddr2", + "shipCity", + "shipState", + "shipZip", + "shipPhone", + "creditCard", + "ccNum", + "ccExpireMonth", + "ccExpireYear", + "cardHolder", + "shippingMethod", + "items" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 234, + "start_column": 7, + "end_line": 234, + "end_column": 263 }, { - "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", - "start_line": 250, - "end_line": 250, - "start_column": 4, - "end_column": 63, - "is_javadoc": false + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Property does not contain enough fields: \" + values[index]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 236, + "start_column": 7, + "end_line": 236, + "end_column": 77 }, { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 256, - "end_line": 258, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Fields found were: \" + fields" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 237, + "start_column": 7, + "end_line": 237, + "end_column": 48 }, { - "content": " Inserting backorders", - "start_line": 263, - "end_line": 263, + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate ORDERITEM table with text data: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 245, "start_column": 4, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 279, - "end_line": 281, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "end_line": 245, + "end_column": 72 }, { - "content": " Inserting Suppliers", - "start_line": 286, - "end_line": 286, + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 246, "start_column": 4, - "end_column": 25, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void populateDB()", - "parameters": [], - "code": "{\r\n\t\t/**\r\n\t\t * Populate INVENTORY table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating INVENTORY table with text...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"inventory\");\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tUtil.debug(\"Found INVENTORY property values: \" + values[index]);\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString id = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString heading = fields[2];\r\n\t\t\t\tString descr = fields[3];\r\n\t\t\t\tString pkginfo = fields[4];\r\n\t\t\t\tString image = fields[5];\r\n\t\t\t\tfloat price = new Float(fields[6]).floatValue();\r\n\t\t\t\tfloat cost = new Float(fields[7]).floatValue();\r\n\t\t\t\tint quantity = new Integer(fields[8]).intValue();\r\n\t\t\t\tint category = new Integer(fields[9]).intValue();\r\n\t\t\t\tString notes = fields[10];\r\n\t\t\t\tboolean isPublic = new Boolean(fields[11]).booleanValue();\r\n\t\t\t\tUtil.debug(\"Populating INVENTORY with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\tInventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity,\r\n\t\t\t\t\t\tcategory, notes, isPublic);\r\n\t\t\t\tcatalog.addItem(storeItem);\r\n\t\t\t\taddImage(id, image, catalog);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"INVENTORY table populated with text...\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate INVENTORY table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating CUSTOMER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"customer\");\r\n\t\t\tUtil.debug(\"Found CUSTOMER properties: \" + values[0]);\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString customerID = fields[0];\r\n\t\t\t\tString password = fields[1];\r\n\t\t\t\tString firstName = fields[2];\r\n\t\t\t\tString lastName = fields[3];\r\n\t\t\t\tString addr1 = fields[4];\r\n\t\t\t\tString addr2 = fields[5];\r\n\t\t\t\tString addrCity = fields[6];\r\n\t\t\t\tString addrState = fields[7];\r\n\t\t\t\tString addrZip = fields[8];\r\n\t\t\t\tString phone = fields[9];\r\n\t\t\t\tUtil.debug(\"Populating CUSTOMER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tcustomer.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate ORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating ORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"order\");\r\n\t\t\tUtil.debug(\"Found ORDER properties: \" + values[0]);\r\n\t\t\tif (values[0] != null && values.length > 0) {\r\n\t\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\t\tif (fields != null && fields.length >= 21) {\r\n\t\t\t\t\t\tString customerID = fields[0];\r\n\t\t\t\t\t\tString billName = fields[1];\r\n\t\t\t\t\t\tString billAddr1 = fields[2];\r\n\t\t\t\t\t\tString billAddr2 = fields[3];\r\n\t\t\t\t\t\tString billCity = fields[4];\r\n\t\t\t\t\t\tString billState = fields[5];\r\n\t\t\t\t\t\tString billZip = fields[6];\r\n\t\t\t\t\t\tString billPhone = fields[7];\r\n\t\t\t\t\t\tString shipName = fields[8];\r\n\t\t\t\t\t\tString shipAddr1 = fields[9];\r\n\t\t\t\t\t\tString shipAddr2 = fields[10];\r\n\t\t\t\t\t\tString shipCity = fields[11];\r\n\t\t\t\t\t\tString shipState = fields[12];\r\n\t\t\t\t\t\tString shipZip = fields[13];\r\n\t\t\t\t\t\tString shipPhone = fields[14];\r\n\t\t\t\t\t\tint shippingMethod = Integer.parseInt(fields[15]);\r\n\t\t\t\t\t\tString creditCard = fields[16];\r\n\t\t\t\t\t\tString ccNum = fields[17];\r\n\t\t\t\t\t\tString ccExpireMonth = fields[18];\r\n\t\t\t\t\t\tString ccExpireYear = fields[19];\r\n\t\t\t\t\t\tString cardHolder = fields[20];\r\n\t\t\t\t\t\tVector items = new Vector();\r\n\t\t\t\t\t\tUtil.debug(\"Populating ORDER with following values: \");\r\n\t\t\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\t\t\tUtil.debug(fields[12]);\r\n\t\t\t\t\t\tUtil.debug(fields[13]);\r\n\t\t\t\t\t\tUtil.debug(fields[14]);\r\n\t\t\t\t\t\tUtil.debug(fields[15]);\r\n\t\t\t\t\t\tUtil.debug(fields[16]);\r\n\t\t\t\t\t\tUtil.debug(fields[17]);\r\n\t\t\t\t\t\tUtil.debug(fields[18]);\r\n\t\t\t\t\t\tUtil.debug(fields[19]);\r\n\t\t\t\t\t\tUtil.debug(fields[20]);\r\n\t\t\t\t\t\tcart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tUtil.debug(\"Property does not contain enough fields: \" + values[index]);\r\n\t\t\t\t\t\tUtil.debug(\"Fields found were: \" + fields);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\r\n\t\t\t// CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\r\n\t\t\t// 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate BACKORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating BACKORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"backorder\");\r\n\t\t\tUtil.debug(\"Found BACKORDER properties: \" + values[0]);\r\n\t\t\t// Inserting backorders\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString inventoryID = fields[0];\r\n\t\t\t\tint amountToOrder = new Integer(fields[1]).intValue();\r\n\t\t\t\tint maximumItems = new Integer(fields[2]).intValue();\r\n\t\t\t\tUtil.debug(\"Populating BACKORDER with following values: \");\r\n\t\t\t\tUtil.debug(inventoryID);\r\n\t\t\t\tUtil.debug(\"amountToOrder -> \" + amountToOrder);\r\n\t\t\t\tUtil.debug(\"maximumItems -> \" + maximumItems);\r\n\t\t\t\tbackOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate BACKORDER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating SUPPLIER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"supplier\");\r\n\t\t\tUtil.debug(\"Found SUPPLIER properties: \" + values[0]);\r\n\t\t\t// Inserting Suppliers\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString supplierID = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString address = fields[2];\r\n\t\t\t\tString city = fields[3];\r\n\t\t\t\tString state = fields[4];\r\n\t\t\t\tString zip = fields[5];\r\n\t\t\t\tString phone = fields[6];\r\n\t\t\t\tString url = fields[7];\r\n\t\t\t\tUtil.debug(\"Populating SUPPLIER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tsuppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", - "start_line": 105, - "end_line": 312, - "code_start_line": 105, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.Vector", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.cart", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.catalog", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.backOrderStock", - "length", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.customer", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean.suppliers" - ], - "call_sites": [ + "end_line": 246, + "end_column": 22 + }, { "method_name": "debug", "comment": { - "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", - "start_line": 106, - "end_line": 108, + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 248, + "end_line": 250, "start_column": 3, "end_column": 5, "is_javadoc": false @@ -18118,6 +15483,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Populating BACKORDER table with default values...\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18128,10 +15496,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 109, + "start_line": 251, "start_column": 3, - "end_line": 109, - "end_column": 55 + "end_line": 251, + "end_column": 65 }, { "method_name": "getProperties", @@ -18141,6 +15509,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"backorder\"" + ], "return_type": "", "callee_signature": "getProperties(java.lang.String)", "is_public": true, @@ -18151,9 +15522,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 111, + "start_line": 253, "start_column": 22, - "end_line": 111, + "end_line": 253, "end_column": 52 }, { @@ -18164,6 +15535,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Found BACKORDER properties: \" + values[0]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18174,10 +15548,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, - "start_column": 5, - "end_line": 113, - "end_column": 68 + "start_line": 254, + "start_column": 4, + "end_line": 254, + "end_column": 58 }, { "method_name": "readTokens", @@ -18188,6 +15562,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], "return_type": "", "callee_signature": "readTokens(java.lang.String, java.lang.String)", "is_public": true, @@ -18198,19 +15576,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 114, + "start_line": 257, "start_column": 23, - "end_line": 114, + "end_line": 257, "end_column": 57 }, { - "method_name": "floatValue", + "method_name": "intValue", "comment": null, - "receiver_expr": "new Float(fields[6])", - "receiver_type": "java.lang.Float", + "receiver_expr": "new Integer(fields[1])", + "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "floatValue()", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -18219,19 +15598,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 19, - "end_line": 121, - "end_column": 51 + "start_line": 259, + "start_column": 25, + "end_line": 259, + "end_column": 57 }, { - "method_name": "floatValue", + "method_name": "intValue", "comment": null, - "receiver_expr": "new Float(fields[7])", - "receiver_type": "java.lang.Float", + "receiver_expr": "new Integer(fields[2])", + "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "floatValue()", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -18240,73 +15620,88 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 122, - "start_column": 18, - "end_line": 122, - "end_column": 50 + "start_line": 260, + "start_column": 24, + "end_line": 260, + "end_column": 56 }, { - "method_name": "intValue", + "method_name": "debug", "comment": null, - "receiver_expr": "new Integer(fields[8])", - "receiver_type": "java.lang.Integer", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating BACKORDER with following values: \"" + ], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 123, - "start_column": 20, - "end_line": 123, - "end_column": 52 + "start_line": 261, + "start_column": 5, + "end_line": 261, + "end_column": 63 }, { - "method_name": "intValue", + "method_name": "debug", "comment": null, - "receiver_expr": "new Integer(fields[9])", - "receiver_type": "java.lang.Integer", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "inventoryID" + ], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 20, - "end_line": 124, - "end_column": 52 + "start_line": 262, + "start_column": 5, + "end_line": 262, + "end_column": 27 }, { - "method_name": "booleanValue", + "method_name": "debug", "comment": null, - "receiver_expr": "new Boolean(fields[11])", - "receiver_type": "java.lang.Boolean", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"amountToOrder -> \" + amountToOrder" + ], "return_type": "", - "callee_signature": "booleanValue()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 126, - "start_column": 24, - "end_line": 126, - "end_column": 61 + "start_line": 263, + "start_column": 5, + "end_line": 263, + "end_column": 51 }, { "method_name": "debug", @@ -18316,6 +15711,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maximumItems -> \" + maximumItems" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18326,10 +15724,40 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, + "start_line": 264, "start_column": 5, - "end_line": 127, - "end_column": 63 + "end_line": 264, + "end_column": 49 + }, + { + "method_name": "createBackOrder", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "inventoryID", + "amountToOrder", + "maximumItems" + ], + "return_type": "", + "callee_signature": "createBackOrder(java.lang.String, int, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 265, + "start_column": 5, + "end_line": 265, + "end_column": 76 }, { "method_name": "debug", @@ -18339,6 +15767,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Unable to populate BACKORDER table with text data: \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18349,19 +15780,29 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 5, - "end_line": 128, - "end_column": 25 + "start_line": 268, + "start_column": 4, + "end_line": 268, + "end_column": 72 }, { "method_name": "debug", - "comment": null, + "comment": { + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 270, + "end_line": 272, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Populating SUPPLIER table with default values...\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18372,21 +15813,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, - "start_column": 5, - "end_line": 129, - "end_column": 25 + "start_line": 273, + "start_column": 3, + "end_line": 273, + "end_column": 64 }, { - "method_name": "debug", + "method_name": "getProperties", "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"supplier\"" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "getProperties(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -18395,10 +15839,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, - "start_column": 5, - "end_line": 130, - "end_column": 25 + "start_line": 275, + "start_column": 22, + "end_line": 275, + "end_column": 51 }, { "method_name": "debug", @@ -18408,6 +15852,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Found SUPPLIER properties: \" + values[0]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18418,10 +15865,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, - "start_column": 5, - "end_line": 131, - "end_column": 25 + "start_line": 276, + "start_column": 4, + "end_line": 276, + "end_column": 57 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 279, + "start_column": 23, + "end_line": 279, + "end_column": 57 }, { "method_name": "debug", @@ -18431,6 +15906,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Populating SUPPLIER with following values: \"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18441,10 +15919,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 288, "start_column": 5, - "end_line": 132, - "end_column": 25 + "end_line": 288, + "end_column": 62 }, { "method_name": "debug", @@ -18454,6 +15932,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[0]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18464,9 +15945,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 133, + "start_line": 289, "start_column": 5, - "end_line": 133, + "end_line": 289, "end_column": 25 }, { @@ -18477,6 +15958,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[1]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18487,9 +15971,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, + "start_line": 290, "start_column": 5, - "end_line": 134, + "end_line": 290, "end_column": 25 }, { @@ -18500,6 +15984,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[2]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18510,9 +15997,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, + "start_line": 291, "start_column": 5, - "end_line": 135, + "end_line": 291, "end_column": 25 }, { @@ -18523,6 +16010,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[3]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18533,9 +16023,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 136, + "start_line": 292, "start_column": 5, - "end_line": 136, + "end_line": 292, "end_column": 25 }, { @@ -18546,6 +16036,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[4]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18556,9 +16049,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 137, + "start_line": 293, "start_column": 5, - "end_line": 137, + "end_line": 293, "end_column": 25 }, { @@ -18569,6 +16062,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[5]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18579,10 +16075,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 138, + "start_line": 294, "start_column": 5, - "end_line": 138, - "end_column": 26 + "end_line": 294, + "end_column": 25 }, { "method_name": "debug", @@ -18592,6 +16088,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[6]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18602,46 +16101,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, + "start_line": 295, "start_column": 5, - "end_line": 139, - "end_column": 26 + "end_line": 295, + "end_column": 25 }, { - "method_name": "addItem", + "method_name": "debug", "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" ], "return_type": "", - "callee_signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 296, "start_column": 5, - "end_line": 142, - "end_column": 30 + "end_line": 296, + "end_column": 25 }, { - "method_name": "addImage", + "method_name": "createSupplier", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "suppliers", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [ "java.lang.String", "java.lang.String", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr" + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "supplierID", + "name", + "address", + "city", + "state", + "zip", + "phone", + "url" ], "return_type": "", - "callee_signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "callee_signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -18650,10 +16167,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, + "start_line": 297, "start_column": 5, - "end_line": 143, - "end_column": 32 + "end_line": 297, + "end_column": 85 }, { "method_name": "debug", @@ -18663,6 +16180,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Unable to populate SUPPLIER table with text data: \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -18673,1376 +16193,1593 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, + "start_line": 300, "start_column": 4, - "end_line": 145, - "end_column": 55 + "end_line": 300, + "end_column": 71 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "java.lang.Float", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "fields[6]" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 147, - "start_column": 4, - "end_line": 147, - "end_column": 72 + "start_line": 116, + "start_column": 19, + "end_line": 116, + "end_column": 38 }, { - "method_name": "printStackTrace", + "method_name": "", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.lang.Float", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 148, - "start_column": 4, - "end_line": 148, - "end_column": 22 + "start_line": 117, + "start_column": 18, + "end_line": 117, + "end_column": 37 }, { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", - "start_line": 150, - "end_line": 152, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "fields[8]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 153, - "start_column": 3, - "end_line": 153, - "end_column": 64 + "start_line": 118, + "start_column": 20, + "end_line": 118, + "end_column": 41 }, { - "method_name": "getProperties", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, + "argument_expr": [ + "fields[9]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 155, - "start_column": 22, - "end_line": 155, - "end_column": 51 + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 41 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "java.lang.Boolean", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "fields[11]" + ], + "return_type": "java.lang.Boolean", + "callee_signature": "Boolean(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 156, - "start_column": 4, - "end_line": 156, - "end_column": 57 + "start_line": 121, + "start_column": 24, + "end_line": 121, + "end_column": 46 }, { - "method_name": "readTokens", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "", + "", + "", + "java.lang.String", + "" + ], + "argument_expr": [ + "id", + "name", + "heading", + "descr", + "pkginfo", + "image", + "price", + "cost", + "quantity", + "category", + "notes", + "isPublic" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 27, + "end_line": 136, + "end_column": 32 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Vector", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Vector", + "callee_signature": "Vector()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 211, + "start_column": 33, + "end_line": 211, + "end_column": 55 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, + "argument_expr": [ + "fields[1]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 158, - "start_column": 23, - "end_line": 158, + "start_line": 259, + "start_column": 25, + "end_line": 259, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 260, + "start_column": 24, + "end_line": 260, + "end_column": 45 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"inventory\")", + "start_line": 106, + "start_column": 13, + "end_line": 106, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 107, + "start_column": 13, + "end_line": 107, + "end_column": 21 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 109, + "start_column": 14, + "end_line": 109, "end_column": 57 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 169, - "start_column": 5, - "end_line": 169, - "end_column": 62 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "id", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 110, + "start_column": 12, + "end_line": 110, + "end_column": 25 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "name", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 111, + "start_column": 12, + "end_line": 111, + "end_column": 27 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "heading", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 112, + "start_column": 12, + "end_line": 112, + "end_column": 30 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "descr", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 113, + "start_column": 12, + "end_line": 113, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "pkginfo", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 114, + "start_column": 12, + "end_line": 114, + "end_column": 30 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "image", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 115, + "start_column": 12, + "end_line": 115, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "float", + "initializer": "new Float(fields[6]).floatValue()", + "start_line": 116, + "start_column": 11, + "end_line": 116, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cost", + "type": "float", + "initializer": "new Float(fields[7]).floatValue()", + "start_line": 117, + "start_column": 11, + "end_line": 117, + "end_column": 50 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "int", + "initializer": "new Integer(fields[8]).intValue()", + "start_line": 118, + "start_column": 9, + "end_line": 118, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "category", + "type": "int", + "initializer": "new Integer(fields[9]).intValue()", + "start_line": 119, + "start_column": 9, + "end_line": 119, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "notes", + "type": "java.lang.String", + "initializer": "fields[10]", + "start_line": 120, + "start_column": 12, + "end_line": 120, + "end_column": 29 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "isPublic", + "type": "boolean", + "initializer": "new Boolean(fields[11]).booleanValue()", + "start_line": 121, + "start_column": 13, + "end_line": 121, + "end_column": 61 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "storeItem", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic)", + "start_line": 135, + "start_column": 15, + "end_line": 136, + "end_column": 32 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 170, - "start_column": 5, - "end_line": 170, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"customer\")", + "start_line": 149, + "start_column": 13, + "end_line": 149, + "end_column": 51 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 171, - "start_column": 5, - "end_line": 171, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 151, + "start_column": 13, + "end_line": 151, + "end_column": 21 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 172, - "start_column": 5, - "end_line": 172, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 152, + "start_column": 14, + "end_line": 152, + "end_column": 57 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 5, - "end_line": 173, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customerID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 153, + "start_column": 12, + "end_line": 153, + "end_column": 33 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 174, - "start_column": 5, - "end_line": 174, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "password", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 154, + "start_column": 12, + "end_line": 154, + "end_column": 31 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 175, - "start_column": 5, - "end_line": 175, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "firstName", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 155, + "start_column": 12, + "end_line": 155, + "end_column": 32 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 5, - "end_line": 176, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lastName", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 156, + "start_column": 12, + "end_line": 156, + "end_column": 31 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 5, - "end_line": 177, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr1", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 157, + "start_column": 12, + "end_line": 157, + "end_column": 28 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 178, - "start_column": 5, - "end_line": 178, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr2", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 158, + "start_column": 12, + "end_line": 158, + "end_column": 28 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 179, - "start_column": 5, - "end_line": 179, - "end_column": 25 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrCity", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 159, + "start_column": 12, + "end_line": 159, + "end_column": 31 }, { - "method_name": "createCustomer", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 180, - "start_column": 5, - "end_line": 180, - "end_column": 121 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrState", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 160, + "start_column": 12, + "end_line": 160, + "end_column": 32 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 183, - "start_column": 4, - "end_line": 183, - "end_column": 71 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrZip", + "type": "java.lang.String", + "initializer": "fields[8]", + "start_line": 161, + "start_column": 12, + "end_line": 161, + "end_column": 30 }, { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "fields[9]", + "start_line": 162, + "start_column": 12, + "end_line": 162, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"order\")", "start_line": 184, - "start_column": 4, + "start_column": 13, "end_line": 184, + "end_column": 48 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 187, + "start_column": 14, + "end_line": 187, "end_column": 22 }, { - "method_name": "debug", "comment": { - "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", - "start_line": 186, - "end_line": 188, - "start_column": 3, - "end_column": 5, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 189, - "start_column": 3, - "end_line": 189, - "end_column": 61 + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 188, + "start_column": 15, + "end_line": 188, + "end_column": 58 }, { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customerID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 190, + "start_column": 14, + "end_line": 190, + "end_column": 35 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billName", + "type": "java.lang.String", + "initializer": "fields[1]", "start_line": 191, - "start_column": 22, + "start_column": 14, "end_line": 191, - "end_column": 48 + "end_column": 33 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billAddr1", + "type": "java.lang.String", + "initializer": "fields[2]", "start_line": 192, - "start_column": 4, + "start_column": 14, "end_line": 192, - "end_column": 54 + "end_column": 34 }, { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billAddr2", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 193, + "start_column": 14, + "end_line": 193, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billCity", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 194, + "start_column": 14, + "end_line": 194, + "end_column": 33 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billState", + "type": "java.lang.String", + "initializer": "fields[5]", "start_line": 195, - "start_column": 24, + "start_column": 14, "end_line": 195, - "end_column": 58 + "end_column": 34 }, { - "method_name": "parseInt", - "comment": null, - "receiver_expr": "Integer", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "parseInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 212, - "start_column": 28, - "end_line": 212, - "end_column": 55 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billZip", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 196, + "start_column": 14, + "end_line": 196, + "end_column": 32 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 219, - "start_column": 7, - "end_line": 219, - "end_column": 61 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billPhone", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 197, + "start_column": 14, + "end_line": 197, + "end_column": 34 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 220, - "start_column": 7, - "end_line": 220, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipName", + "type": "java.lang.String", + "initializer": "fields[8]", + "start_line": 198, + "start_column": 14, + "end_line": 198, + "end_column": 33 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 221, - "start_column": 7, - "end_line": 221, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipAddr1", + "type": "java.lang.String", + "initializer": "fields[9]", + "start_line": 199, + "start_column": 14, + "end_line": 199, + "end_column": 34 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 222, - "start_column": 7, - "end_line": 222, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipAddr2", + "type": "java.lang.String", + "initializer": "fields[10]", + "start_line": 200, + "start_column": 14, + "end_line": 200, + "end_column": 35 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 223, - "start_column": 7, - "end_line": 223, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipCity", + "type": "java.lang.String", + "initializer": "fields[11]", + "start_line": 201, + "start_column": 14, + "end_line": 201, + "end_column": 34 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 224, - "start_column": 7, - "end_line": 224, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipState", + "type": "java.lang.String", + "initializer": "fields[12]", + "start_line": 202, + "start_column": 14, + "end_line": 202, + "end_column": 35 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipZip", + "type": "java.lang.String", + "initializer": "fields[13]", + "start_line": 203, + "start_column": 14, + "end_line": 203, + "end_column": 33 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipPhone", + "type": "java.lang.String", + "initializer": "fields[14]", + "start_line": 204, + "start_column": 14, + "end_line": 204, + "end_column": 35 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shippingMethod", + "type": "int", + "initializer": "Integer.parseInt(fields[15])", + "start_line": 205, + "start_column": 11, + "end_line": 205, + "end_column": 55 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 225, - "start_column": 7, - "end_line": 225, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "creditCard", + "type": "java.lang.String", + "initializer": "fields[16]", + "start_line": 206, + "start_column": 14, + "end_line": 206, + "end_column": 36 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 226, - "start_column": 7, - "end_line": 226, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccNum", + "type": "java.lang.String", + "initializer": "fields[17]", + "start_line": 207, + "start_column": 14, + "end_line": 207, + "end_column": 31 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 227, - "start_column": 7, - "end_line": 227, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccExpireMonth", + "type": "java.lang.String", + "initializer": "fields[18]", + "start_line": 208, + "start_column": 14, + "end_line": 208, + "end_column": 39 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 228, - "start_column": 7, - "end_line": 228, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccExpireYear", + "type": "java.lang.String", + "initializer": "fields[19]", + "start_line": 209, + "start_column": 14, + "end_line": 209, + "end_column": 38 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 229, - "start_column": 7, - "end_line": 229, - "end_column": 27 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cardHolder", + "type": "java.lang.String", + "initializer": "fields[20]", + "start_line": 210, + "start_column": 14, + "end_line": 210, + "end_column": 36 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 230, - "start_column": 7, - "end_line": 230, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "items", + "type": "java.util.Vector", + "initializer": "new Vector()", + "start_line": 211, + "start_column": 25, + "end_line": 211, + "end_column": 55 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 231, - "start_column": 7, - "end_line": 231, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"backorder\")", + "start_line": 253, + "start_column": 13, + "end_line": 253, + "end_column": 52 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 232, - "start_column": 7, - "end_line": 232, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 256, + "start_column": 13, + "end_line": 256, + "end_column": 21 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 7, - "end_line": 233, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 257, + "start_column": 14, + "end_line": 257, + "end_column": 57 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 234, - "start_column": 7, - "end_line": 234, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 258, + "start_column": 12, + "end_line": 258, + "end_column": 34 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 235, - "start_column": 7, - "end_line": 235, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "amountToOrder", + "type": "int", + "initializer": "new Integer(fields[1]).intValue()", + "start_line": 259, + "start_column": 9, + "end_line": 259, + "end_column": 57 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 236, - "start_column": 7, - "end_line": 236, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "maximumItems", + "type": "int", + "initializer": "new Integer(fields[2]).intValue()", + "start_line": 260, + "start_column": 9, + "end_line": 260, + "end_column": 56 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 237, - "start_column": 7, - "end_line": 237, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"supplier\")", + "start_line": 275, + "start_column": 13, + "end_line": 275, + "end_column": 51 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 238, - "start_column": 7, - "end_line": 238, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 278, + "start_column": 13, + "end_line": 278, + "end_column": 21 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 239, - "start_column": 7, - "end_line": 239, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 279, + "start_column": 14, + "end_line": 279, + "end_column": 57 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 240, - "start_column": 7, - "end_line": 240, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "supplierID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 280, + "start_column": 12, + "end_line": 280, + "end_column": 33 }, { - "method_name": "createOrder", - "comment": null, - "receiver_expr": "cart", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "java.util.Vector" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 241, - "start_column": 7, - "end_line": 241, - "end_column": 263 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "name", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 281, + "start_column": 12, + "end_line": 281, + "end_column": 27 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 243, - "start_column": 7, - "end_line": 243, - "end_column": 77 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "address", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 282, + "start_column": 12, + "end_line": 282, + "end_column": 30 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 244, - "start_column": 7, - "end_line": 244, - "end_column": 48 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "city", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 283, + "start_column": 12, + "end_line": 283, + "end_column": 27 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 4, - "end_line": 252, - "end_column": 72 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "state", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 284, + "start_column": 12, + "end_line": 284, + "end_column": 28 }, { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 253, - "start_column": 4, - "end_line": 253, - "end_column": 22 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "zip", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 285, + "start_column": 12, + "end_line": 285, + "end_column": 26 }, { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 254, - "start_column": 4, - "end_line": 254, - "end_column": 22 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 286, + "start_column": 12, + "end_line": 286, + "end_column": 28 }, { - "method_name": "debug", "comment": { - "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", - "start_line": 256, - "end_line": 258, - "start_column": 3, - "end_column": 5, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 259, + "name": "url", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 287, + "start_column": 12, + "end_line": 287, + "end_column": 26 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 16, + "is_entrypoint": false + }, + "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/Populate.java", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "comments": [ + { + "content": " Open the input file as a stream of bytes", + "start_line": 82, + "end_line": 82, "start_column": 3, - "end_line": 259, - "end_column": 65 + "end_column": 45, + "is_javadoc": false }, { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 261, - "start_column": 22, - "end_line": 261, - "end_column": 52 + "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", + "start_line": 67, + "end_line": 73, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [ + "java.io.FileNotFoundException", + "java.io.IOException" + ], + "declaration": "public static void addImage(String itemID, String fileName, CatalogMgr catalog) throws FileNotFoundException, IOException", + "parameters": [ + { + "type": "java.lang.String", + "name": "itemID", + "annotations": [], + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 30, + "end_column": 42 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 262, + "type": "java.lang.String", + "name": "fileName", + "annotations": [], + "modifiers": [], + "start_line": 75, + "end_line": 75, "start_column": 4, - "end_line": 262, - "end_column": 58 + "end_column": 18 }, { - "method_name": "readTokens", + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "name": "catalog", + "annotations": [], + "modifiers": [], + "start_line": 76, + "end_line": 76, + "start_column": 4, + "end_column": 21 + } + ], + "code": "{\r\n\t\tURL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\r\n\t\tUtil.debug(\"URL: \" + url);\r\n\t\tfileName = url.getPath();\r\n\t\tUtil.debug(\"Fully-qualified Filename: \" + fileName);\r\n\t\tFile imgFile = new File(fileName);\r\n\t\t// Open the input file as a stream of bytes\r\n\t\tFileInputStream fis = new FileInputStream(imgFile);\r\n\t\tDataInputStream dis = new DataInputStream(fis);\r\n\t\tint dataSize = dis.available();\r\n\t\tbyte[] data = new byte[dataSize];\r\n\t\tdis.readFully(data);\r\n\t\tcatalog.setItemImageBytes(itemID, data);\r\n\t}", + "start_line": 74, + "end_line": 89, + "code_start_line": 76, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.io.DataInputStream", + "java.net.URL", + "java.io.FileInputStream", + "java.io.File" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.Populate.catalog" + ], + "call_sites": [ + { + "method_name": "getResource", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "Thread.currentThread().getContextClassLoader()", + "receiver_type": "java.lang.ClassLoader", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "argument_expr": [ + "\"resources/images/\" + fileName" + ], + "return_type": "java.net.URL", + "callee_signature": "getResource(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 265, - "start_column": 23, - "end_line": 265, - "end_column": 57 + "start_line": 77, + "start_column": 13, + "end_line": 77, + "end_column": 102 }, { - "method_name": "intValue", + "method_name": "getContextClassLoader", "comment": null, - "receiver_expr": "new Integer(fields[1])", - "receiver_type": "java.lang.Integer", + "receiver_expr": "Thread.currentThread()", + "receiver_type": "java.lang.Thread", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.lang.ClassLoader", + "callee_signature": "getContextClassLoader()", "is_public": true, "is_protected": false, "is_private": false, @@ -20051,31 +17788,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 267, - "start_column": 25, - "end_line": 267, - "end_column": 57 + "start_line": 77, + "start_column": 13, + "end_line": 77, + "end_column": 58 }, { - "method_name": "intValue", + "method_name": "currentThread", "comment": null, - "receiver_expr": "new Integer(fields[2])", - "receiver_type": "java.lang.Integer", + "receiver_expr": "Thread", + "receiver_type": "java.lang.Thread", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.lang.Thread", + "callee_signature": "currentThread()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 268, - "start_column": 24, - "end_line": 268, - "end_column": 56 + "start_line": 77, + "start_column": 13, + "end_line": 77, + "end_column": 34 }, { "method_name": "debug", @@ -20085,6 +17823,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"URL: \" + url" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -20095,10 +17836,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 269, - "start_column": 5, - "end_line": 269, - "end_column": 63 + "start_line": 78, + "start_column": 3, + "end_line": 78, + "end_column": 27 + }, + { + "method_name": "getPath", + "comment": null, + "receiver_expr": "url", + "receiver_type": "java.net.URL", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPath()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 79, + "start_column": 14, + "end_line": 79, + "end_column": 26 }, { "method_name": "debug", @@ -20108,6 +17871,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Fully-qualified Filename: \" + fileName" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -20118,69 +17884,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 270, - "start_column": 5, - "end_line": 270, - "end_column": 27 + "start_line": 80, + "start_column": 3, + "end_line": 80, + "end_column": 53 }, { - "method_name": "debug", + "method_name": "available", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "dis", + "receiver_type": "java.io.DataInputStream", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "available()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 271, - "start_column": 5, - "end_line": 271, - "end_column": 51 + "start_line": 85, + "start_column": 18, + "end_line": 85, + "end_column": 32 }, { - "method_name": "debug", + "method_name": "readFully", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "dis", + "receiver_type": "java.io.DataInputStream", "argument_types": [ - "java.lang.String" + "" + ], + "argument_expr": [ + "data" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "readFully(byte[])", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 272, - "start_column": 5, - "end_line": 272, - "end_column": 49 + "start_line": 87, + "start_column": 3, + "end_line": 87, + "end_column": 21 }, { - "method_name": "createBackOrder", + "method_name": "setItemImageBytes", "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ "java.lang.String", - "", "" ], + "argument_expr": [ + "itemID", + "data" + ], "return_type": "", - "callee_signature": "createBackOrder(java.lang.String, int, int)", + "callee_signature": "setItemImageBytes(java.lang.String, byte[])", "is_public": true, "is_protected": false, "is_private": false, @@ -20189,379 +17960,688 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 273, - "start_column": 5, - "end_line": 273, - "end_column": 76 + "start_line": 88, + "start_column": 3, + "end_line": 88, + "end_column": 41 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "java.io.File", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "fileName" + ], + "return_type": "java.io.File", + "callee_signature": "File(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 276, - "start_column": 4, - "end_line": 276, - "end_column": 72 + "start_line": 81, + "start_column": 18, + "end_line": 81, + "end_column": 35 }, { - "method_name": "printStackTrace", + "method_name": "", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.io.FileInputStream", + "argument_types": [ + "java.io.File" + ], + "argument_expr": [ + "imgFile" + ], + "return_type": "java.io.FileInputStream", + "callee_signature": "FileInputStream(java.io.File)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 277, - "start_column": 4, - "end_line": 277, - "end_column": 22 + "start_line": 83, + "start_column": 25, + "end_line": 83, + "end_column": 52 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.DataInputStream", + "argument_types": [ + "java.io.FileInputStream" + ], + "argument_expr": [ + "fis" + ], + "return_type": "java.io.DataInputStream", + "callee_signature": "DataInputStream(java.io.InputStream)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 84, + "start_column": 25, + "end_line": 84, + "end_column": 48 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.net.URL", + "initializer": "Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName)", + "start_line": 77, + "start_column": 7, + "end_line": 77, + "end_column": 102 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "imgFile", + "type": "java.io.File", + "initializer": "new File(fileName)", + "start_line": 81, + "start_column": 8, + "end_line": 81, + "end_column": 35 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fis", + "type": "java.io.FileInputStream", + "initializer": "new FileInputStream(imgFile)", + "start_line": 83, + "start_column": 19, + "end_line": 83, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "dis", + "type": "java.io.DataInputStream", + "initializer": "new DataInputStream(fis)", + "start_line": 84, + "start_column": 19, + "end_line": 84, + "end_column": 48 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "dataSize", + "type": "int", + "initializer": "dis.available()", + "start_line": 85, + "start_column": 7, + "end_line": 85, + "end_column": 32 }, { - "method_name": "debug", - "comment": { - "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", - "start_line": 279, - "end_line": 281, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 282, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "data", + "type": "byte[]", + "initializer": "new byte[dataSize]", + "start_line": 86, + "start_column": 10, + "end_line": 86, + "end_column": 34 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "start_line": 41, + "end_line": 41, + "variables": [ + "resetDB" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "start_line": 43, + "end_line": 43, + "variables": [ + "catalog" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "start_line": 45, + "end_line": 45, + "variables": [ + "login" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "start_line": 47, + "end_line": 47, + "variables": [ + "cart" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "start_line": 49, + "end_line": 49, + "variables": [ + "backOrderStock" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "start_line": 51, + "end_line": 51, + "variables": [ + "suppliers" + ], + "modifiers": [ + "private" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * This class sends the email confirmation message.\r\n ", + "start_line": 27, + "end_line": 29, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 32, + "end_line": 34, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Public constructor ", + "start_line": 40, + "end_line": 40, + "start_column": 2, + "end_column": 26, + "is_javadoc": true + }, + { + "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", + "start_line": 44, + "end_line": 51, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " The MailerAppException will be ignored since mail may not be configured.", + "start_line": 58, + "end_line": 58, + "start_column": 3, + "end_column": 77, + "is_javadoc": false + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "javax.inject.Inject", + "javax.inject.Named", + "com.ibm.websphere.samples.pbw.bean.MailerAppException", + "com.ibm.websphere.samples.pbw.bean.MailerBean", + "com.ibm.websphere.samples.pbw.jpa.Customer", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.MailAction": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 32, + "end_line": 34, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Public constructor ", + "start_line": 40, + "end_line": 40, + "start_column": 2, + "end_column": 26, + "is_javadoc": true + }, + { + "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", + "start_line": 44, + "end_line": 51, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " The MailerAppException will be ignored since mail may not be configured.", + "start_line": 58, + "end_line": 58, + "start_column": 3, + "end_column": 77, + "is_javadoc": false + }, + { + "content": "\r\n * This class sends the email confirmation message.\r\n ", + "start_line": 27, + "end_line": 29, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(\"mailaction\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", + "signature": "sendConfirmationMessage(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "comments": [ + { + "content": " The MailerAppException will be ignored since mail may not be configured.", + "start_line": 58, + "end_line": 58, "start_column": 3, - "end_line": 282, - "end_column": 64 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 284, - "start_column": 22, - "end_line": 284, - "end_column": 51 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 285, - "start_column": 4, - "end_line": 285, - "end_column": 57 - }, - { - "method_name": "readTokens", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 288, - "start_column": 23, - "end_line": 288, - "end_column": 57 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 297, - "start_column": 5, - "end_line": 297, - "end_column": 62 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 298, - "start_column": 5, - "end_line": 298, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 299, - "start_column": 5, - "end_line": 299, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 300, - "start_column": 5, - "end_line": 300, - "end_column": 25 + "end_column": 77, + "is_javadoc": false }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 301, - "start_column": 5, - "end_line": 301, - "end_column": 25 - }, + "content": "\r\n\t * Send the email order confirmation message.\r\n\t *\r\n\t * @param customer\r\n\t * The customer information.\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t ", + "start_line": 44, + "end_line": 51, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public", + "final" + ], + "thrown_exceptions": [], + "declaration": "public final void sendConfirmationMessage(Customer customer, String orderKey)", + "parameters": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 302, - "start_column": 5, - "end_line": 302, - "end_column": 25 + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "name": "customer", + "annotations": [], + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 44, + "end_column": 60 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 303, - "start_column": 5, - "end_line": 303, - "end_column": 25 - }, + "type": "java.lang.String", + "name": "orderKey", + "annotations": [], + "modifiers": [], + "start_line": 53, + "end_line": 53, + "start_column": 4, + "end_column": 18 + } + ], + "code": "{\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"mailer=\" + mailer);\r\n\t\t\tmailer.createAndSendMail(customer, orderKey);\r\n\t\t}\r\n\t\t// The MailerAppException will be ignored since mail may not be configured.\r\n\t\tcatch (MailerAppException e) {\r\n\t\t\tUtil.debug(\"Mailer threw exception, mail may not be configured. Exception:\" + e);\r\n\t\t}\r\n\t}", + "start_line": 52, + "end_line": 62, + "code_start_line": 53, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.io.PrintStream" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.MailAction.mailer", + "java.lang.System.out" + ], + "call_sites": [ { - "method_name": "debug", + "method_name": "println", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "System.out", + "receiver_type": "java.io.PrintStream", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 304, - "start_column": 5, - "end_line": 304, - "end_column": 25 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "\"mailer=\" + mailer" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "println(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 305, - "start_column": 5, - "end_line": 305, - "end_column": 25 + "start_line": 55, + "start_column": 4, + "end_line": 55, + "end_column": 41 }, { - "method_name": "createSupplier", + "method_name": "createAndSendMail", "comment": null, - "receiver_expr": "suppliers", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "receiver_expr": "mailer", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer", "java.lang.String" ], + "argument_expr": [ + "customer", + "orderKey" + ], "return_type": "", - "callee_signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callee_signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -20570,10 +18650,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 306, - "start_column": 5, - "end_line": 306, - "end_column": 85 + "start_line": 56, + "start_column": 4, + "end_line": 56, + "end_column": 47 }, { "method_name": "debug", @@ -20583,6 +18663,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Mailer threw exception, mail may not be configured. Exception:\" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -20593,607 +18676,591 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 309, - "start_column": 4, - "end_line": 309, - "end_column": 71 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 310, + "start_line": 60, "start_column": 4, - "end_line": 310, - "end_column": 22 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 19, - "end_line": 121, - "end_column": 38 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 18, - "end_line": 122, - "end_column": 37 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 20, - "end_line": 123, - "end_column": 41 - }, + "end_line": 60, + "end_column": 83 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/MailAction.java", + "signature": "()", + "comments": [ { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 20, - "end_line": 124, - "end_column": 41 - }, + "content": " Public constructor ", + "start_line": 40, + "end_line": 40, + "start_column": 2, + "end_column": 26, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public MailAction()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 41, + "end_line": 42, + "code_start_line": 41, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 32, + "end_line": 34, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 35, + "end_line": 35, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "start_line": 37, + "end_line": 38, + "variables": [ + "mailer" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Bean implementation class for Enterprise Bean: Suppliers\r\n ", + "start_line": 31, + "end_line": 33, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", + "start_line": 40, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return Supplier\r\n\t ", + "start_line": 73, + "end_line": 75, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Retrieve the first Supplier Info", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 37, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 93, + "end_line": 103, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Create a new Supplier if there is NOT an existing Supplier.", + "start_line": 117, + "end_line": 117, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", + "start_line": 118, + "end_line": 118, + "start_column": 5, + "end_column": 87, + "is_javadoc": false + }, + { + "content": "\r\n\t * @return suppliers\r\n\t ", + "start_line": 136, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "java.util.Collection", + "java.util.Iterator", + "javax.enterprise.context.Dependent", + "javax.persistence.EntityManager", + "javax.persistence.PersistenceContext", + "javax.persistence.Query", + "com.ibm.websphere.samples.pbw.jpa.Supplier", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.SuppliersBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", + "start_line": 40, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return Supplier\r\n\t ", + "start_line": 73, + "end_line": 75, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Retrieve the first Supplier Info", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 37, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 93, + "end_line": 103, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Create a new Supplier if there is NOT an existing Supplier.", + "start_line": 117, + "end_line": 117, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", + "start_line": 118, + "end_line": 118, + "start_column": 5, + "end_column": 87, + "is_javadoc": false + }, + { + "content": "\r\n\t * @return suppliers\r\n\t ", + "start_line": 136, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * Bean implementation class for Enterprise Bean: Suppliers\r\n ", + "start_line": 31, + "end_line": 33, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Dependent" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getSupplier()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "signature": "getSupplier()", + "comments": [ { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Boolean", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Boolean", - "callee_signature": "Boolean(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 24, - "end_line": 126, - "end_column": 46 + "content": " Retrieve the first Supplier Info", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 37, + "is_javadoc": false }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "", - "", - "", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 27, - "end_line": 141, - "end_column": 32 - }, + "content": "\r\n\t * @return Supplier\r\n\t ", + "start_line": 73, + "end_line": 75, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier getSupplier()", + "parameters": [], + "code": "{\r\n\t\t// Retrieve the first Supplier Info\r\n\t\ttry {\r\n\t\t\tCollection suppliers = this.findSuppliers();\r\n\t\t\tif (suppliers != null) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.getSupplierInfo() - Supplier found!\");\r\n\t\t\t\tIterator i = suppliers.iterator();\r\n\t\t\t\tif (i.hasNext()) {\r\n\t\t\t\t\treturn (Supplier) i.next();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"AdminServlet.getSupplierInfo() - Exception:\" + e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", + "start_line": 76, + "end_line": 91, + "code_start_line": 76, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Iterator", + "java.util.Collection" + ], + "accessed_fields": [], + "call_sites": [ { - "method_name": "", + "method_name": "findSuppliers", "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Vector", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", "argument_types": [], - "return_type": "java.util.Vector", - "callee_signature": "Vector()", + "argument_expr": [], + "return_type": "java.util.Collection", + "callee_signature": "findSuppliers()", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 218, - "start_column": 33, - "end_line": 218, - "end_column": 55 + "start_line": 79, + "start_column": 37, + "end_line": 79, + "end_column": 56 }, { - "method_name": "", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 267, - "start_column": 25, - "end_line": 267, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "\"AdminServlet.getSupplierInfo() - Supplier found!\"" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 268, - "start_column": 24, - "end_line": 268, - "end_column": 45 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"inventory\")", - "start_line": 111, - "start_column": 13, - "end_line": 111, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 112, - "start_column": 13, - "end_line": 112, - "end_column": 21 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 114, - "start_column": 14, - "end_line": 114, - "end_column": 57 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "id", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 115, - "start_column": 12, - "end_line": 115, - "end_column": 25 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 116, - "start_column": 12, - "end_line": 116, - "end_column": 27 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "heading", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 117, - "start_column": 12, - "end_line": 117, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "descr", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 118, - "start_column": 12, - "end_line": 118, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "pkginfo", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 119, - "start_column": 12, - "end_line": 119, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "image", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 120, - "start_column": 12, - "end_line": 120, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "price", - "type": "float", - "initializer": "new Float(fields[6]).floatValue()", - "start_line": 121, - "start_column": 11, - "end_line": 121, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cost", - "type": "float", - "initializer": "new Float(fields[7]).floatValue()", - "start_line": 122, - "start_column": 11, - "end_line": 122, - "end_column": 50 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "int", - "initializer": "new Integer(fields[8]).intValue()", - "start_line": 123, - "start_column": 9, - "end_line": 123, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "category", - "type": "int", - "initializer": "new Integer(fields[9]).intValue()", - "start_line": 124, - "start_column": 9, - "end_line": 124, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "notes", - "type": "java.lang.String", - "initializer": "fields[10]", - "start_line": 125, - "start_column": 12, - "end_line": 125, - "end_column": 29 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "isPublic", - "type": "boolean", - "initializer": "new Boolean(fields[11]).booleanValue()", - "start_line": 126, - "start_column": 13, - "end_line": 126, - "end_column": 61 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "storeItem", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic)", - "start_line": 140, - "start_column": 15, - "end_line": 141, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"customer\")", - "start_line": 155, - "start_column": 13, - "end_line": 155, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 157, - "start_column": 13, - "end_line": 157, - "end_column": 21 + "start_line": 81, + "start_column": 5, + "end_line": 81, + "end_column": 66 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 158, - "start_column": 14, - "end_line": 158, - "end_column": 57 + "method_name": "iterator", + "comment": null, + "receiver_expr": "suppliers", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 82, + "start_column": 28, + "end_line": 82, + "end_column": 47 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customerID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 159, - "start_column": 12, - "end_line": 159, - "end_column": 33 + "method_name": "hasNext", + "comment": null, + "receiver_expr": "i", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 83, + "start_column": 9, + "end_line": 83, + "end_column": 19 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "password", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 160, - "start_column": 12, - "end_line": 160, + "method_name": "next", + "comment": null, + "receiver_expr": "i", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 84, + "start_column": 24, + "end_line": 84, "end_column": 31 }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.getSupplierInfo() - Exception:\" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 88, + "start_column": 4, + "end_line": 88, + "end_column": 64 + } + ], + "variable_declarations": [ { "comment": { "content": null, @@ -21203,13 +19270,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "firstName", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 161, - "start_column": 12, - "end_line": 161, - "end_column": 32 + "name": "suppliers", + "type": "java.util.Collection", + "initializer": "this.findSuppliers()", + "start_line": 79, + "start_column": 25, + "end_line": 79, + "end_column": 56 }, { "comment": { @@ -21220,269 +19287,349 @@ "end_column": -1, "is_javadoc": false }, - "name": "lastName", + "name": "i", + "type": "java.util.Iterator", + "initializer": "suppliers.iterator()", + "start_line": 82, + "start_column": 24, + "end_line": 82, + "end_column": 47 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", + "start_line": 40, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void createSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", + "parameters": [ + { "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 162, - "start_column": 12, - "end_line": 162, - "end_column": 31 + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 29, + "end_column": 45 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr1", "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 163, - "start_column": 12, - "end_line": 163, - "end_column": 28 + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 51, + "end_line": 51, + "start_column": 4, + "end_column": 14 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addr2", "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 164, - "start_column": 12, - "end_line": 164, - "end_column": 28 + "name": "street", + "annotations": [], + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 4, + "end_column": 16 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrCity", "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 165, - "start_column": 12, - "end_line": 165, - "end_column": 31 + "name": "city", + "annotations": [], + "modifiers": [], + "start_line": 53, + "end_line": 53, + "start_column": 4, + "end_column": 14 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrState", "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 166, - "start_column": 12, - "end_line": 166, - "end_column": 32 + "name": "state", + "annotations": [], + "modifiers": [], + "start_line": 54, + "end_line": 54, + "start_column": 4, + "end_column": 15 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "addrZip", "type": "java.lang.String", - "initializer": "fields[8]", - "start_line": 167, - "start_column": 12, - "end_line": 167, - "end_column": 30 + "name": "zip", + "annotations": [], + "modifiers": [], + "start_line": 55, + "end_line": 55, + "start_column": 4, + "end_column": 13 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", "type": "java.lang.String", - "initializer": "fields[9]", - "start_line": 168, - "start_column": 12, - "end_line": 168, - "end_column": 28 + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 4, + "end_column": 15 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"order\")", - "start_line": 191, - "start_column": 13, - "end_line": 191, - "end_column": 48 - }, + "type": "java.lang.String", + "name": "url", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 4, + "end_column": 13 + } + ], + "code": "{\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Entered\");\r\n\t\t\tSupplier supplier = null;\r\n\t\t\tsupplier = em.find(Supplier.class, supplierID);\r\n\t\t\tif (supplier == null) {\r\n\t\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - supplier doesn't exist.\");\r\n\t\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Creating Supplier for SupplierID: \" + supplierID);\r\n\t\t\t\tsupplier = new Supplier(supplierID, name, street, city, state, zip, phone, url);\r\n\t\t\t\tem.persist(supplier);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\r\n\t\t}\r\n\t}", + "start_line": 50, + "end_line": 71, + "code_start_line": 57, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" + ], + "call_sites": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 194, - "start_column": 14, - "end_line": 194, - "end_column": 22 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.createSupplier() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 59, + "start_column": 4, + "end_line": 59, + "end_column": 57 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Supplier.class", + "supplierID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 61, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 195, + "crud_query": null, + "start_line": 61, "start_column": 15, - "end_line": 195, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customerID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 197, - "start_column": 14, - "end_line": 197, - "end_column": 35 + "end_line": 61, + "end_column": 49 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billName", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 198, - "start_column": 14, - "end_line": 198, - "end_column": 33 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.createSupplier() - supplier doesn't exist.\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 5, + "end_line": 63, + "end_column": 74 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billAddr1", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 199, - "start_column": 14, - "end_line": 199, - "end_column": 34 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.createSupplier() - Creating Supplier for SupplierID: \" + supplierID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 64, + "start_column": 5, + "end_line": 64, + "end_column": 98 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false + "method_name": "persist", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier" + ], + "argument_expr": [ + "supplier" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 66, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null }, - "name": "billAddr2", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 200, - "start_column": 14, - "end_line": 200, - "end_column": 34 + "crud_query": null, + "start_line": 66, + "start_column": 5, + "end_line": 66, + "end_column": 24 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billCity", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 201, - "start_column": 14, - "end_line": 201, - "end_column": 33 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.createSupplier() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 4, + "end_line": 69, + "end_column": 65 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billState", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 202, - "start_column": 14, - "end_line": 202, - "end_column": 34 - }, + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "supplierID", + "name", + "street", + "city", + "state", + "zip", + "phone", + "url" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "Supplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 65, + "start_column": 16, + "end_line": 65, + "end_column": 83 + } + ], + "variable_declarations": [ { "comment": { "content": null, @@ -21492,473 +19639,498 @@ "end_column": -1, "is_javadoc": false }, - "name": "billZip", - "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 203, - "start_column": 14, - "end_line": 203, - "end_column": 32 - }, + "name": "supplier", + "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "initializer": "null", + "start_line": 60, + "start_column": 13, + "end_line": 60, + "end_column": 27 + } + ], + "crud_operations": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "billPhone", - "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 204, - "start_column": 14, - "end_line": 204, - "end_column": 34 + "line_number": 61, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipName", - "type": "java.lang.String", - "initializer": "fields[8]", - "start_line": 205, - "start_column": 14, - "end_line": 205, - "end_column": 33 - }, + "line_number": 66, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipAddr1", - "type": "java.lang.String", - "initializer": "fields[9]", - "start_line": 206, - "start_column": 14, - "end_line": 206, - "end_column": 34 + "content": " Create a new Supplier if there is NOT an existing Supplier.", + "start_line": 117, + "end_line": 117, + "start_column": 5, + "end_column": 66, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipAddr2", - "type": "java.lang.String", - "initializer": "fields[10]", - "start_line": 207, - "start_column": 14, - "end_line": 207, - "end_column": 35 + "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", + "start_line": 118, + "end_line": 118, + "start_column": 5, + "end_column": 87, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipCity", - "type": "java.lang.String", - "initializer": "fields[11]", - "start_line": 208, - "start_column": 14, - "end_line": 208, - "end_column": 34 - }, + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 93, + "end_line": 103, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier updateSupplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", + "parameters": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipState", "type": "java.lang.String", - "initializer": "fields[12]", - "start_line": 209, - "start_column": 14, - "end_line": 209, - "end_column": 35 + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 104, + "end_line": 104, + "start_column": 33, + "end_column": 49 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipZip", "type": "java.lang.String", - "initializer": "fields[13]", - "start_line": 210, - "start_column": 14, - "end_line": 210, - "end_column": 33 + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 105, + "end_line": 105, + "start_column": 4, + "end_column": 14 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shipPhone", "type": "java.lang.String", - "initializer": "fields[14]", - "start_line": 211, - "start_column": 14, - "end_line": 211, - "end_column": 35 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shippingMethod", - "type": "int", - "initializer": "Integer.parseInt(fields[15])", - "start_line": 212, - "start_column": 11, - "end_line": 212, - "end_column": 55 + "name": "street", + "annotations": [], + "modifiers": [], + "start_line": 106, + "end_line": 106, + "start_column": 4, + "end_column": 16 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "creditCard", "type": "java.lang.String", - "initializer": "fields[16]", - "start_line": 213, - "start_column": 14, - "end_line": 213, - "end_column": 36 + "name": "city", + "annotations": [], + "modifiers": [], + "start_line": 107, + "end_line": 107, + "start_column": 4, + "end_column": 14 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccNum", "type": "java.lang.String", - "initializer": "fields[17]", - "start_line": 214, - "start_column": 14, - "end_line": 214, - "end_column": 31 + "name": "state", + "annotations": [], + "modifiers": [], + "start_line": 108, + "end_line": 108, + "start_column": 4, + "end_column": 15 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccExpireMonth", "type": "java.lang.String", - "initializer": "fields[18]", - "start_line": 215, - "start_column": 14, - "end_line": 215, - "end_column": 39 + "name": "zip", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 4, + "end_column": 13 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ccExpireYear", "type": "java.lang.String", - "initializer": "fields[19]", - "start_line": 216, - "start_column": 14, - "end_line": 216, - "end_column": 38 + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 110, + "end_line": 110, + "start_column": 4, + "end_column": 15 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cardHolder", "type": "java.lang.String", - "initializer": "fields[20]", - "start_line": 217, - "start_column": 14, - "end_line": 217, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "items", - "type": "java.util.Vector", - "initializer": "new Vector()", - "start_line": 218, - "start_column": 25, - "end_line": 218, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"backorder\")", - "start_line": 261, - "start_column": 13, - "end_line": 261, - "end_column": 52 - }, + "name": "url", + "annotations": [], + "modifiers": [], + "start_line": 111, + "end_line": 111, + "start_column": 4, + "end_column": 13 + } + ], + "code": "{\r\n\t\tSupplier supplier = null;\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - Entered\");\r\n\t\t\tsupplier = em.find(Supplier.class, supplierID);\r\n\t\t\tif (supplier != null) {\r\n\t\t\t\t// Create a new Supplier if there is NOT an existing Supplier.\r\n\t\t\t\t// supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));\r\n\t\t\t\tsupplier.setName(name);\r\n\t\t\t\tsupplier.setStreet(street);\r\n\t\t\t\tsupplier.setCity(city);\r\n\t\t\t\tsupplier.setUsstate(state);\r\n\t\t\t\tsupplier.setZip(zip);\r\n\t\t\t\tsupplier.setPhone(phone);\r\n\t\t\t\tsupplier.setUrl(url);\r\n\t\t\t} else {\r\n\t\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - supplier doesn't exist.\");\r\n\t\t\t\tUtil.debug(\"SuppliersBean.updateSupplier() - Couldn't update Supplier for SupplierID: \" + supplierID);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"SuppliersBean.createSupplier() - Exception: \" + e);\r\n\t\t}\r\n\t\treturn (supplier);\r\n\t}", + "start_line": 104, + "end_line": 134, + "code_start_line": 111, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" + ], + "call_sites": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 264, - "start_column": 13, - "end_line": 264, - "end_column": 21 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.updateSupplier() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 4, + "end_line": 114, + "end_column": 57 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Supplier.class", + "supplierID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 115, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 265, - "start_column": 14, - "end_line": 265, - "end_column": 57 + "crud_query": null, + "start_line": 115, + "start_column": 15, + "end_line": 115, + "end_column": 49 }, { + "method_name": "setName", "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, + "content": " supplier = getSupplierLocalHome().findByPrimaryKey(new SupplierKey(supplierID));", + "start_line": 118, + "end_line": 118, + "start_column": 5, + "end_column": 87, "is_javadoc": false }, - "name": "inventoryID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 266, - "start_column": 12, - "end_line": 266, - "end_column": 34 + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "setName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 5, + "end_line": 119, + "end_column": 26 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "amountToOrder", - "type": "int", - "initializer": "new Integer(fields[1]).intValue()", - "start_line": 267, - "start_column": 9, - "end_line": 267, - "end_column": 57 + "method_name": "setStreet", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "street" + ], + "return_type": "", + "callee_signature": "setStreet(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 5, + "end_line": 120, + "end_column": 30 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "maximumItems", - "type": "int", - "initializer": "new Integer(fields[2]).intValue()", - "start_line": 268, - "start_column": 9, - "end_line": 268, - "end_column": 56 + "method_name": "setCity", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "city" + ], + "return_type": "", + "callee_signature": "setCity(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 5, + "end_line": 121, + "end_column": 26 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "Util.getProperties(\"supplier\")", - "start_line": 284, - "start_column": 13, - "end_line": 284, - "end_column": 51 + "method_name": "setUsstate", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "state" + ], + "return_type": "", + "callee_signature": "setUsstate(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 5, + "end_line": 122, + "end_column": 30 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 287, - "start_column": 13, - "end_line": 287, - "end_column": 21 + "method_name": "setZip", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "zip" + ], + "return_type": "", + "callee_signature": "setZip(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 5, + "end_line": 123, + "end_column": 24 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "fields", - "type": "java.lang.String[]", - "initializer": "Util.readTokens(values[index], \"|\")", - "start_line": 288, - "start_column": 14, - "end_line": 288, - "end_column": 57 + "method_name": "setPhone", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "phone" + ], + "return_type": "", + "callee_signature": "setPhone(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 5, + "end_line": 124, + "end_column": 28 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplierID", - "type": "java.lang.String", - "initializer": "fields[0]", - "start_line": 289, - "start_column": 12, - "end_line": 289, - "end_column": 33 + "method_name": "setUrl", + "comment": null, + "receiver_expr": "supplier", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "url" + ], + "return_type": "", + "callee_signature": "setUrl(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 5, + "end_line": 125, + "end_column": 24 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", - "type": "java.lang.String", - "initializer": "fields[1]", - "start_line": 290, - "start_column": 12, - "end_line": 290, - "end_column": 27 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.updateSupplier() - supplier doesn't exist.\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 5, + "end_line": 127, + "end_column": 74 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "address", - "type": "java.lang.String", - "initializer": "fields[2]", - "start_line": 291, - "start_column": 12, - "end_line": 291, - "end_column": 30 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.updateSupplier() - Couldn't update Supplier for SupplierID: \" + supplierID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 5, + "end_line": 128, + "end_column": 105 }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SuppliersBean.createSupplier() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 4, + "end_line": 131, + "end_column": 65 + } + ], + "variable_declarations": [ { "comment": { "content": null, @@ -21968,48 +20140,128 @@ "end_column": -1, "is_javadoc": false }, - "name": "city", - "type": "java.lang.String", - "initializer": "fields[3]", - "start_line": 292, + "name": "supplier", + "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "initializer": "null", + "start_line": 112, "start_column": 12, - "end_line": 292, - "end_column": 27 - }, + "end_line": 112, + "end_column": 26 + } + ], + "crud_operations": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false + "line_number": 115, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "findSuppliers()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/SuppliersBean.java", + "signature": "findSuppliers()", + "comments": [ + { + "content": "\r\n\t * @return suppliers\r\n\t ", + "start_line": 136, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [ + "@SuppressWarnings(\"unchecked\")" + ], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private Collection findSuppliers()", + "parameters": [], + "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"findAllSuppliers\");\r\n\t\treturn q.getResultList();\r\n\t}", + "start_line": 139, + "end_line": 143, + "code_start_line": 140, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.Query" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.SuppliersBean.em" + ], + "call_sites": [ + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"findAllSuppliers\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 141, + "query_arguments": [ + "\"findAllSuppliers\"" + ], + "query_type": "NAMED" }, - "name": "state", - "type": "java.lang.String", - "initializer": "fields[4]", - "start_line": 293, - "start_column": 12, - "end_line": 293, - "end_column": 28 + "start_line": 141, + "start_column": 13, + "end_line": 141, + "end_column": 51 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "zip", - "type": "java.lang.String", - "initializer": "fields[5]", - "start_line": 294, - "start_column": 12, - "end_line": 294, + "method_name": "getResultList", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 142, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 142, + "start_column": 10, + "end_line": 142, "end_column": 26 - }, + } + ], + "variable_declarations": [ { "comment": { "content": null, @@ -22019,35 +20271,35 @@ "end_column": -1, "is_javadoc": false }, - "name": "phone", - "type": "java.lang.String", - "initializer": "fields[6]", - "start_line": 295, - "start_column": 12, - "end_line": 295, - "end_column": 28 - }, + "name": "q", + "type": "javax.persistence.Query", + "initializer": "em.createNamedQuery(\"findAllSuppliers\")", + "start_line": 141, + "start_column": 9, + "end_line": 141, + "end_column": 51 + } + ], + "crud_operations": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "url", - "type": "java.lang.String", - "initializer": "fields[7]", - "start_line": 296, - "start_column": 12, - "end_line": 296, - "end_column": 26 + "line_number": 142, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 13, + "crud_queries": [ + { + "line_number": 141, + "query_arguments": [ + "\"findAllSuppliers\"" + ], + "query_type": "NAMED" + } + ], + "cyclomatic_complexity": 1, "is_entrypoint": false } }, @@ -22062,124 +20314,9 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "start_line": 59, - "end_line": 60, - "variables": [ - "catalog" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "start_line": 61, - "end_line": 62, - "variables": [ - "customer" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "start_line": 63, - "end_line": 64, - "variables": [ - "cart" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "start_line": 65, - "end_line": 66, - "variables": [ - "backOrderStock" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "start_line": 67, - "end_line": 68, - "variables": [ - "suppliers" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "EntityManager", - "start_line": 70, - "end_line": 71, + "type": "javax.persistence.EntityManager", + "start_line": 37, + "end_line": 38, "variables": [ "em" ], @@ -22187,27 +20324,6 @@ "annotations": [ "@PersistenceContext(unitName = \"PBW\")" ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "UserTransaction", - "start_line": 73, - "end_line": 74, - "variables": [ - "tx" - ], - "modifiers": [], - "annotations": [ - "@Resource" - ] } ], "enum_constants": [], @@ -22218,9 +20334,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -22319,7 +20435,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -22343,45 +20459,13 @@ "is_javadoc": false }, { - "content": "\r\n * This class encapsulates the info needed to send an email message. This object is passed to the\r\n * Mailer EJB sendMail() method.\r\n ", - "start_line": 19, - "end_line": 22, + "content": "\r\n * A JSF validator class, not implemented in Bean Validation since validation is only required\r\n * during GUI interaction.\r\n ", + "start_line": 27, + "end_line": 30, "start_column": 1, "end_column": 3, "is_javadoc": true }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 24, - "end_line": 26, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " subject field of email message", - "start_line": 38, - "end_line": 38, - "start_column": 2, - "end_column": 34, - "is_javadoc": false - }, - { - "content": " Email address of recipient of email message", - "start_line": 43, - "end_line": 43, - "start_column": 2, - "end_column": 47, - "is_javadoc": false - }, - { - "content": " contents of email message", - "start_line": 48, - "end_line": 48, - "start_column": 2, - "end_column": 29, - "is_javadoc": false - }, { "content": "", "start_line": 1, @@ -22391,9 +20475,16 @@ "is_javadoc": false } ], - "imports": [], + "imports": [ + "javax.faces.component.UIComponent", + "javax.faces.component.UIInput", + "javax.faces.context.FacesContext", + "javax.faces.validator.FacesValidator", + "javax.faces.validator.Validator", + "javax.faces.validator.ValidatorException" + ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.EMailMessage": { + "com.ibm.websphere.samples.pbw.war.ValidatePasswords": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -22405,327 +20496,335 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * \r\n\t ", - "start_line": 24, - "end_line": 26, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " subject field of email message", - "start_line": 38, - "end_line": 38, - "start_column": 2, - "end_column": 34, - "is_javadoc": false - }, - { - "content": " Email address of recipient of email message", - "start_line": 43, - "end_line": 43, - "start_column": 2, - "end_column": 47, - "is_javadoc": false - }, - { - "content": " contents of email message", - "start_line": 48, - "end_line": 48, - "start_column": 2, - "end_column": 29, - "is_javadoc": false - }, - { - "content": "\r\n * This class encapsulates the info needed to send an email message. This object is passed to the\r\n * Mailer EJB sendMail() method.\r\n ", - "start_line": 19, - "end_line": 22, + "content": "\r\n * A JSF validator class, not implemented in Bean Validation since validation is only required\r\n * during GUI interaction.\r\n ", + "start_line": 27, + "end_line": 30, "start_column": 1, "end_column": 3, "is_javadoc": true } ], "implements_list": [ - "java.io.Serializable" + "javax.faces.validator.Validator" ], "modifiers": [ "public" ], - "annotations": [], + "annotations": [ + "@FacesValidator(value = \"validatePasswords\")" + ], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getSubject()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "signature": "getSubject()", + "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatePasswords.java", + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public String getSubject()", - "parameters": [], - "code": "{\r\n\t\treturn subject;\r\n\t}", - "start_line": 39, - "end_line": 41, - "code_start_line": 39, - "return_type": "java.lang.String", + "thrown_exceptions": [ + "javax.faces.validator.ValidatorException" + ], + "declaration": "public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException", + "parameters": [ + { + "type": "javax.faces.context.FacesContext", + "name": "context", + "annotations": [], + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 23, + "end_column": 42 + }, + { + "type": "javax.faces.component.UIComponent", + "name": "component", + "annotations": [], + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 45, + "end_column": 65 + }, + { + "type": "java.lang.Object", + "name": "value", + "annotations": [], + "modifiers": [], + "start_line": 35, + "end_line": 35, + "start_column": 68, + "end_column": 79 + } + ], + "code": "{\r\n\t\tUIInput otherComponent;\r\n\t\tString otherID = (String) component.getAttributes().get(\"otherPasswordID\");\r\n\t\tString otherStr;\r\n\t\tString str = (String) value;\r\n\r\n\t\totherComponent = (UIInput) context.getViewRoot().findComponent(otherID);\r\n\t\totherStr = (String) otherComponent.getValue();\r\n\r\n\t\tif (!otherStr.equals(str)) {\r\n\t\t\tValidatorUtils.addErrorMessage(context, \"Passwords do not match.\");\r\n\t\t}\r\n\t}", + "start_line": 34, + "end_line": 47, + "code_start_line": 35, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject" + "referenced_types": [ + "javax.faces.component.UIInput", + "java.lang.String" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "signature": "EMailMessage(String, String, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "component.getAttributes()", + "receiver_type": "java.util.Map", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"otherPasswordID\"" + ], + "return_type": "java.lang.String", + "callee_signature": "get(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 37, + "start_column": 29, + "end_line": 37, + "end_column": 76 + }, + { + "method_name": "getAttributes", + "comment": null, + "receiver_expr": "component", + "receiver_type": "javax.faces.component.UIComponent", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Map", + "callee_signature": "getAttributes()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 37, + "start_column": 29, + "end_line": 37, + "end_column": 53 + }, + { + "method_name": "findComponent", + "comment": null, + "receiver_expr": "context.getViewRoot()", + "receiver_type": "javax.faces.component.UIViewRoot", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "otherID" + ], + "return_type": "javax.faces.component.UIInput", + "callee_signature": "findComponent(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 41, + "start_column": 30, + "end_line": 41, + "end_column": 73 + }, + { + "method_name": "getViewRoot", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.component.UIViewRoot", + "callee_signature": "getViewRoot()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 41, + "start_column": 30, + "end_line": 41, + "end_column": 50 + }, + { + "method_name": "getValue", + "comment": null, + "receiver_expr": "otherComponent", + "receiver_type": "javax.faces.component.UIInput", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 42, + "start_column": 23, + "end_line": 42, + "end_column": 47 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "otherStr", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "str" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 44, + "start_column": 8, + "end_line": 44, + "end_column": 27 + }, + { + "method_name": "addErrorMessage", + "comment": null, + "receiver_expr": "ValidatorUtils", + "receiver_type": "com.ibm.websphere.samples.pbw.war.ValidatorUtils", + "argument_types": [ + "javax.faces.context.FacesContext", + "java.lang.String" + ], + "argument_expr": [ + "context", + "\"Passwords do not match.\"" + ], + "return_type": "", + "callee_signature": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)", + "is_public": false, + "is_protected": true, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 4, + "end_line": 45, + "end_column": 69 + } ], - "thrown_exceptions": [], - "declaration": "public EMailMessage(String subject, String htmlContents, String emailReceiver)", - "parameters": [ + "variable_declarations": [ { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "otherComponent", + "type": "javax.faces.component.UIInput", + "initializer": "", + "start_line": 36, + "start_column": 11, + "end_line": 36, + "end_column": 24 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "otherID", "type": "java.lang.String", - "name": "subject", - "annotations": [], - "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 22, - "end_column": 35 + "initializer": "(String) component.getAttributes().get(\"otherPasswordID\")", + "start_line": 37, + "start_column": 10, + "end_line": 37, + "end_column": 76 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "otherStr", "type": "java.lang.String", - "name": "htmlContents", - "annotations": [], - "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 38, - "end_column": 56 + "initializer": "", + "start_line": 38, + "start_column": 10, + "end_line": 38, + "end_column": 17 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "str", "type": "java.lang.String", - "name": "emailReceiver", - "annotations": [], - "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 59, - "end_column": 78 + "initializer": "(String) value", + "start_line": 39, + "start_column": 10, + "end_line": 39, + "end_column": 29 } ], - "code": "{\r\n\t\tthis.subject = subject;\r\n\t\tthis.htmlContents = htmlContents;\r\n\t\tthis.emailReceiver = emailReceiver;\r\n\t}", - "start_line": 32, - "end_line": 36, - "code_start_line": 32, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject", - "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents", - "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "toString()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "signature": "toString()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String toString()", - "parameters": [], - "code": "{\r\n\t\treturn \" subject=\" + subject + \" \" + emailReceiver + \" \" + htmlContents;\r\n\t}", - "start_line": 53, - "end_line": 55, - "code_start_line": 53, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject", - "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents", - "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getHtmlContents()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "signature": "getHtmlContents()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getHtmlContents()", - "parameters": [], - "code": "{\r\n\t\treturn htmlContents;\r\n\t}", - "start_line": 49, - "end_line": 51, - "code_start_line": 49, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getEmailReceiver()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", - "signature": "getEmailReceiver()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getEmailReceiver()", - "parameters": [], - "code": "{\r\n\t\treturn emailReceiver;\r\n\t}", - "start_line": 44, - "end_line": 46, - "code_start_line": 44, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" - ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false } }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 24, - "end_line": 26, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 27, - "end_line": 27, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 28, - "end_line": 28, - "variables": [ - "subject" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 29, - "end_line": 29, - "variables": [ - "htmlContents" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 30, - "end_line": 30, - "variables": [ - "emailReceiver" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ], + "field_declarations": [], "enum_constants": [], "record_components": [], "initialization_blocks": [], @@ -22734,9 +20833,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -22835,7 +20934,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -22859,21 +20958,13 @@ "is_javadoc": false }, { - "content": "\r\n * Bean mapping for the SUPPLIER table.\r\n ", - "start_line": 25, + "content": "\r\n * A JSF backing bean used to store information for the login web page. It is accessed via the\r\n * account bean.\r\n *\r\n ", + "start_line": 23, "end_line": 27, "start_column": 1, "end_column": 3, "is_javadoc": true }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 114, - "end_line": 123, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, { "content": "", "start_line": 1, @@ -22884,14 +20975,11 @@ } ], "imports": [ - "javax.persistence.Entity", - "javax.persistence.Id", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.Table" + "javax.validation.constraints.Pattern", + "javax.validation.constraints.Size" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.Supplier": { + "com.ibm.websphere.samples.pbw.war.LoginInfo": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -22903,16 +20991,8 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 114, - "end_line": 123, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n * Bean mapping for the SUPPLIER table.\r\n ", - "start_line": 25, + "content": "\r\n * A JSF backing bean used to store information for the login web page. It is accessed via the\r\n * account bean.\r\n *\r\n ", + "start_line": 23, "end_line": 27, "start_column": 1, "end_column": 3, @@ -22923,69 +21003,36 @@ "modifiers": [ "public" ], - "annotations": [ - "@Entity(name = \"Supplier\")", - "@Table(name = \"SUPPLIER\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"findAllSuppliers\", query = \"select s from Supplier s\"), @NamedQuery(name = \"removeAllSupplier\", query = \"delete from Supplier\") })" - ], + "annotations": [], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getStreet()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getStreet()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getStreet()", - "parameters": [], - "code": "{\r\n\t\treturn street;\r\n\t}", - "start_line": 67, - "end_line": 69, - "code_start_line": 67, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.street" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setCity(String)", + "setPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "setPassword(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCity(String city)", + "declaration": "public void setPassword(String password)", "parameters": [ { "type": "java.lang.String", - "name": "city", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 47, - "end_line": 47, - "start_column": 22, - "end_column": 32 + "start_line": 69, + "end_line": 69, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n\t\tthis.city = city;\r\n\t}", - "start_line": 47, - "end_line": 49, - "code_start_line": 47, + "code": "{\r\n\t\tthis.password = password;\r\n\t}", + "start_line": 69, + "end_line": 71, + "code_start_line": 69, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -22993,7 +21040,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.city" + "com.ibm.websphere.samples.pbw.war.LoginInfo.password" ], "call_sites": [], "variable_declarations": [], @@ -23002,41 +21049,26 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSupplierID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setSupplierID(String)", + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setSupplierID(String supplierID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierID", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\r\n\t\tthis.supplierID = supplierID;\r\n\t}", - "start_line": 79, - "end_line": 81, - "code_start_line": 79, - "return_type": "void", + "declaration": "public LoginInfo()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 38, + "end_line": 39, + "code_start_line": 38, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" - ], + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], @@ -23044,40 +21076,29 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setName(String)", + "getPassword()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "getPassword()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setName(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 55, - "end_line": 55, - "start_column": 22, - "end_column": 32 - } - ], - "code": "{\r\n\t\tthis.name = name;\r\n\t}", - "start_line": 55, - "end_line": 57, - "code_start_line": 55, - "return_type": "void", + "declaration": "public String getPassword()", + "parameters": [], + "code": "{\r\n\t\treturn this.password;\r\n\t}", + "start_line": 53, + "end_line": 55, + "code_start_line": 53, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.name" + "com.ibm.websphere.samples.pbw.war.LoginInfo.password" ], "call_sites": [], "variable_declarations": [], @@ -23086,27 +21107,29 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getCity()", + "getCheckPassword()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "getCheckPassword()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCity()", + "declaration": "public String getCheckPassword()", "parameters": [], - "code": "{\r\n\t\treturn city;\r\n\t}", - "start_line": 43, - "end_line": 45, - "code_start_line": 43, + "code": "{\r\n\t\treturn this.checkPassword;\r\n\t}", + "start_line": 41, + "end_line": 43, + "code_start_line": 41, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.city" + "com.ibm.websphere.samples.pbw.war.LoginInfo.checkPassword" ], "call_sites": [], "variable_declarations": [], @@ -23115,32 +21138,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setUsstate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setUsstate(String)", + "setMessage(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "setMessage(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setUsstate(String usstate)", + "declaration": "public void setMessage(String message)", "parameters": [ { "type": "java.lang.String", - "name": "usstate", + "name": "message", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 65, + "end_line": 65, "start_column": 25, "end_column": 38 } ], - "code": "{\r\n\t\tthis.usstate = usstate;\r\n\t}", - "start_line": 95, - "end_line": 97, - "code_start_line": 95, + "code": "{\r\n\t\tthis.message = message;\r\n\t}", + "start_line": 65, + "end_line": 67, + "code_start_line": 65, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -23148,7 +21171,38 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.usstate" + "com.ibm.websphere.samples.pbw.war.LoginInfo.message" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getMessage()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "getMessage()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getMessage()", + "parameters": [], + "code": "{\r\n\t\treturn this.message;\r\n\t}", + "start_line": 49, + "end_line": 51, + "code_start_line": 49, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.LoginInfo.message" ], "call_sites": [], "variable_declarations": [], @@ -23157,32 +21211,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setZip(String)", + "setEmail(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "setEmail(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setZip(String zip)", + "declaration": "public void setEmail(String email)", "parameters": [ { "type": "java.lang.String", - "name": "zip", + "name": "email", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 21, - "end_column": 30 + "start_line": 61, + "end_line": 61, + "start_column": 23, + "end_column": 34 } ], - "code": "{\r\n\t\tthis.zip = zip;\r\n\t}", - "start_line": 103, - "end_line": 105, - "code_start_line": 103, + "code": "{\r\n\t\tthis.email = email;\r\n\t}", + "start_line": 61, + "end_line": 63, + "code_start_line": 61, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -23190,7 +21244,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" + "com.ibm.websphere.samples.pbw.war.LoginInfo.email" ], "call_sites": [], "variable_declarations": [], @@ -23199,40 +21253,29 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setStreet(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setStreet(String)", + "getEmail()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "getEmail()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setStreet(String street)", - "parameters": [ - { - "type": "java.lang.String", - "name": "street", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 24, - "end_column": 36 - } - ], - "code": "{\r\n\t\tthis.street = street;\r\n\t}", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, - "return_type": "void", + "declaration": "public String getEmail()", + "parameters": [], + "code": "{\r\n\t\treturn this.email;\r\n\t}", + "start_line": 45, + "end_line": 47, + "code_start_line": 45, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.street" + "com.ibm.websphere.samples.pbw.war.LoginInfo.email" ], "call_sites": [], "variable_declarations": [], @@ -23241,27 +21284,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getZip()", + "setCheckPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/LoginInfo.java", + "signature": "setCheckPassword(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getZip()", - "parameters": [], - "code": "{\r\n\t\treturn zip;\r\n\t}", - "start_line": 99, - "end_line": 101, - "code_start_line": 99, - "return_type": "java.lang.String", + "declaration": "public void setCheckPassword(String checkPassword)", + "parameters": [ + { + "type": "java.lang.String", + "name": "checkPassword", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 31, + "end_column": 50 + } + ], + "code": "{\r\n\t\tthis.checkPassword = checkPassword;\r\n\t}", + "start_line": 57, + "end_line": 59, + "code_start_line": 57, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" + "com.ibm.websphere.samples.pbw.war.LoginInfo.checkPassword" ], "call_sites": [], "variable_declarations": [], @@ -23269,205 +21325,346 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 29, + "end_line": 29, + "variables": [ + "checkPassword" + ], + "modifiers": [ + "private" + ], + "annotations": [] }, - "(String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "Supplier(String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", - "start_line": 114, - "end_line": 123, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 31, + "end_line": 32, + "variables": [ + "email" ], - "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public Supplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierID", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 18, - "end_column": 34 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 37, - "end_column": 47 - }, - { - "type": "java.lang.String", - "name": "street", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 50, - "end_column": 62 - }, - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 65, - "end_column": 75 - }, - { - "type": "java.lang.String", - "name": "state", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 78, - "end_column": 89 - }, - { - "type": "java.lang.String", - "name": "zip", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 92, - "end_column": 101 - }, - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 104, - "end_column": 115 - }, - { - "type": "java.lang.String", - "name": "url", - "annotations": [], - "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 4, - "end_column": 13 - } + "annotations": [ + "@Pattern(regexp = \"[a-zA-Z0-9_-]+@[a-zA-Z0-9.-]+\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 33, + "end_line": 33, + "variables": [ + "message" ], - "code": "{\r\n\t\tthis.setSupplierID(supplierID);\r\n\t\tthis.setName(name);\r\n\t\tthis.setStreet(street);\r\n\t\tthis.setCity(city);\r\n\t\tthis.setUsstate(state);\r\n\t\tthis.setZip(zip);\r\n\t\tthis.setPhone(phone);\r\n\t\tthis.setUrl(url);\r\n\t}", - "start_line": 124, - "end_line": 134, - "code_start_line": 125, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID", - "com.ibm.websphere.samples.pbw.jpa.Supplier.city", - "com.ibm.websphere.samples.pbw.jpa.Supplier.url", - "com.ibm.websphere.samples.pbw.jpa.Supplier.name", - "com.ibm.websphere.samples.pbw.jpa.Supplier.phone", - "com.ibm.websphere.samples.pbw.jpa.Supplier.street", - "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" + "modifiers": [ + "private" ], - "call_sites": [ - { - "method_name": "setSupplierID", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setSupplierID(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 3, - "end_line": 126, - "end_column": 32 - }, + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 35, + "end_line": 36, + "variables": [ + "password" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Size(min = 6, max = 10, message = \"Password must be between 6 and 10 characters.\")" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Provides backing bean support for the product web page. Accessed via the shopping bean.\r\n *\r\n ", + "start_line": 28, + "end_line": 31, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "java.text.NumberFormat", + "java.util.Locale", + "java.util.Objects", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.ProductBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n * Provides backing bean support for the product web page. Accessed via the shopping bean.\r\n *\r\n ", + "start_line": 28, + "end_line": 31, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getCategoryName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "getCategoryName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCategoryName()", + "parameters": [], + "code": "{\r\n\t\treturn Util.getCategoryString(this.inventory.getCategory());\r\n\t}", + "start_line": 43, + "end_line": 45, + "code_start_line": 43, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ProductBean.inventory" + ], + "call_sites": [ { - "method_name": "setName", + "method_name": "getCategoryString", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "setName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 3, - "end_line": 127, - "end_column": 20 - }, - { - "method_name": "setStreet", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "this.inventory.getCategory()" ], - "return_type": "", - "callee_signature": "setStreet(java.lang.String)", + "return_type": "java.lang.String", + "callee_signature": "getCategoryString(int)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 3, - "end_line": 128, - "end_column": 24 + "start_line": 44, + "start_column": 10, + "end_line": 44, + "end_column": 61 }, { - "method_name": "setCity", + "method_name": "getCategory", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "this.inventory", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setCity(java.lang.String)", + "callee_signature": "getCategory()", "is_public": true, "is_protected": false, "is_private": false, @@ -23476,21 +21673,87 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, - "start_column": 3, - "end_line": 129, - "end_column": 20 - }, + "start_line": 44, + "start_column": 33, + "end_line": 44, + "end_column": 60 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "getQuantity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getQuantity()", + "parameters": [], + "code": "{\r\n\t\treturn this.quantity;\r\n\t}", + "start_line": 75, + "end_line": 77, + "code_start_line": 75, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPrice()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "getPrice()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getPrice()", + "parameters": [], + "code": "{\r\n\t\treturn NumberFormat.getCurrencyInstance(Locale.US).format(new Float(this.inventory.getPrice()));\r\n\t}", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.Locale" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ProductBean.inventory", + "java.util.Locale.US" + ], + "call_sites": [ { - "method_name": "setUsstate", + "method_name": "format", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "receiver_expr": "NumberFormat.getCurrencyInstance(Locale.US)", + "receiver_type": "java.text.NumberFormat", "argument_types": [ - "java.lang.String" + "java.lang.Float" ], - "return_type": "", - "callee_signature": "setUsstate(java.lang.String)", + "argument_expr": [ + "new Float(this.inventory.getPrice())" + ], + "return_type": "java.lang.String", + "callee_signature": "format(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -23499,44 +21762,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, - "start_column": 3, - "end_line": 130, - "end_column": 24 + "start_line": 72, + "start_column": 10, + "end_line": 72, + "end_column": 97 }, { - "method_name": "setZip", + "method_name": "getCurrencyInstance", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "receiver_expr": "NumberFormat", + "receiver_type": "java.text.NumberFormat", "argument_types": [ - "java.lang.String" + "java.util.Locale" ], - "return_type": "", - "callee_signature": "setZip(java.lang.String)", + "argument_expr": [ + "Locale.US" + ], + "return_type": "java.text.NumberFormat", + "callee_signature": "getCurrencyInstance(java.util.Locale)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, - "start_column": 3, - "end_line": 131, - "end_column": 18 + "start_line": 72, + "start_column": 10, + "end_line": 72, + "end_column": 52 }, { - "method_name": "setPhone", + "method_name": "getPrice", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "this.inventory", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setPhone(java.lang.String)", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -23545,33 +21810,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 3, - "end_line": 132, - "end_column": 22 + "start_line": 72, + "start_column": 71, + "end_line": 72, + "end_column": 95 }, { - "method_name": "setUrl", + "method_name": "", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "receiver_expr": "", + "receiver_type": "java.lang.Float", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "setUrl(java.lang.String)", - "is_public": true, + "argument_expr": [ + "this.inventory.getPrice()" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(float)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 133, - "start_column": 3, - "end_line": 133, - "end_column": 18 + "start_line": 72, + "start_column": 61, + "end_line": 72, + "end_column": 96 } ], "variable_declarations": [], @@ -23580,40 +21848,29 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setUrl(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setUrl(String)", + "getInventory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "getInventory()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setUrl(String url)", - "parameters": [ - { - "type": "java.lang.String", - "name": "url", - "annotations": [], - "modifiers": [], - "start_line": 87, - "end_line": 87, - "start_column": 21, - "end_column": 30 - } - ], - "code": "{\r\n\t\tthis.url = url;\r\n\t}", - "start_line": 87, - "end_line": 89, - "code_start_line": 87, - "return_type": "void", + "declaration": "public Inventory getInventory()", + "parameters": [], + "code": "{\r\n\t\treturn this.inventory;\r\n\t}", + "start_line": 47, + "end_line": 49, + "code_start_line": 47, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.url" + "com.ibm.websphere.samples.pbw.war.ProductBean.inventory" ], "call_sites": [], "variable_declarations": [], @@ -23622,62 +21879,70 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "Supplier(String)", + "(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [], "annotations": [], "modifiers": [ - "public" + "protected" ], "thrown_exceptions": [], - "declaration": "public Supplier(String supplierID)", + "declaration": "protected ProductBean(Inventory inventory)", "parameters": [ { - "type": "java.lang.String", - "name": "supplierID", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inventory", "annotations": [], "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 18, - "end_column": 34 + "start_line": 37, + "end_line": 37, + "start_column": 24, + "end_column": 42 } ], - "code": "{\r\n\t\tsetSupplierID(supplierID);\r\n\t}", - "start_line": 110, - "end_line": 112, - "code_start_line": 110, + "code": "{\r\n\t Objects.requireNonNull(inventory, \"Inventory cannot be null\");\r\n\t\tthis.inventory = inventory;\r\n\t\tthis.quantity = 1;\r\n\t}", + "start_line": 37, + "end_line": 41, + "code_start_line": 37, "return_type": null, "is_implicit": false, "is_constructor": true, - "referenced_types": [], + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" + "com.ibm.websphere.samples.pbw.war.ProductBean.inventory", + "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" ], "call_sites": [ { - "method_name": "setSupplierID", + "method_name": "requireNonNull", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Objects", + "receiver_type": "java.util.Objects", "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", "java.lang.String" ], - "return_type": "", - "callee_signature": "setSupplierID(java.lang.String)", + "argument_expr": [ + "inventory", + "\"Inventory cannot be null\"" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "requireNonNull(java.lang.Object, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 111, - "start_column": 3, - "end_line": 111, - "end_column": 27 + "start_line": 38, + "start_column": 6, + "end_line": 38, + "end_column": 66 } ], "variable_declarations": [], @@ -23686,183 +21951,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getName()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getName()", - "parameters": [], - "code": "{\r\n\t\treturn name;\r\n\t}", - "start_line": 51, - "end_line": 53, - "code_start_line": 51, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.name" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "Supplier()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Supplier()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 107, - "end_line": 108, - "code_start_line": 107, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "setPhone(String)", + "setQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "setQuantity(int)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPhone(String phone)", + "declaration": "public void setQuantity(int quantity)", "parameters": [ { - "type": "java.lang.String", - "name": "phone", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 63, - "end_line": 63, - "start_column": 23, - "end_column": 34 + "start_line": 79, + "end_line": 79, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\tthis.phone = phone;\r\n\t}", - "start_line": 63, - "end_line": 65, - "code_start_line": 63, + "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", + "start_line": 79, + "end_line": 81, + "code_start_line": 79, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.phone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getPhone()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getPhone()", - "parameters": [], - "code": "{\r\n\t\treturn phone;\r\n\t}", - "start_line": 59, - "end_line": 61, - "code_start_line": 59, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.phone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getSupplierID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getSupplierID()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getSupplierID()", - "parameters": [], - "code": "{\r\n\t\treturn supplierID;\r\n\t}", - "start_line": 75, - "end_line": 77, - "code_start_line": 75, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getUrl()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getUrl()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getUrl()", - "parameters": [], - "code": "{\r\n\t\treturn url;\r\n\t}", - "start_line": 83, - "end_line": 85, - "code_start_line": 83, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.url" + "com.ibm.websphere.samples.pbw.war.ProductBean.quantity" ], "call_sites": [], "variable_declarations": [], @@ -23871,33 +21991,152 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getUsstate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", - "signature": "getUsstate()", + "getMenuString()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ProductBean.java", + "signature": "getMenuString()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getUsstate()", + "declaration": "public String getMenuString()", "parameters": [], - "code": "{\r\n\t\treturn usstate;\r\n\t}", - "start_line": 91, - "end_line": 93, - "code_start_line": 91, + "code": "{\r\n\t\tString categoryString = getCategoryName();\r\n\r\n\t\tif (categoryString.equals(\"Flowers\")) {\r\n\t\t\treturn \"banner:menu1\";\r\n\t\t}\r\n\r\n\t\telse if (categoryString.equals(\"Fruits & Vegetables\")) {\r\n\t\t\treturn \"banner:menu2\";\r\n\t\t}\r\n\r\n\t\telse if (categoryString.equals(\"Trees\")) {\r\n\t\t\treturn \"banner:menu3\";\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\treturn \"banner:menu4\";\r\n\t\t}\r\n\t}", + "start_line": 51, + "end_line": 69, + "code_start_line": 51, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier.usstate" + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getCategoryName", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCategoryName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 27, + "end_line": 52, + "end_column": 43 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "categoryString", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Flowers\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 7, + "end_line": 54, + "end_column": 38 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "categoryString", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Fruits & Vegetables\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 12, + "end_line": 58, + "end_column": 55 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "categoryString", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Trees\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 62, + "start_column": 12, + "end_line": 62, + "end_column": 41 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "categoryString", + "type": "java.lang.String", + "initializer": "getCategoryName()", + "start_line": 52, + "start_column": 10, + "end_line": 52, + "end_column": 43 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 4, "is_entrypoint": false } }, @@ -23912,121 +22151,16 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", + "type": "long", "start_line": 33, - "end_line": 34, - "variables": [ - "supplierID" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Id" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 35, - "end_line": 35, - "variables": [ - "name" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 36, - "end_line": 36, - "variables": [ - "city" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 37, - "end_line": 37, - "variables": [ - "usstate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 38, - "end_line": 38, - "variables": [ - "zip" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 39, - "end_line": 39, + "end_line": 33, "variables": [ - "phone" + "serialVersionUID" ], "modifiers": [ - "private" + "private", + "static", + "final" ], "annotations": [] }, @@ -24040,11 +22174,11 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 40, - "end_line": 40, + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "start_line": 34, + "end_line": 34, "variables": [ - "url" + "inventory" ], "modifiers": [ "private" @@ -24061,11 +22195,11 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 41, + "type": "int", + "start_line": 35, + "end_line": 35, "variables": [ - "street" + "quantity" ], "modifiers": [ "private" @@ -24081,9 +22215,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -24126,129 +22260,369 @@ "is_javadoc": false }, { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Servlet to handle customer account actions, such as login and register.\r\n ", + "start_line": 37, + "end_line": 39, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": " Servlet action codes.", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 25, + "is_javadoc": false + }, + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 56, + "end_line": 58, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 63, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 76, + "end_line": 83, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 89, + "end_line": 96, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " user id was invalid, and may contain XSS attack", + "start_line": 114, + "end_line": 114, + "start_column": 6, + "end_column": 55, + "is_javadoc": false + }, + { + "content": " If results have an error msg, return it, otherwise continue.", + "start_line": 119, + "end_line": 119, + "start_column": 5, + "end_column": 67, + "is_javadoc": false + }, + { + "content": " Proliferate UPDATING flag if user is trying to update his account.", + "start_line": 121, + "end_line": 121, + "start_column": 6, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " If not logging in for the first time, then clear out the", + "start_line": 128, + "end_line": 128, + "start_column": 6, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " session data for the old user.", + "start_line": 129, + "end_line": 129, + "start_column": 6, + "end_column": 38, + "is_javadoc": false + }, + { + "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", + "start_line": 132, + "end_line": 132, + "start_column": 7, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Store customer userid in HttpSession.", + "start_line": 137, + "end_line": 137, + "start_column": 6, + "end_column": 45, + "is_javadoc": false + }, + { + "content": " Was customer trying to edit account information.", + "start_line": 142, + "end_line": 142, + "start_column": 6, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 148, + "end_line": 148, + "start_column": 7, + "end_column": 55, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 159, + "end_line": 159, + "start_column": 8, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " Register a new user.", + "start_line": 180, + "end_line": 180, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " try", + "start_line": 181, + "end_line": 181, + "start_column": 4, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " }", + "start_line": 262, + "end_line": 262, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " catch (CreateException e) { }", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 35, + "is_javadoc": false + }, + { + "content": " {", + "start_line": 182, + "end_line": 182, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " validate all user input", + "start_line": 198, + "end_line": 198, + "start_column": 4, + "end_column": 29, "is_javadoc": false }, { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, + "content": " Make sure passwords match.", + "start_line": 227, + "end_line": 227, + "start_column": 4, + "end_column": 32, "is_javadoc": false }, { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, + "content": " Create the new user.", + "start_line": 232, + "end_line": 232, + "start_column": 5, + "end_column": 27, "is_javadoc": false }, { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, + "content": " Store customer info in HttpSession.", + "start_line": 237, + "end_line": 237, + "start_column": 6, + "end_column": 43, "is_javadoc": false }, { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, + "content": " See if user was in the middle of checking out.", + "start_line": 240, + "end_line": 240, + "start_column": 6, + "end_column": 54, "is_javadoc": false }, { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, + "content": " Default to plants", + "start_line": 247, + "end_line": 247, + "start_column": 7, + "end_column": 26, "is_javadoc": false }, { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, + "content": " try", + "start_line": 278, + "end_line": 278, + "start_column": 4, + "end_column": 9, "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, + "content": " }", + "start_line": 316, + "end_line": 316, + "start_column": 4, + "end_column": 7, "is_javadoc": false }, { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, + "content": " catch (CreateException e) { }", + "start_line": 317, + "end_line": 317, + "start_column": 4, + "end_column": 35, "is_javadoc": false }, { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, + "content": " {", + "start_line": 279, + "end_line": 279, + "start_column": 4, + "end_column": 7, "is_javadoc": false }, { - "content": "\r\n * Bean mapping for the ORDERITEM table.\r\n ", - "start_line": 32, - "end_line": 34, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", - "start_line": 39, - "end_line": 43, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Create the new user.", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 26, + "is_javadoc": false }, { - "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", - "start_line": 63, - "end_line": 65, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "content": " Store updated customer info in HttpSession.", + "start_line": 296, + "end_line": 296, + "start_column": 4, + "end_column": 49, + "is_javadoc": false }, { - "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", - "start_line": 74, - "end_line": 76, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "content": " See if user was in the middle of checking out.", + "start_line": 299, + "end_line": 299, + "start_column": 4, + "end_column": 52, + "is_javadoc": false }, { - "content": "\r\n\t * updates the primary key field with the composite orderId+inventoryId\r\n\t ", - "start_line": 191, - "end_line": 193, - "start_column": 2, - "end_column": 4, + "content": " Default to plants", + "start_line": 306, + "end_line": 306, + "start_column": 5, + "end_column": 24, "is_javadoc": false }, { - "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 210, - "end_line": 214, + "content": "\r\n\t * Request dispatch.\r\n\t ", + "start_line": 329, + "end_line": 331, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -24263,20 +22637,24 @@ } ], "imports": [ - "javax.persistence.Column", - "javax.persistence.Embeddable", - "javax.persistence.EmbeddedId", - "javax.persistence.Entity", - "javax.persistence.JoinColumn", - "javax.persistence.ManyToOne", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.Table", - "javax.persistence.Transient", + "java.io.IOException", + "javax.inject.Inject", + "javax.inject.Named", + "javax.servlet.ServletConfig", + "javax.servlet.ServletContext", + "javax.servlet.ServletException", + "javax.servlet.annotation.WebServlet", + "javax.servlet.http.HttpServlet", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "javax.servlet.http.HttpSession", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "com.ibm.websphere.samples.pbw.jpa.Customer", "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.OrderItem": { + "com.ibm.websphere.samples.pbw.war.AccountServlet": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -24285,52 +22663,294 @@ "is_interface": false, "is_inner_class": false, "is_local_class": false, - "extends_list": [], + "extends_list": [ + "javax.servlet.http.HttpServlet" + ], "comments": [ { - "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", - "start_line": 39, - "end_line": 43, + "content": " Servlet action codes.", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 25, + "is_javadoc": false + }, + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 56, + "end_line": 58, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", "start_line": 63, - "end_line": 65, - "start_column": 3, - "end_column": 5, + "end_line": 70, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", - "start_line": 74, - "end_line": 76, - "start_column": 3, - "end_column": 5, + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 76, + "end_line": 83, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * updates the primary key field with the composite orderId+inventoryId\r\n\t ", - "start_line": 191, - "end_line": 193, + "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 89, + "end_line": 96, "start_column": 2, "end_column": 4, + "is_javadoc": true + }, + { + "content": " user id was invalid, and may contain XSS attack", + "start_line": 114, + "end_line": 114, + "start_column": 6, + "end_column": 55, "is_javadoc": false }, { - "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 210, - "end_line": 214, + "content": " If results have an error msg, return it, otherwise continue.", + "start_line": 119, + "end_line": 119, + "start_column": 5, + "end_column": 67, + "is_javadoc": false + }, + { + "content": " Proliferate UPDATING flag if user is trying to update his account.", + "start_line": 121, + "end_line": 121, + "start_column": 6, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " If not logging in for the first time, then clear out the", + "start_line": 128, + "end_line": 128, + "start_column": 6, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " session data for the old user.", + "start_line": 129, + "end_line": 129, + "start_column": 6, + "end_column": 38, + "is_javadoc": false + }, + { + "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", + "start_line": 132, + "end_line": 132, + "start_column": 7, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Store customer userid in HttpSession.", + "start_line": 137, + "end_line": 137, + "start_column": 6, + "end_column": 45, + "is_javadoc": false + }, + { + "content": " Was customer trying to edit account information.", + "start_line": 142, + "end_line": 142, + "start_column": 6, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 148, + "end_line": 148, + "start_column": 7, + "end_column": 55, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 159, + "end_line": 159, + "start_column": 8, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " Register a new user.", + "start_line": 180, + "end_line": 180, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " try", + "start_line": 181, + "end_line": 181, + "start_column": 4, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " }", + "start_line": 262, + "end_line": 262, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " catch (CreateException e) { }", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 35, + "is_javadoc": false + }, + { + "content": " {", + "start_line": 182, + "end_line": 182, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " validate all user input", + "start_line": 198, + "end_line": 198, + "start_column": 4, + "end_column": 29, + "is_javadoc": false + }, + { + "content": " Make sure passwords match.", + "start_line": 227, + "end_line": 227, + "start_column": 4, + "end_column": 32, + "is_javadoc": false + }, + { + "content": " Create the new user.", + "start_line": 232, + "end_line": 232, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " Store customer info in HttpSession.", + "start_line": 237, + "end_line": 237, + "start_column": 6, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 240, + "end_line": 240, + "start_column": 6, + "end_column": 54, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 247, + "end_line": 247, + "start_column": 7, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " try", + "start_line": 278, + "end_line": 278, + "start_column": 4, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " }", + "start_line": 316, + "end_line": 316, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " catch (CreateException e) { }", + "start_line": 317, + "end_line": 317, + "start_column": 4, + "end_column": 35, + "is_javadoc": false + }, + { + "content": " {", + "start_line": 279, + "end_line": 279, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " Create the new user.", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " Store updated customer info in HttpSession.", + "start_line": 296, + "end_line": 296, + "start_column": 4, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 299, + "end_line": 299, + "start_column": 4, + "end_column": 52, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 306, + "end_line": 306, + "start_column": 5, + "end_column": 24, + "is_javadoc": false + }, + { + "content": "\r\n\t * Request dispatch.\r\n\t ", + "start_line": 329, + "end_line": 331, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Bean mapping for the ORDERITEM table.\r\n ", - "start_line": 32, - "end_line": 34, + "content": "\r\n * Servlet to handle customer account actions, such as login and register.\r\n ", + "start_line": 37, + "end_line": 39, "start_column": 1, "end_column": 3, "is_javadoc": true @@ -24341,212 +22961,693 @@ "public" ], "annotations": [ - "@Entity(name = \"OrderItem\")", - "@Table(name = \"ORDERITEM\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"removeAllOrderItem\", query = \"delete from OrderItem\") })" + "@Named(value = \"accountservlet\")", + "@WebServlet(\"/servlet/AccountServlet\")" ], "parent_type": "", - "nested_type_declarations": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK" - ], + "nested_type_declarations": [], "callable_declarations": { - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getQuantity()", - "comments": [], + "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Request dispatch.\r\n\t ", + "start_line": 329, + "end_line": 331, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ - "public" + "private" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String page) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.ServletContext", + "name": "ctx", + "annotations": [], + "modifiers": [], + "start_line": 332, + "end_line": 332, + "start_column": 31, + "end_column": 48 + }, + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 333, + "end_line": 333, + "start_column": 4, + "end_column": 25 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 334, + "end_line": 334, + "start_column": 4, + "end_column": 27 + }, + { + "type": "java.lang.String", + "name": "page", + "annotations": [], + "modifiers": [], + "start_line": 335, + "end_line": 335, + "start_column": 4, + "end_column": 14 + } ], - "thrown_exceptions": [], - "declaration": "public int getQuantity()", - "parameters": [], - "code": "{\r\n\t\treturn quantity;\r\n\t}", - "start_line": 145, - "end_line": 147, - "code_start_line": 145, - "return_type": "int", + "code": "{\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tctx.getRequestDispatcher(page).include(req, resp);\r\n\t}", + "start_line": 332, + "end_line": 338, + "code_start_line": 335, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "setContentType", + "comment": null, + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"text/html\"" + ], + "return_type": "", + "callee_signature": "setContentType(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 336, + "start_column": 3, + "end_line": 336, + "end_column": 34 + }, + { + "method_name": "include", + "comment": null, + "receiver_expr": "ctx.getRequestDispatcher(page)", + "receiver_type": "javax.servlet.RequestDispatcher", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 337, + "start_column": 3, + "end_line": 337, + "end_column": 51 + }, + { + "method_name": "getRequestDispatcher", + "comment": null, + "receiver_expr": "ctx", + "receiver_type": "javax.servlet.ServletContext", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "page" + ], + "return_type": "javax.servlet.RequestDispatcher", + "callee_signature": "getRequestDispatcher(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 337, + "start_column": 3, + "end_line": 337, + "end_column": 32 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "getInventory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getInventory()", - "comments": [], + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 63, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public Inventory getInventory()", - "parameters": [], - "code": "{\r\n\t\treturn inventory;\r\n\t}", - "start_line": 198, - "end_line": 200, - "code_start_line": 198, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "request", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 20, + "end_column": 64 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "response", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 4, + "end_column": 50 + } + ], + "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", + "start_line": 71, + "end_line": 74, + "code_start_line": 72, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "performTask", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "request", + "response" + ], + "return_type": "", + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 3, + "end_line": 73, + "end_column": 32 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "getSellDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getSellDate()", - "comments": [], + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 76, + "end_line": 83, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public String getSellDate()", - "parameters": [], - "code": "{\r\n\t\treturn sellDate;\r\n\t}", - "start_line": 153, - "end_line": 155, - "code_start_line": 153, - "return_type": "java.lang.String", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "request", + "annotations": [], + "modifiers": [], + "start_line": 84, + "end_line": 84, + "start_column": 21, + "end_column": 65 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "response", + "annotations": [], + "modifiers": [], + "start_line": 85, + "end_line": 85, + "start_column": 4, + "end_column": 50 + } + ], + "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", + "start_line": 84, + "end_line": 87, + "code_start_line": 85, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "performTask", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "request", + "response" + ], + "return_type": "", + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 86, + "start_column": 3, + "end_line": 86, + "end_column": 32 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": " user id was invalid, and may contain XSS attack", + "start_line": 114, + "end_line": 114, + "start_column": 6, + "end_column": 55, + "is_javadoc": false + }, + { + "content": " If results have an error msg, return it, otherwise continue.", + "start_line": 119, + "end_line": 119, + "start_column": 5, + "end_column": 67, + "is_javadoc": false + }, + { + "content": " Proliferate UPDATING flag if user is trying to update his account.", + "start_line": 121, + "end_line": 121, + "start_column": 6, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " If not logging in for the first time, then clear out the", + "start_line": 128, + "end_line": 128, + "start_column": 6, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " session data for the old user.", + "start_line": 129, + "end_line": 129, + "start_column": 6, + "end_column": 38, + "is_javadoc": false + }, + { + "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", + "start_line": 132, + "end_line": 132, + "start_column": 7, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Store customer userid in HttpSession.", + "start_line": 137, + "end_line": 137, + "start_column": 6, + "end_column": 45, + "is_javadoc": false + }, + { + "content": " Was customer trying to edit account information.", + "start_line": 142, + "end_line": 142, + "start_column": 6, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 148, + "end_line": 148, + "start_column": 7, + "end_column": 55, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 159, + "end_line": 159, + "start_column": 8, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " Register a new user.", + "start_line": 180, + "end_line": 180, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " try", + "start_line": 181, + "end_line": 181, + "start_column": 4, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " }", + "start_line": 262, + "end_line": 262, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " catch (CreateException e) { }", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 35, + "is_javadoc": false + }, + { + "content": " {", + "start_line": 182, + "end_line": 182, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " validate all user input", + "start_line": 198, + "end_line": 198, + "start_column": 4, + "end_column": 29, + "is_javadoc": false + }, + { + "content": " Make sure passwords match.", + "start_line": 227, + "end_line": 227, + "start_column": 4, + "end_column": 32, + "is_javadoc": false + }, + { + "content": " Create the new user.", + "start_line": 232, + "end_line": 232, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " Store customer info in HttpSession.", + "start_line": 237, + "end_line": 237, + "start_column": 6, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 240, + "end_line": 240, + "start_column": 6, + "end_column": 54, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 247, + "end_line": 247, + "start_column": 7, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " try", + "start_line": 278, + "end_line": 278, + "start_column": 4, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " }", + "start_line": 316, + "end_line": 316, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " catch (CreateException e) { }", + "start_line": 317, + "end_line": 317, + "start_column": 4, + "end_column": 35, + "is_javadoc": false + }, + { + "content": " {", + "start_line": 279, + "end_line": 279, + "start_column": 4, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " Create the new user.", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " Store updated customer info in HttpSession.", + "start_line": 296, + "end_line": 296, + "start_column": 4, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " See if user was in the middle of checking out.", + "start_line": 299, + "end_line": 299, + "start_column": 4, + "end_column": 52, + "is_javadoc": false + }, + { + "content": " Default to plants", + "start_line": 306, + "end_line": 306, + "start_column": 5, + "end_column": 24, + "is_javadoc": false + }, + { + "content": "\r\n\t * Main service method for AccountServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 89, + "end_line": 96, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrder()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getOrder()", - "comments": [], "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Order getOrder()", - "parameters": [], - "code": "{\r\n\t\treturn order;\r\n\t}", - "start_line": 206, - "end_line": 208, - "code_start_line": 206, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.order" + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setName(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" ], - "thrown_exceptions": [], - "declaration": "public void setName(String name)", + "declaration": "private void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "name", + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 22, - "end_column": 32 + "start_line": 97, + "end_line": 97, + "start_column": 27, + "end_column": 48 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 97, + "end_line": 97, + "start_column": 51, + "end_column": 74 } ], - "code": "{\r\n\t\tthis.name = name;\r\n\t}", - "start_line": 125, - "end_line": 127, - "code_start_line": 125, + "code": "{\r\n\t\tString action = null;\r\n\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tUtil.debug(\"action=\" + action);\r\n\r\n\t\tif (action.equals(ACTION_LOGIN)) {\r\n\t\t\ttry {\r\n\t\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\t\tString userid = req.getParameter(\"userid\");\r\n\t\t\t\tString passwd = req.getParameter(\"passwd\");\r\n\t\t\t\tString updating = req.getParameter(Util.ATTR_UPDATING);\r\n\r\n\t\t\t\tString results = null;\r\n\t\t\t\tif (Util.validateString(userid)) {\r\n\t\t\t\t\tresults = login.verifyUserAndPassword(userid, passwd);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// user id was invalid, and may contain XSS attack\r\n\t\t\t\t\tresults = \"\\nEmail address was invalid.\";\r\n\t\t\t\t\tUtil.debug(\"User id or email address was invalid. id=\" + userid);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// If results have an error msg, return it, otherwise continue.\r\n\t\t\t\tif (results != null) {\r\n\t\t\t\t\t// Proliferate UPDATING flag if user is trying to update his account.\r\n\t\t\t\t\tif (updating.equals(\"true\"))\r\n\t\t\t\t\t\treq.setAttribute(Util.ATTR_UPDATING, \"true\");\r\n\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, results);\r\n\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_LOGIN);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// If not logging in for the first time, then clear out the\r\n\t\t\t\t\t// session data for the old user.\r\n\t\t\t\t\tif (session.getAttribute(Util.ATTR_CUSTOMER) != null) {\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_CART);\r\n\t\t\t\t\t\t// session.removeAttribute(Util.ATTR_CART_CONTENTS);\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\t\tsession.removeAttribute(Util.ATTR_ORDERKEY);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// Store customer userid in HttpSession.\r\n\t\t\t\t\tCustomer customer = login.getCustomer(userid);\r\n\t\t\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\t\t\t\t\tUtil.debug(\"updating=\" + updating + \"=\");\r\n\r\n\t\t\t\t\t// Was customer trying to edit account information.\r\n\t\t\t\t\tif (updating.equals(\"true\")) {\r\n\t\t\t\t\t\treq.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\r\n\r\n\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ACCOUNT);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// See if user was in the middle of checking out.\r\n\t\t\t\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\t\tUtil.debug(\"checkingOut=\" + checkingOut + \"=\");\r\n\t\t\t\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\t\t\t\tUtil.debug(\"must be checking out\");\r\n\t\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ORDERINFO);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tUtil.debug(\"must NOT be checking out\");\r\n\t\t\t\t\t\t\tString url;\r\n\t\t\t\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t\t\t\t// Default to plants\r\n\t\t\t\t\t\t\tif ((category == null) || (category.equals(\"null\"))) {\r\n\t\t\t\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog\r\n\t\t\t\t\t\t\t\t\t\t.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (ServletException e) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\r\n\t\t\t\tthrow e;\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"/nException occurred\");\r\n\t\t\t\tthrow new ServletException(e.getMessage());\r\n\t\t\t}\r\n\t\t} else if (action.equals(ACTION_REGISTER)) {\r\n\t\t\t// Register a new user.\r\n\t\t\t// try\r\n\t\t\t// {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\r\n\t\t\tString userid = req.getParameter(\"userid\");\r\n\t\t\tString password = req.getParameter(\"passwd\");\r\n\t\t\tString cpassword = req.getParameter(\"vpasswd\");\r\n\t\t\tString firstName = req.getParameter(\"fname\");\r\n\t\t\tString lastName = req.getParameter(\"lname\");\r\n\t\t\tString addr1 = req.getParameter(\"addr1\");\r\n\t\t\tString addr2 = req.getParameter(\"addr2\");\r\n\t\t\tString addrCity = req.getParameter(\"city\");\r\n\t\t\tString addrState = req.getParameter(\"state\");\r\n\t\t\tString addrZip = req.getParameter(\"zip\");\r\n\t\t\tString phone = req.getParameter(\"phone\");\r\n\r\n\t\t\t// validate all user input\r\n\t\t\tif (!Util.validateString(userid)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Email address contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(firstName)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"First Name contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(lastName)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Last Name contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addr1)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Address Line 1 contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addr2)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Address Line 2 contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrCity)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"City contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrState)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"State contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(addrZip)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Zip contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else if (!Util.validateString(phone)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Phone Number contains invalid characters.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t}\r\n\t\t\t// Make sure passwords match.\r\n\t\t\telse if (!password.equals(cpassword)) {\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"Passwords do not match.\");\r\n\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t} else {\r\n\t\t\t\t// Create the new user.\r\n\t\t\t\tCustomer customer = login\r\n\t\t\t\t\t\t.createCustomer(userid, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\r\n\t\t\t\tif (customer != null) {\r\n\t\t\t\t\t// Store customer info in HttpSession.\r\n\t\t\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\r\n\t\t\t\t\t// See if user was in the middle of checking out.\r\n\t\t\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\t\t\turl = Util.PAGE_ORDERINFO;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t\t\t// Default to plants\r\n\t\t\t\t\t\tif (category == null) {\r\n\t\t\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog\r\n\t\t\t\t\t\t\t\t\t.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\turl = Util.PAGE_REGISTER;\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"New user NOT created!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t// }\r\n\t\t\t// catch (CreateException e) { }\r\n\t\t} else if (action.equals(ACTION_ACCOUNT)) {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\tCustomer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\r\n\t\t\tif (customer == null) {\r\n\t\t\t\turl = Util.PAGE_LOGIN;\r\n\t\t\t\treq.setAttribute(Util.ATTR_UPDATING, \"true\");\r\n\t\t\t\treq.setAttribute(Util.ATTR_RESULTS, \"\\nYou must login first.\");\r\n\t\t\t} else {\r\n\t\t\t\turl = Util.PAGE_ACCOUNT;\r\n\t\t\t\treq.setAttribute(Util.ATTR_EDITACCOUNTINFO, customer);\r\n\t\t\t}\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t} else if (action.equals(ACTION_ACCOUNTUPDATE)) {\r\n\t\t\t// try\r\n\t\t\t// {\r\n\t\t\tString url;\r\n\t\t\tHttpSession session = req.getSession(true);\r\n\t\t\tCustomer customer = (Customer) session.getAttribute(Util.ATTR_CUSTOMER);\r\n\r\n\t\t\tString userid = customer.getCustomerID();\r\n\t\t\tString firstName = req.getParameter(\"fname\");\r\n\t\t\tString lastName = req.getParameter(\"lname\");\r\n\t\t\tString addr1 = req.getParameter(\"addr1\");\r\n\t\t\tString addr2 = req.getParameter(\"addr2\");\r\n\t\t\tString addrCity = req.getParameter(\"city\");\r\n\t\t\tString addrState = req.getParameter(\"state\");\r\n\t\t\tString addrZip = req.getParameter(\"zip\");\r\n\t\t\tString phone = req.getParameter(\"phone\");\r\n\r\n\t\t\t// Create the new user.\r\n\t\t\tcustomer = login.updateUser(userid, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t// Store updated customer info in HttpSession.\r\n\t\t\tsession.setAttribute(Util.ATTR_CUSTOMER, customer);\r\n\r\n\t\t\t// See if user was in the middle of checking out.\r\n\t\t\tBoolean checkingOut = (Boolean) session.getAttribute(Util.ATTR_CHECKOUT);\r\n\t\t\tif ((checkingOut != null) && (checkingOut.booleanValue())) {\r\n\t\t\t\turl = Util.PAGE_ORDERINFO;\r\n\t\t\t} else {\r\n\t\t\t\tString category = (String) session.getAttribute(Util.ATTR_CATEGORY);\r\n\r\n\t\t\t\t// Default to plants\r\n\t\t\t\tif (category == null) {\r\n\t\t\t\t\turl = Util.PAGE_PROMO;\r\n\t\t\t\t} else {\r\n\t\t\t\t\turl = Util.PAGE_SHOPPING;\r\n\t\t\t\t\treq.setAttribute(Util.ATTR_INVITEMS, catalog.getItemsByCategory(Integer.parseInt(category)));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, url);\r\n\t\t\t// }\r\n\t\t\t// catch (CreateException e) { }\r\n\t\t} else if (action.equals(ACTION_SETLOGGING)) {\r\n\t\t\tString debugSetting = req.getParameter(\"logging\");\r\n\t\t\tif ((debugSetting == null) || (!debugSetting.equals(\"debug\")))\r\n\t\t\t\tUtil.setDebug(false);\r\n\t\t\telse\r\n\t\t\t\tUtil.setDebug(true);\r\n\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_HELP);\r\n\t\t}\r\n\t}", + "start_line": 97, + "end_line": 327, + "code_start_line": 97, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.name" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "OrderItem(Inventory)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderItem(Inventory inv)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inv", - "annotations": [], - "modifiers": [], - "start_line": 164, - "end_line": 164, - "start_column": 19, - "end_column": 31 - } + "javax.servlet.http.HttpSession", + "java.lang.Boolean", + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" ], - "code": "{\r\n\t\tUtil.debug(\"OrderItem(inv) - id = \" + inv.getInventoryId());\r\n\t\tsetInventoryId(inv.getInventoryId());\r\n\t\tinventory = inv;\r\n\t\tname = inv.getName();\r\n\t\tpkginfo = inv.getPkginfo();\r\n\t\tprice = inv.getPrice();\r\n\t\tcost = inv.getCost();\r\n\t\tcategory = inv.getCategory();\r\n\t}", - "start_line": 164, - "end_line": 173, - "code_start_line": 164, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.price", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.name", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", + "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_REGISTER", + "com.ibm.websphere.samples.pbw.war.AccountServlet.login", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CATEGORY", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CUSTOMER", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ORDERINFO", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_INVITEMS", + "com.ibm.websphere.samples.pbw.war.AccountServlet.catalog", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_UPDATING", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_HELP", + "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_SETLOGGING", + "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_LOGIN", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CHECKOUT", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_CART", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ACCOUNT", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_RESULTS", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ORDERKEY", + "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_ACCOUNTUPDATE", + "com.ibm.websphere.samples.pbw.war.AccountServlet.ACTION_ACCOUNT", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_EDITACCOUNTINFO", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_PROMO", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_LOGIN", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_SHOPPING", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_REGISTER" ], "call_sites": [ + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_ACTION" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 12, + "end_line": 100, + "end_column": 45 + }, { "method_name": "debug", "comment": null, @@ -24555,6 +23656,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action=\" + action" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -24565,19 +23669,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 165, + "start_line": 101, "start_column": 3, - "end_line": 165, - "end_column": 61 + "end_line": 101, + "end_column": 32 }, { - "method_name": "getInventoryId", + "method_name": "equals", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "ACTION_LOGIN" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 7, + "end_line": 103, + "end_column": 33 + }, + { + "method_name": "getSession", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 27, + "end_line": 105, + "end_column": 46 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"userid\"" + ], "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24586,21 +23747,321 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 165, - "start_column": 41, - "end_line": 165, - "end_column": 60 + "start_line": 106, + "start_column": 21, + "end_line": 106, + "end_column": 46 }, { - "method_name": "setInventoryId", + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"passwd\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 21, + "end_line": 107, + "end_column": 46 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_UPDATING" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 23, + "end_line": 108, + "end_column": 58 + }, + { + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "userid" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 111, + "start_column": 9, + "end_line": 111, + "end_column": 35 + }, + { + "method_name": "verifyUserAndPassword", + "comment": null, + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "userid", + "passwd" + ], + "return_type": "java.lang.String", + "callee_signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 16, + "end_line": 112, + "end_column": 58 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"User id or email address was invalid. id=\" + userid" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 6, + "end_line": 116, + "end_column": 69 + }, + { + "method_name": "equals", + "comment": { + "content": " Proliferate UPDATING flag if user is trying to update his account.", + "start_line": 121, + "end_line": 121, + "start_column": 6, + "end_column": 74, + "is_javadoc": false + }, + "receiver_expr": "updating", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"true\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 10, + "end_line": 122, + "end_column": 32 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_UPDATING", + "\"true\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 7, + "end_line": 123, + "end_column": 50 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "results" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 6, + "end_line": 125, + "end_column": 49 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_LOGIN" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 6, + "end_line": 126, + "end_column": 88 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 22, + "end_line": 126, + "end_column": 59 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 22, + "end_line": 126, + "end_column": 39 + }, + { + "method_name": "getAttribute", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setInventoryId(java.lang.String)", + "argument_expr": [ + "Util.ATTR_CUSTOMER" + ], + "return_type": "java.lang.Object", + "callee_signature": "getAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24609,19 +24070,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 166, - "start_column": 3, - "end_line": 166, - "end_column": 38 + "start_line": 130, + "start_column": 10, + "end_line": 130, + "end_column": 49 }, { - "method_name": "getInventoryId", + "method_name": "removeAttribute", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CART" + ], + "return_type": "", + "callee_signature": "removeAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24630,19 +24096,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 166, - "start_column": 18, - "end_line": 166, - "end_column": 37 + "start_line": 131, + "start_column": 7, + "end_line": 131, + "end_column": 45 }, { - "method_name": "getName", - "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getName()", + "method_name": "removeAttribute", + "comment": { + "content": " session.removeAttribute(Util.ATTR_CART_CONTENTS);", + "start_line": 132, + "end_line": 132, + "start_column": 7, + "end_column": 58, + "is_javadoc": false + }, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CHECKOUT" + ], + "return_type": "", + "callee_signature": "removeAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24651,19 +24129,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 168, - "start_column": 10, - "end_line": 168, - "end_column": 22 + "start_line": 133, + "start_column": 7, + "end_line": 133, + "end_column": 49 }, { - "method_name": "getPkginfo", + "method_name": "removeAttribute", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPkginfo()", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_ORDERKEY" + ], + "return_type": "", + "callee_signature": "removeAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24672,19 +24155,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 169, - "start_column": 13, - "end_line": 169, - "end_column": 28 + "start_line": 134, + "start_column": 7, + "end_line": 134, + "end_column": 49 }, { - "method_name": "getPrice", + "method_name": "getCustomer", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "userid" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "getCustomer(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -24693,19 +24181,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 170, - "start_column": 11, - "end_line": 170, - "end_column": 24 + "start_line": 138, + "start_column": 26, + "end_line": 138, + "end_column": 50 }, { - "method_name": "getCost", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "Util.ATTR_CUSTOMER", + "customer" + ], "return_type": "", - "callee_signature": "getCost()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -24714,485 +24209,139 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 171, - "start_column": 10, - "end_line": 171, - "end_column": 22 + "start_line": 139, + "start_column": 6, + "end_line": 139, + "end_column": 55 }, { - "method_name": "getCategory", + "method_name": "debug", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"updating=\" + updating + \"=\"" + ], "return_type": "", - "callee_signature": "getCategory()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 172, - "start_column": 14, - "end_line": 172, - "end_column": 30 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPrice(float)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setPrice(float)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPrice(float price)", - "parameters": [ - { - "type": "float", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 141, - "end_line": 141, - "start_column": 23, - "end_column": 33 - } - ], - "code": "{\r\n\t\tthis.price = price;\r\n\t}", - "start_line": 141, - "end_line": 143, - "code_start_line": 141, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.price" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getInventoryId()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getInventoryId()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getInventoryId()", - "parameters": [], - "code": "{\r\n\t\treturn inventoryId;\r\n\t}", - "start_line": 220, - "end_line": 222, - "code_start_line": 220, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPkginfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getPkginfo()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getPkginfo()", - "parameters": [], - "code": "{\r\n\t\treturn pkginfo;\r\n\t}", - "start_line": 129, - "end_line": 131, - "code_start_line": 129, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPrice()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getPrice()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public float getPrice()", - "parameters": [], - "code": "{\r\n\t\treturn price;\r\n\t}", - "start_line": 137, - "end_line": 139, - "code_start_line": 137, - "return_type": "float", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.price" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setInventoryId(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setInventoryId(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInventoryId(String inventoryId)", - "parameters": [ - { - "type": "java.lang.String", - "name": "inventoryId", - "annotations": [], - "modifiers": [], - "start_line": 224, - "end_line": 224, - "start_column": 29, - "end_column": 46 - } - ], - "code": "{\r\n\t\tthis.inventoryId = inventoryId;\r\n\t}", - "start_line": 224, - "end_line": 226, - "code_start_line": 224, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setSellDate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setSellDate(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSellDate(String sellDate)", - "parameters": [ - { - "type": "java.lang.String", - "name": "sellDate", - "annotations": [], - "modifiers": [], - "start_line": 157, - "end_line": 157, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.sellDate = sellDate;\r\n\t}", - "start_line": 157, - "end_line": 159, - "code_start_line": 157, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getName()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getName()", - "parameters": [], - "code": "{\r\n\t\treturn name;\r\n\t}", - "start_line": 121, - "end_line": 123, - "code_start_line": 121, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.name" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "OrderItem()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderItem()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 161, - "end_line": 162, - "code_start_line": 161, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setInventory(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setInventory(Inventory)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInventory(Inventory inv)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inv", - "annotations": [], - "modifiers": [], - "start_line": 202, - "end_line": 202, - "start_column": 27, - "end_column": 39 - } - ], - "code": "{\r\n\t\tthis.inventory = inv;\r\n\t}", - "start_line": 202, - "end_line": 204, - "code_start_line": 202, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setQuantity(int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 149, - "end_line": 149, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", - "start_line": 149, - "end_line": 151, - "code_start_line": 149, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPkginfo(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setPkginfo(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPkginfo(String pkginfo)", - "parameters": [ + "start_line": 140, + "start_column": 6, + "end_line": 140, + "end_column": 45 + }, { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.pkginfo = pkginfo;\r\n\t}", - "start_line": 133, - "end_line": 135, - "code_start_line": 133, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrder(Order)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setOrder(Order)", - "comments": [ + "method_name": "equals", + "comment": { + "content": " Was customer trying to edit account information.", + "start_line": 142, + "end_line": 142, + "start_column": 6, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "updating", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"true\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 10, + "end_line": 143, + "end_column": 32 + }, { - "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 210, - "end_line": 214, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrder(Order order)", - "parameters": [ + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "Util.ATTR_EDITACCOUNTINFO", + "customer" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 144, + "start_column": 7, + "end_line": 144, + "end_column": 59 + }, { - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "name": "order", - "annotations": [], - "modifiers": [], - "start_line": 215, - "end_line": 215, - "start_column": 23, - "end_column": 33 - } - ], - "code": "{\r\n\t\tthis.order = order;\r\n\t\tthis.sellDate = order.getSellDate();\r\n\t}", - "start_line": 215, - "end_line": 218, - "code_start_line": 215, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Order" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.order" - ], - "call_sites": [ + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_ACCOUNT" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 146, + "start_column": 7, + "end_line": 146, + "end_column": 91 + }, { - "method_name": "getSellDate", + "method_name": "getServletContext", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSellDate()", + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -25201,242 +24350,274 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 217, - "start_column": 19, - "end_line": 217, - "end_column": 37 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCategory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getCategory()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getCategory()", - "parameters": [], - "code": "{\r\n\t\treturn category;\r\n\t}", - "start_line": 105, - "end_line": 107, - "code_start_line": 105, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCost()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "getCost()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public float getCost()", - "parameters": [], - "code": "{\r\n\t\treturn cost;\r\n\t}", - "start_line": 113, - "end_line": 115, - "code_start_line": 113, - "return_type": "float", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Order, String, Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "OrderItem(Order, String, Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderItem(Order order, String orderID, Inventory inv, java.lang.String name, java.lang.String pkginfo, float price, float cost, int quantity, int category, java.lang.String sellDate)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "name": "order", - "annotations": [], - "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 19, - "end_column": 29 + "start_line": 146, + "start_column": 23, + "end_line": 146, + "end_column": 60 }, { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 32, - "end_column": 45 + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 146, + "start_column": 23, + "end_line": 146, + "end_column": 40 }, { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inv", - "annotations": [], - "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 48, - "end_column": 60 + "method_name": "getAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CHECKOUT" + ], + "return_type": "java.lang.Boolean", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 149, + "start_column": 39, + "end_line": 149, + "end_column": 78 }, { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 63, - "end_column": 83 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"checkingOut=\" + checkingOut + \"=\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 150, + "start_column": 7, + "end_line": 150, + "end_column": 52 }, { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 86, - "end_column": 109 + "method_name": "booleanValue", + "comment": null, + "receiver_expr": "checkingOut", + "receiver_type": "java.lang.Boolean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "booleanValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 151, + "start_column": 37, + "end_line": 151, + "end_column": 62 }, { - "type": "float", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 4, - "end_column": 14 + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"must be checking out\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 152, + "start_column": 8, + "end_line": 152, + "end_column": 41 }, { - "type": "float", - "name": "cost", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 17, - "end_column": 26 + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_ORDERINFO" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 153, + "start_column": 8, + "end_line": 153, + "end_column": 94 }, { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 29, - "end_column": 40 + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 153, + "start_column": 24, + "end_line": 153, + "end_column": 61 }, { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 43, - "end_column": 54 + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 153, + "start_column": 24, + "end_line": 153, + "end_column": 41 }, { - "type": "java.lang.String", - "name": "sellDate", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 57, - "end_column": 81 - } - ], - "code": "{\r\n\t\tUtil.debug(\"OrderItem(etc.)\");\r\n\t\tinventory = inv;\r\n\t\tsetInventoryId(inv.getInventoryId());\r\n\t\tsetName(name);\r\n\t\tsetPkginfo(pkginfo);\r\n\t\tsetPrice(price);\r\n\t\tsetCost(cost);\r\n\t\tsetQuantity(quantity);\r\n\t\tsetCategory(category);\r\n\t\tsetSellDate(sellDate);\r\n\t\tsetOrder(order);\r\n\t\tid = new OrderItem.PK(inv.getInventoryId(), order.getOrderID());\r\n\t}", - "start_line": 175, - "end_line": 189, - "code_start_line": 176, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.price", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.name", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.order", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.id", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" - ], - "call_sites": [ + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"must NOT be checking out\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 155, + "start_column": 8, + "end_line": 155, + "end_column": 45 + }, { - "method_name": "debug", + "method_name": "getAttribute", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", + "argument_expr": [ + "Util.ATTR_CATEGORY" + ], + "return_type": "java.lang.String", + "callee_signature": "getAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 177, - "start_column": 3, - "end_line": 177, - "end_column": 31 + "start_line": 157, + "start_column": 35, + "end_line": 157, + "end_column": 74 }, { - "method_name": "setInventoryId", + "method_name": "equals", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "category", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"null\"" + ], "return_type": "", - "callee_signature": "setInventoryId(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -25445,19 +24626,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 179, - "start_column": 3, - "end_line": 179, - "end_column": 38 + "start_line": 160, + "start_column": 35, + "end_line": 160, + "end_column": 57 }, { - "method_name": "getInventoryId", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.util.Vector" + ], + "argument_expr": [ + "Util.ATTR_INVITEMS", + "catalog.getItemsByCategory(Integer.parseInt(category))" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -25466,44 +24654,104 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 179, - "start_column": 18, - "end_line": 179, - "end_column": 37 + "start_line": 164, + "start_column": 9, + "end_line": 165, + "end_column": 58 }, { - "method_name": "setName", + "method_name": "getItemsByCategory", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "" + ], + "argument_expr": [ + "Integer.parseInt(category)" + ], + "return_type": "java.util.Vector", + "callee_signature": "getItemsByCategory(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 164, + "start_column": 46, + "end_line": 165, + "end_column": 57 + }, + { + "method_name": "parseInt", + "comment": null, + "receiver_expr": "Integer", + "receiver_type": "java.lang.Integer", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "category" + ], "return_type": "", - "callee_signature": "setName(java.lang.String)", + "callee_signature": "parseInt(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 180, - "start_column": 3, - "end_line": 180, - "end_column": 15 + "start_line": 165, + "start_column": 31, + "end_line": 165, + "end_column": 56 }, { - "method_name": "setPkginfo", + "method_name": "requestDispatch", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "url" + ], "return_type": "", - "callee_signature": "setPkginfo(java.lang.String)", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 168, + "start_column": 8, + "end_line": 168, + "end_column": 78 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -25512,21 +24760,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 181, - "start_column": 3, - "end_line": 181, - "end_column": 21 + "start_line": 168, + "start_column": 24, + "end_line": 168, + "end_column": 61 }, { - "method_name": "setPrice", + "method_name": "getServletConfig", "comment": null, "receiver_expr": "", "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 168, + "start_column": 24, + "end_line": 168, + "end_column": 41 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"/nException occurred\"" ], "return_type": "", - "callee_signature": "setPrice(float)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -25535,21 +24810,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 182, - "start_column": 3, - "end_line": 182, - "end_column": 17 + "start_line": 173, + "start_column": 5, + "end_line": 173, + "end_column": 63 }, { - "method_name": "setCost", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"/nException occurred\"" ], "return_type": "", - "callee_signature": "setCost(float)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -25558,21 +24838,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 183, - "start_column": 3, - "end_line": 183, - "end_column": 15 + "start_line": 176, + "start_column": 5, + "end_line": 176, + "end_column": 63 }, { - "method_name": "setQuantity", + "method_name": "getMessage", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 32, + "end_line": 177, + "end_column": 45 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "ACTION_REGISTER" ], "return_type": "", - "callee_signature": "setQuantity(int)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -25581,21 +24886,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 184, - "start_column": 3, - "end_line": 184, - "end_column": 23 + "start_line": 179, + "start_column": 14, + "end_line": 179, + "end_column": 43 }, { - "method_name": "setCategory", + "method_name": "getSession", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "" ], - "return_type": "", - "callee_signature": "setCategory(int)", + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -25604,21 +24912,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 185, - "start_column": 3, - "end_line": 185, - "end_column": 23 + "start_line": 184, + "start_column": 26, + "end_line": 184, + "end_column": 45 }, { - "method_name": "setSellDate", + "method_name": "getParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setSellDate(java.lang.String)", + "argument_expr": [ + "\"userid\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -25628,20 +24939,23 @@ "crud_operation": null, "crud_query": null, "start_line": 186, - "start_column": 3, + "start_column": 20, "end_line": 186, - "end_column": 23 + "end_column": 45 }, { - "method_name": "setOrder", + "method_name": "getParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Order" + "java.lang.String" ], - "return_type": "", - "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "argument_expr": [ + "\"passwd\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -25651,18 +24965,23 @@ "crud_operation": null, "crud_query": null, "start_line": 187, - "start_column": 3, + "start_column": 22, "end_line": 187, - "end_column": 17 + "end_column": 47 }, { - "method_name": "getInventoryId", + "method_name": "getParameter", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"vpasswd\"" + ], "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -25672,18 +24991,23 @@ "crud_operation": null, "crud_query": null, "start_line": 188, - "start_column": 25, + "start_column": 23, "end_line": 188, - "end_column": 44 + "end_column": 49 }, { - "method_name": "getOrderID", + "method_name": "getParameter", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"fname\"" + ], "return_type": "java.lang.String", - "callee_signature": "getOrderID()", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -25692,155 +25016,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, - "start_column": 47, - "end_line": 188, - "end_column": 64 + "start_line": 189, + "start_column": 23, + "end_line": 189, + "end_column": 47 }, { - "method_name": "", + "method_name": "getParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", - "callee_signature": "PK(java.lang.String, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"lname\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, - "start_column": 8, - "end_line": 188, - "end_column": 65 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCategory(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setCategory(int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCategory(int category)", - "parameters": [ + "start_line": 190, + "start_column": 22, + "end_line": 190, + "end_column": 46 + }, { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\tthis.category = category;\r\n\t}", - "start_line": 109, - "end_line": 111, - "code_start_line": 109, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCost(float)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "setCost(float)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCost(float cost)", - "parameters": [ + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"addr1\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 191, + "start_column": 19, + "end_line": 191, + "end_column": 43 + }, { - "type": "float", - "name": "cost", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 22, - "end_column": 31 - } - ], - "code": "{\r\n\t\tthis.cost = cost;\r\n\t}", - "start_line": 117, - "end_line": 119, - "code_start_line": 117, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "updatePK()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "updatePK()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void updatePK()", - "parameters": [], - "code": "{\r\n\t\tid = new OrderItem.PK(inventoryId, order.getOrderID());\r\n\t}", - "start_line": 194, - "end_line": 196, - "code_start_line": 194, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.order", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.id" - ], - "call_sites": [ + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"addr2\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 192, + "start_column": 19, + "end_line": 192, + "end_column": 43 + }, { - "method_name": "getOrderID", + "method_name": "getParameter", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"city\"" + ], "return_type": "java.lang.String", - "callee_signature": "getOrderID()", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -25849,472 +25120,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 195, - "start_column": 38, - "end_line": 195, - "end_column": 55 + "start_line": 193, + "start_column": 22, + "end_line": 193, + "end_column": 45 }, { - "method_name": "", + "method_name": "getParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", - "callee_signature": "PK(java.lang.String, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"state\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 195, - "start_column": 8, - "end_line": 195, - "end_column": 56 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", - "start_line": 85, - "end_line": 87, - "variables": [ - "id" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@SuppressWarnings(\"unused\")", - "@EmbeddedId" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 88, - "end_line": 88, - "variables": [ - "name" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 89, - "end_line": 89, - "variables": [ - "pkginfo" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "float", - "start_line": 90, - "end_line": 90, - "variables": [ - "price" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "float", - "start_line": 91, - "end_line": 91, - "variables": [ - "cost" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 92, - "end_line": 92, - "variables": [ - "category" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 93, - "end_line": 93, - "variables": [ - "quantity" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 94, - "end_line": 94, - "variables": [ - "sellDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 95, - "end_line": 96, - "variables": [ - "inventoryId" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Transient" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "start_line": 98, - "end_line": 100, - "variables": [ - "inventory" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@ManyToOne", - "@JoinColumn(name = \"INVENTORYID\", insertable = false, updatable = false)" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "start_line": 101, - "end_line": 103, - "variables": [ - "order" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@ManyToOne", - "@JoinColumn(name = \"ORDER_ORDERID\", insertable = false, updatable = false)" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - }, - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK": { - "is_nested_type": true, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", - "start_line": 63, - "end_line": 65, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", - "start_line": 74, - "end_line": 76, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", - "start_line": 39, - "end_line": 43, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public", - "static" - ], - "annotations": [ - "@Embeddable" - ], - "parent_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "nested_type_declarations": [], - "callable_declarations": { - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "PK()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public PK()", - "parameters": [], - "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK()\");\r\n\t\t}", - "start_line": 52, - "end_line": 54, - "code_start_line": 52, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ + "start_line": 194, + "start_column": 23, + "end_line": 194, + "end_column": 47 + }, { - "method_name": "debug", + "method_name": "getParameter", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", + "argument_expr": [ + "\"zip\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 53, - "start_column": 4, - "end_line": 53, - "end_column": 31 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "PK(String, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public PK(String inventoryID, String argOrder)", - "parameters": [ - { - "type": "java.lang.String", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 56, - "end_line": 56, - "start_column": 13, - "end_column": 30 + "start_line": 195, + "start_column": 21, + "end_line": 195, + "end_column": 43 }, { - "type": "java.lang.String", - "name": "argOrder", - "annotations": [], - "modifiers": [], - "start_line": 56, - "end_line": 56, - "start_column": 33, - "end_column": 47 - } - ], - "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK() inventoryID=\" + inventoryID + \"=\");\r\n\t\t\tUtil.debug(\"OrderItem.PK() orderID=\" + argOrder + \"=\");\r\n\t\t\tthis.inventoryID = inventoryID;\r\n\t\t\tthis.order_orderID = argOrder;\r\n\t\t}", - "start_line": 56, - "end_line": 61, - "code_start_line": 56, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" - ], - "call_sites": [ - { - "method_name": "debug", + "method_name": "getParameter", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", + "argument_expr": [ + "\"phone\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 57, - "start_column": 4, - "end_line": 57, - "end_column": 64 + "start_line": 196, + "start_column": 19, + "end_line": 196, + "end_column": 43 }, { - "method_name": "debug", + "method_name": "validateString", "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userid" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "validateString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -26323,98 +25224,80 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 58, - "start_column": 4, - "end_line": 58, - "end_column": 57 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "equals(java.lang.Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "equals(java.lang.Object)", - "comments": [ - { - "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", - "start_line": 63, - "end_line": 65, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean equals(java.lang.Object otherKey)", - "parameters": [ + "start_line": 199, + "start_column": 9, + "end_line": 199, + "end_column": 35 + }, { - "type": "java.lang.Object", - "name": "otherKey", - "annotations": [], - "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 25, - "end_column": 49 - } - ], - "code": "{\r\n\t\t\tif (otherKey instanceof PK) {\r\n\t\t\t\tPK o = (PK) otherKey;\r\n\t\t\t\treturn ((this.inventoryID.equals(o.inventoryID)) && (this.order_orderID.equals(o.order_orderID)));\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}", - "start_line": 66, - "end_line": 72, - "code_start_line": 66, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" - ], - "call_sites": [ + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Email address contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 200, + "start_column": 5, + "end_line": 200, + "end_column": 85 + }, { - "method_name": "equals", + "method_name": "validateString", "comment": null, - "receiver_expr": "this.inventoryID", - "receiver_type": "java.lang.String", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "firstName" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "validateString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 69, - "start_column": 14, - "end_line": 69, - "end_column": 51 + "start_line": 202, + "start_column": 16, + "end_line": 202, + "end_column": 45 }, { - "method_name": "equals", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "this.order_orderID", - "receiver_type": "java.lang.String", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"First Name contains invalid characters.\"" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -26423,79 +25306,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 69, - "start_column": 58, - "end_line": 69, - "end_column": 99 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "o", - "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", - "initializer": "(PK) otherKey", - "start_line": 68, - "start_column": 8, - "end_line": 68, - "end_column": 24 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "hashCode()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", - "signature": "hashCode()", - "comments": [ - { - "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", - "start_line": 74, - "end_line": 76, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int hashCode()", - "parameters": [], - "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK.hashCode() inventoryID=\" + inventoryID + \"=\");\r\n\t\t\tUtil.debug(\"OrderItem.PK.hashCode() orderID=\" + order_orderID + \"=\");\r\n\r\n\t\t\treturn (inventoryID.hashCode() + order_orderID.hashCode());\r\n\t\t}", - "start_line": 77, - "end_line": 82, - "code_start_line": 77, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", - "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" - ], - "call_sites": [ + "start_line": 203, + "start_column": 5, + "end_line": 203, + "end_column": 82 + }, { - "method_name": "debug", + "method_name": "validateString", "comment": null, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "lastName" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "validateString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -26504,63 +25332,80 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 78, - "start_column": 4, - "end_line": 78, - "end_column": 73 + "start_line": 205, + "start_column": 16, + "end_line": 205, + "end_column": 44 }, { - "method_name": "debug", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Last Name contains invalid characters.\"" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 79, - "start_column": 4, - "end_line": 79, - "end_column": 71 + "start_line": 206, + "start_column": 5, + "end_line": 206, + "end_column": 81 }, { - "method_name": "hashCode", + "method_name": "validateString", "comment": null, - "receiver_expr": "inventoryID", - "receiver_type": "java.lang.String", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addr1" + ], "return_type": "", - "callee_signature": "hashCode()", + "callee_signature": "validateString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 81, - "start_column": 12, - "end_line": 81, - "end_column": 33 + "start_line": 208, + "start_column": 16, + "end_line": 208, + "end_column": 41 }, { - "method_name": "hashCode", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "order_orderID", - "receiver_type": "java.lang.String", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Address Line 1 contains invalid characters.\"" + ], "return_type": "", - "callee_signature": "hashCode()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -26568,663 +25413,295 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 37, - "end_line": 81, - "end_column": 60 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 46, - "end_line": 46, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 47, - "end_line": 48, - "variables": [ - "inventoryID" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Column(name = \"inventoryID\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 49, - "end_line": 50, - "variables": [ - "order_orderID" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Column(name = \"ORDER_ORDERID\")" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Bean mapping for the ORDER1 table.\r\n ", - "start_line": 36, - "end_line": 38, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", - "start_line": 82, - "end_line": 129, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Pad it to 14 digits so sorting works properly.", - "start_line": 137, - "end_line": 137, - "start_column": 3, - "end_column": 51, - "is_javadoc": false - }, - { - "content": " Get profit for total order.", - "start_line": 167, - "end_line": 167, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.util.Collection", - "javax.persistence.Entity", - "javax.persistence.GeneratedValue", - "javax.persistence.GenerationType", - "javax.persistence.Id", - "javax.persistence.JoinColumn", - "javax.persistence.ManyToOne", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.Table", - "javax.persistence.TableGenerator", - "javax.persistence.Transient", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.Order": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", - "start_line": 82, - "end_line": 129, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Pad it to 14 digits so sorting works properly.", - "start_line": 137, - "end_line": 137, - "start_column": 3, - "end_column": 51, - "is_javadoc": false - }, - { - "content": " Get profit for total order.", - "start_line": 167, - "end_line": 167, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n * Bean mapping for the ORDER1 table.\r\n ", - "start_line": 36, - "end_line": 38, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Entity(name = \"Order\")", - "@Table(name = \"ORDER1\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"removeAllOrders\", query = \"delete from Order\") })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setCcNum(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCcNum(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCcNum(String ccNum)", - "parameters": [ + "crud_query": null, + "start_line": 209, + "start_column": 5, + "end_line": 209, + "end_column": 86 + }, { - "type": "java.lang.String", - "name": "ccNum", - "annotations": [], - "modifiers": [], - "start_line": 270, - "end_line": 270, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.ccNum = ccNum;\r\n\t}", - "start_line": 270, - "end_line": 272, - "code_start_line": 270, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccNum" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShipAddr1()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipAddr1()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipAddr1()", - "parameters": [], - "code": "{\r\n\t\treturn shipAddr1;\r\n\t}", - "start_line": 330, - "end_line": 332, - "code_start_line": 330, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setShipAddr2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipAddr2(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShipAddr2(String shipAddr2)", - "parameters": [ + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addr2" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 211, + "start_column": 16, + "end_line": 211, + "end_column": 41 + }, { - "type": "java.lang.String", - "name": "shipAddr2", - "annotations": [], - "modifiers": [], - "start_line": 342, - "end_line": 342, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t}", - "start_line": 342, - "end_line": 344, - "code_start_line": 342, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShipZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipZip()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipZip()", - "parameters": [], - "code": "{\r\n\t\treturn shipZip;\r\n\t}", - "start_line": 378, - "end_line": 380, - "code_start_line": 378, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipZip" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillAddr1()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillAddr1()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillAddr1()", - "parameters": [], - "code": "{\r\n\t\treturn billAddr1;\r\n\t}", - "start_line": 186, - "end_line": 188, - "code_start_line": 186, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShipCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipCity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipCity()", - "parameters": [], - "code": "{\r\n\t\treturn shipCity;\r\n\t}", - "start_line": 346, - "end_line": 348, - "code_start_line": 346, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipCity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillPhone(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillPhone(String billPhone)", - "parameters": [ + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Address Line 2 contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 212, + "start_column": 5, + "end_line": 212, + "end_column": 86 + }, { - "type": "java.lang.String", - "name": "billPhone", - "annotations": [], - "modifiers": [], - "start_line": 222, - "end_line": 222, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billPhone = billPhone;\r\n\t}", - "start_line": 222, - "end_line": 224, - "code_start_line": 222, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billPhone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrderID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setOrderID(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderID(String orderID)", - "parameters": [ + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrCity" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 214, + "start_column": 16, + "end_line": 214, + "end_column": 44 + }, { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 302, - "end_line": 302, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", - "start_line": 302, - "end_line": 304, - "code_start_line": 302, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "Order(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Order(String orderID)", - "parameters": [ + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"City contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 5, + "end_line": 215, + "end_column": 76 + }, { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 179, - "end_line": 179, - "start_column": 15, - "end_column": 28 - } - ], - "code": "{\r\n\t\tsetOrderID(orderID);\r\n\t}", - "start_line": 179, - "end_line": 181, - "code_start_line": 179, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.orderID" - ], - "call_sites": [ + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrState" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 16, + "end_line": 217, + "end_column": 45 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"State contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 218, + "start_column": 5, + "end_line": 218, + "end_column": 77 + }, + { + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrZip" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 220, + "start_column": 16, + "end_line": 220, + "end_column": 43 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Zip contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 221, + "start_column": 5, + "end_line": 221, + "end_column": 75 + }, + { + "method_name": "validateString", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "phone" + ], + "return_type": "", + "callee_signature": "validateString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 223, + "start_column": 16, + "end_line": 223, + "end_column": 41 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Phone Number contains invalid characters.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 224, + "start_column": 5, + "end_line": 224, + "end_column": 84 + }, { - "method_name": "setOrderID", + "method_name": "equals", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "password", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cpassword" + ], "return_type": "", - "callee_signature": "setOrderID(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -27233,637 +25710,805 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 180, - "start_column": 3, - "end_line": 180, - "end_column": 21 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillState()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillState()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillState()", - "parameters": [], - "code": "{\r\n\t\treturn billState;\r\n\t}", - "start_line": 226, - "end_line": 228, - "code_start_line": 226, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "Order()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Order()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 183, - "end_line": 184, - "code_start_line": 183, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillAddr1(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillAddr1(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillAddr1(String billAddr1)", - "parameters": [ + "start_line": 228, + "start_column": 14, + "end_line": 228, + "end_column": 39 + }, { - "type": "java.lang.String", - "name": "billAddr1", - "annotations": [], - "modifiers": [], - "start_line": 190, - "end_line": 190, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t}", - "start_line": 190, - "end_line": 192, - "code_start_line": 190, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillState(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillState(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillState(String billState)", - "parameters": [ + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"Passwords do not match.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 229, + "start_column": 5, + "end_line": 229, + "end_column": 66 + }, { - "type": "java.lang.String", - "name": "billState", - "annotations": [], - "modifiers": [], - "start_line": 230, - "end_line": 230, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billState = billState;\r\n\t}", - "start_line": 230, - "end_line": 232, - "code_start_line": 230, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCcNum()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCcNum()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCcNum()", - "parameters": [], - "code": "{\r\n\t\treturn ccNum;\r\n\t}", - "start_line": 266, - "end_line": 268, - "code_start_line": 266, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccNum" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setItems(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setItems(Collection)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setItems(Collection items)", - "parameters": [ + "method_name": "createCustomer", + "comment": null, + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "userid", + "password", + "firstName", + "lastName", + "addr1", + "addr2", + "addrCity", + "addrState", + "addrZip", + "phone" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 25, + "end_line": 234, + "end_column": 111 + }, { - "type": "java.util.Collection", - "name": "items", - "annotations": [], - "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 23, - "end_column": 49 - } - ], - "code": "{\r\n\t\tthis.items = items;\r\n\t}", - "start_line": 294, - "end_line": 296, - "code_start_line": 294, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.items" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCreditCard(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCreditCard(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCreditCard(String creditCard)", - "parameters": [ + "method_name": "setAttribute", + "comment": { + "content": " Store customer info in HttpSession.", + "start_line": 237, + "end_line": 237, + "start_column": 6, + "end_column": 43, + "is_javadoc": false + }, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "Util.ATTR_CUSTOMER", + "customer" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 238, + "start_column": 6, + "end_line": 238, + "end_column": 55 + }, { - "type": "java.lang.String", - "name": "creditCard", - "annotations": [], - "modifiers": [], - "start_line": 278, - "end_line": 278, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\r\n\t\tthis.creditCard = creditCard;\r\n\t}", - "start_line": 278, - "end_line": 280, - "code_start_line": 278, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.creditCard" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillName()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillName()", - "parameters": [], - "code": "{\r\n\t\treturn billName;\r\n\t}", - "start_line": 210, - "end_line": 212, - "code_start_line": 210, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCreditCard()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCreditCard()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCreditCard()", - "parameters": [], - "code": "{\r\n\t\treturn creditCard;\r\n\t}", - "start_line": 274, - "end_line": 276, - "code_start_line": 274, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.creditCard" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Customer, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "Order(Customer, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)", - "comments": [ + "method_name": "getAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CHECKOUT" + ], + "return_type": "java.lang.Boolean", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 241, + "start_column": 38, + "end_line": 241, + "end_column": 77 + }, { - "content": " Pad it to 14 digits so sorting works properly.", - "start_line": 137, - "end_line": 137, - "start_column": 3, - "end_column": 51, - "is_javadoc": false + "method_name": "booleanValue", + "comment": null, + "receiver_expr": "checkingOut", + "receiver_type": "java.lang.Boolean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "booleanValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 242, + "start_column": 36, + "end_line": 242, + "end_column": 61 + }, + { + "method_name": "getAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CATEGORY" + ], + "return_type": "java.lang.String", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 245, + "start_column": 34, + "end_line": 245, + "end_column": 73 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.util.Vector" + ], + "argument_expr": [ + "Util.ATTR_INVITEMS", + "catalog.getItemsByCategory(Integer.parseInt(category))" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 8, + "end_line": 253, + "end_column": 57 }, { - "content": " Get profit for total order.", - "start_line": 167, - "end_line": 167, - "start_column": 3, - "end_column": 32, - "is_javadoc": false + "method_name": "getItemsByCategory", + "comment": null, + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "" + ], + "argument_expr": [ + "Integer.parseInt(category)" + ], + "return_type": "java.util.Vector", + "callee_signature": "getItemsByCategory(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 45, + "end_line": 253, + "end_column": 56 }, { - "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", - "start_line": 82, - "end_line": 129, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Order(Customer customer, String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, String creditCard, String ccNum, String ccExpireMonth, String ccExpireYear, String cardHolder, int shippingMethod, Collection items)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "name": "customer", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 15, - "end_column": 31 + "method_name": "parseInt", + "comment": null, + "receiver_expr": "Integer", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "category" + ], + "return_type": "", + "callee_signature": "parseInt(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 253, + "start_column": 30, + "end_line": 253, + "end_column": 55 }, { - "type": "java.lang.String", - "name": "billName", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 34, - "end_column": 48 + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"New user NOT created!\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 258, + "start_column": 6, + "end_line": 258, + "end_column": 65 }, { - "type": "java.lang.String", - "name": "billAddr1", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 51, - "end_column": 66 + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "url" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 261, + "start_column": 4, + "end_line": 261, + "end_column": 74 }, { - "type": "java.lang.String", - "name": "billAddr2", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 69, - "end_column": 84 + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 261, + "start_column": 20, + "end_line": 261, + "end_column": 57 }, { - "type": "java.lang.String", - "name": "billCity", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 87, - "end_column": 101 + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 261, + "start_column": 20, + "end_line": 261, + "end_column": 37 }, { - "type": "java.lang.String", - "name": "billState", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 4, - "end_column": 19 + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "ACTION_ACCOUNT" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 264, + "start_column": 14, + "end_line": 264, + "end_column": 42 }, { - "type": "java.lang.String", - "name": "billZip", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 22, - "end_column": 35 + "method_name": "getSession", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 266, + "start_column": 26, + "end_line": 266, + "end_column": 45 }, { - "type": "java.lang.String", - "name": "billPhone", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 38, - "end_column": 53 + "method_name": "getAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CUSTOMER" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 267, + "start_column": 35, + "end_line": 267, + "end_column": 74 }, { - "type": "java.lang.String", - "name": "shipName", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 56, - "end_column": 70 + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_UPDATING", + "\"true\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 270, + "start_column": 5, + "end_line": 270, + "end_column": 48 }, { - "type": "java.lang.String", - "name": "shipAddr1", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 73, - "end_column": 88 + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_RESULTS", + "\"\\nYou must login first.\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 271, + "start_column": 5, + "end_line": 271, + "end_column": 66 }, { - "type": "java.lang.String", - "name": "shipAddr2", - "annotations": [], - "modifiers": [], - "start_line": 131, - "end_line": 131, - "start_column": 91, - "end_column": 106 + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "Util.ATTR_EDITACCOUNTINFO", + "customer" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 274, + "start_column": 5, + "end_line": 274, + "end_column": 57 }, { - "type": "java.lang.String", - "name": "shipCity", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "url" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 276, "start_column": 4, - "end_column": 18 + "end_line": 276, + "end_column": 74 }, { - "type": "java.lang.String", - "name": "shipState", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, - "start_column": 21, - "end_column": 36 + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 276, + "start_column": 20, + "end_line": 276, + "end_column": 57 }, { - "type": "java.lang.String", - "name": "shipZip", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, - "start_column": 39, - "end_column": 52 + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 276, + "start_column": 20, + "end_line": 276, + "end_column": 37 }, { - "type": "java.lang.String", - "name": "shipPhone", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, - "start_column": 55, - "end_column": 70 + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "ACTION_ACCOUNTUPDATE" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 277, + "start_column": 14, + "end_line": 277, + "end_column": 48 }, { - "type": "java.lang.String", - "name": "creditCard", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, - "start_column": 73, - "end_column": 89 + "method_name": "getSession", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 281, + "start_column": 26, + "end_line": 281, + "end_column": 45 }, { - "type": "java.lang.String", - "name": "ccNum", - "annotations": [], - "modifiers": [], - "start_line": 132, - "end_line": 132, - "start_column": 92, - "end_column": 103 + "method_name": "getAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CUSTOMER" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 282, + "start_column": 35, + "end_line": 282, + "end_column": 74 }, { - "type": "java.lang.String", - "name": "ccExpireMonth", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 4, - "end_column": 23 + "method_name": "getCustomerID", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCustomerID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 284, + "start_column": 20, + "end_line": 284, + "end_column": 43 }, { - "type": "java.lang.String", - "name": "ccExpireYear", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 26, - "end_column": 44 + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"fname\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 285, + "start_column": 23, + "end_line": 285, + "end_column": 47 }, { - "type": "java.lang.String", - "name": "cardHolder", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 47, - "end_column": 63 + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"lname\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 286, + "start_column": 22, + "end_line": 286, + "end_column": 46 }, { - "type": "int", - "name": "shippingMethod", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 66, - "end_column": 83 + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"addr1\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 287, + "start_column": 19, + "end_line": 287, + "end_column": 43 }, { - "type": "java.util.Collection", - "name": "items", - "annotations": [], - "modifiers": [], - "start_line": 134, - "end_line": 134, - "start_column": 4, - "end_column": 30 - } - ], - "code": "{\r\n\t\tthis.setSellDate(Long.toString(System.currentTimeMillis()));\r\n\r\n\t\t// Pad it to 14 digits so sorting works properly.\r\n\t\tif (this.getSellDate().length() < 14) {\r\n\t\t\tStringBuffer sb = new StringBuffer(Util.ZERO_14);\r\n\t\t\tsb.replace((14 - this.getSellDate().length()), 14, this.getSellDate());\r\n\t\t\tthis.setSellDate(sb.toString());\r\n\t\t}\r\n\r\n\t\tthis.setCustomer(customer);\r\n\t\tthis.setBillName(billName);\r\n\t\tthis.setBillAddr1(billAddr1);\r\n\t\tthis.setBillAddr2(billAddr2);\r\n\t\tthis.setBillCity(billCity);\r\n\t\tthis.setBillState(billState);\r\n\t\tthis.setBillZip(billZip);\r\n\t\tthis.setBillPhone(billPhone);\r\n\t\tthis.setShipName(shipName);\r\n\t\tthis.setShipAddr1(shipAddr1);\r\n\t\tthis.setShipAddr2(shipAddr2);\r\n\t\tthis.setShipCity(shipCity);\r\n\t\tthis.setShipState(shipState);\r\n\t\tthis.setShipZip(shipZip);\r\n\t\tthis.setShipPhone(shipPhone);\r\n\t\tthis.setCreditCard(creditCard);\r\n\t\tthis.setCcNum(ccNum);\r\n\t\tthis.setCcExpireMonth(ccExpireMonth);\r\n\t\tthis.setCcExpireYear(ccExpireYear);\r\n\t\tthis.setCardHolder(cardHolder);\r\n\t\tthis.setShippingMethod(shippingMethod);\r\n\t\tthis.items = items;\r\n\r\n\t\t// Get profit for total order.\r\n\t\tOrderItem oi;\r\n\t\tfloat profit;\r\n\t\tprofit = 0.0f;\r\n\t\tfor (Object o : items) {\r\n\t\t\toi = (OrderItem) o;\r\n\t\t\tprofit = profit + (oi.getQuantity() * (oi.getPrice() - oi.getCost()));\r\n\t\t\toi.setOrder(this);\r\n\t\t}\r\n\t\tthis.setProfit(profit);\r\n\t}", - "start_line": 130, - "end_line": 177, - "code_start_line": 134, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.StringBuffer", - "java.util.Collection", - "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "java.lang.Object", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billName", - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2", - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1", - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1", - "com.ibm.websphere.samples.pbw.utils.Util.ZERO_14", - "com.ibm.websphere.samples.pbw.jpa.Order.billCity", - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear", - "com.ibm.websphere.samples.pbw.jpa.Order.profit", - "com.ibm.websphere.samples.pbw.jpa.Order.billPhone", - "com.ibm.websphere.samples.pbw.jpa.Order.billZip", - "com.ibm.websphere.samples.pbw.jpa.Order.shipZip", - "com.ibm.websphere.samples.pbw.jpa.Order.ccNum", - "com.ibm.websphere.samples.pbw.jpa.Order.shipName", - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth", - "com.ibm.websphere.samples.pbw.jpa.Order.shipState", - "com.ibm.websphere.samples.pbw.jpa.Order.shipCity", - "com.ibm.websphere.samples.pbw.jpa.Order.items", - "com.ibm.websphere.samples.pbw.jpa.Order.creditCard", - "com.ibm.websphere.samples.pbw.jpa.Order.customer", - "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone", - "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder", - "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod", - "com.ibm.websphere.samples.pbw.jpa.Order.billState", - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" - ], - "call_sites": [ - { - "method_name": "setSellDate", + "method_name": "getParameter", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setSellDate(java.lang.String)", + "argument_expr": [ + "\"addr2\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -27872,63 +26517,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, - "start_column": 3, - "end_line": 135, - "end_column": 61 + "start_line": 288, + "start_column": 19, + "end_line": 288, + "end_column": 43 }, { - "method_name": "toString", + "method_name": "getParameter", "comment": null, - "receiver_expr": "Long", - "receiver_type": "java.lang.Long", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "\"city\"" ], "return_type": "java.lang.String", - "callee_signature": "toString(long)", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, - "start_column": 20, - "end_line": 135, - "end_column": 60 + "start_line": 289, + "start_column": 22, + "end_line": 289, + "end_column": 45 }, { - "method_name": "currentTimeMillis", + "method_name": "getParameter", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"state\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, - "start_column": 34, - "end_line": 135, - "end_column": 59 + "start_line": 290, + "start_column": 23, + "end_line": 290, + "end_column": 47 }, { - "method_name": "length", + "method_name": "getParameter", "comment": null, - "receiver_expr": "this.getSellDate()", - "receiver_type": "java.lang.String", - "argument_types": [], - "return_type": "", - "callee_signature": "length()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"zip\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -27937,19 +26595,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 138, - "start_column": 7, - "end_line": 138, - "end_column": 33 + "start_line": 291, + "start_column": 21, + "end_line": 291, + "end_column": 43 }, { - "method_name": "getSellDate", + "method_name": "getParameter", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"phone\"" + ], "return_type": "java.lang.String", - "callee_signature": "getSellDate()", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -27958,23 +26621,40 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 138, - "start_column": 7, - "end_line": 138, - "end_column": 24 + "start_line": 292, + "start_column": 19, + "end_line": 292, + "end_column": 43 }, { - "method_name": "replace", + "method_name": "updateUser", "comment": null, - "receiver_expr": "sb", - "receiver_type": "java.lang.StringBuffer", + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", "argument_types": [ - "", - "", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", "java.lang.String" ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "replace(int, int, java.lang.String)", + "argument_expr": [ + "userid", + "firstName", + "lastName", + "addr1", + "addr2", + "addrCity", + "addrState", + "addrZip", + "phone" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -27983,19 +26663,81 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, + "start_line": 295, + "start_column": 15, + "end_line": 295, + "end_column": 110 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " Store updated customer info in HttpSession.", + "start_line": 296, + "end_line": 296, + "start_column": 4, + "end_column": 49, + "is_javadoc": false + }, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "Util.ATTR_CUSTOMER", + "customer" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 297, "start_column": 4, - "end_line": 140, - "end_column": 73 + "end_line": 297, + "end_column": 53 }, { - "method_name": "length", + "method_name": "getAttribute", "comment": null, - "receiver_expr": "this.getSellDate()", - "receiver_type": "java.lang.String", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CHECKOUT" + ], + "return_type": "java.lang.Boolean", + "callee_signature": "getAttribute(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 300, + "start_column": 36, + "end_line": 300, + "end_column": 75 + }, + { + "method_name": "booleanValue", + "comment": null, + "receiver_expr": "checkingOut", + "receiver_type": "java.lang.Boolean", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "length()", + "callee_signature": "booleanValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -28004,19 +26746,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 21, - "end_line": 140, - "end_column": 47 + "start_line": 301, + "start_column": 34, + "end_line": 301, + "end_column": 59 }, { - "method_name": "getSellDate", + "method_name": "getAttribute", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_CATEGORY" + ], "return_type": "java.lang.String", - "callee_signature": "getSellDate()", + "callee_signature": "getAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -28025,19 +26772,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 21, - "end_line": 140, - "end_column": 38 + "start_line": 304, + "start_column": 32, + "end_line": 304, + "end_column": 71 }, { - "method_name": "getSellDate", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSellDate()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.util.Vector" + ], + "argument_expr": [ + "Util.ATTR_INVITEMS", + "catalog.getItemsByCategory(Integer.parseInt(category))" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -28046,42 +26800,104 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 55, - "end_line": 140, - "end_column": 72 + "start_line": 311, + "start_column": 6, + "end_line": 311, + "end_column": 97 }, { - "method_name": "setSellDate", + "method_name": "getItemsByCategory", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "" + ], + "argument_expr": [ + "Integer.parseInt(category)" + ], + "return_type": "java.util.Vector", + "callee_signature": "getItemsByCategory(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 311, + "start_column": 43, + "end_line": 311, + "end_column": 96 + }, + { + "method_name": "parseInt", + "comment": null, + "receiver_expr": "Integer", + "receiver_type": "java.lang.Integer", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "category" + ], "return_type": "", - "callee_signature": "setSellDate(java.lang.String)", + "callee_signature": "parseInt(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 311, + "start_column": 70, + "end_line": 311, + "end_column": 95 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "url" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, + "start_line": 315, "start_column": 4, - "end_line": 141, - "end_column": 34 + "end_line": 315, + "end_column": 74 }, { - "method_name": "toString", + "method_name": "getServletContext", "comment": null, - "receiver_expr": "sb", - "receiver_type": "java.lang.StringBuffer", + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -28090,21 +26906,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, - "start_column": 21, - "end_line": 141, - "end_column": 33 + "start_line": 315, + "start_column": 20, + "end_line": 315, + "end_column": 57 }, { - "method_name": "setCustomer", + "method_name": "getServletConfig", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 315, + "start_column": 20, + "end_line": 315, + "end_column": 37 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" + "java.lang.String" + ], + "argument_expr": [ + "ACTION_SETLOGGING" ], "return_type": "", - "callee_signature": "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -28113,21 +26954,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, - "start_column": 3, - "end_line": 144, - "end_column": 28 + "start_line": 318, + "start_column": 14, + "end_line": 318, + "end_column": 45 }, { - "method_name": "setBillName", + "method_name": "getParameter", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setBillName(java.lang.String)", + "argument_expr": [ + "\"logging\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -28136,21 +26980,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, - "start_column": 3, - "end_line": 145, - "end_column": 28 + "start_line": 319, + "start_column": 26, + "end_line": 319, + "end_column": 52 }, { - "method_name": "setBillAddr1", + "method_name": "equals", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "debugSetting", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"debug\"" + ], "return_type": "", - "callee_signature": "setBillAddr1(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -28159,67 +27006,104 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 146, - "start_column": 3, - "end_line": 146, - "end_column": 30 + "start_line": 320, + "start_column": 36, + "end_line": 320, + "end_column": 63 }, { - "method_name": "setBillAddr2", + "method_name": "setDebug", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.String" + "" + ], + "argument_expr": [ + "false" ], "return_type": "", - "callee_signature": "setBillAddr2(java.lang.String)", + "callee_signature": "setDebug(boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 147, - "start_column": 3, - "end_line": 147, - "end_column": 30 + "start_line": 321, + "start_column": 5, + "end_line": 321, + "end_column": 24 }, { - "method_name": "setBillCity", + "method_name": "setDebug", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.String" + "" + ], + "argument_expr": [ + "true" ], "return_type": "", - "callee_signature": "setBillCity(java.lang.String)", + "callee_signature": "setDebug(boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 148, - "start_column": 3, - "end_line": 148, - "end_column": 28 + "start_line": 323, + "start_column": 5, + "end_line": 323, + "end_column": 23 }, { - "method_name": "setBillState", + "method_name": "requestDispatch", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_HELP" + ], "return_type": "", - "callee_signature": "setBillState(java.lang.String)", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 325, + "start_column": 4, + "end_line": 325, + "end_column": 85 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -28228,21 +27112,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 149, - "start_column": 3, - "end_line": 149, - "end_column": 30 + "start_line": 325, + "start_column": 20, + "end_line": 325, + "end_column": 57 }, { - "method_name": "setBillZip", + "method_name": "getServletConfig", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setBillZip(java.lang.String)", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", "is_public": true, "is_protected": false, "is_private": false, @@ -28251,467 +27134,719 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 150, - "start_column": 3, - "end_line": 150, - "end_column": 26 + "start_line": 325, + "start_column": 20, + "end_line": 325, + "end_column": 37 }, { - "method_name": "setBillPhone", + "method_name": "", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "", + "receiver_type": "javax.servlet.ServletException", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setBillPhone(java.lang.String)", - "is_public": true, + "argument_expr": [ + "e.getMessage()" + ], + "return_type": "javax.servlet.ServletException", + "callee_signature": "ServletException(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 151, - "start_column": 3, - "end_line": 151, - "end_column": 30 + "start_line": 177, + "start_column": 11, + "end_line": 177, + "end_column": 46 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "action", + "type": "java.lang.String", + "initializer": "null", + "start_line": 98, + "start_column": 10, + "end_line": 98, + "end_column": 22 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 105, + "start_column": 17, + "end_line": 105, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "userid", + "type": "java.lang.String", + "initializer": "req.getParameter(\"userid\")", + "start_line": 106, + "start_column": 12, + "end_line": 106, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "passwd", + "type": "java.lang.String", + "initializer": "req.getParameter(\"passwd\")", + "start_line": 107, + "start_column": 12, + "end_line": 107, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "updating", + "type": "java.lang.String", + "initializer": "req.getParameter(Util.ATTR_UPDATING)", + "start_line": 108, + "start_column": 12, + "end_line": 108, + "end_column": 58 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "results", + "type": "java.lang.String", + "initializer": "null", + "start_line": 110, + "start_column": 12, + "end_line": 110, + "end_column": 25 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "login.getCustomer(userid)", + "start_line": 138, + "start_column": 15, + "end_line": 138, + "end_column": 50 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "checkingOut", + "type": "java.lang.Boolean", + "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", + "start_line": 149, + "start_column": 15, + "end_line": 149, + "end_column": 78 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.lang.String", + "initializer": "", + "start_line": 156, + "start_column": 15, + "end_line": 156, + "end_column": 17 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "category", + "type": "java.lang.String", + "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", + "start_line": 157, + "start_column": 15, + "end_line": 157, + "end_column": 74 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.lang.String", + "initializer": "", + "start_line": 183, + "start_column": 11, + "end_line": 183, + "end_column": 13 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 184, + "start_column": 16, + "end_line": 184, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "userid", + "type": "java.lang.String", + "initializer": "req.getParameter(\"userid\")", + "start_line": 186, + "start_column": 11, + "end_line": 186, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "password", + "type": "java.lang.String", + "initializer": "req.getParameter(\"passwd\")", + "start_line": 187, + "start_column": 11, + "end_line": 187, + "end_column": 47 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cpassword", + "type": "java.lang.String", + "initializer": "req.getParameter(\"vpasswd\")", + "start_line": 188, + "start_column": 11, + "end_line": 188, + "end_column": 49 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "firstName", + "type": "java.lang.String", + "initializer": "req.getParameter(\"fname\")", + "start_line": 189, + "start_column": 11, + "end_line": 189, + "end_column": 47 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lastName", + "type": "java.lang.String", + "initializer": "req.getParameter(\"lname\")", + "start_line": 190, + "start_column": 11, + "end_line": 190, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr1", + "type": "java.lang.String", + "initializer": "req.getParameter(\"addr1\")", + "start_line": 191, + "start_column": 11, + "end_line": 191, + "end_column": 43 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr2", + "type": "java.lang.String", + "initializer": "req.getParameter(\"addr2\")", + "start_line": 192, + "start_column": 11, + "end_line": 192, + "end_column": 43 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrCity", + "type": "java.lang.String", + "initializer": "req.getParameter(\"city\")", + "start_line": 193, + "start_column": 11, + "end_line": 193, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrState", + "type": "java.lang.String", + "initializer": "req.getParameter(\"state\")", + "start_line": 194, + "start_column": 11, + "end_line": 194, + "end_column": 47 }, { - "method_name": "setShipName", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 3, - "end_line": 152, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrZip", + "type": "java.lang.String", + "initializer": "req.getParameter(\"zip\")", + "start_line": 195, + "start_column": 11, + "end_line": 195, + "end_column": 43 }, { - "method_name": "setShipAddr1", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipAddr1(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 3, - "end_line": 153, - "end_column": 30 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "req.getParameter(\"phone\")", + "start_line": 196, + "start_column": 11, + "end_line": 196, + "end_column": 43 }, { - "method_name": "setShipAddr2", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipAddr2(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 3, - "end_line": 154, - "end_column": 30 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "login.createCustomer(userid, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone)", + "start_line": 233, + "start_column": 14, + "end_line": 234, + "end_column": 111 }, { - "method_name": "setShipCity", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipCity(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 155, - "start_column": 3, - "end_line": 155, - "end_column": 28 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "checkingOut", + "type": "java.lang.Boolean", + "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", + "start_line": 241, + "start_column": 14, + "end_line": 241, + "end_column": 77 }, { - "method_name": "setShipState", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipState(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 156, - "start_column": 3, - "end_line": 156, - "end_column": 30 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "category", + "type": "java.lang.String", + "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", + "start_line": 245, + "start_column": 14, + "end_line": 245, + "end_column": 73 }, { - "method_name": "setShipZip", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipZip(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 157, - "start_column": 3, - "end_line": 157, - "end_column": 26 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.lang.String", + "initializer": "", + "start_line": 265, + "start_column": 11, + "end_line": 265, + "end_column": 13 }, { - "method_name": "setShipPhone", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setShipPhone(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 158, - "start_column": 3, - "end_line": 158, - "end_column": 30 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 266, + "start_column": 16, + "end_line": 266, + "end_column": 45 }, { - "method_name": "setCreditCard", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCreditCard(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 159, - "start_column": 3, - "end_line": 159, - "end_column": 32 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "(Customer) session.getAttribute(Util.ATTR_CUSTOMER)", + "start_line": 267, + "start_column": 13, + "end_line": 267, + "end_column": 74 }, { - "method_name": "setCcNum", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCcNum(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 160, - "start_column": 3, - "end_line": 160, - "end_column": 22 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.lang.String", + "initializer": "", + "start_line": 280, + "start_column": 11, + "end_line": 280, + "end_column": 13 }, { - "method_name": "setCcExpireMonth", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCcExpireMonth(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 161, - "start_column": 3, - "end_line": 161, - "end_column": 38 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 281, + "start_column": 16, + "end_line": 281, + "end_column": 45 }, { - "method_name": "setCcExpireYear", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCcExpireYear(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 162, - "start_column": 3, - "end_line": 162, - "end_column": 36 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "(Customer) session.getAttribute(Util.ATTR_CUSTOMER)", + "start_line": 282, + "start_column": 13, + "end_line": 282, + "end_column": 74 }, { - "method_name": "setCardHolder", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCardHolder(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 163, - "start_column": 3, - "end_line": 163, - "end_column": 32 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "userid", + "type": "java.lang.String", + "initializer": "customer.getCustomerID()", + "start_line": 284, + "start_column": 11, + "end_line": 284, + "end_column": 43 }, { - "method_name": "setShippingMethod", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setShippingMethod(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 164, - "start_column": 3, - "end_line": 164, - "end_column": 40 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "firstName", + "type": "java.lang.String", + "initializer": "req.getParameter(\"fname\")", + "start_line": 285, + "start_column": 11, + "end_line": 285, + "end_column": 47 }, { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 23, - "end_line": 173, - "end_column": 38 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lastName", + "type": "java.lang.String", + "initializer": "req.getParameter(\"lname\")", + "start_line": 286, + "start_column": 11, + "end_line": 286, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr1", + "type": "java.lang.String", + "initializer": "req.getParameter(\"addr1\")", + "start_line": 287, + "start_column": 11, + "end_line": 287, + "end_column": 43 }, { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 43, - "end_line": 173, - "end_column": 55 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr2", + "type": "java.lang.String", + "initializer": "req.getParameter(\"addr2\")", + "start_line": 288, + "start_column": 11, + "end_line": 288, + "end_column": 43 }, { - "method_name": "getCost", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [], - "return_type": "", - "callee_signature": "getCost()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 59, - "end_line": 173, - "end_column": 70 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrCity", + "type": "java.lang.String", + "initializer": "req.getParameter(\"city\")", + "start_line": 289, + "start_column": 11, + "end_line": 289, + "end_column": 45 }, { - "method_name": "setOrder", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Order" - ], - "return_type": "", - "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 174, - "start_column": 4, - "end_line": 174, - "end_column": 20 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrState", + "type": "java.lang.String", + "initializer": "req.getParameter(\"state\")", + "start_line": 290, + "start_column": 11, + "end_line": 290, + "end_column": 47 }, { - "method_name": "setProfit", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setProfit(float)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 3, - "end_line": 176, - "end_column": 24 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrZip", + "type": "java.lang.String", + "initializer": "req.getParameter(\"zip\")", + "start_line": 291, + "start_column": 11, + "end_line": 291, + "end_column": 43 }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "StringBuffer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 139, - "start_column": 22, - "end_line": 139, - "end_column": 51 - } - ], - "variable_declarations": [ { "comment": { "content": null, @@ -28721,13 +27856,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "sb", - "type": "java.lang.StringBuffer", - "initializer": "new StringBuffer(Util.ZERO_14)", - "start_line": 139, - "start_column": 17, - "end_line": 139, - "end_column": 51 + "name": "phone", + "type": "java.lang.String", + "initializer": "req.getParameter(\"phone\")", + "start_line": 292, + "start_column": 11, + "end_line": 292, + "end_column": 43 }, { "comment": { @@ -28738,13 +27873,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "oi", - "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "initializer": "", - "start_line": 168, - "start_column": 13, - "end_line": 168, - "end_column": 14 + "name": "checkingOut", + "type": "java.lang.Boolean", + "initializer": "(Boolean) session.getAttribute(Util.ATTR_CHECKOUT)", + "start_line": 300, + "start_column": 12, + "end_line": 300, + "end_column": 75 }, { "comment": { @@ -28755,13 +27890,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "profit", - "type": "float", - "initializer": "", - "start_line": 169, - "start_column": 9, - "end_line": 169, - "end_column": 14 + "name": "category", + "type": "java.lang.String", + "initializer": "(String) session.getAttribute(Util.ATTR_CATEGORY)", + "start_line": 304, + "start_column": 12, + "end_line": 304, + "end_column": 71 }, { "comment": { @@ -28772,181 +27907,547 @@ "end_column": -1, "is_javadoc": false }, - "name": "o", - "type": "java.lang.Object", - "initializer": "", - "start_line": 171, - "start_column": 15, - "end_line": 171, - "end_column": 15 + "name": "debugSetting", + "type": "java.lang.String", + "initializer": "req.getParameter(\"logging\")", + "start_line": 319, + "start_column": 11, + "end_line": 319, + "end_column": 52 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false + "cyclomatic_complexity": 37, + "is_entrypoint": true }, - "getProfit()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getProfit()", - "comments": [], + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 56, + "end_line": 58, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public float getProfit()", - "parameters": [], - "code": "{\r\n\t\treturn profit;\r\n\t}", - "start_line": 314, - "end_line": 316, - "code_start_line": 314, - "return_type": "float", + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 19, + "end_column": 38 + } + ], + "code": "{\r\n\t\tsuper.init(config);\r\n\t}", + "start_line": 59, + "end_line": 61, + "code_start_line": 59, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.profit" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 3, + "end_line": 60, + "end_column": 20 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 43, + "end_line": 43, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] }, - "getBillPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillPhone()", - "comments": [], - "annotations": [], + { + "comment": { + "content": " Servlet action codes.", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 25, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 45, + "end_line": 45, + "variables": [ + "ACTION_ACCOUNT" + ], "modifiers": [ - "public" + "public", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public String getBillPhone()", - "parameters": [], - "code": "{\r\n\t\treturn billPhone;\r\n\t}", - "start_line": 218, - "end_line": 220, - "code_start_line": 218, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billPhone" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 46, + "end_line": 46, + "variables": [ + "ACTION_ACCOUNTUPDATE" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, - "setShippingMethod(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShippingMethod(int)", - "comments": [], - "annotations": [], + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 47, + "end_line": 47, + "variables": [ + "ACTION_LOGIN" + ], "modifiers": [ - "public" + "public", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public void setShippingMethod(int shippingMethod)", - "parameters": [ - { - "type": "int", - "name": "shippingMethod", - "annotations": [], - "modifiers": [], - "start_line": 374, - "end_line": 374, - "start_column": 32, - "end_column": 49 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 48, + "end_line": 48, + "variables": [ + "ACTION_REGISTER" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 49, + "end_line": 49, + "variables": [ + "ACTION_SETLOGGING" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "start_line": 51, + "end_line": 52, + "variables": [ + "login" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "start_line": 53, + "end_line": 54, + "variables": [ + "catalog" ], - "code": "{\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t}", - "start_line": 374, - "end_line": 376, - "code_start_line": 374, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [ + "@Inject" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": true + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Bean mapping for BACKORDER table.\r\n ", + "start_line": 32, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": " missing table", + "start_line": 49, + "end_line": 49, + "start_column": 34, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " relationships", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 17, + "is_javadoc": false + }, + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 107, + "end_line": 107, + "start_column": 3, + "end_column": 64, + "is_javadoc": false + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "javax.persistence.Entity", + "javax.persistence.GeneratedValue", + "javax.persistence.GenerationType", + "javax.persistence.Id", + "javax.persistence.JoinColumn", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.OneToOne", + "javax.persistence.Table", + "javax.persistence.TableGenerator", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.jpa.BackOrder": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": " missing table", + "start_line": 49, + "end_line": 49, + "start_column": 34, + "end_column": 49, + "is_javadoc": false }, - "getOrderItems()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getOrderItems()", + { + "content": " relationships", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 17, + "is_javadoc": false + }, + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 107, + "end_line": 107, + "start_column": 3, + "end_column": 64, + "is_javadoc": false + }, + { + "content": "\r\n * Bean mapping for BACKORDER table.\r\n ", + "start_line": 32, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Entity(name = \"BackOrder\")", + "@Table(name = \"BACKORDER\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"findAllBackOrders\", query = \"select b from BackOrder b\"), @NamedQuery(name = \"findByInventoryID\", query = \"select b from BackOrder b where ((b.inventory.inventoryId = :id) and (b.status = 'Order Stock'))\"), @NamedQuery(name = \"removeAllBackOrder\", query = \"delete from BackOrder\") })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getQuantity()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Collection getOrderItems()", + "declaration": "public int getQuantity()", "parameters": [], - "code": "{\r\n\t\treturn orderItems;\r\n\t}", - "start_line": 306, - "end_line": 308, - "code_start_line": 306, - "return_type": "java.util.Collection", + "code": "{\r\n\t\treturn quantity;\r\n\t}", + "start_line": 94, + "end_line": 96, + "code_start_line": 94, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.orderItems" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillCity(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillCity(String billCity)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billCity", - "annotations": [], - "modifiers": [], - "start_line": 206, - "end_line": 206, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.billCity = billCity;\r\n\t}", - "start_line": 206, - "end_line": 208, - "code_start_line": 206, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billCity" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity" ], "call_sites": [], "variable_declarations": [], @@ -28955,27 +28456,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCcExpireMonth()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCcExpireMonth()", + "getInventory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getInventory()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCcExpireMonth()", + "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\r\n\t\treturn ccExpireMonth;\r\n\t}", - "start_line": 250, - "end_line": 252, - "code_start_line": 250, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn inventory;\r\n\t}", + "start_line": 127, + "end_line": 129, + "code_start_line": 127, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" ], "call_sites": [], "variable_declarations": [], @@ -28984,27 +28485,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCardHolder()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCardHolder()", + "getOrderDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getOrderDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCardHolder()", + "declaration": "public long getOrderDate()", "parameters": [], - "code": "{\r\n\t\treturn cardHolder;\r\n\t}", - "start_line": 242, - "end_line": 244, - "code_start_line": 242, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn orderDate;\r\n\t}", + "start_line": 86, + "end_line": 88, + "code_start_line": 86, + "return_type": "long", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.orderDate" ], "call_sites": [], "variable_declarations": [], @@ -29013,32 +28514,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSellDate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setSellDate(String)", + "setStatus(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setStatus(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setSellDate(String sellDate)", + "declaration": "public void setStatus(String status)", "parameters": [ { "type": "java.lang.String", - "name": "sellDate", + "name": "status", "annotations": [], "modifiers": [], - "start_line": 326, - "end_line": 326, - "start_column": 26, - "end_column": 40 + "start_line": 115, + "end_line": 115, + "start_column": 24, + "end_column": 36 } ], - "code": "{\r\n\t\tthis.sellDate = sellDate;\r\n\t}", - "start_line": 326, - "end_line": 328, - "code_start_line": 326, + "code": "{\r\n\t\tthis.status = status;\r\n\t}", + "start_line": 115, + "end_line": 117, + "code_start_line": 115, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -29046,7 +28547,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.sellDate" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" ], "call_sites": [], "variable_declarations": [], @@ -29055,40 +28556,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderItems(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setOrderItems(Collection)", + "getLowDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getLowDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderItems(Collection orderItems)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "orderItems", - "annotations": [], - "modifiers": [], - "start_line": 310, - "end_line": 310, - "start_column": 28, - "end_column": 48 - } - ], - "code": "{\r\n\t\tthis.orderItems = orderItems;\r\n\t}", - "start_line": 310, - "end_line": 312, - "code_start_line": 310, - "return_type": "void", + "declaration": "public long getLowDate()", + "parameters": [], + "code": "{\r\n\t\treturn lowDate;\r\n\t}", + "start_line": 78, + "end_line": 80, + "code_start_line": 78, + "return_type": "long", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.Collection" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.orderItems" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.lowDate" ], "call_sites": [], "variable_declarations": [], @@ -29097,40 +28585,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipPhone(String)", + "setLowDate(long)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setLowDate(long)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipPhone(String shipPhone)", + "declaration": "public void setLowDate(long lowDate)", "parameters": [ { - "type": "java.lang.String", - "name": "shipPhone", + "type": "long", + "name": "lowDate", "annotations": [], "modifiers": [], - "start_line": 366, - "end_line": 366, - "start_column": 27, - "end_column": 42 + "start_line": 82, + "end_line": 82, + "start_column": 25, + "end_column": 36 } ], - "code": "{\r\n\t\tthis.shipPhone = shipPhone;\r\n\t}", - "start_line": 366, - "end_line": 368, - "code_start_line": 366, + "code": "{\r\n\t\tthis.lowDate = lowDate;\r\n\t}", + "start_line": 82, + "end_line": 84, + "code_start_line": 82, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.lowDate" ], "call_sites": [], "variable_declarations": [], @@ -29139,32 +28625,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCcExpireYear(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCcExpireYear(String)", + "setBackOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setBackOrderID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCcExpireYear(String ccExpireYear)", + "declaration": "public void setBackOrderID(String backOrderID)", "parameters": [ { "type": "java.lang.String", - "name": "ccExpireYear", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 262, - "end_line": 262, - "start_column": 30, - "end_column": 48 + "start_line": 74, + "end_line": 74, + "start_column": 29, + "end_column": 46 } ], - "code": "{\r\n\t\tthis.ccExpireYear = ccExpireYear;\r\n\t}", - "start_line": 262, - "end_line": 264, - "code_start_line": 262, + "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t}", + "start_line": 74, + "end_line": 76, + "code_start_line": 74, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -29172,7 +28658,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" ], "call_sites": [], "variable_declarations": [], @@ -29181,38 +28667,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProfit(float)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setProfit(float)", + "setOrderDate(long)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setOrderDate(long)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProfit(float profit)", + "declaration": "public void setOrderDate(long orderDate)", "parameters": [ { - "type": "float", - "name": "profit", + "type": "long", + "name": "orderDate", "annotations": [], "modifiers": [], - "start_line": 318, - "end_line": 318, - "start_column": 24, - "end_column": 35 + "start_line": 90, + "end_line": 90, + "start_column": 27, + "end_column": 40 } ], - "code": "{\r\n\t\tthis.profit = profit;\r\n\t}", - "start_line": 318, - "end_line": 320, - "code_start_line": 318, + "code": "{\r\n\t\tthis.orderDate = orderDate;\r\n\t}", + "start_line": 90, + "end_line": 92, + "code_start_line": 90, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.profit" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.orderDate" ], "call_sites": [], "variable_declarations": [], @@ -29221,27 +28707,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShippingMethod()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShippingMethod()", + "setSupplierOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setSupplierOrderID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getShippingMethod()", - "parameters": [], - "code": "{\r\n\t\treturn shippingMethod;\r\n\t}", - "start_line": 370, - "end_line": 372, - "code_start_line": 370, - "return_type": "int", + "declaration": "public void setSupplierOrderID(String supplierOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "supplierOrderID", + "annotations": [], + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 33, + "end_column": 54 + } + ], + "code": "{\r\n\t\tthis.supplierOrderID = supplierOrderID;\r\n\t}", + "start_line": 123, + "end_line": 125, + "code_start_line": 123, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.supplierOrderID" ], "call_sites": [], "variable_declarations": [], @@ -29250,40 +28749,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCustomer(Customer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCustomer(Customer)", + "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCustomer(Customer customer)", + "declaration": "public void setInventory(Inventory inventory)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inventory", "annotations": [], "modifiers": [], - "start_line": 286, - "end_line": 286, - "start_column": 26, - "end_column": 42 + "start_line": 131, + "end_line": 131, + "start_column": 27, + "end_column": 45 } ], - "code": "{\r\n\t\tthis.customer = customer;\r\n\t}", - "start_line": 286, - "end_line": 288, - "code_start_line": 286, + "code": "{\r\n\t\tthis.inventory = inventory;\r\n\t}", + "start_line": 131, + "end_line": 133, + "code_start_line": 131, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.customer" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" ], "call_sites": [], "variable_declarations": [], @@ -29292,28 +28791,26 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getBillAddr2()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillAddr2()", + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getBillAddr2()", + "declaration": "public BackOrder()", "parameters": [], - "code": "{\r\n\t\treturn billAddr2;\r\n\t}", - "start_line": 194, - "end_line": 196, - "code_start_line": 194, - "return_type": "java.lang.String", + "code": "{\r\n\t}", + "start_line": 56, + "end_line": 57, + "code_start_line": 56, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2" - ], + "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], @@ -29321,40 +28818,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipCity(String)", + "getSupplierOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getSupplierOrderID()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipCity(String shipCity)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipCity", - "annotations": [], - "modifiers": [], - "start_line": 350, - "end_line": 350, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.shipCity = shipCity;\r\n\t}", - "start_line": 350, - "end_line": 352, - "code_start_line": 350, - "return_type": "void", + "declaration": "public String getSupplierOrderID()", + "parameters": [], + "code": "{\r\n\t\treturn supplierOrderID;\r\n\t}", + "start_line": 119, + "end_line": 121, + "code_start_line": 119, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipCity" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.supplierOrderID" ], "call_sites": [], "variable_declarations": [], @@ -29363,32 +28847,41 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipName(String)", - "comments": [], + "increateQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "increateQuantity(int)", + "comments": [ + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 107, + "end_line": 107, + "start_column": 3, + "end_column": 64, + "is_javadoc": false + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipName(String shipName)", + "declaration": "public void increateQuantity(int delta)", "parameters": [ { - "type": "java.lang.String", - "name": "shipName", + "type": "int", + "name": "delta", "annotations": [], "modifiers": [], - "start_line": 358, - "end_line": 358, - "start_column": 26, - "end_column": 40 + "start_line": 102, + "end_line": 102, + "start_column": 31, + "end_column": 39 } ], - "code": "{\r\n\t\tthis.shipName = shipName;\r\n\t}", - "start_line": 358, - "end_line": 360, - "code_start_line": 358, + "code": "{\r\n\t\tif (!(status.equals(Util.STATUS_ORDERSTOCK))) {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\r\n\t\t\tthrow new RuntimeException(\"cannot increase order size for orders already in progress\");\r\n\t\t}\r\n\t\t// Increase the BackOrder quantity for an existing Back Order.\r\n\t\tquantity = quantity + delta;\r\n\t}", + "start_line": 102, + "end_line": 109, + "code_start_line": 102, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -29396,49 +28889,128 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipName" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity", + "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK", + "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "status", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.STATUS_ORDERSTOCK" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 9, + "end_line": 103, + "end_column": 45 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 104, + "start_column": 4, + "end_line": 104, + "end_column": 114 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.RuntimeException", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"cannot increase order size for orders already in progress\"" + ], + "return_type": "java.lang.RuntimeException", + "callee_signature": "RuntimeException(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 10, + "end_line": 105, + "end_column": 90 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setBillZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillZip(String)", + "setQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "setQuantity(int)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBillZip(String billZip)", + "declaration": "public void setQuantity(int quantity)", "parameters": [ { - "type": "java.lang.String", - "name": "billZip", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 238, - "end_line": 238, - "start_column": 25, - "end_column": 38 + "start_line": 98, + "end_line": 98, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\tthis.billZip = billZip;\r\n\t}", - "start_line": 238, - "end_line": 240, - "code_start_line": 238, + "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", + "start_line": 98, + "end_line": 100, + "code_start_line": 98, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billZip" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity" ], "call_sites": [], "variable_declarations": [], @@ -29447,56 +29019,94 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCustomer()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCustomer()", + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Customer getCustomer()", - "parameters": [], - "code": "{\r\n\t\treturn customer;\r\n\t}", - "start_line": 282, - "end_line": 284, - "code_start_line": 282, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "declaration": "public BackOrder(String backOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "backOrderID", + "annotations": [], + "modifiers": [], + "start_line": 59, + "end_line": 59, + "start_column": 19, + "end_column": 36 + } + ], + "code": "{\r\n\t\tsetBackOrderID(backOrderID);\r\n\t}", + "start_line": 59, + "end_line": 61, + "code_start_line": 59, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.customer" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" + ], + "call_sites": [ + { + "method_name": "setBackOrderID", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "backOrderID" + ], + "return_type": "", + "callee_signature": "setBackOrderID(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 3, + "end_line": 60, + "end_column": 29 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShipName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipName()", + "getStatus()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getStatus()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getShipName()", + "declaration": "public String getStatus()", "parameters": [], - "code": "{\r\n\t\treturn shipName;\r\n\t}", - "start_line": 354, - "end_line": 356, - "code_start_line": 354, + "code": "{\r\n\t\treturn status;\r\n\t}", + "start_line": 111, + "end_line": 113, + "code_start_line": 111, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipName" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.status" ], "call_sites": [], "variable_declarations": [], @@ -29505,27 +29115,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShipAddr2()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipAddr2()", + "getBackOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "getBackOrderID()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getShipAddr2()", + "declaration": "public String getBackOrderID()", "parameters": [], - "code": "{\r\n\t\treturn shipAddr2;\r\n\t}", - "start_line": 338, - "end_line": 340, - "code_start_line": 338, + "code": "{\r\n\t\treturn backOrderID;\r\n\t}", + "start_line": 70, + "end_line": 72, + "code_start_line": 70, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" + "com.ibm.websphere.samples.pbw.jpa.BackOrder.backOrderID" ], "call_sites": [], "variable_declarations": [], @@ -29534,345 +29144,977 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setBillAddr2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillAddr2(String)", + "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/BackOrder.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBillAddr2(String billAddr2)", + "declaration": "public BackOrder(Inventory inventory, int quantity)", "parameters": [ { - "type": "java.lang.String", - "name": "billAddr2", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inventory", "annotations": [], "modifiers": [], - "start_line": 198, - "end_line": 198, - "start_column": 27, - "end_column": 42 + "start_line": 63, + "end_line": 63, + "start_column": 19, + "end_column": 37 + }, + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 40, + "end_column": 51 + } + ], + "code": "{\r\n\t\t\tthis.setInventory(inventory);\r\n\t\t\tthis.setQuantity(quantity);\r\n\t\t\tthis.setStatus(Util.STATUS_ORDERSTOCK);\r\n\t\t\tthis.setLowDate(System.currentTimeMillis());\r\n\t}", + "start_line": 63, + "end_line": 68, + "code_start_line": 63, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder.quantity", + "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK", + "com.ibm.websphere.samples.pbw.jpa.BackOrder.inventory" + ], + "call_sites": [ + { + "method_name": "setInventory", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "inventory" + ], + "return_type": "", + "callee_signature": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 64, + "start_column": 4, + "end_line": 64, + "end_column": 31 + }, + { + "method_name": "setQuantity", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 65, + "start_column": 4, + "end_line": 65, + "end_column": 29 + }, + { + "method_name": "setStatus", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.STATUS_ORDERSTOCK" + ], + "return_type": "", + "callee_signature": "setStatus(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 4, + "end_line": 66, + "end_column": 41 + }, + { + "method_name": "setLowDate", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "", + "callee_signature": "setLowDate(long)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 4, + "end_line": 67, + "end_column": 46 + }, + { + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 20, + "end_line": 67, + "end_column": 45 } ], - "code": "{\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t}", - "start_line": 198, - "end_line": 200, - "code_start_line": 198, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - }, - "setShipAddr1(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipAddr1(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 41, + "end_line": 44, + "variables": [ + "backOrderID" ], - "thrown_exceptions": [], - "declaration": "public void setShipAddr1(String shipAddr1)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipAddr1", - "annotations": [], - "modifiers": [], - "start_line": 334, - "end_line": 334, - "start_column": 27, - "end_column": 42 - } + "modifiers": [ + "private" ], - "code": "{\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t}", - "start_line": 334, - "end_line": 336, - "code_start_line": 334, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "annotations": [ + "@Id", + "@GeneratedValue(strategy = GenerationType.TABLE, generator = \"BackOrderSeq\")", + "@TableGenerator(name = \"BackOrderSeq\", table = \"IDGENERATOR\", pkColumnName = \"IDNAME\", pkColumnValue = \"BACKORDER\", valueColumnName = \"IDVALUE\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 45, + "end_line": 45, + "variables": [ + "quantity" ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getShipState()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipState()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 46, + "end_line": 46, + "variables": [ + "status" ], - "thrown_exceptions": [], - "declaration": "public String getShipState()", - "parameters": [], - "code": "{\r\n\t\treturn shipState;\r\n\t}", - "start_line": 386, - "end_line": 388, - "code_start_line": 386, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipState" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getSellDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getSellDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 47, + "end_line": 47, + "variables": [ + "lowDate" ], - "thrown_exceptions": [], - "declaration": "public String getSellDate()", - "parameters": [], - "code": "{\r\n\t\treturn sellDate;\r\n\t}", - "start_line": 322, - "end_line": 324, - "code_start_line": 322, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.sellDate" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "setCcExpireMonth(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCcExpireMonth(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 48, + "end_line": 48, + "variables": [ + "orderDate" ], - "thrown_exceptions": [], - "declaration": "public void setCcExpireMonth(String ccExpireMonth)", - "parameters": [ - { - "type": "java.lang.String", - "name": "ccExpireMonth", - "annotations": [], - "modifiers": [], - "start_line": 254, - "end_line": 254, - "start_column": 31, - "end_column": 50 - } + "modifiers": [ + "private" ], - "code": "{\r\n\t\tthis.ccExpireMonth = ccExpireMonth;\r\n\t}", - "start_line": 254, - "end_line": 256, - "code_start_line": 254, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "annotations": [] + }, + { + "comment": { + "content": " missing table", + "start_line": 49, + "end_line": 49, + "start_column": 34, + "end_column": 49, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 49, + "end_line": 49, + "variables": [ + "supplierOrderID" ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getOrderID()", - "comments": [], - "annotations": [], + { + "comment": { + "content": " relationships", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 17, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "start_line": 52, + "end_line": 54, + "variables": [ + "inventory" + ], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public String getOrderID()", - "parameters": [], - "code": "{\r\n\t\treturn orderID;\r\n\t}", - "start_line": 298, - "end_line": 300, - "code_start_line": 298, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.orderID" + "annotations": [ + "@OneToOne", + "@JoinColumn(name = \"INVENTORYID\")" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 21, + "end_line": 23, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", + "start_line": 26, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.NoSupplierException": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "java.lang.Exception" + ], + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 21, + "end_line": 23, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", + "start_line": 26, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/NoSupplierException.java", + "signature": "(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Method NoSupplierException\r\n\t * \r\n\t * @param message\r\n\t ", + "start_line": 26, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillZip()", - "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getBillZip()", - "parameters": [], - "code": "{\r\n\t\treturn billZip;\r\n\t}", - "start_line": 234, - "end_line": 236, - "code_start_line": 234, - "return_type": "java.lang.String", + "declaration": "public NoSupplierException(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 31, + "end_line": 31, + "start_column": 29, + "end_column": 42 + } + ], + "code": "{\r\n\t\tsuper(message);\r\n\t\treturn;\r\n\t}", + "start_line": 31, + "end_line": 34, + "code_start_line": 31, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billZip" - ], + "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 21, + "end_line": 23, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 24, + "end_line": 24, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 60, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * JSF action bean for the help page.\r\n *\r\n ", + "start_line": 29, + "end_line": 32, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the dbDumpFile\r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", + "start_line": 60, + "end_line": 63, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return whether debug is on or not\r\n\t ", + "start_line": 68, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", + "start_line": 75, + "end_line": 81, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "javax.enterprise.context.Dependent", + "javax.inject.Inject", + "javax.inject.Named", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.HelpBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * @return the dbDumpFile\r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setBillName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setBillName(String)", - "comments": [], + { + "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", + "start_line": 60, + "end_line": 63, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return whether debug is on or not\r\n\t ", + "start_line": 68, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", + "start_line": 75, + "end_line": 81, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * JSF action bean for the help page.\r\n *\r\n ", + "start_line": 29, + "end_line": 32, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(\"help\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "setDebug(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "setDebug(boolean)", + "comments": [ + { + "content": "\r\n\t * Debugging is currently tied to the JavaServer Faces project stage. Any change here is likely\r\n\t * to be automatically reset.\r\n\t * \r\n\t * @param debug\r\n\t * Sets whether debug is on or not.\r\n\t ", + "start_line": 75, + "end_line": 81, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBillName(String billName)", + "declaration": "public void setDebug(boolean debug)", "parameters": [ { - "type": "java.lang.String", - "name": "billName", + "type": "boolean", + "name": "debug", "annotations": [], "modifiers": [], - "start_line": 214, - "end_line": 214, - "start_column": 26, - "end_column": 40 + "start_line": 82, + "end_line": 82, + "start_column": 23, + "end_column": 35 } ], - "code": "{\r\n\t\tthis.billName = billName;\r\n\t}", - "start_line": 214, - "end_line": 216, - "code_start_line": 214, + "code": "{\r\n\t\tUtil.setDebug(debug);\r\n\t}", + "start_line": 82, + "end_line": 84, + "code_start_line": 82, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShipPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getShipPhone()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipPhone()", - "parameters": [], - "code": "{\r\n\t\treturn shipPhone;\r\n\t}", - "start_line": 362, - "end_line": 364, - "code_start_line": 362, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone" + "accessed_fields": [], + "call_sites": [ + { + "method_name": "setDebug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "" + ], + "argument_expr": [ + "debug" + ], + "return_type": "", + "callee_signature": "setDebug(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 83, + "start_column": 3, + "end_line": 83, + "end_column": 22 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipState(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipState(String)", - "comments": [], + "setDbDumpFile(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "setDbDumpFile(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param dbDumpFile\r\n\t * the dbDumpFile to set\r\n\t ", + "start_line": 60, + "end_line": 63, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipState(String shipState)", + "declaration": "public void setDbDumpFile(String dbDumpFile)", "parameters": [ { "type": "java.lang.String", - "name": "shipState", + "name": "dbDumpFile", "annotations": [], "modifiers": [], - "start_line": 390, - "end_line": 390, - "start_column": 27, - "end_column": 42 + "start_line": 64, + "end_line": 64, + "start_column": 28, + "end_column": 44 } ], - "code": "{\r\n\t\tthis.shipState = shipState;\r\n\t}", - "start_line": 390, - "end_line": 392, - "code_start_line": 390, + "code": "{\r\n\t\tthis.dbDumpFile = dbDumpFile;\r\n\t}", + "start_line": 64, + "end_line": 66, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -29880,36 +30122,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getBillCity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillCity()", - "parameters": [], - "code": "{\r\n\t\treturn billCity;\r\n\t}", - "start_line": 202, - "end_line": 204, - "code_start_line": 202, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.billCity" + "com.ibm.websphere.samples.pbw.war.HelpBean.dbDumpFile" ], "call_sites": [], "variable_declarations": [], @@ -29918,69 +30131,89 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCardHolder(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setCardHolder(String)", + "performDBReset()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "performDBReset()", "comments": [], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setCardHolder(String cardHolder)", - "parameters": [ - { - "type": "java.lang.String", - "name": "cardHolder", - "annotations": [], - "modifiers": [], - "start_line": 246, - "end_line": 246, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\r\n\t\tthis.cardHolder = cardHolder;\r\n\t}", - "start_line": 246, - "end_line": 248, - "code_start_line": 246, - "return_type": "void", + "thrown_exceptions": [], + "declaration": "public String performDBReset()", + "parameters": [], + "code": "{\r\n\t\trdb.resetDB();\r\n\t\treturn ACTION_HOME;\r\n\t}", + "start_line": 48, + "end_line": 51, + "code_start_line": 48, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder" + "com.ibm.websphere.samples.pbw.war.HelpBean.rdb", + "com.ibm.websphere.samples.pbw.war.HelpBean.ACTION_HOME" + ], + "call_sites": [ + { + "method_name": "resetDB", + "comment": null, + "receiver_expr": "rdb", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "resetDB()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 49, + "start_column": 3, + "end_line": 49, + "end_column": 15 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCcExpireYear()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getCcExpireYear()", - "comments": [], + "getDbDumpFile()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "getDbDumpFile()", + "comments": [ + { + "content": "\r\n\t * @return the dbDumpFile\r\n\t ", + "start_line": 53, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCcExpireYear()", + "declaration": "public String getDbDumpFile()", "parameters": [], - "code": "{\r\n\t\treturn ccExpireYear;\r\n\t}", - "start_line": 258, - "end_line": 260, - "code_start_line": 258, + "code": "{\r\n\t\treturn dbDumpFile;\r\n\t}", + "start_line": 56, + "end_line": 58, + "code_start_line": 56, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear" + "com.ibm.websphere.samples.pbw.war.HelpBean.dbDumpFile" ], "call_sites": [], "variable_declarations": [], @@ -29989,27 +30222,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getItems()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "getItems()", + "performHelp()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "performHelp()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Collection getItems()", + "declaration": "public String performHelp()", "parameters": [], - "code": "{\r\n\t\treturn items;\r\n\t}", - "start_line": 290, - "end_line": 292, - "code_start_line": 290, - "return_type": "java.util.Collection", + "code": "{\r\n\t\treturn ACTION_HELP;\r\n\t}", + "start_line": 44, + "end_line": 46, + "code_start_line": 44, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.items" + "com.ibm.websphere.samples.pbw.war.HelpBean.ACTION_HELP" ], "call_sites": [], "variable_declarations": [], @@ -30018,42 +30251,59 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", - "signature": "setShipZip(String)", - "comments": [], + "isDebug()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/HelpBean.java", + "signature": "isDebug()", + "comments": [ + { + "content": "\r\n\t * @return whether debug is on or not\r\n\t ", + "start_line": 68, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipZip(String shipZip)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipZip", - "annotations": [], - "modifiers": [], - "start_line": 382, - "end_line": 382, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.shipZip = shipZip;\r\n\t}", - "start_line": 382, - "end_line": 384, - "code_start_line": 382, - "return_type": "void", + "declaration": "public boolean isDebug()", + "parameters": [], + "code": "{\r\n\t\treturn Util.debugOn();\r\n\t}", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Order.shipZip" + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "debugOn", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "debugOn()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 72, + "start_column": 10, + "end_line": 72, + "end_column": 23 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -30062,6 +30312,29 @@ } }, "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "start_line": 36, + "end_line": 37, + "variables": [ + "rdb" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, { "comment": { "content": null, @@ -30073,15 +30346,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 43, - "end_line": 43, + "start_line": 39, + "end_line": 39, "variables": [ - "ORDER_INFO_TABLE_NAME" + "dbDumpFile" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -30096,13 +30367,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 44, - "end_line": 44, + "start_line": 41, + "end_line": 41, "variables": [ - "ORDER_ITEMS_TABLE_NAME" + "ACTION_HELP" ], "modifiers": [ - "public", + "private", "static", "final" ], @@ -30119,939 +30390,4327 @@ }, "name": null, "type": "java.lang.String", - "start_line": 46, - "end_line": 49, + "start_line": 42, + "end_line": 42, "variables": [ - "orderID" + "ACTION_HOME" ], "modifiers": [ - "private" + "private", + "static", + "final" ], - "annotations": [ - "@Id", - "@GeneratedValue(strategy = GenerationType.TABLE, generator = \"OrderSeq\")", - "@TableGenerator(name = \"OrderSeq\", table = \"IDGENERATOR\", pkColumnName = \"IDNAME\", pkColumnValue = \"ORDER\", valueColumnName = \"IDVALUE\")" - ] - }, + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "\r\n * ResetDBBean provides a transactional and secure facade to reset all the database information for\r\n * the PlantsByWebSphere application.\r\n ", + "start_line": 49, + "end_line": 52, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", + "start_line": 81, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Open the input file as a stream of bytes", + "start_line": 96, + "end_line": 96, + "start_column": 3, + "end_column": 45, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 106, + "end_line": 108, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 150, + "end_line": 152, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 186, + "end_line": 188, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", + "start_line": 248, + "end_line": 248, + "start_column": 4, + "end_column": 89, + "is_javadoc": false + }, + { + "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", + "start_line": 249, + "end_line": 249, + "start_column": 4, + "end_column": 82, + "is_javadoc": false + }, + { + "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", + "start_line": 250, + "end_line": 250, + "start_column": 4, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 256, + "end_line": 258, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting backorders", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 279, + "end_line": 281, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting Suppliers", + "start_line": 286, + "end_line": 286, + "start_column": 4, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", + "start_line": 321, + "end_line": 321, + "start_column": 4, + "end_column": 52, + "is_javadoc": false + }, + { + "content": " q.executeUpdate();", + "start_line": 322, + "end_line": 322, + "start_column": 4, + "end_column": 24, + "is_javadoc": false + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.DataInputStream", + "java.io.File", + "java.io.FileInputStream", + "java.io.FileNotFoundException", + "java.io.IOException", + "java.io.Serializable", + "java.net.URL", + "java.util.Vector", + "javax.annotation.Resource", + "javax.annotation.security.RolesAllowed", + "javax.enterprise.context.Dependent", + "javax.inject.Inject", + "javax.inject.Named", + "javax.persistence.EntityManager", + "javax.persistence.PersistenceContext", + "javax.persistence.PersistenceContextType", + "javax.persistence.Query", + "javax.persistence.SynchronizationType", + "javax.transaction.HeuristicMixedException", + "javax.transaction.HeuristicRollbackException", + "javax.transaction.NotSupportedException", + "javax.transaction.RollbackException", + "javax.transaction.SystemException", + "javax.transaction.Transactional", + "javax.transaction.UserTransaction", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.ResetDBBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 50, - "end_line": 50, - "variables": [ - "sellDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", + "start_line": 81, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 51, - "end_line": 51, - "variables": [ - "billName" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " Open the input file as a stream of bytes", + "start_line": 96, + "end_line": 96, + "start_column": 3, + "end_column": 45, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 52, - "end_line": 52, - "variables": [ - "billAddr1" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 106, + "end_line": 108, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 53, - "end_line": 53, - "variables": [ - "billAddr2" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 150, + "end_line": 152, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 54, - "end_line": 54, - "variables": [ - "billCity" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 186, + "end_line": 188, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 55, - "end_line": 55, - "variables": [ - "billState" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", + "start_line": 248, + "end_line": 248, + "start_column": 4, + "end_column": 89, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 56, - "end_line": 56, - "variables": [ - "billZip" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", + "start_line": 249, + "end_line": 249, + "start_column": 4, + "end_column": 82, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 57, - "end_line": 57, - "variables": [ - "billPhone" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", + "start_line": 250, + "end_line": 250, + "start_column": 4, + "end_column": 63, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 58, - "end_line": 58, - "variables": [ - "shipName" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 256, + "end_line": 258, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 59, - "end_line": 59, - "variables": [ - "shipAddr1" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " Inserting backorders", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 26, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 60, - "end_line": 60, - "variables": [ - "shipAddr2" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 279, + "end_line": 281, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 61, - "end_line": 61, - "variables": [ - "shipCity" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " Inserting Suppliers", + "start_line": 286, + "end_line": 286, + "start_column": 4, + "end_column": 25, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 62, - "end_line": 62, - "variables": [ - "shipState" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", + "start_line": 321, + "end_line": 321, + "start_column": 4, + "end_column": 52, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 63, - "end_line": 63, - "variables": [ - "shipZip" - ], - "modifiers": [ - "private" + "content": " q.executeUpdate();", + "start_line": 322, + "end_line": 322, + "start_column": 4, + "end_column": 24, + "is_javadoc": false + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(value = \"resetbean\")", + "@Dependent", + "@RolesAllowed(\"SampAdmin\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "deleteAll()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "signature": "deleteAll()", + "comments": [ + { + "content": " q=em.createNamedQuery(\"removeAllIdGenerator\");", + "start_line": 321, + "end_line": 321, + "start_column": 4, + "end_column": 52, + "is_javadoc": false + }, + { + "content": " q.executeUpdate();", + "start_line": 322, + "end_line": 322, + "start_column": 4, + "end_column": 24, + "is_javadoc": false + } ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 64, - "end_line": 64, - "variables": [ - "shipPhone" + "annotations": [ + "@Transactional" ], "modifiers": [ - "private" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 65, - "end_line": 65, - "variables": [ - "creditCard" + "thrown_exceptions": [], + "declaration": "public void deleteAll()", + "parameters": [], + "code": "{\r\n\t\ttry {\r\n\t\t\tQuery q = em.createNamedQuery(\"removeAllOrders\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllInventory\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\t// q=em.createNamedQuery(\"removeAllIdGenerator\");\r\n\t\t\t// q.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllCustomers\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllOrderItem\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllBackOrder\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tq = em.createNamedQuery(\"removeAllSupplier\");\r\n\t\t\tq.executeUpdate();\r\n\t\t\tem.flush();\r\n\t\t\tUtil.debug(\"Deleted all data from database\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"ResetDB(deleteAll) -- Error deleting data from the database: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n tx.setRollbackOnly();\r\n } catch (IllegalStateException | SystemException ignore) {\r\n }\r\n\t\t}\r\n\t}", + "start_line": 314, + "end_line": 341, + "code_start_line": 315, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.Query" ], - "modifiers": [ - "private" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.tx", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.em" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 66, - "end_line": 66, - "variables": [ - "ccNum" + "call_sites": [ + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllOrders\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 317, + "query_arguments": [ + "\"removeAllOrders\"" + ], + "query_type": "NAMED" + }, + "start_line": 317, + "start_column": 14, + "end_line": 317, + "end_column": 51 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 318, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 318, + "start_column": 4, + "end_line": 318, + "end_column": 20 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllInventory\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 319, + "query_arguments": [ + "\"removeAllInventory\"" + ], + "query_type": "NAMED" + }, + "start_line": 319, + "start_column": 8, + "end_line": 319, + "end_column": 48 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 320, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 320, + "start_column": 4, + "end_line": 320, + "end_column": 20 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllCustomers\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 323, + "query_arguments": [ + "\"removeAllCustomers\"" + ], + "query_type": "NAMED" + }, + "start_line": 323, + "start_column": 8, + "end_line": 323, + "end_column": 48 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 324, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 324, + "start_column": 4, + "end_line": 324, + "end_column": 20 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllOrderItem\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 325, + "query_arguments": [ + "\"removeAllOrderItem\"" + ], + "query_type": "NAMED" + }, + "start_line": 325, + "start_column": 8, + "end_line": 325, + "end_column": 48 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 326, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 326, + "start_column": 4, + "end_line": 326, + "end_column": 20 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllBackOrder\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 327, + "query_arguments": [ + "\"removeAllBackOrder\"" + ], + "query_type": "NAMED" + }, + "start_line": 327, + "start_column": 8, + "end_line": 327, + "end_column": 48 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 328, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 328, + "start_column": 4, + "end_line": 328, + "end_column": 20 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"removeAllSupplier\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 329, + "query_arguments": [ + "\"removeAllSupplier\"" + ], + "query_type": "NAMED" + }, + "start_line": 329, + "start_column": 8, + "end_line": 329, + "end_column": 47 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 330, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 330, + "start_column": 4, + "end_line": 330, + "end_column": 20 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 331, + "start_column": 4, + "end_line": 331, + "end_column": 13 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Deleted all data from database\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 332, + "start_column": 4, + "end_line": 332, + "end_column": 47 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ResetDB(deleteAll) -- Error deleting data from the database: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 334, + "start_column": 4, + "end_line": 334, + "end_column": 82 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 335, + "start_column": 4, + "end_line": 335, + "end_column": 22 + }, + { + "method_name": "setRollbackOnly", + "comment": null, + "receiver_expr": "tx", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "setRollbackOnly()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 337, + "start_column": 17, + "end_line": 337, + "end_column": 36 + } ], - "modifiers": [ - "private" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "q", + "type": "javax.persistence.Query", + "initializer": "em.createNamedQuery(\"removeAllOrders\")", + "start_line": 317, + "start_column": 10, + "end_line": 317, + "end_column": 51 + } ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 67, - "end_line": 67, - "variables": [ - "ccExpireMonth" + "crud_operations": [ + { + "line_number": 318, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 320, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 324, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 326, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 328, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 330, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } ], - "modifiers": [ - "private" + "crud_queries": [ + { + "line_number": 317, + "query_arguments": [ + "\"removeAllOrders\"" + ], + "query_type": "NAMED" + }, + { + "line_number": 319, + "query_arguments": [ + "\"removeAllInventory\"" + ], + "query_type": "NAMED" + }, + { + "line_number": 323, + "query_arguments": [ + "\"removeAllCustomers\"" + ], + "query_type": "NAMED" + }, + { + "line_number": 325, + "query_arguments": [ + "\"removeAllOrderItem\"" + ], + "query_type": "NAMED" + }, + { + "line_number": 327, + "query_arguments": [ + "\"removeAllBackOrder\"" + ], + "query_type": "NAMED" + }, + { + "line_number": 329, + "query_arguments": [ + "\"removeAllSupplier\"" + ], + "query_type": "NAMED" + } ], - "annotations": [] + "cyclomatic_complexity": 3, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 68, - "end_line": 68, - "variables": [ - "ccExpireYear" - ], + "resetDB()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "signature": "resetDB()", + "comments": [], + "annotations": [], "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 69, - "end_line": 69, - "variables": [ - "cardHolder" + "public" ], - "modifiers": [ - "private" + "thrown_exceptions": [], + "declaration": "public void resetDB()", + "parameters": [], + "code": "{\r\n\t\tdeleteAll();\r\n\t\tpopulateDB();\r\n\t}", + "start_line": 76, + "end_line": 79, + "code_start_line": 76, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "deleteAll", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "deleteAll()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 77, + "start_column": 3, + "end_line": 77, + "end_column": 13 + }, + { + "method_name": "populateDB", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "populateDB()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 78, + "start_column": 3, + "end_line": 78, + "end_column": 14 + } ], - "annotations": [] + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 70, - "end_line": 70, - "variables": [ - "shippingMethod" + "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "comments": [ + { + "content": " Open the input file as a stream of bytes", + "start_line": 96, + "end_line": 96, + "start_column": 3, + "end_column": 45, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param itemID\r\n\t * @param fileName\r\n\t * @param catalog\r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t ", + "start_line": 81, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "private" + "public", + "static" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "float", - "start_line": 71, - "end_line": 71, - "variables": [ - "profit" + "thrown_exceptions": [ + "java.io.FileNotFoundException", + "java.io.IOException" ], - "modifiers": [ - "private" + "declaration": "public static void addImage(String itemID, String fileName, CatalogMgr catalog) throws FileNotFoundException, IOException", + "parameters": [ + { + "type": "java.lang.String", + "name": "itemID", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 30, + "end_column": 42 + }, + { + "type": "java.lang.String", + "name": "fileName", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 4, + "end_column": 18 + }, + { + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "name": "catalog", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 4, + "end_column": 21 + } ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "start_line": 73, - "end_line": 75, - "variables": [ - "customer" + "code": "{\r\n\t\tURL url = Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName);\r\n\t\tUtil.debug(\"URL: \" + url);\r\n\t\tfileName = url.getPath();\r\n\t\tUtil.debug(\"Fully-qualified Filename: \" + fileName);\r\n\t\tFile imgFile = new File(fileName);\r\n\t\t// Open the input file as a stream of bytes\r\n\t\tFileInputStream fis = new FileInputStream(imgFile);\r\n\t\tDataInputStream dis = new DataInputStream(fis);\r\n\t\tint dataSize = dis.available();\r\n\t\tbyte[] data = new byte[dataSize];\r\n\t\tdis.readFully(data);\r\n\t\tcatalog.setItemImageBytes(itemID, data);\r\n\t}", + "start_line": 88, + "end_line": 103, + "code_start_line": 90, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.io.DataInputStream", + "java.net.URL", + "java.io.FileInputStream", + "java.io.File" ], - "modifiers": [ - "private" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.catalog" ], - "annotations": [ - "@ManyToOne", - "@JoinColumn(name = \"CUSTOMERID\")" - ] + "call_sites": [ + { + "method_name": "getResource", + "comment": null, + "receiver_expr": "Thread.currentThread().getContextClassLoader()", + "receiver_type": "java.lang.ClassLoader", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"resources/images/\" + fileName" + ], + "return_type": "java.net.URL", + "callee_signature": "getResource(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 91, + "start_column": 13, + "end_line": 91, + "end_column": 102 + }, + { + "method_name": "getContextClassLoader", + "comment": null, + "receiver_expr": "Thread.currentThread()", + "receiver_type": "java.lang.Thread", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.ClassLoader", + "callee_signature": "getContextClassLoader()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 91, + "start_column": 13, + "end_line": 91, + "end_column": 58 + }, + { + "method_name": "currentThread", + "comment": null, + "receiver_expr": "Thread", + "receiver_type": "java.lang.Thread", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Thread", + "callee_signature": "currentThread()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 91, + "start_column": 13, + "end_line": 91, + "end_column": 34 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"URL: \" + url" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 92, + "start_column": 3, + "end_line": 92, + "end_column": 27 + }, + { + "method_name": "getPath", + "comment": null, + "receiver_expr": "url", + "receiver_type": "java.net.URL", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPath()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 93, + "start_column": 14, + "end_line": 93, + "end_column": 26 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Fully-qualified Filename: \" + fileName" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 3, + "end_line": 94, + "end_column": 53 + }, + { + "method_name": "available", + "comment": null, + "receiver_expr": "dis", + "receiver_type": "java.io.DataInputStream", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "available()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 99, + "start_column": 18, + "end_line": 99, + "end_column": 32 + }, + { + "method_name": "readFully", + "comment": null, + "receiver_expr": "dis", + "receiver_type": "java.io.DataInputStream", + "argument_types": [ + "" + ], + "argument_expr": [ + "data" + ], + "return_type": "", + "callee_signature": "readFully(byte[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 3, + "end_line": 101, + "end_column": 21 + }, + { + "method_name": "setItemImageBytes", + "comment": null, + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "itemID", + "data" + ], + "return_type": "", + "callee_signature": "setItemImageBytes(java.lang.String, byte[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 3, + "end_line": 102, + "end_column": 41 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.File", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fileName" + ], + "return_type": "java.io.File", + "callee_signature": "File(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 95, + "start_column": 18, + "end_line": 95, + "end_column": 35 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.FileInputStream", + "argument_types": [ + "java.io.File" + ], + "argument_expr": [ + "imgFile" + ], + "return_type": "java.io.FileInputStream", + "callee_signature": "FileInputStream(java.io.File)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 97, + "start_column": 25, + "end_line": 97, + "end_column": 52 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.DataInputStream", + "argument_types": [ + "java.io.FileInputStream" + ], + "argument_expr": [ + "fis" + ], + "return_type": "java.io.DataInputStream", + "callee_signature": "DataInputStream(java.io.InputStream)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 98, + "start_column": 25, + "end_line": 98, + "end_column": 48 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "url", + "type": "java.net.URL", + "initializer": "Thread.currentThread().getContextClassLoader().getResource(\"resources/images/\" + fileName)", + "start_line": 91, + "start_column": 7, + "end_line": 91, + "end_column": 102 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "imgFile", + "type": "java.io.File", + "initializer": "new File(fileName)", + "start_line": 95, + "start_column": 8, + "end_line": 95, + "end_column": 35 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fis", + "type": "java.io.FileInputStream", + "initializer": "new FileInputStream(imgFile)", + "start_line": 97, + "start_column": 19, + "end_line": 97, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "dis", + "type": "java.io.DataInputStream", + "initializer": "new DataInputStream(fis)", + "start_line": 98, + "start_column": 19, + "end_line": 98, + "end_column": 48 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "dataSize", + "type": "int", + "initializer": "dis.available()", + "start_line": 99, + "start_column": 7, + "end_line": 99, + "end_column": 32 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "data", + "type": "byte[]", + "initializer": "new byte[dataSize]", + "start_line": 100, + "start_column": 10, + "end_line": 100, + "end_column": 34 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.util.Collection", - "start_line": 76, - "end_line": 77, - "variables": [ - "orderItems" + "populateDB()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ResetDBBean.java", + "signature": "populateDB()", + "comments": [ + { + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 106, + "end_line": 108, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 150, + "end_line": 152, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 186, + "end_line": 188, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,", + "start_line": 248, + "end_line": 248, + "start_column": 4, + "end_column": 89, + "is_javadoc": false + }, + { + "content": " CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',", + "start_line": 249, + "end_line": 249, + "start_column": 4, + "end_column": 82, + "is_javadoc": false + }, + { + "content": " 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");", + "start_line": 250, + "end_line": 250, + "start_column": 4, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 256, + "end_line": 258, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting backorders", + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 279, + "end_line": 281, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Inserting Suppliers", + "start_line": 286, + "end_line": 286, + "start_column": 4, + "end_column": 25, + "is_javadoc": false + } ], + "annotations": [], "modifiers": [ - "private" + "public" ], - "annotations": [ - "@Transient" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.util.Collection", - "start_line": 79, - "end_line": 80, - "variables": [ - "items" + "thrown_exceptions": [], + "declaration": "public void populateDB()", + "parameters": [], + "code": "{\r\n\t\t/**\r\n\t\t * Populate INVENTORY table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating INVENTORY table with text...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"inventory\");\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tUtil.debug(\"Found INVENTORY property values: \" + values[index]);\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString id = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString heading = fields[2];\r\n\t\t\t\tString descr = fields[3];\r\n\t\t\t\tString pkginfo = fields[4];\r\n\t\t\t\tString image = fields[5];\r\n\t\t\t\tfloat price = new Float(fields[6]).floatValue();\r\n\t\t\t\tfloat cost = new Float(fields[7]).floatValue();\r\n\t\t\t\tint quantity = new Integer(fields[8]).intValue();\r\n\t\t\t\tint category = new Integer(fields[9]).intValue();\r\n\t\t\t\tString notes = fields[10];\r\n\t\t\t\tboolean isPublic = new Boolean(fields[11]).booleanValue();\r\n\t\t\t\tUtil.debug(\"Populating INVENTORY with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\tInventory storeItem = new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity,\r\n\t\t\t\t\t\tcategory, notes, isPublic);\r\n\t\t\t\tcatalog.addItem(storeItem);\r\n\t\t\t\taddImage(id, image, catalog);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"INVENTORY table populated with text...\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate INVENTORY table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating CUSTOMER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"customer\");\r\n\t\t\tUtil.debug(\"Found CUSTOMER properties: \" + values[0]);\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString customerID = fields[0];\r\n\t\t\t\tString password = fields[1];\r\n\t\t\t\tString firstName = fields[2];\r\n\t\t\t\tString lastName = fields[3];\r\n\t\t\t\tString addr1 = fields[4];\r\n\t\t\t\tString addr2 = fields[5];\r\n\t\t\t\tString addrCity = fields[6];\r\n\t\t\t\tString addrState = fields[7];\r\n\t\t\t\tString addrZip = fields[8];\r\n\t\t\t\tString phone = fields[9];\r\n\t\t\t\tUtil.debug(\"Populating CUSTOMER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\tcustomer.createCustomer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate CUSTOMER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate ORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating ORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"order\");\r\n\t\t\tUtil.debug(\"Found ORDER properties: \" + values[0]);\r\n\t\t\tif (values[0] != null && values.length > 0) {\r\n\t\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\t\tif (fields != null && fields.length >= 21) {\r\n\t\t\t\t\t\tString customerID = fields[0];\r\n\t\t\t\t\t\tString billName = fields[1];\r\n\t\t\t\t\t\tString billAddr1 = fields[2];\r\n\t\t\t\t\t\tString billAddr2 = fields[3];\r\n\t\t\t\t\t\tString billCity = fields[4];\r\n\t\t\t\t\t\tString billState = fields[5];\r\n\t\t\t\t\t\tString billZip = fields[6];\r\n\t\t\t\t\t\tString billPhone = fields[7];\r\n\t\t\t\t\t\tString shipName = fields[8];\r\n\t\t\t\t\t\tString shipAddr1 = fields[9];\r\n\t\t\t\t\t\tString shipAddr2 = fields[10];\r\n\t\t\t\t\t\tString shipCity = fields[11];\r\n\t\t\t\t\t\tString shipState = fields[12];\r\n\t\t\t\t\t\tString shipZip = fields[13];\r\n\t\t\t\t\t\tString shipPhone = fields[14];\r\n\t\t\t\t\t\tint shippingMethod = Integer.parseInt(fields[15]);\r\n\t\t\t\t\t\tString creditCard = fields[16];\r\n\t\t\t\t\t\tString ccNum = fields[17];\r\n\t\t\t\t\t\tString ccExpireMonth = fields[18];\r\n\t\t\t\t\t\tString ccExpireYear = fields[19];\r\n\t\t\t\t\t\tString cardHolder = fields[20];\r\n\t\t\t\t\t\tVector items = new Vector();\r\n\t\t\t\t\t\tUtil.debug(\"Populating ORDER with following values: \");\r\n\t\t\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\t\t\tUtil.debug(fields[8]);\r\n\t\t\t\t\t\tUtil.debug(fields[9]);\r\n\t\t\t\t\t\tUtil.debug(fields[10]);\r\n\t\t\t\t\t\tUtil.debug(fields[11]);\r\n\t\t\t\t\t\tUtil.debug(fields[12]);\r\n\t\t\t\t\t\tUtil.debug(fields[13]);\r\n\t\t\t\t\t\tUtil.debug(fields[14]);\r\n\t\t\t\t\t\tUtil.debug(fields[15]);\r\n\t\t\t\t\t\tUtil.debug(fields[16]);\r\n\t\t\t\t\t\tUtil.debug(fields[17]);\r\n\t\t\t\t\t\tUtil.debug(fields[18]);\r\n\t\t\t\t\t\tUtil.debug(fields[19]);\r\n\t\t\t\t\t\tUtil.debug(fields[20]);\r\n\t\t\t\t\t\tcart.createOrder(customerID, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName, shipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth, ccExpireYear, cardHolder, shippingMethod, items);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tUtil.debug(\"Property does not contain enough fields: \" + values[index]);\r\n\t\t\t\t\t\tUtil.debug(\"Fields found were: \" + fields);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// stmt.executeUpdate(\" INSERT INTO ORDERITEM(INVENTORYID, NAME, PKGINFO, PRICE, COST,\r\n\t\t\t// CATEGORY, QUANTITY, SELLDATE, ORDER_ORDERID) VALUES ('A0001', 'Bulb Digger',\r\n\t\t\t// 'Assembled', 12.0, 5.0, 3, 900, '01054835419625', '1')\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate ORDERITEM table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate BACKORDER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating BACKORDER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"backorder\");\r\n\t\t\tUtil.debug(\"Found BACKORDER properties: \" + values[0]);\r\n\t\t\t// Inserting backorders\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString inventoryID = fields[0];\r\n\t\t\t\tint amountToOrder = new Integer(fields[1]).intValue();\r\n\t\t\t\tint maximumItems = new Integer(fields[2]).intValue();\r\n\t\t\t\tUtil.debug(\"Populating BACKORDER with following values: \");\r\n\t\t\t\tUtil.debug(inventoryID);\r\n\t\t\t\tUtil.debug(\"amountToOrder -> \" + amountToOrder);\r\n\t\t\t\tUtil.debug(\"maximumItems -> \" + maximumItems);\r\n\t\t\t\tbackOrderStock.createBackOrder(inventoryID, amountToOrder, maximumItems);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate BACKORDER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t/**\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t */\r\n\t\tUtil.debug(\"Populating SUPPLIER table with default values...\");\r\n\t\ttry {\r\n\t\t\tString[] values = Util.getProperties(\"supplier\");\r\n\t\t\tUtil.debug(\"Found SUPPLIER properties: \" + values[0]);\r\n\t\t\t// Inserting Suppliers\r\n\t\t\tfor (int index = 0; index < values.length; index++) {\r\n\t\t\t\tString[] fields = Util.readTokens(values[index], \"|\");\r\n\t\t\t\tString supplierID = fields[0];\r\n\t\t\t\tString name = fields[1];\r\n\t\t\t\tString address = fields[2];\r\n\t\t\t\tString city = fields[3];\r\n\t\t\t\tString state = fields[4];\r\n\t\t\t\tString zip = fields[5];\r\n\t\t\t\tString phone = fields[6];\r\n\t\t\t\tString url = fields[7];\r\n\t\t\t\tUtil.debug(\"Populating SUPPLIER with following values: \");\r\n\t\t\t\tUtil.debug(fields[0]);\r\n\t\t\t\tUtil.debug(fields[1]);\r\n\t\t\t\tUtil.debug(fields[2]);\r\n\t\t\t\tUtil.debug(fields[3]);\r\n\t\t\t\tUtil.debug(fields[4]);\r\n\t\t\t\tUtil.debug(fields[5]);\r\n\t\t\t\tUtil.debug(fields[6]);\r\n\t\t\t\tUtil.debug(fields[7]);\r\n\t\t\t\tsuppliers.createSupplier(supplierID, name, address, city, state, zip, phone, url);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"Unable to populate SUPPLIER table with text data: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", + "start_line": 105, + "end_line": 312, + "code_start_line": 105, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.Vector", + "java.lang.String" ], - "modifiers": [ - "private" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.cart", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.catalog", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.backOrderStock", + "length", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.customer", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean.suppliers" ], - "annotations": [ - "@Transient" - ] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "\r\n * MailerBean provides a transactional facade for access to Order information and notification of\r\n * the buyer of order state.\r\n * \r\n ", - "start_line": 40, - "end_line": 44, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 85, - "is_javadoc": false - }, - { - "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", - "start_line": 59, - "end_line": 65, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", - "start_line": 79, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable", - "java.util.Date", - "javax.annotation.Resource", - "javax.enterprise.context.Dependent", - "javax.inject.Named", - "javax.mail.Message", - "javax.mail.Multipart", - "javax.mail.Session", - "javax.mail.Transport", - "javax.mail.internet.InternetAddress", - "javax.mail.internet.MimeBodyPart", - "javax.mail.internet.MimeMessage", - "javax.mail.internet.MimeMultipart", - "javax.persistence.EntityManager", - "javax.persistence.PersistenceContext", - "com.ibm.websphere.samples.pbw.jpa.Customer", - "com.ibm.websphere.samples.pbw.jpa.Order", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.MailerBean": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 85, - "is_javadoc": false - }, - { - "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", - "start_line": 59, - "end_line": 65, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", - "start_line": 79, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(value = \"mailerbean\")", - "@Dependent" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "createAndSendMail(Customer, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", - "signature": "createAndSendMail(Customer, String)", - "comments": [ + "call_sites": [ + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate INVENTORY table with text\r\n\t\t ", + "start_line": 106, + "end_line": 108, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating INVENTORY table with text...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 109, + "start_column": 3, + "end_line": 109, + "end_column": 55 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"inventory\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 111, + "start_column": 22, + "end_line": 111, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found INVENTORY property values: \" + values[index]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 5, + "end_line": 113, + "end_column": 68 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 23, + "end_line": 114, + "end_column": 57 + }, + { + "method_name": "floatValue", + "comment": null, + "receiver_expr": "new Float(fields[6])", + "receiver_type": "java.lang.Float", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "floatValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 19, + "end_line": 121, + "end_column": 51 + }, + { + "method_name": "floatValue", + "comment": null, + "receiver_expr": "new Float(fields[7])", + "receiver_type": "java.lang.Float", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "floatValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 18, + "end_line": 122, + "end_column": 50 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[8])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 20, + "end_line": 123, + "end_column": 52 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[9])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 20, + "end_line": 124, + "end_column": 52 + }, + { + "method_name": "booleanValue", + "comment": null, + "receiver_expr": "new Boolean(fields[11])", + "receiver_type": "java.lang.Boolean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "booleanValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 24, + "end_line": 126, + "end_column": 61 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating INVENTORY with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 5, + "end_line": 127, + "end_column": 63 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 5, + "end_line": 128, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 129, + "start_column": 5, + "end_line": 129, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 130, + "start_column": 5, + "end_line": 130, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 5, + "end_line": 131, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 132, + "start_column": 5, + "end_line": 132, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 5, + "end_line": 133, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 134, + "start_column": 5, + "end_line": 134, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 5, + "end_line": 135, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 136, + "start_column": 5, + "end_line": 136, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 137, + "start_column": 5, + "end_line": 137, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[10]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 138, + "start_column": 5, + "end_line": 138, + "end_column": 26 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[11]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 139, + "start_column": 5, + "end_line": 139, + "end_column": 26 + }, + { + "method_name": "addItem", + "comment": null, + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "storeItem" + ], + "return_type": "", + "callee_signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 5, + "end_line": 142, + "end_column": 30 + }, + { + "method_name": "addImage", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr" + ], + "argument_expr": [ + "id", + "image", + "catalog" + ], + "return_type": "", + "callee_signature": "addImage(java.lang.String, java.lang.String, com.ibm.websphere.samples.pbw.bean.CatalogMgr)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 5, + "end_line": 143, + "end_column": 32 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"INVENTORY table populated with text...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 145, + "start_column": 4, + "end_line": 145, + "end_column": 55 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate INVENTORY table with text data: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 4, + "end_line": 147, + "end_column": 72 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 148, + "start_column": 4, + "end_line": 148, + "end_column": 22 + }, + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate CUSTOMER table with text\r\n\t\t ", + "start_line": 150, + "end_line": 152, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating CUSTOMER table with default values...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 153, + "start_column": 3, + "end_line": 153, + "end_column": 64 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"customer\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 155, + "start_column": 22, + "end_line": 155, + "end_column": 51 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found CUSTOMER properties: \" + values[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 156, + "start_column": 4, + "end_line": 156, + "end_column": 57 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 158, + "start_column": 23, + "end_line": 158, + "end_column": 57 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating CUSTOMER with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 169, + "start_column": 5, + "end_line": 169, + "end_column": 62 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 170, + "start_column": 5, + "end_line": 170, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 171, + "start_column": 5, + "end_line": 171, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 172, + "start_column": 5, + "end_line": 172, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 173, + "start_column": 5, + "end_line": 173, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 174, + "start_column": 5, + "end_line": 174, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 175, + "start_column": 5, + "end_line": 175, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 176, + "start_column": 5, + "end_line": 176, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 5, + "end_line": 177, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 178, + "start_column": 5, + "end_line": 178, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 179, + "start_column": 5, + "end_line": 179, + "end_column": 25 + }, + { + "method_name": "createCustomer", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "customerID", + "password", + "firstName", + "lastName", + "addr1", + "addr2", + "addrCity", + "addrState", + "addrZip", + "phone" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 180, + "start_column": 5, + "end_line": 180, + "end_column": 121 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate CUSTOMER table with text data: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 183, + "start_column": 4, + "end_line": 183, + "end_column": 71 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 184, + "start_column": 4, + "end_line": 184, + "end_column": 22 + }, + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate ORDER table with text\r\n\t\t ", + "start_line": 186, + "end_line": 188, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating ORDER table with default values...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 189, + "start_column": 3, + "end_line": 189, + "end_column": 61 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"order\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 191, + "start_column": 22, + "end_line": 191, + "end_column": 48 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found ORDER properties: \" + values[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 192, + "start_column": 4, + "end_line": 192, + "end_column": 54 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 195, + "start_column": 24, + "end_line": 195, + "end_column": 58 + }, + { + "method_name": "parseInt", + "comment": null, + "receiver_expr": "Integer", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[15]" + ], + "return_type": "", + "callee_signature": "parseInt(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 212, + "start_column": 28, + "end_line": 212, + "end_column": 55 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating ORDER with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 219, + "start_column": 7, + "end_line": 219, + "end_column": 61 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 220, + "start_column": 7, + "end_line": 220, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 221, + "start_column": 7, + "end_line": 221, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 222, + "start_column": 7, + "end_line": 222, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 223, + "start_column": 7, + "end_line": 223, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 224, + "start_column": 7, + "end_line": 224, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 225, + "start_column": 7, + "end_line": 225, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 226, + "start_column": 7, + "end_line": 226, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 227, + "start_column": 7, + "end_line": 227, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 228, + "start_column": 7, + "end_line": 228, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 229, + "start_column": 7, + "end_line": 229, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[10]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 230, + "start_column": 7, + "end_line": 230, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[11]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 231, + "start_column": 7, + "end_line": 231, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[12]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 232, + "start_column": 7, + "end_line": 232, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[13]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 7, + "end_line": 233, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[14]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 234, + "start_column": 7, + "end_line": 234, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[15]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 235, + "start_column": 7, + "end_line": 235, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[16]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 236, + "start_column": 7, + "end_line": 236, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[17]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 237, + "start_column": 7, + "end_line": 237, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[18]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 238, + "start_column": 7, + "end_line": 238, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[19]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 239, + "start_column": 7, + "end_line": 239, + "end_column": 28 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[20]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 240, + "start_column": 7, + "end_line": 240, + "end_column": 28 + }, + { + "method_name": "createOrder", + "comment": null, + "receiver_expr": "cart", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "java.util.Vector" + ], + "argument_expr": [ + "customerID", + "billName", + "billAddr1", + "billAddr2", + "billCity", + "billState", + "billZip", + "billPhone", + "shipName", + "shipAddr1", + "shipAddr2", + "shipCity", + "shipState", + "shipZip", + "shipPhone", + "creditCard", + "ccNum", + "ccExpireMonth", + "ccExpireYear", + "cardHolder", + "shippingMethod", + "items" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 241, + "start_column": 7, + "end_line": 241, + "end_column": 263 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Property does not contain enough fields: \" + values[index]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 243, + "start_column": 7, + "end_line": 243, + "end_column": 77 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Fields found were: \" + fields" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 244, + "start_column": 7, + "end_line": 244, + "end_column": 48 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate ORDERITEM table with text data: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 4, + "end_line": 252, + "end_column": 72 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 253, + "start_column": 4, + "end_line": 253, + "end_column": 22 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 254, + "start_column": 4, + "end_line": 254, + "end_column": 22 + }, + { + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate BACKORDER table with text\r\n\t\t ", + "start_line": 256, + "end_line": 258, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating BACKORDER table with default values...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 259, + "start_column": 3, + "end_line": 259, + "end_column": 65 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"backorder\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 261, + "start_column": 22, + "end_line": 261, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Found BACKORDER properties: \" + values[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 262, + "start_column": 4, + "end_line": 262, + "end_column": 58 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 265, + "start_column": 23, + "end_line": 265, + "end_column": 57 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[1])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 267, + "start_column": 25, + "end_line": 267, + "end_column": 57 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(fields[2])", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 268, + "start_column": 24, + "end_line": 268, + "end_column": 56 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating BACKORDER with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 269, + "start_column": 5, + "end_line": 269, + "end_column": 63 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "inventoryID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 270, + "start_column": 5, + "end_line": 270, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"amountToOrder -> \" + amountToOrder" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 271, + "start_column": 5, + "end_line": 271, + "end_column": 51 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"maximumItems -> \" + maximumItems" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 272, + "start_column": 5, + "end_line": 272, + "end_column": 49 + }, + { + "method_name": "createBackOrder", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "inventoryID", + "amountToOrder", + "maximumItems" + ], + "return_type": "", + "callee_signature": "createBackOrder(java.lang.String, int, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 273, + "start_column": 5, + "end_line": 273, + "end_column": 76 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Unable to populate BACKORDER table with text data: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 276, + "start_column": 4, + "end_line": 276, + "end_column": 72 + }, { - "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "com.ibm.websphere.samples.pbw.bean.MailerAppException" - ], - "declaration": "public void createAndSendMail(Customer customerInfo, String orderKey) throws MailerAppException", - "parameters": [ + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 277, + "start_column": 4, + "end_line": 277, + "end_column": 22 + }, { - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "name": "customerInfo", - "annotations": [], - "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 32, - "end_column": 52 + "method_name": "debug", + "comment": { + "content": "\r\n\t\t * Populate SUPPLIER table with text\r\n\t\t ", + "start_line": 279, + "end_line": 281, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating SUPPLIER table with default values...\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 282, + "start_column": 3, + "end_line": 282, + "end_column": 64 }, { - "type": "java.lang.String", - "name": "orderKey", - "annotations": [], - "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 55, - "end_column": 69 - } - ], - "code": "{\r\n\t\ttry {\r\n\t\t\tEMailMessage eMessage = new EMailMessage(createSubjectLine(orderKey), createMessage(orderKey),\r\n\t\t\t\t\tcustomerInfo.getCustomerID());\r\n\r\n\t\t\tUtil.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \"\r\n\t\t\t\t\t+ eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\r\n\r\n\t\t\tUtil.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \"\r\n\t\t\t\t\t+ eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\r\n\r\n\t\t\tMimeMessage msg = new MimeMessage(mailSession);\r\n\t\t\tmsg.setFrom();\r\n\r\n\t\t\tmsg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(eMessage.getEmailReceiver(), false));\r\n\r\n\t\t\tmsg.setSubject(eMessage.getSubject());\r\n\t\t\tMimeBodyPart mbp = new MimeBodyPart();\r\n\t\t\tmbp.setText(eMessage.getHtmlContents(), \"us-ascii\");\r\n\t\t\tmsg.setHeader(\"X-Mailer\", \"JavaMailer\");\r\n\t\t\tMultipart mp = new MimeMultipart();\r\n\t\t\tmp.addBodyPart(mbp);\r\n\t\t\tmsg.setContent(mp);\r\n\t\t\tmsg.setSentDate(new Date());\r\n\r\n\t\t\tTransport.send(msg);\r\n\t\t\tUtil.debug(\"Mail sent successfully.\");\r\n\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t\tUtil.debug(\"Error sending mail. Have mail resources been configured correctly?\");\r\n\t\t\tUtil.debug(\"createAndSendMail exception : \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new MailerAppException(\"Failure while sending mail\");\r\n\t\t}\r\n\t}", - "start_line": 101, - "end_line": 136, - "code_start_line": 101, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "Multipart", - "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "MimeMessage", - "MimeBodyPart" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.MailerBean.mailSession", - "TO" - ], - "call_sites": [ + "method_name": "getProperties", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"supplier\"" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 284, + "start_column": 22, + "end_line": 284, + "end_column": 51 + }, { - "method_name": "createSubjectLine", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "createSubjectLine(java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"Found SUPPLIER properties: \" + values[0]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, - "start_column": 45, - "end_line": 103, - "end_column": 71 + "start_line": 285, + "start_column": 4, + "end_line": 285, + "end_column": 57 }, { - "method_name": "createMessage", + "method_name": "readTokens", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ + "java.lang.String", "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "createMessage(java.lang.String)", - "is_public": false, + "argument_expr": [ + "values[index]", + "\"|\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, - "start_column": 74, - "end_line": 103, - "end_column": 96 + "start_line": 288, + "start_column": 23, + "end_line": 288, + "end_column": 57 }, { - "method_name": "getCustomerID", + "method_name": "debug", "comment": null, - "receiver_expr": "customerInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCustomerID()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Populating SUPPLIER with following values: \"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, - "start_column": 6, - "end_line": 104, - "end_column": 33 + "start_line": 297, + "start_column": 5, + "end_line": 297, + "end_column": 62 }, { "method_name": "debug", @@ -31061,6 +34720,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fields[0]" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -31071,61 +34733,220 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, - "start_column": 4, - "end_line": 107, - "end_column": 75 + "start_line": 298, + "start_column": 5, + "end_line": 298, + "end_column": 25 }, { - "method_name": "getEmailReceiver", + "method_name": "debug", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmailReceiver()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, - "start_column": 46, - "end_line": 106, - "end_column": 72 + "start_line": 299, + "start_column": 5, + "end_line": 299, + "end_column": 25 }, { - "method_name": "getSubject", + "method_name": "debug", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSubject()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[2]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 107, - "start_column": 8, - "end_line": 107, - "end_column": 28 + "start_line": 300, + "start_column": 5, + "end_line": 300, + "end_column": 25 }, { - "method_name": "getHtmlContents", + "method_name": "debug", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getHtmlContents()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[3]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 301, + "start_column": 5, + "end_line": 301, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[4]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 302, + "start_column": 5, + "end_line": 302, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[5]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 303, + "start_column": 5, + "end_line": 303, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 304, + "start_column": 5, + "end_line": 304, + "end_column": 25 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 305, + "start_column": 5, + "end_line": 305, + "end_column": 25 + }, + { + "method_name": "createSupplier", + "comment": null, + "receiver_expr": "suppliers", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "supplierID", + "name", + "address", + "city", + "state", + "zip", + "phone", + "url" + ], + "return_type": "", + "callee_signature": "createSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -31134,10 +34955,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 107, - "start_column": 49, - "end_line": 107, - "end_column": 74 + "start_line": 306, + "start_column": 5, + "end_line": 306, + "end_column": 85 }, { "method_name": "debug", @@ -31147,6 +34968,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Unable to populate SUPPLIER table with text data: \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -31157,595 +34981,1018 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 109, - "start_column": 4, - "end_line": 110, - "end_column": 75 + "start_line": 309, + "start_column": 4, + "end_line": 309, + "end_column": 71 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 310, + "start_column": 4, + "end_line": 310, + "end_column": 22 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Float", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[6]" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 19, + "end_line": 121, + "end_column": 38 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Float", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[7]" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 18, + "end_line": 122, + "end_column": 37 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[8]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 20, + "end_line": 123, + "end_column": 41 }, { - "method_name": "getEmailReceiver", + "method_name": "", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmailReceiver()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[9]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 109, - "start_column": 46, - "end_line": 109, - "end_column": 72 + "start_line": 124, + "start_column": 20, + "end_line": 124, + "end_column": 41 }, { - "method_name": "getSubject", + "method_name": "", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSubject()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.lang.Boolean", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fields[11]" + ], + "return_type": "java.lang.Boolean", + "callee_signature": "Boolean(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 110, - "start_column": 8, - "end_line": 110, - "end_column": 28 + "start_line": 126, + "start_column": 24, + "end_line": 126, + "end_column": 46 }, { - "method_name": "getHtmlContents", + "method_name": "", "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getHtmlContents()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "", + "", + "", + "java.lang.String", + "" + ], + "argument_expr": [ + "id", + "name", + "heading", + "descr", + "pkginfo", + "image", + "price", + "cost", + "quantity", + "category", + "notes", + "isPublic" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 110, - "start_column": 49, - "end_line": 110, - "end_column": 74 + "start_line": 140, + "start_column": 27, + "end_line": 141, + "end_column": 32 }, { - "method_name": "setFrom", + "method_name": "", "comment": null, - "receiver_expr": "msg", - "receiver_type": "", + "receiver_expr": "", + "receiver_type": "java.util.Vector", "argument_types": [], - "return_type": "", - "callee_signature": "", + "argument_expr": [], + "return_type": "java.util.Vector", + "callee_signature": "Vector()", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 113, - "start_column": 4, - "end_line": 113, - "end_column": 16 + "start_line": 218, + "start_column": 33, + "end_line": 218, + "end_column": 55 }, { - "method_name": "setRecipients", + "method_name": "", "comment": null, - "receiver_expr": "msg", - "receiver_type": "", + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ - "", - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "fields[1]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 115, - "start_column": 4, - "end_line": 115, - "end_column": 105 + "start_line": 267, + "start_column": 25, + "end_line": 267, + "end_column": 46 }, { - "method_name": "parse", + "method_name": "", "comment": null, - "receiver_expr": "InternetAddress", - "receiver_type": "", + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ - "java.lang.String", - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "fields[2]" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, + "start_line": 268, + "start_column": 24, + "end_line": 268, + "end_column": 45 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"inventory\")", + "start_line": 111, + "start_column": 13, + "end_line": 111, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 112, + "start_column": 13, + "end_line": 112, + "end_column": 21 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 114, + "start_column": 14, + "end_line": 114, + "end_column": 57 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "id", + "type": "java.lang.String", + "initializer": "fields[0]", "start_line": 115, - "start_column": 48, + "start_column": 12, "end_line": 115, - "end_column": 104 + "end_column": 25 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "name", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 116, + "start_column": 12, + "end_line": 116, + "end_column": 27 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "heading", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 117, + "start_column": 12, + "end_line": 117, + "end_column": 30 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "descr", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 118, + "start_column": 12, + "end_line": 118, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "pkginfo", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 119, + "start_column": 12, + "end_line": 119, + "end_column": 30 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "image", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 120, + "start_column": 12, + "end_line": 120, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "float", + "initializer": "new Float(fields[6]).floatValue()", + "start_line": 121, + "start_column": 11, + "end_line": 121, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cost", + "type": "float", + "initializer": "new Float(fields[7]).floatValue()", + "start_line": 122, + "start_column": 11, + "end_line": 122, + "end_column": 50 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "int", + "initializer": "new Integer(fields[8]).intValue()", + "start_line": 123, + "start_column": 9, + "end_line": 123, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "category", + "type": "int", + "initializer": "new Integer(fields[9]).intValue()", + "start_line": 124, + "start_column": 9, + "end_line": 124, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "notes", + "type": "java.lang.String", + "initializer": "fields[10]", + "start_line": 125, + "start_column": 12, + "end_line": 125, + "end_column": 29 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "isPublic", + "type": "boolean", + "initializer": "new Boolean(fields[11]).booleanValue()", + "start_line": 126, + "start_column": 13, + "end_line": 126, + "end_column": 61 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "storeItem", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "new Inventory(id, name, heading, descr, pkginfo, image, price, cost, quantity, category, notes, isPublic)", + "start_line": 140, + "start_column": 15, + "end_line": 141, + "end_column": 32 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"customer\")", + "start_line": 155, + "start_column": 13, + "end_line": 155, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 157, + "start_column": 13, + "end_line": 157, + "end_column": 21 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 158, + "start_column": 14, + "end_line": 158, + "end_column": 57 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customerID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 159, + "start_column": 12, + "end_line": 159, + "end_column": 33 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "password", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 160, + "start_column": 12, + "end_line": 160, + "end_column": 31 }, { - "method_name": "getEmailReceiver", - "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmailReceiver()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 70, - "end_line": 115, - "end_column": 96 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "firstName", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 161, + "start_column": 12, + "end_line": 161, + "end_column": 32 }, { - "method_name": "setSubject", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 4, - "end_line": 117, - "end_column": 40 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lastName", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 162, + "start_column": 12, + "end_line": 162, + "end_column": 31 }, { - "method_name": "getSubject", - "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSubject()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 19, - "end_line": 117, - "end_column": 39 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr1", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 163, + "start_column": 12, + "end_line": 163, + "end_column": 28 }, { - "method_name": "setText", - "comment": null, - "receiver_expr": "mbp", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 4, - "end_line": 119, - "end_column": 54 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addr2", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 164, + "start_column": 12, + "end_line": 164, + "end_column": 28 }, { - "method_name": "getHtmlContents", - "comment": null, - "receiver_expr": "eMessage", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getHtmlContents()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 16, - "end_line": 119, - "end_column": 41 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrCity", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 165, + "start_column": 12, + "end_line": 165, + "end_column": 31 }, { - "method_name": "setHeader", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 4, - "end_line": 120, - "end_column": 42 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrState", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 166, + "start_column": 12, + "end_line": 166, + "end_column": 32 }, { - "method_name": "addBodyPart", - "comment": null, - "receiver_expr": "mp", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 4, - "end_line": 122, - "end_column": 22 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "addrZip", + "type": "java.lang.String", + "initializer": "fields[8]", + "start_line": 167, + "start_column": 12, + "end_line": 167, + "end_column": 30 }, { - "method_name": "setContent", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 4, - "end_line": 123, - "end_column": 21 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "fields[9]", + "start_line": 168, + "start_column": 12, + "end_line": 168, + "end_column": 28 }, { - "method_name": "setSentDate", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "", - "argument_types": [ - "java.util.Date" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 4, - "end_line": 124, - "end_column": 30 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"order\")", + "start_line": 191, + "start_column": 13, + "end_line": 191, + "end_column": 48 }, { - "method_name": "send", - "comment": null, - "receiver_expr": "Transport", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 4, - "end_line": 126, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 194, + "start_column": 14, + "end_line": 194, "end_column": 22 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 4, - "end_line": 127, - "end_column": 40 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 195, + "start_column": 15, + "end_line": 195, + "end_column": 58 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 4, - "end_line": 131, - "end_column": 83 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customerID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 197, + "start_column": 14, + "end_line": 197, + "end_column": 35 }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 132, - "start_column": 4, - "end_line": 132, - "end_column": 51 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billName", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 198, + "start_column": 14, + "end_line": 198, + "end_column": 33 }, { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 4, - "end_line": 133, - "end_column": 22 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billAddr1", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 199, + "start_column": 14, + "end_line": 199, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billAddr2", + "type": "java.lang.String", + "initializer": "fields[3]", + "start_line": 200, + "start_column": 14, + "end_line": 200, + "end_column": 34 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "callee_signature": "EMailMessage(java.lang.String, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 28, - "end_line": 104, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billCity", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 201, + "start_column": 14, + "end_line": 201, + "end_column": 33 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billState", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 202, + "start_column": 14, + "end_line": 202, "end_column": 34 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "MimeMessage", - "argument_types": [ - "" - ], - "return_type": "MimeMessage", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 22, - "end_line": 112, - "end_column": 49 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billZip", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 203, + "start_column": 14, + "end_line": 203, + "end_column": 32 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "MimeBodyPart", - "argument_types": [], - "return_type": "MimeBodyPart", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 23, - "end_line": 118, - "end_column": 40 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "billPhone", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 204, + "start_column": 14, + "end_line": 204, + "end_column": 34 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "MimeMultipart", - "argument_types": [], - "return_type": "MimeMultipart", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 19, - "end_line": 121, - "end_column": 37 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipName", + "type": "java.lang.String", + "initializer": "fields[8]", + "start_line": 205, + "start_column": 14, + "end_line": 205, + "end_column": 33 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 20, - "end_line": 124, - "end_column": 29 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipAddr1", + "type": "java.lang.String", + "initializer": "fields[9]", + "start_line": 206, + "start_column": 14, + "end_line": 206, + "end_column": 34 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", - "callee_signature": "MailerAppException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 134, - "start_column": 10, - "end_line": 134, - "end_column": 61 - } - ], - "variable_declarations": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shipAddr2", + "type": "java.lang.String", + "initializer": "fields[10]", + "start_line": 207, + "start_column": 14, + "end_line": 207, + "end_column": 35 + }, { "comment": { "content": null, @@ -31755,12 +36002,12 @@ "end_column": -1, "is_javadoc": false }, - "name": "eMessage", - "type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", - "initializer": "new EMailMessage(createSubjectLine(orderKey), createMessage(orderKey), customerInfo.getCustomerID())", - "start_line": 103, - "start_column": 17, - "end_line": 104, + "name": "shipCity", + "type": "java.lang.String", + "initializer": "fields[11]", + "start_line": 208, + "start_column": 14, + "end_line": 208, "end_column": 34 }, { @@ -31772,13 +36019,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "msg", - "type": "MimeMessage", - "initializer": "new MimeMessage(mailSession)", - "start_line": 112, - "start_column": 16, - "end_line": 112, - "end_column": 49 + "name": "shipState", + "type": "java.lang.String", + "initializer": "fields[12]", + "start_line": 209, + "start_column": 14, + "end_line": 209, + "end_column": 35 }, { "comment": { @@ -31789,13 +36036,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "mbp", - "type": "MimeBodyPart", - "initializer": "new MimeBodyPart()", - "start_line": 118, - "start_column": 17, - "end_line": 118, - "end_column": 40 + "name": "shipZip", + "type": "java.lang.String", + "initializer": "fields[13]", + "start_line": 210, + "start_column": 14, + "end_line": 210, + "end_column": 33 }, { "comment": { @@ -31806,421 +36053,286 @@ "end_column": -1, "is_javadoc": false }, - "name": "mp", - "type": "Multipart", - "initializer": "new MimeMultipart()", - "start_line": 121, + "name": "shipPhone", + "type": "java.lang.String", + "initializer": "fields[14]", + "start_line": 211, "start_column": 14, - "end_line": 121, - "end_column": 37 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "createMessage(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", - "signature": "createMessage(String)", - "comments": [ + "end_line": 211, + "end_column": 35 + }, { - "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", - "start_line": 59, - "end_line": 65, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private String createMessage(String orderKey)", - "parameters": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shippingMethod", + "type": "int", + "initializer": "Integer.parseInt(fields[15])", + "start_line": 212, + "start_column": 11, + "end_line": 212, + "end_column": 55 + }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "creditCard", "type": "java.lang.String", - "name": "orderKey", - "annotations": [], - "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 31, - "end_column": 45 - } - ], - "code": "{\r\n\t\tUtil.debug(\"creating email message for order:\" + orderKey);\r\n\t\tStringBuffer msg = new StringBuffer();\r\n\t\tOrder order = em.find(Order.class, orderKey);\r\n\t\tmsg.append(\"Thank you for your order \" + orderKey + \".\\n\");\r\n\t\tmsg.append(\"Your Plants By WebSphere order will be shipped to:\\n\");\r\n\t\tmsg.append(\" \" + order.getShipName() + \"\\n\");\r\n\t\tmsg.append(\" \" + order.getShipAddr1() + \" \" + order.getShipAddr2() + \"\\n\");\r\n\t\tmsg.append(\" \" + order.getShipCity() + \", \" + order.getShipState() + \" \" + order.getShipZip() + \"\\n\\n\");\r\n\t\tmsg.append(\"Please save it for your records.\\n\");\r\n\t\treturn msg.toString();\r\n\t}", - "start_line": 66, - "end_line": 77, - "code_start_line": 66, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.StringBuffer", - "com.ibm.websphere.samples.pbw.jpa.Order" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.MailerBean.em" - ], - "call_sites": [ - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 3, - "end_line": 67, - "end_column": 60 + "initializer": "fields[16]", + "start_line": 213, + "start_column": 14, + "end_line": 213, + "end_column": 36 }, { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 17, - "end_line": 69, - "end_column": 46 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccNum", + "type": "java.lang.String", + "initializer": "fields[17]", + "start_line": 214, + "start_column": 14, + "end_line": 214, + "end_column": 31 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 3, - "end_line": 70, - "end_column": 60 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccExpireMonth", + "type": "java.lang.String", + "initializer": "fields[18]", + "start_line": 215, + "start_column": 14, + "end_line": 215, + "end_column": 39 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 71, - "start_column": 3, - "end_line": 71, - "end_column": 68 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ccExpireYear", + "type": "java.lang.String", + "initializer": "fields[19]", + "start_line": 216, + "start_column": 14, + "end_line": 216, + "end_column": 38 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 3, - "end_line": 72, - "end_column": 50 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cardHolder", + "type": "java.lang.String", + "initializer": "fields[20]", + "start_line": 217, + "start_column": 14, + "end_line": 217, + "end_column": 36 }, { - "method_name": "getShipName", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 24, - "end_line": 72, - "end_column": 42 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "items", + "type": "java.util.Vector", + "initializer": "new Vector()", + "start_line": 218, + "start_column": 25, + "end_line": 218, + "end_column": 55 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 3, - "end_line": 73, - "end_column": 80 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"backorder\")", + "start_line": 261, + "start_column": 13, + "end_line": 261, + "end_column": 52 }, { - "method_name": "getShipAddr1", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipAddr1()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 24, - "end_line": 73, - "end_column": 43 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 264, + "start_column": 13, + "end_line": 264, + "end_column": 21 }, { - "method_name": "getShipAddr2", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipAddr2()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 53, - "end_line": 73, - "end_column": 72 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 265, + "start_column": 14, + "end_line": 265, + "end_column": 57 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 3, - "end_line": 74, - "end_column": 109 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 266, + "start_column": 12, + "end_line": 266, + "end_column": 34 }, { - "method_name": "getShipCity", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 24, - "end_line": 74, - "end_column": 42 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "amountToOrder", + "type": "int", + "initializer": "new Integer(fields[1]).intValue()", + "start_line": 267, + "start_column": 9, + "end_line": 267, + "end_column": 57 }, { - "method_name": "getShipState", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipState()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 53, - "end_line": 74, - "end_column": 72 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "maximumItems", + "type": "int", + "initializer": "new Integer(fields[2]).intValue()", + "start_line": 268, + "start_column": 9, + "end_line": 268, + "end_column": 56 }, { - "method_name": "getShipZip", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipZip()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 82, - "end_line": 74, - "end_column": 99 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "Util.getProperties(\"supplier\")", + "start_line": 284, + "start_column": 13, + "end_line": 284, + "end_column": 51 }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 75, - "start_column": 3, - "end_line": 75, - "end_column": 50 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 287, + "start_column": 13, + "end_line": 287, + "end_column": 21 }, { - "method_name": "toString", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 76, - "start_column": 10, - "end_line": 76, - "end_column": 23 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fields", + "type": "java.lang.String[]", + "initializer": "Util.readTokens(values[index], \"|\")", + "start_line": 288, + "start_column": 14, + "end_line": 288, + "end_column": 57 }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.StringBuffer", - "callee_signature": "StringBuffer()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 22, - "end_line": 68, - "end_column": 39 - } - ], - "variable_declarations": [ { "comment": { "content": null, @@ -32230,13 +36342,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "msg", - "type": "java.lang.StringBuffer", - "initializer": "new StringBuffer()", - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 39 + "name": "supplierID", + "type": "java.lang.String", + "initializer": "fields[0]", + "start_line": 289, + "start_column": 12, + "end_line": 289, + "end_column": 33 }, { "comment": { @@ -32247,130 +36359,99 @@ "end_column": -1, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "initializer": "em.find(Order.class, orderKey)", - "start_line": 69, - "start_column": 9, - "end_line": 69, - "end_column": 46 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "createSubjectLine(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", - "signature": "createSubjectLine(String)", - "comments": [ + "name": "name", + "type": "java.lang.String", + "initializer": "fields[1]", + "start_line": 290, + "start_column": 12, + "end_line": 290, + "end_column": 27 + }, { - "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", - "start_line": 79, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private String createSubjectLine(String orderKey)", - "parameters": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "address", + "type": "java.lang.String", + "initializer": "fields[2]", + "start_line": 291, + "start_column": 12, + "end_line": 291, + "end_column": 30 + }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "city", "type": "java.lang.String", - "name": "orderKey", - "annotations": [], - "modifiers": [], - "start_line": 86, - "end_line": 86, - "start_column": 35, - "end_column": 49 - } - ], - "code": "{\r\n\t\tStringBuffer msg = new StringBuffer();\r\n\t\tmsg.append(\"Your order number \" + orderKey);\r\n\r\n\t\treturn msg.toString();\r\n\t}", - "start_line": 86, - "end_line": 91, - "code_start_line": 86, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.StringBuffer" - ], - "accessed_fields": [], - "call_sites": [ + "initializer": "fields[3]", + "start_line": 292, + "start_column": 12, + "end_line": 292, + "end_column": 27 + }, { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 88, - "start_column": 3, - "end_line": 88, - "end_column": 45 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "state", + "type": "java.lang.String", + "initializer": "fields[4]", + "start_line": 293, + "start_column": 12, + "end_line": 293, + "end_column": 28 }, { - "method_name": "toString", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 10, - "end_line": 90, - "end_column": 23 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "zip", + "type": "java.lang.String", + "initializer": "fields[5]", + "start_line": 294, + "start_column": 12, + "end_line": 294, + "end_column": 26 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.StringBuffer", - "callee_signature": "StringBuffer()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 87, - "start_column": 22, - "end_line": 87, - "end_column": 39 - } - ], - "variable_declarations": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "fields[6]", + "start_line": 295, + "start_column": 12, + "end_line": 295, + "end_column": 28 + }, { "comment": { "content": null, @@ -32380,18 +36461,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "msg", - "type": "java.lang.StringBuffer", - "initializer": "new StringBuffer()", - "start_line": 87, - "start_column": 16, - "end_line": 87, - "end_column": 39 + "name": "url", + "type": "java.lang.String", + "initializer": "fields[7]", + "start_line": 296, + "start_column": 12, + "end_line": 296, + "end_column": 26 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 15, "is_entrypoint": false } }, @@ -32406,38 +36487,40 @@ "is_javadoc": false }, "name": null, - "type": "long", - "start_line": 50, - "end_line": 50, + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "start_line": 59, + "end_line": 60, "variables": [ - "serialVersionUID" + "catalog" ], "modifiers": [ - "private", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@Inject" + ] }, { "comment": { - "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", - "start_line": 51, - "end_line": 51, - "start_column": 2, - "end_column": 85, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, "name": null, - "type": "Session", - "start_line": 52, - "end_line": 53, + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "start_line": 61, + "end_line": 62, "variables": [ - "mailSession" + "customer" + ], + "modifiers": [ + "private" ], - "modifiers": [], "annotations": [ - "@Resource(name = \"mail/PlantsByWebSphere\")" + "@Inject" ] }, { @@ -32450,9 +36533,78 @@ "is_javadoc": false }, "name": null, - "type": "EntityManager", - "start_line": 55, - "end_line": 57, + "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "start_line": 63, + "end_line": 64, + "variables": [ + "cart" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "start_line": 65, + "end_line": 66, + "variables": [ + "backOrderStock" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "start_line": 67, + "end_line": 68, + "variables": [ + "suppliers" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "javax.persistence.EntityManager", + "start_line": 70, + "end_line": 71, "variables": [ "em" ], @@ -32460,6 +36612,27 @@ "annotations": [ "@PersistenceContext(unitName = \"PBW\")" ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "javax.transaction.UserTransaction", + "start_line": 73, + "end_line": 74, + "variables": [ + "tx" + ], + "modifiers": [], + "annotations": [ + "@Resource" + ] } ], "enum_constants": [], @@ -32470,9 +36643,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "package_name": "com.ibm.websphere.samples.pbw.war", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -32595,59 +36768,43 @@ "is_javadoc": false }, { - "content": "\r\n * Provides a combination of JSF action and backing bean support for the account web page.\r\n *\r\n ", - "start_line": 34, - "end_line": 37, + "content": "\r\n * This class encapsulates the info needed to send an email message. This object is passed to the\r\n * Mailer EJB sendMail() method.\r\n ", + "start_line": 19, + "end_line": 22, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": " persist the order", - "start_line": 117, - "end_line": 117, - "start_column": 3, - "end_column": 22, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", - "start_line": 135, - "end_line": 141, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": " shoppingCart.setCartContents (new ShoppingCartContents());", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 63, - "is_javadoc": false + "content": "\r\n\t * \r\n\t ", + "start_line": 24, + "end_line": 26, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Attempt to log in the user.", - "start_line": 174, - "end_line": 174, - "start_column": 3, - "end_column": 32, + "content": " subject field of email message", + "start_line": 38, + "end_line": 38, + "start_column": 2, + "end_column": 34, "is_javadoc": false }, { - "content": " Otherwise, no error, so continue to the correct page.", - "start_line": 186, - "end_line": 186, - "start_column": 3, - "end_column": 58, + "content": " Email address of recipient of email message", + "start_line": 43, + "end_line": 43, + "start_column": 2, + "end_column": 47, "is_javadoc": false }, { - "content": " Error, so go back to the login page.", - "start_line": 179, - "end_line": 179, - "start_column": 4, - "end_column": 42, + "content": " contents of email message", + "start_line": 48, + "end_line": 48, + "start_column": 2, + "end_column": 29, "is_javadoc": false }, { @@ -32659,22 +36816,9 @@ "is_javadoc": false } ], - "imports": [ - "java.io.Serializable", - "javax.enterprise.context.SessionScoped", - "javax.faces.application.Application", - "javax.faces.context.FacesContext", - "javax.inject.Inject", - "javax.inject.Named", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "com.ibm.websphere.samples.pbw.bean.MailerAppException", - "com.ibm.websphere.samples.pbw.bean.MailerBean", - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "com.ibm.websphere.samples.pbw.jpa.Customer", - "com.ibm.websphere.samples.pbw.utils.Util" - ], + "imports": [], "type_declarations": { - "com.ibm.websphere.samples.pbw.war.AccountBean": { + "com.ibm.websphere.samples.pbw.bean.EMailMessage": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -32686,57 +36830,41 @@ "extends_list": [], "comments": [ { - "content": " persist the order", - "start_line": 117, - "end_line": 117, - "start_column": 3, - "end_column": 22, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", - "start_line": 135, - "end_line": 141, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": " shoppingCart.setCartContents (new ShoppingCartContents());", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 63, - "is_javadoc": false + "content": "\r\n\t * \r\n\t ", + "start_line": 24, + "end_line": 26, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Attempt to log in the user.", - "start_line": 174, - "end_line": 174, - "start_column": 3, - "end_column": 32, + "content": " subject field of email message", + "start_line": 38, + "end_line": 38, + "start_column": 2, + "end_column": 34, "is_javadoc": false }, { - "content": " Otherwise, no error, so continue to the correct page.", - "start_line": 186, - "end_line": 186, - "start_column": 3, - "end_column": 58, + "content": " Email address of recipient of email message", + "start_line": 43, + "end_line": 43, + "start_column": 2, + "end_column": 47, "is_javadoc": false }, { - "content": " Error, so go back to the login page.", - "start_line": 179, - "end_line": 179, - "start_column": 4, - "end_column": 42, + "content": " contents of email message", + "start_line": 48, + "end_line": 48, + "start_column": 2, + "end_column": 29, "is_javadoc": false }, { - "content": "\r\n * Provides a combination of JSF action and backing bean support for the account web page.\r\n *\r\n ", - "start_line": 34, - "end_line": 37, + "content": "\r\n * This class encapsulates the info needed to send an email message. This object is passed to the\r\n * Mailer EJB sendMail() method.\r\n ", + "start_line": 19, + "end_line": 22, "start_column": 1, "end_column": 3, "is_javadoc": true @@ -32748,1128 +36876,831 @@ "modifiers": [ "public" ], - "annotations": [ - "@Named(value = \"account\")", - "@SessionScoped" - ], + "annotations": [], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "performAccount()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performAccount()", + "getSubject()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "signature": "getSubject()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getSubject()", + "parameters": [], + "code": "{\r\n\t\treturn subject;\r\n\t}", + "start_line": 39, + "end_line": 41, + "code_start_line": 39, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "toString()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "signature": "toString()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String toString()", + "parameters": [], + "code": "{\r\n\t\treturn \" subject=\" + subject + \" \" + emailReceiver + \" \" + htmlContents;\r\n\t}", + "start_line": 53, + "end_line": 55, + "code_start_line": 53, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject", + "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents", + "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public EMailMessage(String subject, String htmlContents, String emailReceiver)", + "parameters": [ + { + "type": "java.lang.String", + "name": "subject", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 22, + "end_column": 35 + }, + { + "type": "java.lang.String", + "name": "htmlContents", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 38, + "end_column": 56 + }, + { + "type": "java.lang.String", + "name": "emailReceiver", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 59, + "end_column": 78 + } + ], + "code": "{\r\n\t\tthis.subject = subject;\r\n\t\tthis.htmlContents = htmlContents;\r\n\t\tthis.emailReceiver = emailReceiver;\r\n\t}", + "start_line": 32, + "end_line": 36, + "code_start_line": 32, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.EMailMessage.subject", + "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents", + "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getHtmlContents()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "signature": "getHtmlContents()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performAccount()", + "declaration": "public String getHtmlContents()", "parameters": [], - "code": "{\r\n\t\tif (customer == null || loginInfo == null) {\r\n\t\t\tcheckingOut = false;\r\n\t\t\tloginInfo = new LoginInfo();\r\n\t\t\tregister = false;\r\n\t\t\tupdating = true;\r\n\r\n\t\t\tloginInfo.setMessage(\"You must log in first.\");\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\treturn AccountBean.ACTION_ACCOUNT;\r\n\t\t}\r\n\t}", - "start_line": 67, - "end_line": 82, - "code_start_line": 67, + "code": "{\r\n\t\treturn htmlContents;\r\n\t}", + "start_line": 49, + "end_line": 51, + "code_start_line": 49, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ACCOUNT", - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.register", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", - "com.ibm.websphere.samples.pbw.war.AccountBean.updating", - "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" - ], - "call_sites": [ - { - "method_name": "setMessage", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setMessage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 4, - "end_line": 74, - "end_column": 49 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "callee_signature": "LoginInfo()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 16, - "end_line": 70, - "end_column": 30 - } + "com.ibm.websphere.samples.pbw.bean.EMailMessage.htmlContents" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performLoginComplete()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performLoginComplete()", - "comments": [ - { - "content": " Attempt to log in the user.", - "start_line": 174, - "end_line": 174, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": " Otherwise, no error, so continue to the correct page.", - "start_line": 186, - "end_line": 186, - "start_column": 3, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Error, so go back to the login page.", - "start_line": 179, - "end_line": 179, - "start_column": 4, - "end_column": 42, - "is_javadoc": false - } - ], + "getEmailReceiver()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/EMailMessage.java", + "signature": "getEmailReceiver()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performLoginComplete()", + "declaration": "public String getEmailReceiver()", "parameters": [], - "code": "{\r\n\t\tString message;\r\n\r\n\t\t// Attempt to log in the user.\r\n\r\n\t\tmessage = login.verifyUserAndPassword(loginInfo.getEmail(), loginInfo.getPassword());\r\n\r\n\t\tif (message != null) {\r\n\t\t\t// Error, so go back to the login page.\r\n\r\n\t\t\tloginInfo.setMessage(message);\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\t// Otherwise, no error, so continue to the correct page.\r\n\r\n\t\tcustomer = login.getCustomer(loginInfo.getEmail());\r\n\r\n\t\tif (isCheckingOut()) {\r\n\t\t\treturn performOrderInfo();\r\n\t\t}\r\n\r\n\t\tif (isUpdating()) {\r\n\t\t\treturn performAccount();\r\n\t\t}\r\n\r\n\t\treturn AccountBean.ACTION_PROMO;\r\n\t}", - "start_line": 171, - "end_line": 199, - "code_start_line": 171, + "code": "{\r\n\t\treturn emailReceiver;\r\n\t}", + "start_line": 44, + "end_line": 46, + "code_start_line": 44, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_PROMO", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", - "com.ibm.websphere.samples.pbw.war.AccountBean.login" + "com.ibm.websphere.samples.pbw.bean.EMailMessage.emailReceiver" ], - "call_sites": [ - { - "method_name": "verifyUserAndPassword", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 13, - "end_line": 176, - "end_column": 86 - }, - { - "method_name": "getEmail", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmail()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 41, - "end_line": 176, - "end_column": 60 - }, - { - "method_name": "getPassword", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 176, - "start_column": 63, - "end_line": 176, - "end_column": 85 - }, - { - "method_name": "setMessage", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setMessage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 4, - "end_line": 181, - "end_column": 32 - }, - { - "method_name": "getCustomer", - "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "getCustomer(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 14, - "end_line": 188, - "end_column": 52 - }, - { - "method_name": "getEmail", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmail()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 32, - "end_line": 188, - "end_column": 51 - }, - { - "method_name": "isCheckingOut", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "isCheckingOut()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 190, - "start_column": 7, - "end_line": 190, - "end_column": 21 - }, - { - "method_name": "performOrderInfo", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "performOrderInfo()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 191, - "start_column": 11, - "end_line": 191, - "end_column": 28 - }, - { - "method_name": "isUpdating", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "isUpdating()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 194, - "start_column": 7, - "end_line": 194, - "end_column": 18 - }, - { - "method_name": "performAccount", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "performAccount()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 195, - "start_column": 11, - "end_line": 195, - "end_column": 26 - } + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 24, + "end_line": 26, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 27, + "end_line": 27, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 28, + "end_line": 28, + "variables": [ + "subject" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 29, + "end_line": 29, + "variables": [ + "htmlContents" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 30, + "end_line": 30, + "variables": [ + "emailReceiver" + ], + "modifiers": [ + "private" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Bean mapping for the SUPPLIER table.\r\n ", + "start_line": 25, + "end_line": 27, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", + "start_line": 114, + "end_line": 123, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "javax.persistence.Entity", + "javax.persistence.Id", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.Table" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.jpa.Supplier": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", + "start_line": 114, + "end_line": 123, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * Bean mapping for the SUPPLIER table.\r\n ", + "start_line": 25, + "end_line": 27, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Entity(name = \"Supplier\")", + "@Table(name = \"SUPPLIER\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"findAllSuppliers\", query = \"select s from Supplier s\"), @NamedQuery(name = \"removeAllSupplier\", query = \"delete from Supplier\") })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getStreet()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getStreet()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "message", - "type": "java.lang.String", - "initializer": "", - "start_line": 172, - "start_column": 10, - "end_line": 172, - "end_column": 16 - } + "thrown_exceptions": [], + "declaration": "public String getStreet()", + "parameters": [], + "code": "{\r\n\t\treturn street;\r\n\t}", + "start_line": 67, + "end_line": 69, + "code_start_line": 67, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.street" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performCheckoutFinal()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performCheckoutFinal()", + "setUsstate(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setUsstate(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performCheckoutFinal()", - "parameters": [], - "code": "{\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tApplication app = context.getApplication();\r\n\t\tShoppingBean shopping = (ShoppingBean) app.createValueBinding(\"#{shopping}\").getValue(context);\r\n\r\n\t\tshopping.setShippingCost(Util.getShippingMethodPrice(orderInfo.getShippingMethod()));\r\n\r\n\t\treturn AccountBean.ACTION_CHECKOUT_FINAL;\r\n\t}", - "start_line": 102, - "end_line": 110, - "code_start_line": 102, - "return_type": "java.lang.String", + "declaration": "public void setUsstate(String usstate)", + "parameters": [ + { + "type": "java.lang.String", + "name": "usstate", + "annotations": [], + "modifiers": [], + "start_line": 95, + "end_line": 95, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.usstate = usstate;\r\n\t}", + "start_line": 95, + "end_line": 97, + "code_start_line": 95, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "FacesContext", - "com.ibm.websphere.samples.pbw.war.ShoppingBean", - "java.lang.String", - "Application" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_CHECKOUT_FINAL" + "com.ibm.websphere.samples.pbw.jpa.Supplier.usstate" ], - "call_sites": [ - { - "method_name": "getCurrentInstance", - "comment": null, - "receiver_expr": "FacesContext", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 26, - "end_line": 103, - "end_column": 58 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setUrl(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setUrl(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setUrl(String url)", + "parameters": [ { - "method_name": "getApplication", - "comment": null, - "receiver_expr": "context", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 104, + "type": "java.lang.String", + "name": "url", + "annotations": [], + "modifiers": [], + "start_line": 87, + "end_line": 87, "start_column": 21, - "end_line": 104, - "end_column": 44 - }, - { - "method_name": "getValue", - "comment": null, - "receiver_expr": "app.createValueBinding(\"#{shopping}\")", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 42, - "end_line": 105, - "end_column": 96 - }, - { - "method_name": "createValueBinding", - "comment": null, - "receiver_expr": "app", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 42, - "end_line": 105, - "end_column": 78 - }, - { - "method_name": "setShippingCost", - "comment": null, - "receiver_expr": "shopping", - "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setShippingCost(float)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 3, - "end_line": 107, - "end_column": 86 - }, - { - "method_name": "getShippingMethodPrice", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "getShippingMethodPrice(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 28, - "end_line": 107, - "end_column": 85 - }, - { - "method_name": "getShippingMethod", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "", - "callee_signature": "getShippingMethod()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 56, - "end_line": 107, - "end_column": 84 + "end_column": 30 } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "context", - "type": "FacesContext", - "initializer": "FacesContext.getCurrentInstance()", - "start_line": 103, - "start_column": 16, - "end_line": 103, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "app", - "type": "Application", - "initializer": "context.getApplication()", - "start_line": 104, - "start_column": 15, - "end_line": 104, - "end_column": 44 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shopping", - "type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", - "initializer": "(ShoppingBean) app.createValueBinding(\"#{shopping}\").getValue(context)", - "start_line": 105, - "start_column": 16, - "end_line": 105, - "end_column": 96 - } + "code": "{\r\n\t\tthis.url = url;\r\n\t}", + "start_line": 87, + "end_line": 89, + "code_start_line": 87, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.url" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performCompleteCheckout()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performCompleteCheckout()", - "comments": [ - { - "content": " persist the order", - "start_line": 117, - "end_line": 117, - "start_column": 3, - "end_column": 22, - "is_javadoc": false - }, - { - "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", - "start_line": 135, - "end_line": 141, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, + "getCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getCity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCity()", + "parameters": [], + "code": "{\r\n\t\treturn city;\r\n\t}", + "start_line": 43, + "end_line": 45, + "code_start_line": 43, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.city" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setPhone(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPhone(String phone)", + "parameters": [ { - "content": " shoppingCart.setCartContents (new ShoppingCartContents());", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 63, - "is_javadoc": false + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 23, + "end_column": 34 } ], + "code": "{\r\n\t\tthis.phone = phone;\r\n\t}", + "start_line": 63, + "end_line": 65, + "code_start_line": 63, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.phone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getZip()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performCompleteCheckout()", + "declaration": "public String getZip()", "parameters": [], - "code": "{\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tApplication app = context.getApplication();\r\n\t\tapp.createValueBinding(\"#{shopping}\").getValue(context);\r\n\r\n\t\t// persist the order\r\n\t\tOrderInfo oi = new OrderInfo(shoppingCart\r\n\t\t\t\t.createOrder(customer.getCustomerID(), orderInfo.getBillName(), orderInfo.getBillAddr1(), orderInfo\r\n\t\t\t\t\t\t.getBillAddr2(), orderInfo.getBillCity(), orderInfo.getBillState(), orderInfo\r\n\t\t\t\t\t\t\t\t.getBillZip(), orderInfo.getBillPhone(), orderInfo.getShipName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t.getShipAddr1(), orderInfo.getShipAddr2(), orderInfo.getShipCity(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t.getShipState(), orderInfo.getShipZip(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getShipPhone(), orderInfo.getCardName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardNum(), orderInfo.getCardExpMonth(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardExpYear(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardholderName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getShippingMethod(), shoppingCart\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getItems()));\r\n\r\n\t\tlastOrderNum = oi.getID();\r\n\r\n\t\tUtil.debug(\"Account.performCompleteCheckout: order id =\" + orderInfo);\r\n\r\n\t\t/*\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t */\r\n\t\ttry {\r\n\t\t\tmailer.createAndSendMail(customer, oi.getID());\r\n\t\t} catch (MailerAppException e) {\r\n\t\t\tSystem.out.println(\"MailerAppException:\" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Exception during create and send mail :\" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\torderInfo = null;\r\n\r\n\t\t// shoppingCart.setCartContents (new ShoppingCartContents());\r\n\t\tshoppingCart.removeAllItems();\r\n\r\n\t\treturn AccountBean.ACTION_ORDERDONE;\r\n\t}", - "start_line": 112, - "end_line": 158, - "code_start_line": 112, + "code": "{\r\n\t\treturn zip;\r\n\t}", + "start_line": 99, + "end_line": 101, + "code_start_line": 99, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream", - "FacesContext", - "java.lang.String", - "Application", - "com.ibm.websphere.samples.pbw.war.OrderInfo" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ORDERDONE", - "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.lastOrderNum", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer", - "com.ibm.websphere.samples.pbw.war.AccountBean.mailer", - "com.ibm.websphere.samples.pbw.war.AccountBean.shoppingCart", - "java.lang.System.out" + "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" ], - "call_sites": [ - { - "method_name": "getCurrentInstance", - "comment": null, - "receiver_expr": "FacesContext", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 113, - "start_column": 26, - "end_line": 113, - "end_column": 58 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ { - "method_name": "getApplication", - "comment": null, - "receiver_expr": "context", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param url\r\n\t ", "start_line": 114, - "start_column": 21, - "end_line": 114, - "end_column": 44 - }, - { - "method_name": "getValue", - "comment": null, - "receiver_expr": "app.createValueBinding(\"#{shopping}\")", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 3, - "end_line": 115, - "end_column": 57 - }, - { - "method_name": "createValueBinding", - "comment": null, - "receiver_expr": "app", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 3, - "end_line": 115, - "end_column": 39 - }, - { - "method_name": "createOrder", - "comment": null, - "receiver_expr": "shoppingCart", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "java.util.ArrayList" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 32, - "end_line": 129, - "end_column": 36 - }, + "end_line": 123, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)", + "parameters": [ { - "method_name": "getCustomerID", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCustomerID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, + "type": "java.lang.String", + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, "start_column": 18, - "end_line": 119, - "end_column": 41 - }, - { - "method_name": "getBillName", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 44, - "end_line": 119, - "end_column": 66 - }, - { - "method_name": "getBillAddr1", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillAddr1()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 69, - "end_line": 119, - "end_column": 92 - }, - { - "method_name": "getBillAddr2", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillAddr2()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 95, - "end_line": 120, - "end_column": 21 - }, - { - "method_name": "getBillCity", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 24, - "end_line": 120, - "end_column": 46 - }, - { - "method_name": "getBillState", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillState()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 49, - "end_line": 120, - "end_column": 72 - }, - { - "method_name": "getBillZip", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillZip()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 75, - "end_line": 121, - "end_column": 21 + "end_column": 34 }, { - "method_name": "getBillPhone", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBillPhone()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 24, - "end_line": 121, + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 37, "end_column": 47 }, { - "method_name": "getShipName", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, + "type": "java.lang.String", + "name": "street", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, "start_column": 50, - "end_line": 121, - "end_column": 72 + "end_column": 62 }, { - "method_name": "getShipAddr1", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipAddr1()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 75, - "end_line": 122, - "end_column": 25 + "type": "java.lang.String", + "name": "city", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 65, + "end_column": 75 }, { - "method_name": "getShipAddr2", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipAddr2()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 28, - "end_line": 122, - "end_column": 51 + "type": "java.lang.String", + "name": "state", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 78, + "end_column": 89 }, { - "method_name": "getShipCity", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 54, - "end_line": 122, - "end_column": 76 + "type": "java.lang.String", + "name": "zip", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 92, + "end_column": 101 }, { - "method_name": "getShipState", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipState()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 79, - "end_line": 123, - "end_column": 27 + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 104, + "end_column": 115 }, { - "method_name": "getShipZip", - "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipZip()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 30, - "end_line": 123, - "end_column": 51 - }, + "type": "java.lang.String", + "name": "url", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 4, + "end_column": 13 + } + ], + "code": "{\r\n\t\tthis.setSupplierID(supplierID);\r\n\t\tthis.setName(name);\r\n\t\tthis.setStreet(street);\r\n\t\tthis.setCity(city);\r\n\t\tthis.setUsstate(state);\r\n\t\tthis.setZip(zip);\r\n\t\tthis.setPhone(phone);\r\n\t\tthis.setUrl(url);\r\n\t}", + "start_line": 124, + "end_line": 134, + "code_start_line": 125, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID", + "com.ibm.websphere.samples.pbw.jpa.Supplier.city", + "com.ibm.websphere.samples.pbw.jpa.Supplier.url", + "com.ibm.websphere.samples.pbw.jpa.Supplier.name", + "com.ibm.websphere.samples.pbw.jpa.Supplier.phone", + "com.ibm.websphere.samples.pbw.jpa.Supplier.street", + "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" + ], + "call_sites": [ { - "method_name": "getShipPhone", + "method_name": "setSupplierID", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getShipPhone()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "supplierID" + ], + "return_type": "", + "callee_signature": "setSupplierID(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33878,19 +37709,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 123, - "start_column": 54, - "end_line": 124, - "end_column": 29 + "start_line": 126, + "start_column": 3, + "end_line": 126, + "end_column": 32 }, { - "method_name": "getCardName", + "method_name": "setName", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCardName()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "setName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33899,19 +37735,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 32, - "end_line": 124, - "end_column": 54 + "start_line": 127, + "start_column": 3, + "end_line": 127, + "end_column": 20 }, { - "method_name": "getCardNum", + "method_name": "setStreet", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCardNum()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "street" + ], + "return_type": "", + "callee_signature": "setStreet(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33920,19 +37761,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 57, - "end_line": 125, - "end_column": 29 + "start_line": 128, + "start_column": 3, + "end_line": 128, + "end_column": 24 }, { - "method_name": "getCardExpMonth", + "method_name": "setCity", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCardExpMonth()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "city" + ], + "return_type": "", + "callee_signature": "setCity(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33941,19 +37787,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 125, - "start_column": 32, - "end_line": 125, - "end_column": 58 + "start_line": 129, + "start_column": 3, + "end_line": 129, + "end_column": 20 }, { - "method_name": "getCardExpYear", + "method_name": "setUsstate", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCardExpYear()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "state" + ], + "return_type": "", + "callee_signature": "setUsstate(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33962,19 +37813,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 125, - "start_column": 61, - "end_line": 126, - "end_column": 35 + "start_line": 130, + "start_column": 3, + "end_line": 130, + "end_column": 24 }, { - "method_name": "getCardholderName", + "method_name": "setZip", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCardholderName()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "zip" + ], + "return_type": "", + "callee_signature": "setZip(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -33983,19 +37839,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 126, - "start_column": 38, - "end_line": 127, - "end_column": 40 + "start_line": 131, + "start_column": 3, + "end_line": 131, + "end_column": 18 }, { - "method_name": "getShippingMethod", + "method_name": "setPhone", "comment": null, - "receiver_expr": "orderInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "phone" + ], "return_type": "", - "callee_signature": "getShippingMethod()", + "callee_signature": "setPhone(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34004,19 +37865,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, - "start_column": 43, - "end_line": 128, - "end_column": 42 + "start_line": 132, + "start_column": 3, + "end_line": 132, + "end_column": 22 }, { - "method_name": "getItems", + "method_name": "setUrl", "comment": null, - "receiver_expr": "shoppingCart", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getItems()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "url" + ], + "return_type": "", + "callee_signature": "setUrl(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34025,203 +37891,363 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 45, - "end_line": 129, - "end_column": 35 - }, + "start_line": 133, + "start_column": 3, + "end_line": 133, + "end_column": 18 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setStreet(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setStreet(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setStreet(String street)", + "parameters": [ + { + "type": "java.lang.String", + "name": "street", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 24, + "end_column": 36 + } + ], + "code": "{\r\n\t\tthis.street = street;\r\n\t}", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.street" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSupplierID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setSupplierID(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSupplierID(String supplierID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 79, + "end_line": 79, + "start_column": 28, + "end_column": 44 + } + ], + "code": "{\r\n\t\tthis.supplierID = supplierID;\r\n\t}", + "start_line": 79, + "end_line": 81, + "code_start_line": 79, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getName()", + "parameters": [], + "code": "{\r\n\t\treturn name;\r\n\t}", + "start_line": 51, + "end_line": 53, + "code_start_line": 51, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.name" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 107, + "end_line": 108, + "code_start_line": 107, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getPhone()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getPhone()", + "parameters": [], + "code": "{\r\n\t\treturn phone;\r\n\t}", + "start_line": 59, + "end_line": 61, + "code_start_line": 59, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.phone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getSupplierID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getSupplierID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getSupplierID()", + "parameters": [], + "code": "{\r\n\t\treturn supplierID;\r\n\t}", + "start_line": 75, + "end_line": 77, + "code_start_line": 75, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setZip(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setZip(String zip)", + "parameters": [ + { + "type": "java.lang.String", + "name": "zip", + "annotations": [], + "modifiers": [], + "start_line": 103, + "end_line": 103, + "start_column": 21, + "end_column": 30 + } + ], + "code": "{\r\n\t\tthis.zip = zip;\r\n\t}", + "start_line": 103, + "end_line": 105, + "code_start_line": 103, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.zip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getUrl()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getUrl()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getUrl()", + "parameters": [], + "code": "{\r\n\t\treturn url;\r\n\t}", + "start_line": 83, + "end_line": 85, + "code_start_line": 83, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.url" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getUsstate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "getUsstate()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getUsstate()", + "parameters": [], + "code": "{\r\n\t\treturn usstate;\r\n\t}", + "start_line": 91, + "end_line": 93, + "code_start_line": 91, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.usstate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier(String supplierID)", + "parameters": [ { - "method_name": "getID", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, + "type": "java.lang.String", + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 110, + "end_line": 110, "start_column": 18, - "end_line": 131, - "end_column": 27 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 3, - "end_line": 133, - "end_column": 71 - }, - { - "method_name": "createAndSendMail", - "comment": null, - "receiver_expr": "mailer", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 4, - "end_line": 143, - "end_column": 49 - }, - { - "method_name": "getID", - "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 39, - "end_line": 143, - "end_column": 48 - }, + "end_column": 34 + } + ], + "code": "{\r\n\t\tsetSupplierID(supplierID);\r\n\t}", + "start_line": 110, + "end_line": 112, + "code_start_line": 110, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.supplierID" + ], + "call_sites": [ { - "method_name": "println", + "method_name": "setSupplierID", "comment": null, - "receiver_expr": "System.out", - "receiver_type": "java.io.PrintStream", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "println(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 145, - "start_column": 4, - "end_line": 145, - "end_column": 48 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 146, - "start_column": 4, - "end_line": 146, - "end_column": 22 - }, - { - "method_name": "println", - "comment": null, - "receiver_expr": "System.out", - "receiver_type": "java.io.PrintStream", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "supplierID" ], "return_type": "", - "callee_signature": "println(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 4, - "end_line": 148, - "end_column": 68 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 149, - "start_column": 4, - "end_line": 149, - "end_column": 22 - }, - { - "method_name": "removeAllItems", - "comment": { - "content": " shoppingCart.setCartContents (new ShoppingCartContents());", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 63, - "is_javadoc": false - }, - "receiver_expr": "shoppingCart", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "argument_types": [], - "return_type": "", - "callee_signature": "removeAllItems()", + "callee_signature": "setSupplierID(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34230,114 +38256,602 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 155, + "start_line": 111, "start_column": 3, - "end_line": 155, - "end_column": 31 - }, + "end_line": 111, + "end_column": 27 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setName(String name)", + "parameters": [ { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Order" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "callee_signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 18, - "end_line": 129, - "end_column": 37 + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 55, + "end_line": 55, + "start_column": 22, + "end_column": 32 + } + ], + "code": "{\r\n\t\tthis.name = name;\r\n\t}", + "start_line": 55, + "end_line": 57, + "code_start_line": 55, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.name" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Supplier.java", + "signature": "setCity(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCity(String city)", + "parameters": [ + { + "type": "java.lang.String", + "name": "city", + "annotations": [], + "modifiers": [], + "start_line": 47, + "end_line": 47, + "start_column": 22, + "end_column": 32 } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "context", - "type": "FacesContext", - "initializer": "FacesContext.getCurrentInstance()", - "start_line": 113, - "start_column": 16, - "end_line": 113, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "app", - "type": "Application", - "initializer": "context.getApplication()", - "start_line": 114, - "start_column": 15, - "end_line": 114, - "end_column": 44 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "oi", - "type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "initializer": "new OrderInfo(shoppingCart.createOrder(customer.getCustomerID(), orderInfo.getBillName(), orderInfo.getBillAddr1(), orderInfo.getBillAddr2(), orderInfo.getBillCity(), orderInfo.getBillState(), orderInfo.getBillZip(), orderInfo.getBillPhone(), orderInfo.getShipName(), orderInfo.getShipAddr1(), orderInfo.getShipAddr2(), orderInfo.getShipCity(), orderInfo.getShipState(), orderInfo.getShipZip(), orderInfo.getShipPhone(), orderInfo.getCardName(), orderInfo.getCardNum(), orderInfo.getCardExpMonth(), orderInfo.getCardExpYear(), orderInfo.getCardholderName(), orderInfo.getShippingMethod(), shoppingCart.getItems()))", - "start_line": 118, - "start_column": 13, - "end_line": 129, - "end_column": 37 - } + "code": "{\r\n\t\tthis.city = city;\r\n\t}", + "start_line": 47, + "end_line": 49, + "code_start_line": 47, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier.city" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 33, + "end_line": 34, + "variables": [ + "supplierID" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Id" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 35, + "end_line": 35, + "variables": [ + "name" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 36, + "end_line": 36, + "variables": [ + "city" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 37, + "end_line": 37, + "variables": [ + "usstate" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 38, + "end_line": 38, + "variables": [ + "zip" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 39, + "end_line": 39, + "variables": [ + "phone" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 40, + "end_line": 40, + "variables": [ + "url" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 41, + "end_line": 41, + "variables": [ + "street" + ], + "modifiers": [ + "private" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Bean mapping for the ORDERITEM table.\r\n ", + "start_line": 32, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", + "start_line": 39, + "end_line": 43, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", + "start_line": 63, + "end_line": 65, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", + "start_line": 74, + "end_line": 76, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t * updates the primary key field with the composite orderId+inventoryId\r\n\t ", + "start_line": 191, + "end_line": 193, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 210, + "end_line": 214, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "javax.persistence.Column", + "javax.persistence.Embeddable", + "javax.persistence.EmbeddedId", + "javax.persistence.Entity", + "javax.persistence.JoinColumn", + "javax.persistence.ManyToOne", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.Table", + "javax.persistence.Transient", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.jpa.OrderItem": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", + "start_line": 39, + "end_line": 43, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", + "start_line": 63, + "end_line": 65, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", + "start_line": 74, + "end_line": 76, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\r\n\t * updates the primary key field with the composite orderId+inventoryId\r\n\t ", + "start_line": 191, + "end_line": 193, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 210, + "end_line": 214, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * Bean mapping for the ORDERITEM table.\r\n ", + "start_line": 32, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Entity(name = \"OrderItem\")", + "@Table(name = \"ORDERITEM\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"removeAllOrderItem\", query = \"delete from OrderItem\") })" + ], + "parent_type": "", + "nested_type_declarations": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK" + ], + "callable_declarations": { + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getQuantity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getQuantity()", + "parameters": [], + "code": "{\r\n\t\treturn quantity;\r\n\t}", + "start_line": 145, + "end_line": 147, + "code_start_line": 145, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "isCheckingOut()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "isCheckingOut()", + "getInventory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getInventory()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean isCheckingOut()", + "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\r\n\t\treturn checkingOut;\r\n\t}", - "start_line": 249, - "end_line": 251, - "code_start_line": 249, - "return_type": "boolean", + "code": "{\r\n\t\treturn inventory;\r\n\t}", + "start_line": 198, + "end_line": 200, + "code_start_line": 198, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory" ], "call_sites": [], "variable_declarations": [], @@ -34346,27 +38860,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getLoginInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "getLoginInfo()", + "getSellDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getSellDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public LoginInfo getLoginInfo()", + "declaration": "public String getSellDate()", "parameters": [], - "code": "{\r\n\t\treturn loginInfo;\r\n\t}", - "start_line": 241, - "end_line": 243, - "code_start_line": 241, - "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "code": "{\r\n\t\treturn sellDate;\r\n\t}", + "start_line": 153, + "end_line": 155, + "code_start_line": 153, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate" ], "call_sites": [], "variable_declarations": [], @@ -34375,107 +38889,138 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performLogin()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performLogin()", + "getOrder()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getOrder()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performLogin()", + "declaration": "public Order getOrder()", "parameters": [], - "code": "{\r\n\t\tcheckingOut = false;\r\n\t\tloginInfo = new LoginInfo();\r\n\t\tregister = false;\r\n\t\tupdating = false;\r\n\r\n\t\tloginInfo.setMessage(\"\");\r\n\r\n\t\treturn AccountBean.ACTION_LOGIN;\r\n\t}", - "start_line": 160, - "end_line": 169, - "code_start_line": 160, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn order;\r\n\t}", + "start_line": 206, + "end_line": 208, + "code_start_line": 206, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.order" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPkginfo(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setPkginfo(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPkginfo(String pkginfo)", + "parameters": [ + { + "type": "java.lang.String", + "name": "pkginfo", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.pkginfo = pkginfo;\r\n\t}", + "start_line": 133, + "end_line": 135, + "code_start_line": 133, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.register", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", - "com.ibm.websphere.samples.pbw.war.AccountBean.updating", - "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo" ], - "call_sites": [ - { - "method_name": "setMessage", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setMessage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 166, - "start_column": 3, - "end_line": 166, - "end_column": 26 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "callee_signature": "LoginInfo()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 162, - "start_column": 15, - "end_line": 162, - "end_column": 29 + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPrice(float)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setPrice(float)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPrice(float price)", + "parameters": [ + { + "type": "float", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 141, + "end_line": 141, + "start_column": 23, + "end_column": 33 } ], + "code": "{\r\n\t\tthis.price = price;\r\n\t}", + "start_line": 141, + "end_line": 143, + "code_start_line": 141, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.price" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getLastOrderNum()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "getLastOrderNum()", + "getInventoryId()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getInventoryId()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getLastOrderNum()", + "declaration": "public String getInventoryId()", "parameters": [], - "code": "{\r\n\t\treturn lastOrderNum;\r\n\t}", - "start_line": 237, - "end_line": 239, - "code_start_line": 237, + "code": "{\r\n\t\treturn inventoryId;\r\n\t}", + "start_line": 220, + "end_line": 222, + "code_start_line": 220, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.lastOrderNum" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId" ], "call_sites": [], "variable_declarations": [], @@ -34484,397 +39029,207 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performOrderInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performOrderInfo()", + "getPkginfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getPkginfo()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performOrderInfo()", + "declaration": "public String getPkginfo()", "parameters": [], - "code": "{\r\n\t\tif (customer == null) {\r\n\t\t\tcheckingOut = true;\r\n\t\t\tloginInfo = new LoginInfo();\r\n\t\t\tregister = false;\r\n\t\t\tupdating = false;\r\n\r\n\t\t\tloginInfo.setMessage(\"You must log in first.\");\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tif (orderInfo == null) {\r\n\t\t\t\torderInfo = new OrderInfo(customer.getFirstName() + \" \" + customer.getLastName(), customer.getAddr1(),\r\n\t\t\t\t\t\tcustomer.getAddr2(), customer.getAddrCity(), customer.getAddrState(), customer.getAddrZip(),\r\n\t\t\t\t\t\tcustomer.getPhone(), \"\", \"\", \"\", \"\", \"\", \"\", \"\", 0, \"\" + (orderNum++));\r\n\t\t\t}\r\n\r\n\t\t\treturn AccountBean.ACTION_ORDERINFO;\r\n\t\t}\r\n\t}", - "start_line": 201, - "end_line": 222, - "code_start_line": 201, + "code": "{\r\n\t\treturn pkginfo;\r\n\t}", + "start_line": 129, + "end_line": 131, + "code_start_line": 129, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.orderNum", - "com.ibm.websphere.samples.pbw.war.AccountBean.register", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", - "com.ibm.websphere.samples.pbw.war.AccountBean.updating", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ORDERINFO", - "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo" ], - "call_sites": [ - { - "method_name": "setMessage", - "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setMessage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 208, - "start_column": 4, - "end_line": 208, - "end_column": 49 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Order, java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, java.lang.String, float, float, int, int, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderItem(Order order, String orderID, Inventory inv, java.lang.String name, java.lang.String pkginfo, float price, float cost, int quantity, int category, java.lang.String sellDate)", + "parameters": [ { - "method_name": "getFirstName", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFirstName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 31, - "end_line": 215, - "end_column": 53 + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "name": "order", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 19, + "end_column": 29 }, { - "method_name": "getLastName", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getLastName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 63, - "end_line": 215, - "end_column": 84 + "type": "java.lang.String", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 32, + "end_column": 45 }, { - "method_name": "getAddr1", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddr1()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 87, - "end_line": 215, - "end_column": 105 + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inv", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 48, + "end_column": 60 }, { - "method_name": "getAddr2", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddr2()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 7, - "end_line": 216, - "end_column": 25 + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 63, + "end_column": 83 }, { - "method_name": "getAddrCity", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrCity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 28, - "end_line": 216, - "end_column": 49 + "type": "java.lang.String", + "name": "pkginfo", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 86, + "end_column": 109 }, { - "method_name": "getAddrState", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrState()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 52, - "end_line": 216, - "end_column": 74 + "type": "float", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 4, + "end_column": 14 }, { - "method_name": "getAddrZip", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrZip()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 77, - "end_line": 216, - "end_column": 97 + "type": "float", + "name": "cost", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 17, + "end_column": 26 }, { - "method_name": "getPhone", - "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPhone()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 7, - "end_line": 217, - "end_column": 25 + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 29, + "end_column": 40 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "callee_signature": "LoginInfo()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 204, - "start_column": 16, - "end_line": 204, - "end_column": 30 + "type": "int", + "name": "category", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 43, + "end_column": 54 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "callee_signature": "OrderInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 17, - "end_line": 217, - "end_column": 76 + "type": "java.lang.String", + "name": "sellDate", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 57, + "end_column": 81 } ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "getCustomer()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "getCustomer()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Customer getCustomer()", - "parameters": [], - "code": "{\r\n\t\treturn (isRegister() ? newCustomer : customer);\r\n\t}", - "start_line": 233, - "end_line": 235, - "code_start_line": 233, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "code": "{\r\n\t\tUtil.debug(\"OrderItem(etc.)\");\r\n\t\tinventory = inv;\r\n\t\tsetInventoryId(inv.getInventoryId());\r\n\t\tsetName(name);\r\n\t\tsetPkginfo(pkginfo);\r\n\t\tsetPrice(price);\r\n\t\tsetCost(cost);\r\n\t\tsetQuantity(quantity);\r\n\t\tsetCategory(category);\r\n\t\tsetSellDate(sellDate);\r\n\t\tsetOrder(order);\r\n\t\tid = new OrderItem.PK(inv.getInventoryId(), order.getOrderID());\r\n\t}", + "start_line": 175, + "end_line": 189, + "code_start_line": 176, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.price", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.name", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.order", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.id", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" ], "call_sites": [ { - "method_name": "isRegister", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem(etc.)\"" + ], "return_type": "", - "callee_signature": "isRegister()", + "callee_signature": "debug(java.lang.String)", "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 234, - "start_column": 11, - "end_line": 234, - "end_column": 22 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "performAccountUpdate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performAccountUpdate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String performAccountUpdate()", - "parameters": [], - "code": "{\r\n\t\tif (register) {\r\n\t\t\tcustomer = login.createCustomer(loginInfo.getEmail(), loginInfo.getPassword(), newCustomer\r\n\t\t\t\t\t.getFirstName(), newCustomer.getLastName(), newCustomer.getAddr1(), newCustomer\r\n\t\t\t\t\t\t\t.getAddr2(), newCustomer.getAddrCity(), newCustomer\r\n\t\t\t\t\t\t\t\t\t.getAddrState(), newCustomer.getAddrZip(), newCustomer.getPhone());\r\n\t\t\tregister = false;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tcustomer = login.updateUser(customer.getCustomerID(), customer.getFirstName(), customer\r\n\t\t\t\t\t.getLastName(), customer.getAddr1(), customer.getAddr2(), customer\r\n\t\t\t\t\t\t\t.getAddrCity(), customer.getAddrState(), customer.getAddrZip(), customer.getPhone());\r\n\t\t}\r\n\r\n\t\treturn AccountBean.ACTION_PROMO;\r\n\t}", - "start_line": 84, - "end_line": 100, - "code_start_line": 84, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_PROMO", - "com.ibm.websphere.samples.pbw.war.AccountBean.register", - "com.ibm.websphere.samples.pbw.war.AccountBean.customer", - "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", - "com.ibm.websphere.samples.pbw.war.AccountBean.login" - ], - "call_sites": [ + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 3, + "end_line": 177, + "end_column": 31 + }, { - "method_name": "createCustomer", + "method_name": "setInventoryId", "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "argument_expr": [ + "inv.getInventoryId()" + ], + "return_type": "", + "callee_signature": "setInventoryId(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34883,19 +39238,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, - "start_column": 15, - "end_line": 89, - "end_column": 75 + "start_line": 179, + "start_column": 3, + "end_line": 179, + "end_column": 38 }, { - "method_name": "getEmail", + "method_name": "getInventoryId", "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getEmail()", + "callee_signature": "getInventoryId()", "is_public": true, "is_protected": false, "is_private": false, @@ -34904,19 +39260,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, - "start_column": 36, - "end_line": 86, - "end_column": 55 + "start_line": 179, + "start_column": 18, + "end_line": 179, + "end_column": 37 }, { - "method_name": "getPassword", + "method_name": "setName", "comment": null, - "receiver_expr": "loginInfo", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "setName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34925,19 +39286,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, - "start_column": 58, - "end_line": 86, - "end_column": 80 + "start_line": 180, + "start_column": 3, + "end_line": 180, + "end_column": 15 }, { - "method_name": "getFirstName", + "method_name": "setPkginfo", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFirstName()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "pkginfo" + ], + "return_type": "", + "callee_signature": "setPkginfo(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -34946,19 +39312,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 86, - "start_column": 83, - "end_line": 87, - "end_column": 20 + "start_line": 181, + "start_column": 3, + "end_line": 181, + "end_column": 21 }, { - "method_name": "getLastName", + "method_name": "setPrice", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getLastName()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "price" + ], + "return_type": "", + "callee_signature": "setPrice(float)", "is_public": true, "is_protected": false, "is_private": false, @@ -34967,19 +39338,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 87, - "start_column": 23, - "end_line": 87, - "end_column": 47 + "start_line": 182, + "start_column": 3, + "end_line": 182, + "end_column": 17 }, { - "method_name": "getAddr1", + "method_name": "setCost", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddr1()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "cost" + ], + "return_type": "", + "callee_signature": "setCost(float)", "is_public": true, "is_protected": false, "is_private": false, @@ -34988,19 +39364,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 87, - "start_column": 50, - "end_line": 87, - "end_column": 71 + "start_line": 183, + "start_column": 3, + "end_line": 183, + "end_column": 15 }, { - "method_name": "getAddr2", + "method_name": "setQuantity", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddr2()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -35009,19 +39390,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 87, - "start_column": 74, - "end_line": 88, - "end_column": 18 + "start_line": 184, + "start_column": 3, + "end_line": 184, + "end_column": 23 }, { - "method_name": "getAddrCity", + "method_name": "setCategory", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrCity()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "category" + ], + "return_type": "", + "callee_signature": "setCategory(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -35030,19 +39416,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 88, - "start_column": 21, - "end_line": 88, - "end_column": 45 + "start_line": 185, + "start_column": 3, + "end_line": 185, + "end_column": 23 }, { - "method_name": "getAddrState", + "method_name": "setSellDate", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrState()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "sellDate" + ], + "return_type": "", + "callee_signature": "setSellDate(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -35051,19 +39442,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 88, - "start_column": 48, - "end_line": 89, - "end_column": 24 + "start_line": 186, + "start_column": 3, + "end_line": 186, + "end_column": 23 }, { - "method_name": "getAddrZip", + "method_name": "setOrder", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "argument_expr": [ + "order" + ], + "return_type": "", + "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 187, + "start_column": 3, + "end_line": 187, + "end_column": 17 + }, + { + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getAddrZip()", + "callee_signature": "getInventoryId()", "is_public": true, "is_protected": false, "is_private": false, @@ -35072,19 +39490,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, - "start_column": 27, - "end_line": 89, - "end_column": 50 + "start_line": 188, + "start_column": 25, + "end_line": 188, + "end_column": 44 }, { - "method_name": "getPhone", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "newCustomer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getPhone()", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -35093,71 +39512,233 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, - "start_column": 53, - "end_line": 89, - "end_column": 74 + "start_line": 188, + "start_column": 47, + "end_line": 188, + "end_column": 64 }, { - "method_name": "updateUser", + "method_name": "", "comment": null, - "receiver_expr": "login", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, + "argument_expr": [ + "inv.getInventoryId()", + "order.getOrderID()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "callee_signature": "PK(java.lang.String, java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 15, - "end_line": 96, - "end_column": 91 - }, + "start_line": 188, + "start_column": 8, + "end_line": 188, + "end_column": 65 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPrice()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getPrice()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public float getPrice()", + "parameters": [], + "code": "{\r\n\t\treturn price;\r\n\t}", + "start_line": 137, + "end_line": 139, + "code_start_line": 137, + "return_type": "float", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.price" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setInventory(Inventory inv)", + "parameters": [ { - "method_name": "getCustomerID", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inv", + "annotations": [], + "modifiers": [], + "start_line": 202, + "end_line": 202, + "start_column": 27, + "end_column": 39 + } + ], + "code": "{\r\n\t\tthis.inventory = inv;\r\n\t}", + "start_line": 202, + "end_line": 204, + "code_start_line": 202, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSellDate(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setSellDate(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSellDate(String sellDate)", + "parameters": [ + { + "type": "java.lang.String", + "name": "sellDate", + "annotations": [], + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.sellDate = sellDate;\r\n\t}", + "start_line": 157, + "end_line": 159, + "code_start_line": 157, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderItem(Inventory inv)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inv", + "annotations": [], + "modifiers": [], + "start_line": 164, + "end_line": 164, + "start_column": 19, + "end_column": 31 + } + ], + "code": "{\r\n\t\tUtil.debug(\"OrderItem(inv) - id = \" + inv.getInventoryId());\r\n\t\tsetInventoryId(inv.getInventoryId());\r\n\t\tinventory = inv;\r\n\t\tname = inv.getName();\r\n\t\tpkginfo = inv.getPkginfo();\r\n\t\tprice = inv.getPrice();\r\n\t\tcost = inv.getCost();\r\n\t\tcategory = inv.getCategory();\r\n\t}", + "start_line": 164, + "end_line": 173, + "code_start_line": 164, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.price", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventory", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.name", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.pkginfo", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" + ], + "call_sites": [ + { + "method_name": "debug", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCustomerID()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem(inv) - id = \" + inv.getInventoryId()" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 32, - "end_line": 94, - "end_column": 55 + "start_line": 165, + "start_column": 3, + "end_line": 165, + "end_column": 61 }, { - "method_name": "getFirstName", + "method_name": "getInventoryId", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getFirstName()", + "callee_signature": "getInventoryId()", "is_public": true, "is_protected": false, "is_private": false, @@ -35166,19 +39747,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 58, - "end_line": 94, - "end_column": 80 + "start_line": 165, + "start_column": 41, + "end_line": 165, + "end_column": 60 }, { - "method_name": "getLastName", + "method_name": "setInventoryId", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getLastName()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "inv.getInventoryId()" + ], + "return_type": "", + "callee_signature": "setInventoryId(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -35187,19 +39773,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 83, - "end_line": 95, - "end_column": 19 + "start_line": 166, + "start_column": 3, + "end_line": 166, + "end_column": 38 }, { - "method_name": "getAddr1", + "method_name": "getInventoryId", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getAddr1()", + "callee_signature": "getInventoryId()", "is_public": true, "is_protected": false, "is_private": false, @@ -35208,19 +39795,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 22, - "end_line": 95, - "end_column": 40 + "start_line": 166, + "start_column": 18, + "end_line": 166, + "end_column": 37 }, { - "method_name": "getAddr2", + "method_name": "getName", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getAddr2()", + "callee_signature": "getName()", "is_public": true, "is_protected": false, "is_private": false, @@ -35229,19 +39817,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 43, - "end_line": 95, - "end_column": 61 + "start_line": 168, + "start_column": 10, + "end_line": 168, + "end_column": 22 }, { - "method_name": "getAddrCity", + "method_name": "getPkginfo", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getAddrCity()", + "callee_signature": "getPkginfo()", "is_public": true, "is_protected": false, "is_private": false, @@ -35250,19 +39839,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 64, - "end_line": 96, - "end_column": 21 + "start_line": 169, + "start_column": 13, + "end_line": 169, + "end_column": 28 }, { - "method_name": "getAddrState", + "method_name": "getPrice", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrState()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -35271,19 +39861,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, - "start_column": 24, - "end_line": 96, - "end_column": 46 + "start_line": 170, + "start_column": 11, + "end_line": 170, + "end_column": 24 }, { - "method_name": "getAddrZip", + "method_name": "getCost", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddrZip()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getCost()", "is_public": true, "is_protected": false, "is_private": false, @@ -35292,19 +39883,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, - "start_column": 49, - "end_line": 96, - "end_column": 69 + "start_line": 171, + "start_column": 10, + "end_line": 171, + "end_column": 22 }, { - "method_name": "getPhone", + "method_name": "getCategory", "comment": null, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPhone()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getCategory()", "is_public": true, "is_protected": false, "is_private": false, @@ -35313,39 +39905,39 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, - "start_column": 72, - "end_line": 96, - "end_column": 90 + "start_line": 172, + "start_column": 14, + "end_line": 172, + "end_column": 30 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "isRegister()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "isRegister()", + "getName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getName()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean isRegister()", + "declaration": "public String getName()", "parameters": [], - "code": "{\r\n\t\treturn register;\r\n\t}", - "start_line": 253, - "end_line": 255, - "code_start_line": 253, - "return_type": "boolean", + "code": "{\r\n\t\treturn name;\r\n\t}", + "start_line": 121, + "end_line": 123, + "code_start_line": 121, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.register" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.name" ], "call_sites": [], "variable_declarations": [], @@ -35354,27 +39946,65 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "isUpdating()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "isUpdating()", + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean isUpdating()", + "declaration": "public OrderItem()", "parameters": [], - "code": "{\r\n\t\treturn updating;\r\n\t}", - "start_line": 257, - "end_line": 259, - "code_start_line": 257, - "return_type": "boolean", + "code": "{\r\n\t}", + "start_line": 161, + "end_line": 162, + "code_start_line": 161, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setQuantity(int)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setQuantity(int quantity)", + "parameters": [ + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 149, + "end_line": 149, + "start_column": 26, + "end_column": 37 + } + ], + "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", + "start_line": 149, + "end_line": 151, + "code_start_line": 149, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.updating" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.quantity" ], "call_sites": [], "variable_declarations": [], @@ -35383,27 +40013,69 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrderInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "getOrderInfo()", + "setName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setName(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public OrderInfo getOrderInfo()", + "declaration": "public void setName(String name)", + "parameters": [ + { + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 22, + "end_column": 32 + } + ], + "code": "{\r\n\t\tthis.name = name;\r\n\t}", + "start_line": 125, + "end_line": 127, + "code_start_line": 125, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.name" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCategory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getCategory()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getCategory()", "parameters": [], - "code": "{\r\n\t\treturn orderInfo;\r\n\t}", - "start_line": 245, - "end_line": 247, - "code_start_line": 245, - "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "code": "{\r\n\t\treturn category;\r\n\t}", + "start_line": 105, + "end_line": 107, + "code_start_line": 105, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" ], "call_sites": [], "variable_declarations": [], @@ -35412,75 +40084,177 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performRegister()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", - "signature": "performRegister()", + "getCost()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "getCost()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String performRegister()", + "declaration": "public float getCost()", "parameters": [], - "code": "{\r\n\t\tloginInfo = new LoginInfo();\r\n\t\tnewCustomer = new Customer(\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\");\r\n\t\tregister = true;\r\n\t\tupdating = false;\r\n\r\n\t\treturn AccountBean.ACTION_REGISTER;\r\n\t}", - "start_line": 224, - "end_line": 231, - "code_start_line": 224, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn cost;\r\n\t}", + "start_line": 113, + "end_line": 115, + "code_start_line": 113, + "return_type": "float", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCategory(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setCategory(int)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCategory(int category)", + "parameters": [ + { + "type": "int", + "name": "category", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 26, + "end_column": 37 + } ], + "code": "{\r\n\t\tthis.category = category;\r\n\t}", + "start_line": 109, + "end_line": 111, + "code_start_line": 109, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", - "com.ibm.websphere.samples.pbw.war.AccountBean.register", - "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", - "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_REGISTER", - "com.ibm.websphere.samples.pbw.war.AccountBean.updating" + "com.ibm.websphere.samples.pbw.jpa.OrderItem.category" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCost(float)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setCost(float)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCost(float cost)", + "parameters": [ + { + "type": "float", + "name": "cost", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 22, + "end_column": 31 + } + ], + "code": "{\r\n\t\tthis.cost = cost;\r\n\t}", + "start_line": 117, + "end_line": 119, + "code_start_line": 117, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.cost" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updatePK()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "updatePK()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void updatePK()", + "parameters": [], + "code": "{\r\n\t\tid = new OrderItem.PK(inventoryId, order.getOrderID());\r\n\t}", + "start_line": 194, + "end_line": 196, + "code_start_line": 194, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.order", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.id" ], "call_sites": [ { - "method_name": "", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "callee_signature": "LoginInfo()", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getOrderID()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 225, - "start_column": 15, - "end_line": 225, - "end_column": 29 + "start_line": 195, + "start_column": 38, + "end_line": 195, + "end_column": 55 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "argument_expr": [ + "inventoryId", + "order.getOrderID()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "callee_signature": "PK(java.lang.String, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -35489,12 +40263,130 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 226, - "start_column": 17, - "end_line": 226, - "end_column": 68 + "start_line": 195, + "start_column": 8, + "end_line": 195, + "end_column": 56 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "comments": [ + { + "content": "\r\n\t * Sets the order for this item Also updates the sellDate\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 210, + "end_line": 214, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrder(Order order)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "name": "order", + "annotations": [], + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 23, + "end_column": 33 + } + ], + "code": "{\r\n\t\tthis.order = order;\r\n\t\tthis.sellDate = order.getSellDate();\r\n\t}", + "start_line": 215, + "end_line": 218, + "code_start_line": 215, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.sellDate", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.order" + ], + "call_sites": [ + { + "method_name": "getSellDate", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSellDate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 19, + "end_line": 217, + "end_column": 37 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setInventoryId(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "setInventoryId(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setInventoryId(String inventoryId)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryId", + "annotations": [], + "modifiers": [], + "start_line": 224, + "end_line": 224, + "start_column": 29, + "end_column": 46 } ], + "code": "{\r\n\t\tthis.inventoryId = inventoryId;\r\n\t}", + "start_line": 224, + "end_line": 226, + "code_start_line": 224, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.inventoryId" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -35513,18 +40405,19 @@ "is_javadoc": false }, "name": null, - "type": "long", - "start_line": 41, - "end_line": 41, + "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "start_line": 85, + "end_line": 87, "variables": [ - "serialVersionUID" + "id" ], "modifiers": [ - "private", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@SuppressWarnings(\"unused\")", + "@EmbeddedId" + ] }, { "comment": { @@ -35537,15 +40430,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 42, - "end_line": 42, + "start_line": 88, + "end_line": 88, "variables": [ - "ACTION_ACCOUNT" + "name" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35560,15 +40451,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 43, - "end_line": 43, + "start_line": 89, + "end_line": 89, "variables": [ - "ACTION_CHECKOUT_FINAL" + "pkginfo" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35582,16 +40471,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 44, - "end_line": 44, + "type": "float", + "start_line": 90, + "end_line": 90, "variables": [ - "ACTION_LOGIN" + "price" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35605,16 +40492,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 45, - "end_line": 45, + "type": "float", + "start_line": 91, + "end_line": 91, "variables": [ - "ACTION_ORDERDONE" + "cost" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35628,16 +40513,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 46, - "end_line": 46, + "type": "int", + "start_line": 92, + "end_line": 92, "variables": [ - "ACTION_ORDERINFO" + "category" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35651,16 +40534,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 47, - "end_line": 47, + "type": "int", + "start_line": 93, + "end_line": 93, "variables": [ - "ACTION_PROMO" + "quantity" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35675,15 +40556,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 48, - "end_line": 48, + "start_line": 94, + "end_line": 94, "variables": [ - "ACTION_REGISTER" + "sellDate" ], "modifiers": [ - "private", - "static", - "final" + "private" ], "annotations": [] }, @@ -35697,17 +40576,17 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "start_line": 50, - "end_line": 51, + "type": "java.lang.String", + "start_line": 95, + "end_line": 96, "variables": [ - "login" + "inventoryId" ], "modifiers": [ "private" ], "annotations": [ - "@Inject" + "@Transient" ] }, { @@ -35720,17 +40599,18 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.MailerBean", - "start_line": 52, - "end_line": 53, + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "start_line": 98, + "end_line": 100, "variables": [ - "mailer" + "inventory" ], "modifiers": [ "private" ], "annotations": [ - "@Inject" + "@ManyToOne", + "@JoinColumn(name = \"INVENTORYID\", insertable = false, updatable = false)" ] }, { @@ -35743,145 +40623,497 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", - "start_line": 54, - "end_line": 55, + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "start_line": 101, + "end_line": 103, "variables": [ - "shoppingCart" + "order" ], "modifiers": [ "private" ], "annotations": [ - "@Inject" + "@ManyToOne", + "@JoinColumn(name = \"ORDER_ORDERID\", insertable = false, updatable = false)" ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + }, + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK": { + "is_nested_type": true, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", + "start_line": 63, + "end_line": 65, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "boolean", - "start_line": 57, - "end_line": 57, - "variables": [ - "checkingOut" - ], - "modifiers": [ - "private" - ], - "annotations": [] + "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", + "start_line": 74, + "end_line": 76, + "start_column": 3, + "end_column": 5, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "start_line": 58, - "end_line": 58, - "variables": [ - "customer" + "content": "\r\n\t * Composite Key class for Entity Bean: OrderItem\r\n\t * \r\n\t * Key consists of essentially two foreign key relations, but is mapped as foreign keys.\r\n\t ", + "start_line": 39, + "end_line": 43, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public", + "static" + ], + "annotations": [ + "@Embeddable" + ], + "parent_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "nested_type_declarations": [], + "callable_declarations": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" ], + "thrown_exceptions": [], + "declaration": "public PK()", + "parameters": [], + "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK()\");\r\n\t\t}", + "start_line": 52, + "end_line": 54, + "code_start_line": 52, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem.PK()\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 4, + "end_line": 53, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "(java.lang.String, java.lang.String)", + "comments": [], + "annotations": [], "modifiers": [ - "private" + "public" ], - "annotations": [] + "thrown_exceptions": [], + "declaration": "public PK(String inventoryID, String argOrder)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 13, + "end_column": 30 + }, + { + "type": "java.lang.String", + "name": "argOrder", + "annotations": [], + "modifiers": [], + "start_line": 56, + "end_line": 56, + "start_column": 33, + "end_column": 47 + } + ], + "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK() inventoryID=\" + inventoryID + \"=\");\r\n\t\t\tUtil.debug(\"OrderItem.PK() orderID=\" + argOrder + \"=\");\r\n\t\t\tthis.inventoryID = inventoryID;\r\n\t\t\tthis.order_orderID = argOrder;\r\n\t\t}", + "start_line": 56, + "end_line": 61, + "code_start_line": 56, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" + ], + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem.PK() inventoryID=\" + inventoryID + \"=\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 57, + "start_column": 4, + "end_line": 57, + "end_column": 64 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem.PK() orderID=\" + argOrder + \"=\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 4, + "end_line": 58, + "end_column": 57 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 59, - "end_line": 59, - "variables": [ - "lastOrderNum" + "equals(java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "equals(java.lang.Object)", + "comments": [ + { + "content": "\r\n\t\t * Returns true if both keys are equal.\r\n\t\t ", + "start_line": 63, + "end_line": 65, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "private" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.war.LoginInfo", - "start_line": 60, - "end_line": 60, - "variables": [ - "loginInfo" + "thrown_exceptions": [], + "declaration": "public boolean equals(java.lang.Object otherKey)", + "parameters": [ + { + "type": "java.lang.Object", + "name": "otherKey", + "annotations": [], + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 25, + "end_column": 49 + } + ], + "code": "{\r\n\t\t\tif (otherKey instanceof PK) {\r\n\t\t\t\tPK o = (PK) otherKey;\r\n\t\t\t\treturn ((this.inventoryID.equals(o.inventoryID)) && (this.order_orderID.equals(o.order_orderID)));\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}", + "start_line": 66, + "end_line": 72, + "code_start_line": 66, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.inventoryID", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "o.inventoryID" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 14, + "end_line": 69, + "end_column": 51 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.order_orderID", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "o.order_orderID" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 58, + "end_line": 69, + "end_column": 99 + } ], - "modifiers": [ - "private" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "o", + "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK", + "initializer": "(PK) otherKey", + "start_line": 68, + "start_column": 8, + "end_line": 68, + "end_column": 24 + } ], - "annotations": [] + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "start_line": 61, - "end_line": 61, - "variables": [ - "newCustomer" + "hashCode()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderItem.java", + "signature": "hashCode()", + "comments": [ + { + "content": "\r\n\t\t * Returns the hash code for the key.\r\n\t\t ", + "start_line": 74, + "end_line": 76, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "private" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.war.OrderInfo", - "start_line": 62, - "end_line": 62, - "variables": [ - "orderInfo" + "thrown_exceptions": [], + "declaration": "public int hashCode()", + "parameters": [], + "code": "{\r\n\t\t\tUtil.debug(\"OrderItem.PK.hashCode() inventoryID=\" + inventoryID + \"=\");\r\n\t\t\tUtil.debug(\"OrderItem.PK.hashCode() orderID=\" + order_orderID + \"=\");\r\n\r\n\t\t\treturn (inventoryID.hashCode() + order_orderID.hashCode());\r\n\t\t}", + "start_line": 77, + "end_line": 82, + "code_start_line": 77, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.order_orderID", + "com.ibm.websphere.samples.pbw.jpa.OrderItem.PK.inventoryID" ], - "modifiers": [ - "private" + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem.PK.hashCode() inventoryID=\" + inventoryID + \"=\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 78, + "start_column": 4, + "end_line": 78, + "end_column": 73 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"OrderItem.PK.hashCode() orderID=\" + order_orderID + \"=\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 79, + "start_column": 4, + "end_line": 79, + "end_column": 71 + }, + { + "method_name": "hashCode", + "comment": null, + "receiver_expr": "inventoryID", + "receiver_type": "java.lang.String", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hashCode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 12, + "end_line": 81, + "end_column": 33 + }, + { + "method_name": "hashCode", + "comment": null, + "receiver_expr": "order_orderID", + "receiver_type": "java.lang.String", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hashCode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 37, + "end_line": 81, + "end_column": 60 + } ], - "annotations": [] - }, + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ { "comment": { "content": null, @@ -35892,14 +41124,15 @@ "is_javadoc": false }, "name": null, - "type": "int", - "start_line": 63, - "end_line": 63, + "type": "long", + "start_line": 46, + "end_line": 46, "variables": [ - "orderNum" + "serialVersionUID" ], "modifiers": [ - "private" + "static", + "final" ], "annotations": [] }, @@ -35913,16 +41146,18 @@ "is_javadoc": false }, "name": null, - "type": "boolean", - "start_line": 64, - "end_line": 64, + "type": "java.lang.String", + "start_line": 47, + "end_line": 48, "variables": [ - "register" + "inventoryID" ], "modifiers": [ - "private" + "public" ], - "annotations": [] + "annotations": [ + "@Column(name = \"inventoryID\")" + ] }, { "comment": { @@ -35934,16 +41169,18 @@ "is_javadoc": false }, "name": null, - "type": "boolean", - "start_line": 65, - "end_line": 65, + "type": "java.lang.String", + "start_line": 49, + "end_line": 50, "variables": [ - "updating" + "order_orderID" ], "modifiers": [ - "private" + "public" ], - "annotations": [] + "annotations": [ + "@Column(name = \"ORDER_ORDERID\")" + ] } ], "enum_constants": [], @@ -35954,9 +41191,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "package_name": "com.ibm.websphere.samples.pbw.war", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -36055,7 +41292,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -36079,237 +41316,37 @@ "is_javadoc": false }, { - "content": "\r\n * Servlet to handle Administration actions\r\n ", - "start_line": 45, - "end_line": 47, + "content": "\r\n * Bean mapping for the ORDER1 table.\r\n ", + "start_line": 36, + "end_line": 38, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * @see javax.servlet.Servlet#init(ServletConfig)\r\n\t ", - "start_line": 68, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method requestDispatch.\r\n\t * \r\n\t * @param ctx\r\n\t * @param req\r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 364, - "end_line": 373, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 51, - "end_line": 53, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 71, - "end_line": 73, + "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", + "start_line": 82, + "end_line": 129, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Uncomment the following to generated debug code.", - "start_line": 76, - "end_line": 76, - "start_column": 3, - "end_column": 53, - "is_javadoc": false - }, - { - "content": " Util.setDebug(true);", - "start_line": 77, - "end_line": 77, + "content": " Pad it to 14 digits so sorting works properly.", + "start_line": 137, + "end_line": 137, "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 81, - "end_line": 88, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 105, - "end_line": 112, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Invalid Admin", - "start_line": 118, - "end_line": 118, - "start_column": 4, - "end_column": 19, + "end_column": 51, "is_javadoc": false }, { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 130, - "end_line": 140, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Only retrieving info for 1 supplier.", - "start_line": 149, - "end_line": 149, + "content": " Get profit for total order.", + "start_line": 167, + "end_line": 167, "start_column": 3, - "end_column": 41, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 159, - "end_line": 164, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Get supplier info", - "start_line": 175, - "end_line": 175, - "start_column": 4, - "end_column": 23, - "is_javadoc": false - }, - { - "content": " Unknown Supplier Config Admin Action so go back to the", - "start_line": 195, - "end_line": 195, - "start_column": 4, - "end_column": 60, - "is_javadoc": false - }, - { - "content": " Administration home page", - "start_line": 196, - "end_line": 196, - "start_column": 4, - "end_column": 30, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 203, - "end_line": 208, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 215, - "end_line": 222, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Update the BackOrder status", - "start_line": 246, - "end_line": 246, - "start_column": 7, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " Unknown Backup Admin Action so go back to the Administration home", - "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " page", - "start_line": 295, - "end_line": 295, - "start_column": 4, - "end_column": 10, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", - "start_line": 300, - "end_line": 304, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Get the list of back order items.", - "start_line": 307, - "end_line": 307, - "start_column": 4, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Get the inventory quantity and name for the back order item", - "start_line": 321, - "end_line": 321, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " information.", - "start_line": 322, - "end_line": 322, - "start_column": 5, - "end_column": 19, - "is_javadoc": false - }, - { - "content": " Don't include backorders that have been completed.", - "start_line": 328, - "end_line": 328, - "start_column": 5, - "end_column": 57, + "end_column": 32, "is_javadoc": false }, - { - "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 352, - "end_line": 359, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Request dispatch\r\n\t ", - "start_line": 374, - "end_line": 376, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, { "content": "", "start_line": 1, @@ -36320,32 +41357,22 @@ } ], "imports": [ - "java.io.IOException", - "java.util.ArrayList", "java.util.Collection", - "java.util.Iterator", - "javax.inject.Inject", - "javax.inject.Named", - "javax.servlet.ServletConfig", - "javax.servlet.ServletContext", - "javax.servlet.ServletException", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "javax.servlet.http.HttpSession", - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.jpa.Supplier", + "javax.persistence.Entity", + "javax.persistence.GeneratedValue", + "javax.persistence.GenerationType", + "javax.persistence.Id", + "javax.persistence.JoinColumn", + "javax.persistence.ManyToOne", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.Table", + "javax.persistence.TableGenerator", + "javax.persistence.Transient", "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.war.AdminServlet": { + "com.ibm.websphere.samples.pbw.jpa.Order": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -36354,1488 +41381,2139 @@ "is_interface": false, "is_inner_class": false, "is_local_class": false, - "extends_list": [ - "HttpServlet" - ], + "extends_list": [], "comments": [ { - "content": "\r\n\t * @see javax.servlet.Servlet#init(ServletConfig)\r\n\t ", - "start_line": 68, - "end_line": 70, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method requestDispatch.\r\n\t * \r\n\t * @param ctx\r\n\t * @param req\r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 364, - "end_line": 373, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 51, - "end_line": 53, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 71, - "end_line": 73, + "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", + "start_line": 82, + "end_line": 129, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Uncomment the following to generated debug code.", - "start_line": 76, - "end_line": 76, + "content": " Pad it to 14 digits so sorting works properly.", + "start_line": 137, + "end_line": 137, "start_column": 3, - "end_column": 53, + "end_column": 51, "is_javadoc": false }, { - "content": " Util.setDebug(true);", - "start_line": 77, - "end_line": 77, + "content": " Get profit for total order.", + "start_line": 167, + "end_line": 167, "start_column": 3, - "end_column": 25, + "end_column": 32, "is_javadoc": false }, { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 81, - "end_line": 88, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 105, - "end_line": 112, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Bean mapping for the ORDER1 table.\r\n ", + "start_line": 36, + "end_line": 38, + "start_column": 1, + "end_column": 3, "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Entity(name = \"Order\")", + "@Table(name = \"ORDER1\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"removeAllOrders\", query = \"delete from Order\") })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getShipAddr1()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipAddr1()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipAddr1()", + "parameters": [], + "code": "{\r\n\t\treturn shipAddr1;\r\n\t}", + "start_line": 330, + "end_line": 332, + "code_start_line": 330, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Invalid Admin", - "start_line": 118, - "end_line": 118, - "start_column": 4, - "end_column": 19, - "is_javadoc": false + "setCardHolder(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCardHolder(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCardHolder(String cardHolder)", + "parameters": [ + { + "type": "java.lang.String", + "name": "cardHolder", + "annotations": [], + "modifiers": [], + "start_line": 246, + "end_line": 246, + "start_column": 28, + "end_column": 44 + } + ], + "code": "{\r\n\t\tthis.cardHolder = cardHolder;\r\n\t}", + "start_line": 246, + "end_line": 248, + "code_start_line": 246, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 130, - "end_line": 140, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "setCcNum(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCcNum(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCcNum(String ccNum)", + "parameters": [ + { + "type": "java.lang.String", + "name": "ccNum", + "annotations": [], + "modifiers": [], + "start_line": 270, + "end_line": 270, + "start_column": 23, + "end_column": 34 + } + ], + "code": "{\r\n\t\tthis.ccNum = ccNum;\r\n\t}", + "start_line": 270, + "end_line": 272, + "code_start_line": 270, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccNum" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Only retrieving info for 1 supplier.", - "start_line": 149, - "end_line": 149, - "start_column": 3, - "end_column": 41, - "is_javadoc": false + "getShipZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipZip()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipZip()", + "parameters": [], + "code": "{\r\n\t\treturn shipZip;\r\n\t}", + "start_line": 378, + "end_line": 380, + "code_start_line": 378, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 159, - "end_line": 164, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "setShipAddr1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipAddr1(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipAddr1(String shipAddr1)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipAddr1", + "annotations": [], + "modifiers": [], + "start_line": 334, + "end_line": 334, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t}", + "start_line": 334, + "end_line": 336, + "code_start_line": 334, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Get supplier info", - "start_line": 175, - "end_line": 175, - "start_column": 4, - "end_column": 23, - "is_javadoc": false + "getBillAddr1()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillAddr1()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillAddr1()", + "parameters": [], + "code": "{\r\n\t\treturn billAddr1;\r\n\t}", + "start_line": 186, + "end_line": 188, + "code_start_line": 186, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Unknown Supplier Config Admin Action so go back to the", - "start_line": 195, - "end_line": 195, - "start_column": 4, - "end_column": 60, - "is_javadoc": false + "getShipCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipCity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipCity()", + "parameters": [], + "code": "{\r\n\t\treturn shipCity;\r\n\t}", + "start_line": 346, + "end_line": 348, + "code_start_line": 346, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Administration home page", - "start_line": 196, - "end_line": 196, - "start_column": 4, - "end_column": 30, - "is_javadoc": false + "setShipState(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipState(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipState(String shipState)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipState", + "annotations": [], + "modifiers": [], + "start_line": 390, + "end_line": 390, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipState = shipState;\r\n\t}", + "start_line": 390, + "end_line": 392, + "code_start_line": 390, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 203, - "end_line": 208, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCustomer(Customer customer)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "name": "customer", + "annotations": [], + "modifiers": [], + "start_line": 286, + "end_line": 286, + "start_column": 26, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.customer = customer;\r\n\t}", + "start_line": 286, + "end_line": 288, + "code_start_line": 286, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.customer" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 215, - "end_line": 222, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "getBillState()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillState()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillState()", + "parameters": [], + "code": "{\r\n\t\treturn billState;\r\n\t}", + "start_line": 226, + "end_line": 228, + "code_start_line": 226, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Update the BackOrder status", - "start_line": 246, - "end_line": 246, - "start_column": 7, - "end_column": 36, - "is_javadoc": false + "setOrderItems(java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setOrderItems(java.util.Collection)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderItems(Collection orderItems)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "orderItems", + "annotations": [], + "modifiers": [], + "start_line": 310, + "end_line": 310, + "start_column": 28, + "end_column": 48 + } + ], + "code": "{\r\n\t\tthis.orderItems = orderItems;\r\n\t}", + "start_line": 310, + "end_line": 312, + "code_start_line": 310, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Collection" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.orderItems" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Unknown Backup Admin Action so go back to the Administration home", + "setItems(java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setItems(java.util.Collection)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setItems(Collection items)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "items", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 23, + "end_column": 49 + } + ], + "code": "{\r\n\t\tthis.items = items;\r\n\t}", "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " page", - "start_line": 295, - "end_line": 295, - "start_column": 4, - "end_column": 10, - "is_javadoc": false + "end_line": 296, + "code_start_line": 294, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Collection" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.items" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", - "start_line": 300, - "end_line": 304, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Order()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 183, + "end_line": 184, + "code_start_line": 183, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Get the list of back order items.", - "start_line": 307, - "end_line": 307, - "start_column": 4, - "end_column": 39, - "is_javadoc": false + "getCcNum()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCcNum()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCcNum()", + "parameters": [], + "code": "{\r\n\t\treturn ccNum;\r\n\t}", + "start_line": 266, + "end_line": 268, + "code_start_line": 266, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccNum" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Get the inventory quantity and name for the back order item", - "start_line": 321, - "end_line": 321, - "start_column": 5, - "end_column": 66, - "is_javadoc": false + "setShipPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipPhone(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipPhone(String shipPhone)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipPhone", + "annotations": [], + "modifiers": [], + "start_line": 366, + "end_line": 366, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipPhone = shipPhone;\r\n\t}", + "start_line": 366, + "end_line": 368, + "code_start_line": 366, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " information.", - "start_line": 322, - "end_line": 322, - "start_column": 5, - "end_column": 19, - "is_javadoc": false + "getBillName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillName()", + "parameters": [], + "code": "{\r\n\t\treturn billName;\r\n\t}", + "start_line": 210, + "end_line": 212, + "code_start_line": 210, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Don't include backorders that have been completed.", - "start_line": 328, - "end_line": 328, - "start_column": 5, - "end_column": 57, - "is_javadoc": false + "setBillCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillCity(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillCity(String billCity)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billCity", + "annotations": [], + "modifiers": [], + "start_line": 206, + "end_line": 206, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.billCity = billCity;\r\n\t}", + "start_line": 206, + "end_line": 208, + "code_start_line": 206, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 352, - "end_line": 359, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "setShipAddr2(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipAddr2(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipAddr2(String shipAddr2)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipAddr2", + "annotations": [], + "modifiers": [], + "start_line": 342, + "end_line": 342, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t}", + "start_line": 342, + "end_line": 344, + "code_start_line": 342, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * Request dispatch\r\n\t ", - "start_line": 374, - "end_line": 376, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "getCreditCard()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCreditCard()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCreditCard()", + "parameters": [], + "code": "{\r\n\t\treturn creditCard;\r\n\t}", + "start_line": 274, + "end_line": 276, + "code_start_line": 274, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.creditCard" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Servlet to handle Administration actions\r\n ", - "start_line": 45, - "end_line": 47, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(value = \"admin\")", - "@WebServlet(\"/servlet/AdminServlet\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": " Uncomment the following to generated debug code.", - "start_line": 76, - "end_line": 76, - "start_column": 3, - "end_column": 53, - "is_javadoc": false - }, + "setBillAddr1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillAddr1(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillAddr1(String billAddr1)", + "parameters": [ { - "content": " Util.setDebug(true);", - "start_line": 77, - "end_line": 77, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, + "type": "java.lang.String", + "name": "billAddr1", + "annotations": [], + "modifiers": [], + "start_line": 190, + "end_line": 190, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t}", + "start_line": 190, + "end_line": 192, + "code_start_line": 190, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBillState(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillState(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillState(String billState)", + "parameters": [ { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 71, - "end_line": 73, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "java.lang.String", + "name": "billState", + "annotations": [], + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 27, + "end_column": 42 } ], + "code": "{\r\n\t\tthis.billState = billState;\r\n\t}", + "start_line": 230, + "end_line": 232, + "code_start_line": 230, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getProfit()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getProfit()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public float getProfit()", + "parameters": [], + "code": "{\r\n\t\treturn profit;\r\n\t}", + "start_line": 314, + "end_line": 316, + "code_start_line": 314, + "return_type": "float", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.profit" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillPhone()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillPhone()", + "parameters": [], + "code": "{\r\n\t\treturn billPhone;\r\n\t}", + "start_line": 218, + "end_line": 220, + "code_start_line": 218, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShippingMethod(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShippingMethod(int)", + "comments": [], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [ - "ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", + "thrown_exceptions": [], + "declaration": "public void setShippingMethod(int shippingMethod)", "parameters": [ { - "type": "ServletConfig", - "name": "config", + "type": "int", + "name": "shippingMethod", "annotations": [], "modifiers": [], - "start_line": 74, - "end_line": 74, - "start_column": 19, - "end_column": 38 + "start_line": 374, + "end_line": 374, + "start_column": 32, + "end_column": 49 } ], - "code": "{\r\n\t\tsuper.init(config);\r\n\t\t// Uncomment the following to generated debug code.\r\n\t\t// Util.setDebug(true);\r\n\r\n\t}", - "start_line": 74, - "end_line": 79, - "code_start_line": 74, + "code": "{\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t}", + "start_line": 374, + "end_line": 376, + "code_start_line": 374, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 75, - "start_column": 3, - "end_line": 75, - "end_column": 20 - } + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 93, - "end_line": 100, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + "getOrderItems()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getOrderItems()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Collection getOrderItems()", + "parameters": [], + "code": "{\r\n\t\treturn orderItems;\r\n\t}", + "start_line": 306, + "end_line": 308, + "code_start_line": 306, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.orderItems" ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCcExpireMonth()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCcExpireMonth()", + "comments": [], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" + "thrown_exceptions": [], + "declaration": "public String getCcExpireMonth()", + "parameters": [], + "code": "{\r\n\t\treturn ccExpireMonth;\r\n\t}", + "start_line": 250, + "end_line": 252, + "code_start_line": 250, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth" ], - "declaration": "public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCardHolder()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCardHolder()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCardHolder()", + "parameters": [], + "code": "{\r\n\t\treturn cardHolder;\r\n\t}", + "start_line": 242, + "end_line": 244, + "code_start_line": 242, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBillAddr2(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillAddr2(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillAddr2(String billAddr2)", "parameters": [ { - "type": "HttpServletRequest", - "name": "req", + "type": "java.lang.String", + "name": "billAddr2", "annotations": [], "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 21, + "start_line": 198, + "end_line": 198, + "start_column": 27, "end_column": 42 - }, + } + ], + "code": "{\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t}", + "start_line": 198, + "end_line": 200, + "code_start_line": 198, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShipCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipCity(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipCity(String shipCity)", + "parameters": [ { - "type": "HttpServletResponse", - "name": "resp", + "type": "java.lang.String", + "name": "shipCity", "annotations": [], "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 45, - "end_column": 68 + "start_line": 350, + "end_line": 350, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n\t\tperformTask(req, resp);\r\n\t}", - "start_line": 101, - "end_line": 103, - "code_start_line": 101, + "code": "{\r\n\t\tthis.shipCity = shipCity;\r\n\t}", + "start_line": 350, + "end_line": 352, + "code_start_line": 350, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 3, - "end_line": 102, - "end_column": 24 - } + "referenced_types": [ + "java.lang.String" ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipCity" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false }, - "sendRedirect(HttpServletResponse, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "sendRedirect(HttpServletResponse, String)", - "comments": [ + "setProfit(float)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setProfit(float)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProfit(float profit)", + "parameters": [ { - "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 352, - "end_line": 359, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "float", + "name": "profit", + "annotations": [], + "modifiers": [], + "start_line": 318, + "end_line": 318, + "start_column": 24, + "end_column": 35 } ], + "code": "{\r\n\t\tthis.profit = profit;\r\n\t}", + "start_line": 318, + "end_line": 320, + "code_start_line": 318, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.profit" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShippingMethod()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShippingMethod()", + "comments": [], "annotations": [], "modifiers": [ - "private" + "public" ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" + "thrown_exceptions": [], + "declaration": "public int getShippingMethod()", + "parameters": [], + "code": "{\r\n\t\treturn shippingMethod;\r\n\t}", + "start_line": 370, + "end_line": 372, + "code_start_line": 370, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod" ], - "declaration": "private void sendRedirect(HttpServletResponse resp, String page) throws ServletException, IOException", + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBillZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillZip(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillZip(String billZip)", "parameters": [ { - "type": "HttpServletResponse", - "name": "resp", + "type": "java.lang.String", + "name": "billZip", "annotations": [], "modifiers": [], - "start_line": 360, - "end_line": 360, - "start_column": 28, - "end_column": 51 - }, + "start_line": 238, + "end_line": 238, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.billZip = billZip;\r\n\t}", + "start_line": 238, + "end_line": 240, + "code_start_line": 238, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillAddr2()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillAddr2()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillAddr2()", + "parameters": [], + "code": "{\r\n\t\treturn billAddr2;\r\n\t}", + "start_line": 194, + "end_line": 196, + "code_start_line": 194, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShipName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipName(String shipName)", + "parameters": [ { "type": "java.lang.String", - "name": "page", + "name": "shipName", "annotations": [], "modifiers": [], - "start_line": 360, - "end_line": 360, - "start_column": 54, - "end_column": 64 + "start_line": 358, + "end_line": 358, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n\t\tresp.sendRedirect(resp.encodeRedirectURL(page));\r\n\t}", - "start_line": 360, - "end_line": 362, - "code_start_line": 360, + "code": "{\r\n\t\tthis.shipName = shipName;\r\n\t}", + "start_line": 358, + "end_line": 360, + "code_start_line": 358, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "sendRedirect", - "comment": null, - "receiver_expr": "resp", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 361, - "start_column": 3, - "end_line": 361, - "end_column": 49 - }, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSellDate(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setSellDate(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSellDate(String sellDate)", + "parameters": [ { - "method_name": "encodeRedirectURL", - "comment": null, - "receiver_expr": "resp", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 361, - "start_column": 21, - "end_line": 361, - "end_column": 48 + "type": "java.lang.String", + "name": "sellDate", + "annotations": [], + "modifiers": [], + "start_line": 326, + "end_line": 326, + "start_column": 26, + "end_column": 40 } ], + "code": "{\r\n\t\tthis.sellDate = sellDate;\r\n\t}", + "start_line": 326, + "end_line": 328, + "code_start_line": 326, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.sellDate" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false }, - "performSupplierConfig(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "performSupplierConfig(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": " Get supplier info", - "start_line": 175, - "end_line": 175, - "start_column": 4, - "end_column": 23, - "is_javadoc": false - }, - { - "content": " Unknown Supplier Config Admin Action so go back to the", - "start_line": 195, - "end_line": 195, - "start_column": 4, - "end_column": 60, - "is_javadoc": false - }, - { - "content": " Administration home page", - "start_line": 196, - "end_line": 196, - "start_column": 4, - "end_column": 30, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 159, - "end_line": 164, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "setOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setOrderID(java.lang.String)", + "comments": [], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void performSupplierConfig(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "thrown_exceptions": [], + "declaration": "public void setOrderID(String orderID)", "parameters": [ { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 165, - "end_line": 165, - "start_column": 36, - "end_column": 57 - }, - { - "type": "HttpServletResponse", - "name": "resp", + "type": "java.lang.String", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 166, - "end_line": 166, - "start_column": 4, - "end_column": 27 + "start_line": 302, + "end_line": 302, + "start_column": 25, + "end_column": 38 } ], - "code": "{\r\n\t\tSupplier supplier = null;\r\n\t\tString action = null;\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tif ((action == null) || (action.equals(\"\")))\r\n\t\t\taction = Util.ACTION_GETSUPPLIER;\r\n\t\tUtil.debug(\"AdminServlet.performSupplierConfig() - action=\" + action);\r\n\t\tHttpSession session = req.getSession(true);\r\n\t\tif (action.equals(Util.ACTION_GETSUPPLIER)) {\r\n\t\t\t// Get supplier info\r\n\t\t\ttry {\r\n\t\t\t\tsupplier = suppliers.getSupplier();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.performSupplierConfig() Exception: \" + e);\r\n\t\t\t}\r\n\t\t} else if (action.equals(Util.ACTION_UPDATESUPPLIER)) {\r\n\t\t\tString supplierID = req.getParameter(\"supplierid\");\r\n\t\t\tUtil.debug(\"AdminServlet.performSupplierConfig() - supplierid = \" + supplierID);\r\n\t\t\tif ((supplierID != null) && (!supplierID.equals(\"\"))) {\r\n\t\t\t\tString name = req.getParameter(\"name\");\r\n\t\t\t\tString street = req.getParameter(\"street\");\r\n\t\t\t\tString city = req.getParameter(\"city\");\r\n\t\t\t\tString state = req.getParameter(\"state\");\r\n\t\t\t\tString zip = req.getParameter(\"zip\");\r\n\t\t\t\tString phone = req.getParameter(\"phone\");\r\n\t\t\t\tString location_url = req.getParameter(\"location_url\");\r\n\t\t\t\tsupplier = updateSupplierInfo(supplierID, name, street, city, state, zip, phone, location_url);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// Unknown Supplier Config Admin Action so go back to the\r\n\t\t\t// Administration home page\r\n\t\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t\tsession.setAttribute(Util.ATTR_SUPPLIER, supplier);\r\n\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_SUPPLIERCFG);\r\n\t}", - "start_line": 165, - "end_line": 201, - "code_start_line": 166, + "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", + "start_line": 302, + "end_line": 304, + "code_start_line": 302, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier", - "HttpSession", "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATESUPPLIER", - "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_GETSUPPLIER", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_SUPPLIERCFG", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_SUPPLIER" + "com.ibm.websphere.samples.pbw.jpa.Order.orderID" ], - "call_sites": [ - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 169, - "start_column": 12, - "end_line": 169, - "end_column": 45 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 170, - "start_column": 28, - "end_line": 170, - "end_column": 44 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 172, - "start_column": 3, - "end_line": 172, - "end_column": 71 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 25, - "end_line": 173, - "end_column": 44 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 174, - "start_column": 7, - "end_line": 174, - "end_column": 44 - }, - { - "method_name": "getSupplier", - "comment": null, - "receiver_expr": "suppliers", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "callee_signature": "getSupplier()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 16, - "end_line": 177, - "end_column": 38 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 179, - "start_column": 5, - "end_line": 179, - "end_column": 70 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 14, - "end_line": 181, - "end_column": 54 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 182, - "start_column": 24, - "end_line": 182, - "end_column": 53 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 183, - "start_column": 4, - "end_line": 183, - "end_column": 82 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "supplierID", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 184, - "start_column": 34, - "end_line": 184, - "end_column": 54 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 185, - "start_column": 19, - "end_line": 185, - "end_column": 42 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 186, - "start_column": 21, - "end_line": 186, - "end_column": 46 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 187, - "start_column": 19, - "end_line": 187, - "end_column": 42 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 20, - "end_line": 188, - "end_column": 44 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 189, - "start_column": 18, - "end_line": 189, - "end_column": 40 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 190, - "start_column": 20, - "end_line": 190, - "end_column": 44 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 191, - "start_column": 27, - "end_line": 191, - "end_column": 58 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCustomer()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCustomer()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Customer getCustomer()", + "parameters": [], + "code": "{\r\n\t\treturn customer;\r\n\t}", + "start_line": 282, + "end_line": 284, + "code_start_line": 282, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.customer" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShipName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipName()", + "parameters": [], + "code": "{\r\n\t\treturn shipName;\r\n\t}", + "start_line": 354, + "end_line": 356, + "code_start_line": 354, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBillName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillName(String billName)", + "parameters": [ { - "method_name": "updateSupplierInfo", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "callee_signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 192, - "start_column": 16, - "end_line": 192, - "end_column": 98 - }, + "type": "java.lang.String", + "name": "billName", + "annotations": [], + "modifiers": [], + "start_line": 214, + "end_line": 214, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.billName = billName;\r\n\t}", + "start_line": 214, + "end_line": 216, + "code_start_line": 214, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShipAddr2()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipAddr2()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipAddr2()", + "parameters": [], + "code": "{\r\n\t\treturn shipAddr2;\r\n\t}", + "start_line": 338, + "end_line": 340, + "code_start_line": 338, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShipState()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipState()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipState()", + "parameters": [], + "code": "{\r\n\t\treturn shipState;\r\n\t}", + "start_line": 386, + "end_line": 388, + "code_start_line": 386, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getSellDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getSellDate()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getSellDate()", + "parameters": [], + "code": "{\r\n\t\treturn sellDate;\r\n\t}", + "start_line": 322, + "end_line": 324, + "code_start_line": 322, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.sellDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getOrderID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getOrderID()", + "parameters": [], + "code": "{\r\n\t\treturn orderID;\r\n\t}", + "start_line": 298, + "end_line": 300, + "code_start_line": 298, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.orderID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCcExpireYear(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCcExpireYear(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCcExpireYear(String ccExpireYear)", + "parameters": [ { - "method_name": "sendRedirect", - "comment": { - "content": " Administration home page", - "start_line": 196, - "end_line": 196, - "start_column": 4, - "end_column": 30, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 197, - "start_column": 4, - "end_line": 197, - "end_column": 66 - }, + "type": "java.lang.String", + "name": "ccExpireYear", + "annotations": [], + "modifiers": [], + "start_line": 262, + "end_line": 262, + "start_column": 30, + "end_column": 48 + } + ], + "code": "{\r\n\t\tthis.ccExpireYear = ccExpireYear;\r\n\t}", + "start_line": 262, + "end_line": 264, + "code_start_line": 262, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillZip()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillZip()", + "parameters": [], + "code": "{\r\n\t\treturn billZip;\r\n\t}", + "start_line": 234, + "end_line": 236, + "code_start_line": 234, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCcExpireMonth(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCcExpireMonth(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCcExpireMonth(String ccExpireMonth)", + "parameters": [ { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Supplier" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 199, - "start_column": 3, - "end_line": 199, - "end_column": 52 - }, + "type": "java.lang.String", + "name": "ccExpireMonth", + "annotations": [], + "modifiers": [], + "start_line": 254, + "end_line": 254, + "start_column": 31, + "end_column": 50 + } + ], + "code": "{\r\n\t\tthis.ccExpireMonth = ccExpireMonth;\r\n\t}", + "start_line": 254, + "end_line": 256, + "code_start_line": 254, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShipPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getShipPhone()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipPhone()", + "parameters": [], + "code": "{\r\n\t\treturn shipPhone;\r\n\t}", + "start_line": 362, + "end_line": 364, + "code_start_line": 362, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getBillCity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillCity()", + "parameters": [], + "code": "{\r\n\t\treturn billCity;\r\n\t}", + "start_line": 202, + "end_line": 204, + "code_start_line": 202, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCreditCard(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setCreditCard(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCreditCard(String creditCard)", + "parameters": [ { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 200, + "type": "java.lang.String", + "name": "creditCard", + "annotations": [], + "modifiers": [], + "start_line": 278, + "end_line": 278, + "start_column": 28, + "end_column": 44 + } + ], + "code": "{\r\n\t\tthis.creditCard = creditCard;\r\n\t}", + "start_line": 278, + "end_line": 280, + "code_start_line": 278, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.creditCard" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "comments": [ + { + "content": " Pad it to 14 digits so sorting works properly.", + "start_line": 137, + "end_line": 137, "start_column": 3, - "end_line": 200, - "end_column": 91 + "end_column": 51, + "is_javadoc": false }, { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 200, - "start_column": 19, - "end_line": 200, - "end_column": 56 + "content": " Get profit for total order.", + "start_line": 167, + "end_line": 167, + "start_column": 3, + "end_column": 32, + "is_javadoc": false }, { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 200, - "start_column": 19, - "end_line": 200, - "end_column": 36 + "content": "\r\n\t * Constructor to create an Order.\r\n\t *\r\n\t * @param customer\r\n\t * - customer who created the order\r\n\t * @param billName\r\n\t * - billing name\r\n\t * @param billAddr1\r\n\t * - billing address line 1\r\n\t * @param billAddr2\r\n\t * - billing address line 2\r\n\t * @param billCity\r\n\t * - billing address city\r\n\t * @param billState\r\n\t * - billing address state\r\n\t * @param billZip\r\n\t * - billing address zip code\r\n\t * @param billPhone\r\n\t * - billing phone\r\n\t * @param shipName\r\n\t * - shippng name\r\n\t * @param shipAddr1\r\n\t * - shippng address line 1\r\n\t * @param shipAddr2\r\n\t * - shippng address line 2\r\n\t * @param shipCity\r\n\t * - shippng address city\r\n\t * @param shipState\r\n\t * - shippng address state\r\n\t * @param shipZip\r\n\t * - shippng address zip code\r\n\t * @param shipPhone\r\n\t * - shippng phone\r\n\t * @param creditCard\r\n\t * - credit card\r\n\t * @param ccNum\r\n\t * - credit card number\r\n\t * @param ccExpireMonth\r\n\t * - credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * - credit card expiration year\r\n\t * @param cardHolder\r\n\t * - credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t ", + "start_line": 82, + "end_line": 129, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], - "variable_declarations": [ + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Order(Customer customer, String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, String creditCard, String ccNum, String ccExpireMonth, String ccExpireYear, String cardHolder, int shippingMethod, Collection items)", + "parameters": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplier", - "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "initializer": "null", - "start_line": 167, - "start_column": 12, - "end_line": 167, - "end_column": 26 + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "name": "customer", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 15, + "end_column": 31 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "action", "type": "java.lang.String", - "initializer": "null", - "start_line": 168, - "start_column": 10, - "end_line": 168, - "end_column": 22 + "name": "billName", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 34, + "end_column": 48 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 173, - "start_column": 15, - "end_line": 173, - "end_column": 44 + "type": "java.lang.String", + "name": "billAddr1", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 51, + "end_column": 66 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplierID", "type": "java.lang.String", - "initializer": "req.getParameter(\"supplierid\")", - "start_line": 182, - "start_column": 11, - "end_line": 182, - "end_column": 53 + "name": "billAddr2", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 69, + "end_column": 84 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", "type": "java.lang.String", - "initializer": "req.getParameter(\"name\")", - "start_line": 185, - "start_column": 12, - "end_line": 185, - "end_column": 42 + "name": "billCity", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 87, + "end_column": 101 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "street", "type": "java.lang.String", - "initializer": "req.getParameter(\"street\")", - "start_line": 186, - "start_column": 12, - "end_line": 186, - "end_column": 46 + "name": "billState", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 4, + "end_column": 19 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "city", "type": "java.lang.String", - "initializer": "req.getParameter(\"city\")", - "start_line": 187, - "start_column": 12, - "end_line": 187, - "end_column": 42 + "name": "billZip", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 22, + "end_column": 35 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "state", "type": "java.lang.String", - "initializer": "req.getParameter(\"state\")", - "start_line": 188, - "start_column": 12, - "end_line": 188, - "end_column": 44 + "name": "billPhone", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 38, + "end_column": 53 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "zip", "type": "java.lang.String", - "initializer": "req.getParameter(\"zip\")", - "start_line": 189, - "start_column": 12, - "end_line": 189, - "end_column": 40 + "name": "shipName", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 56, + "end_column": 70 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "phone", "type": "java.lang.String", - "initializer": "req.getParameter(\"phone\")", - "start_line": 190, - "start_column": 12, - "end_line": 190, - "end_column": 44 + "name": "shipAddr1", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 73, + "end_column": 88 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "location_url", "type": "java.lang.String", - "initializer": "req.getParameter(\"location_url\")", - "start_line": 191, - "start_column": 12, - "end_line": 191, - "end_column": 58 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 6, - "is_entrypoint": true - }, - "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comments": [ + "name": "shipAddr2", + "annotations": [], + "modifiers": [], + "start_line": 131, + "end_line": 131, + "start_column": 91, + "end_column": 106 + }, { - "content": " Invalid Admin", - "start_line": 118, - "end_line": 118, + "type": "java.lang.String", + "name": "shipCity", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, "start_column": 4, - "end_column": 19, - "is_javadoc": false + "end_column": 18 }, { - "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 105, - "end_line": 112, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ + "type": "java.lang.String", + "name": "shipState", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 21, + "end_column": 36 + }, { - "type": "HttpServletRequest", - "name": "req", + "type": "java.lang.String", + "name": "shipZip", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, + "start_line": 132, + "end_line": 132, + "start_column": 39, + "end_column": 52 + }, + { + "type": "java.lang.String", + "name": "shipPhone", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 55, + "end_column": 70 + }, + { + "type": "java.lang.String", + "name": "creditCard", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 73, + "end_column": 89 + }, + { + "type": "java.lang.String", + "name": "ccNum", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 92, + "end_column": 103 + }, + { + "type": "java.lang.String", + "name": "ccExpireMonth", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 4, + "end_column": 23 + }, + { + "type": "java.lang.String", + "name": "ccExpireYear", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, "start_column": 26, - "end_column": 47 + "end_column": 44 }, { - "type": "HttpServletResponse", - "name": "resp", + "type": "java.lang.String", + "name": "cardHolder", "annotations": [], "modifiers": [], - "start_line": 113, - "end_line": 113, - "start_column": 50, - "end_column": 73 + "start_line": 133, + "end_line": 133, + "start_column": 47, + "end_column": 63 + }, + { + "type": "int", + "name": "shippingMethod", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 66, + "end_column": 83 + }, + { + "type": "java.util.Collection", + "name": "items", + "annotations": [], + "modifiers": [], + "start_line": 134, + "end_line": 134, + "start_column": 4, + "end_column": 30 } ], - "code": "{\r\n\t\tString admintype = null;\r\n\t\tadmintype = req.getParameter(Util.ATTR_ADMINTYPE);\r\n\t\tUtil.debug(\"inside AdminServlet:performTask. admintype=\" + admintype);\r\n\t\tif ((admintype == null) || (admintype.equals(\"\"))) {\r\n\t\t\t// Invalid Admin\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t\tif (admintype.equals(Util.ADMIN_BACKORDER)) {\r\n\t\t\tperformBackOrder(req, resp);\r\n\t\t} else if (admintype.equals(Util.ADMIN_SUPPLIERCFG)) {\r\n\t\t\tperformSupplierConfig(req, resp);\r\n\t\t} else if (admintype.equals(Util.ADMIN_POPULATE)) {\r\n\t\t\tperformPopulate(req, resp);\r\n\t\t}\r\n\t}", - "start_line": 113, - "end_line": 128, - "code_start_line": 113, - "return_type": "void", + "code": "{\r\n\t\tthis.setSellDate(Long.toString(System.currentTimeMillis()));\r\n\r\n\t\t// Pad it to 14 digits so sorting works properly.\r\n\t\tif (this.getSellDate().length() < 14) {\r\n\t\t\tStringBuffer sb = new StringBuffer(Util.ZERO_14);\r\n\t\t\tsb.replace((14 - this.getSellDate().length()), 14, this.getSellDate());\r\n\t\t\tthis.setSellDate(sb.toString());\r\n\t\t}\r\n\r\n\t\tthis.setCustomer(customer);\r\n\t\tthis.setBillName(billName);\r\n\t\tthis.setBillAddr1(billAddr1);\r\n\t\tthis.setBillAddr2(billAddr2);\r\n\t\tthis.setBillCity(billCity);\r\n\t\tthis.setBillState(billState);\r\n\t\tthis.setBillZip(billZip);\r\n\t\tthis.setBillPhone(billPhone);\r\n\t\tthis.setShipName(shipName);\r\n\t\tthis.setShipAddr1(shipAddr1);\r\n\t\tthis.setShipAddr2(shipAddr2);\r\n\t\tthis.setShipCity(shipCity);\r\n\t\tthis.setShipState(shipState);\r\n\t\tthis.setShipZip(shipZip);\r\n\t\tthis.setShipPhone(shipPhone);\r\n\t\tthis.setCreditCard(creditCard);\r\n\t\tthis.setCcNum(ccNum);\r\n\t\tthis.setCcExpireMonth(ccExpireMonth);\r\n\t\tthis.setCcExpireYear(ccExpireYear);\r\n\t\tthis.setCardHolder(cardHolder);\r\n\t\tthis.setShippingMethod(shippingMethod);\r\n\t\tthis.items = items;\r\n\r\n\t\t// Get profit for total order.\r\n\t\tOrderItem oi;\r\n\t\tfloat profit;\r\n\t\tprofit = 0.0f;\r\n\t\tfor (Object o : items) {\r\n\t\t\toi = (OrderItem) o;\r\n\t\t\tprofit = profit + (oi.getQuantity() * (oi.getPrice() - oi.getCost()));\r\n\t\t\toi.setOrder(this);\r\n\t\t}\r\n\t\tthis.setProfit(profit);\r\n\t}", + "start_line": 130, + "end_line": 177, + "code_start_line": 134, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [ + "java.lang.StringBuffer", + "java.util.Collection", + "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "java.lang.Object", "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_BACKORDER", - "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_SUPPLIERCFG", - "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_POPULATE", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ADMINTYPE", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME" + "com.ibm.websphere.samples.pbw.jpa.Order.billName", + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr2", + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr1", + "com.ibm.websphere.samples.pbw.jpa.Order.billAddr1", + "com.ibm.websphere.samples.pbw.utils.Util.ZERO_14", + "com.ibm.websphere.samples.pbw.jpa.Order.billCity", + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear", + "com.ibm.websphere.samples.pbw.jpa.Order.profit", + "com.ibm.websphere.samples.pbw.jpa.Order.billPhone", + "com.ibm.websphere.samples.pbw.jpa.Order.billZip", + "com.ibm.websphere.samples.pbw.jpa.Order.shipZip", + "com.ibm.websphere.samples.pbw.jpa.Order.ccNum", + "com.ibm.websphere.samples.pbw.jpa.Order.shipName", + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireMonth", + "com.ibm.websphere.samples.pbw.jpa.Order.shipState", + "com.ibm.websphere.samples.pbw.jpa.Order.shipCity", + "com.ibm.websphere.samples.pbw.jpa.Order.items", + "com.ibm.websphere.samples.pbw.jpa.Order.creditCard", + "com.ibm.websphere.samples.pbw.jpa.Order.customer", + "com.ibm.websphere.samples.pbw.jpa.Order.shipPhone", + "com.ibm.websphere.samples.pbw.jpa.Order.cardHolder", + "com.ibm.websphere.samples.pbw.jpa.Order.shippingMethod", + "com.ibm.websphere.samples.pbw.jpa.Order.billState", + "com.ibm.websphere.samples.pbw.jpa.Order.shipAddr2" ], "call_sites": [ { - "method_name": "getParameter", + "method_name": "setSellDate", "comment": null, - "receiver_expr": "req", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "Long.toString(System.currentTimeMillis())" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setSellDate(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 3, + "end_line": 135, + "end_column": 61 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "Long", + "receiver_type": "java.lang.Long", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.lang.String", + "callee_signature": "toString(long)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 115, - "start_column": 15, - "end_line": 115, - "end_column": 51 + "start_line": 135, + "start_column": 20, + "end_line": 135, + "end_column": 60 }, { - "method_name": "debug", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, @@ -37844,21 +43522,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 116, - "start_column": 3, - "end_line": 116, - "end_column": 71 + "start_line": 135, + "start_column": 34, + "end_line": 135, + "end_column": 59 }, { - "method_name": "equals", + "method_name": "length", "comment": null, - "receiver_expr": "admintype", + "receiver_expr": "this.getSellDate()", "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "length()", "is_public": true, "is_protected": false, "is_private": false, @@ -37867,96 +43544,116 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 117, - "start_column": 31, - "end_line": 117, - "end_column": 50 + "start_line": 138, + "start_column": 7, + "end_line": 138, + "end_column": 33 }, { - "method_name": "requestDispatch", - "comment": { - "content": " Invalid Admin", - "start_line": 118, - "end_line": 118, - "start_column": 4, - "end_column": 19, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", + "method_name": "getSellDate", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSellDate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 138, + "start_column": 7, + "end_line": 138, + "end_column": 24 + }, + { + "method_name": "replace", + "comment": null, + "receiver_expr": "sb", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "", "", "", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "(14 - this.getSellDate().length())", + "14", + "this.getSellDate()" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "replace(int, int, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, + "start_line": 140, "start_column": 4, - "end_line": 119, - "end_column": 90 + "end_line": 140, + "end_column": 73 }, { - "method_name": "getServletContext", + "method_name": "length", "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", + "receiver_expr": "this.getSellDate()", + "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "length()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 57 + "start_line": 140, + "start_column": 21, + "end_line": 140, + "end_column": 47 }, { - "method_name": "getServletConfig", + "method_name": "getSellDate", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSellDate()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 37 + "start_line": 140, + "start_column": 21, + "end_line": 140, + "end_column": 38 }, { - "method_name": "equals", + "method_name": "getSellDate", "comment": null, - "receiver_expr": "admintype", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSellDate()", "is_public": true, "is_protected": false, "is_private": false, @@ -37965,45 +43662,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 7, - "end_line": 121, - "end_column": 44 + "start_line": 140, + "start_column": 55, + "end_line": 140, + "end_column": 72 }, { - "method_name": "performBackOrder", + "method_name": "setSellDate", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "sb.toString()" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setSellDate(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 122, + "start_line": 141, "start_column": 4, - "end_line": 122, - "end_column": 30 + "end_line": 141, + "end_column": 34 }, { - "method_name": "equals", + "method_name": "toString", "comment": null, - "receiver_expr": "admintype", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "receiver_expr": "sb", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -38012,45 +43710,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 123, - "start_column": 14, - "end_line": 123, - "end_column": 53 + "start_line": 141, + "start_column": 21, + "end_line": 141, + "end_column": 33 }, { - "method_name": "performSupplierConfig", + "method_name": "setCustomer", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "", - "" + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "customer" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setCustomer(com.ibm.websphere.samples.pbw.jpa.Customer)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 4, - "end_line": 124, - "end_column": 35 + "start_line": 144, + "start_column": 3, + "end_line": 144, + "end_column": 28 }, { - "method_name": "equals", + "method_name": "setBillName", "comment": null, - "receiver_expr": "admintype", - "receiver_type": "java.lang.String", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "billName" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setBillName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38059,270 +43762,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 125, - "start_column": 14, - "end_line": 125, - "end_column": 50 + "start_line": 145, + "start_column": 3, + "end_line": 145, + "end_column": 28 }, { - "method_name": "performPopulate", + "method_name": "setBillAddr1", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "billAddr1" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setBillAddr1(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 126, - "start_column": 4, - "end_line": 126, - "end_column": 29 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "admintype", - "type": "java.lang.String", - "initializer": "null", - "start_line": 114, - "start_column": 10, - "end_line": 114, - "end_column": 25 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": true - }, - "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 81, - "end_line": 88, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 20, - "end_column": 41 + "start_line": 146, + "start_column": 3, + "end_line": 146, + "end_column": 30 }, { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 44, - "end_column": 67 - } - ], - "code": "{\r\n\t\tperformTask(req, resp);\r\n\t}", - "start_line": 89, - "end_line": 91, - "code_start_line": 89, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", + "method_name": "setBillAddr2", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "billAddr2" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setBillAddr2(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 90, + "start_line": 147, "start_column": 3, - "end_line": 90, - "end_column": 24 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "performBackOrder(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "performBackOrder(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": " Update the BackOrder status", - "start_line": 246, - "end_line": 246, - "start_column": 7, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " Unknown Backup Admin Action so go back to the Administration home", - "start_line": 294, - "end_line": 294, - "start_column": 4, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " page", - "start_line": 295, - "end_line": 295, - "start_column": 4, - "end_column": 10, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 215, - "end_line": 222, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void performBackOrder(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 223, - "end_line": 223, - "start_column": 31, - "end_column": 52 + "end_line": 147, + "end_column": 30 }, { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 224, - "end_line": 224, - "start_column": 4, - "end_column": 27 - } - ], - "code": "{\r\n\t\tString action = null;\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tif ((action == null) || (action.equals(\"\")))\r\n\t\t\taction = Util.ACTION_GETBACKORDERS;\r\n\t\tUtil.debug(\"AdminServlet.performBackOrder() - action=\" + action);\r\n\t\tHttpSession session = req.getSession(true);\r\n\t\tif (action.equals(Util.ACTION_GETBACKORDERS)) {\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_UPDATESTOCK)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Update Stock Action\");\r\n\t\t\tString[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\r\n\t\t\tif (backOrderIDs != null) {\r\n\t\t\t\tfor (int i = 0; i < backOrderIDs.length; i++) {\r\n\t\t\t\t\tString backOrderID = backOrderIDs[i];\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tString inventoryID = backOrderStock.getBackOrderInventoryID(backOrderID);\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + inventoryID);\r\n\t\t\t\t\t\tint quantity = backOrderStock.getBackOrderQuantity(backOrderID);\r\n\t\t\t\t\t\tcatalog.setItemQuantity(inventoryID, quantity);\r\n\t\t\t\t\t\t// Update the BackOrder status\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\r\n\t\t\t\t\t\tbackOrderStock.updateStock(backOrderID, quantity);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_CANCEL)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Cancel Action\");\r\n\t\t\tString[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\r\n\t\t\tif (backOrderIDs != null) {\r\n\t\t\t\tfor (int i = 0; i < backOrderIDs.length; i++) {\r\n\t\t\t\t\tString backOrderID = backOrderIDs[i];\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tbackOrderStock.deleteBackOrder(backOrderID);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_UPDATEQUANTITY)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Update Quantity Action\");\r\n\t\t\ttry {\r\n\t\t\t\tString backOrderID = req.getParameter(\"backOrderID\");\r\n\t\t\t\tif (backOrderID != null) {\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + backOrderID);\r\n\t\t\t\t\tString paramquantity = req.getParameter(\"itemqty\");\r\n\t\t\t\t\tif (paramquantity != null) {\r\n\t\t\t\t\t\tint quantity = new Integer(paramquantity).intValue();\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\r\n\t\t\t\t\t\tbackOrderStock.setBackOrderQuantity(backOrderID, quantity);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else {\r\n\t\t\t// Unknown Backup Admin Action so go back to the Administration home\r\n\t\t\t// page\r\n\t\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t}", - "start_line": 223, - "end_line": 298, - "code_start_line": 224, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "HttpSession", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", - "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_GETBACKORDERS", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_BACKADMIN", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_CANCEL", - "length", - "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATESTOCK", - "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATEQUANTITY", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME" - ], - "call_sites": [ - { - "method_name": "getParameter", + "method_name": "setBillCity", "comment": null, - "receiver_expr": "req", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "billCity" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setBillCity(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 226, - "start_column": 12, - "end_line": 226, - "end_column": 45 + "start_line": 148, + "start_column": 3, + "end_line": 148, + "end_column": 28 }, { - "method_name": "equals", + "method_name": "setBillState", "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "billState" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setBillState(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38331,67 +43866,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 227, - "start_column": 28, - "end_line": 227, - "end_column": 44 + "start_line": 149, + "start_column": 3, + "end_line": 149, + "end_column": 30 }, { - "method_name": "debug", + "method_name": "setBillZip", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "billZip" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setBillZip(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 229, + "start_line": 150, "start_column": 3, - "end_line": 229, - "end_column": 66 + "end_line": 150, + "end_column": 26 }, { - "method_name": "getSession", + "method_name": "setBillPhone", "comment": null, - "receiver_expr": "req", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "billPhone" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setBillPhone(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 230, - "start_column": 25, - "end_line": 230, - "end_column": 44 + "start_line": 151, + "start_column": 3, + "end_line": 151, + "end_column": 30 }, { - "method_name": "equals", + "method_name": "setShipName", "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "shipName" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setShipName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38400,112 +43944,128 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 231, - "start_column": 7, - "end_line": 231, - "end_column": 46 + "start_line": 152, + "start_column": 3, + "end_line": 152, + "end_column": 28 }, { - "method_name": "getBackOrders", + "method_name": "setShipAddr1", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "shipAddr1" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setShipAddr1(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 232, - "start_column": 4, - "end_line": 232, - "end_column": 25 + "start_line": 153, + "start_column": 3, + "end_line": 153, + "end_column": 30 }, { - "method_name": "requestDispatch", + "method_name": "setShipAddr2", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "", - "", - "", "java.lang.String" ], + "argument_expr": [ + "shipAddr2" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setShipAddr2(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 233, - "start_column": 4, - "end_line": 233, - "end_column": 90 + "start_line": 154, + "start_column": 3, + "end_line": 154, + "end_column": 30 }, { - "method_name": "getServletContext", + "method_name": "setShipCity", "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "shipCity" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setShipCity(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 233, - "start_column": 20, - "end_line": 233, - "end_column": 57 + "start_line": 155, + "start_column": 3, + "end_line": 155, + "end_column": 28 }, { - "method_name": "getServletConfig", + "method_name": "setShipState", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "shipState" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setShipState(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 233, - "start_column": 20, - "end_line": 233, - "end_column": 37 + "start_line": 156, + "start_column": 3, + "end_line": 156, + "end_column": 30 }, { - "method_name": "equals", + "method_name": "setShipZip", "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "shipZip" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setShipZip(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38514,90 +44074,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 234, - "start_column": 14, - "end_line": 234, - "end_column": 51 + "start_line": 157, + "start_column": 3, + "end_line": 157, + "end_column": 26 }, { - "method_name": "debug", + "method_name": "setShipPhone", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "shipPhone" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setShipPhone(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 235, - "start_column": 4, - "end_line": 235, - "end_column": 98 + "start_line": 158, + "start_column": 3, + "end_line": 158, + "end_column": 30 }, { - "method_name": "getParameterValues", + "method_name": "setCreditCard", "comment": null, - "receiver_expr": "req", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String[]", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "creditCard" + ], + "return_type": "", + "callee_signature": "setCreditCard(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 236, - "start_column": 39, - "end_line": 236, - "end_column": 81 + "start_line": 159, + "start_column": 3, + "end_line": 159, + "end_column": 32 }, { - "method_name": "debug", + "method_name": "setCcNum", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "ccNum" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setCcNum(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 240, - "start_column": 6, - "end_line": 240, - "end_column": 99 + "start_line": 160, + "start_column": 3, + "end_line": 160, + "end_column": 22 }, { - "method_name": "getBackOrderInventoryID", + "method_name": "setCcExpireMonth", "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getBackOrderInventoryID(java.lang.String)", + "argument_expr": [ + "ccExpireMonth" + ], + "return_type": "", + "callee_signature": "setCcExpireMonth(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38606,44 +44178,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 242, - "start_column": 28, - "end_line": 242, - "end_column": 78 + "start_line": 161, + "start_column": 3, + "end_line": 161, + "end_column": 38 }, { - "method_name": "debug", + "method_name": "setCcExpireYear", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "ccExpireYear" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setCcExpireYear(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 243, - "start_column": 7, - "end_line": 243, - "end_column": 82 + "start_line": 162, + "start_column": 3, + "end_line": 162, + "end_column": 36 }, { - "method_name": "getBackOrderQuantity", + "method_name": "setCardHolder", "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cardHolder" + ], "return_type": "", - "callee_signature": "getBackOrderQuantity(java.lang.String)", + "callee_signature": "setCardHolder(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38652,22 +44230,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 244, - "start_column": 22, - "end_line": 244, - "end_column": 69 + "start_line": 163, + "start_column": 3, + "end_line": 163, + "end_column": 32 }, { - "method_name": "setItemQuantity", + "method_name": "setShippingMethod", "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ - "java.lang.String", "" ], + "argument_expr": [ + "shippingMethod" + ], "return_type": "", - "callee_signature": "setItemQuantity(java.lang.String, int)", + "callee_signature": "setShippingMethod(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -38676,52 +44256,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 245, - "start_column": 7, - "end_line": 245, - "end_column": 52 + "start_line": 164, + "start_column": 3, + "end_line": 164, + "end_column": 40 }, { - "method_name": "debug", - "comment": { - "content": " Update the BackOrder status", - "start_line": 246, - "end_line": 246, - "start_column": 7, - "end_column": 36, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 247, - "start_column": 7, - "end_line": 247, - "end_column": 75 + "start_line": 173, + "start_column": 23, + "end_line": 173, + "end_column": 38 }, { - "method_name": "updateStock", + "method_name": "getPrice", "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [ - "java.lang.String", - "" - ], + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "updateStock(java.lang.String, int)", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -38730,42 +44300,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 248, - "start_column": 7, - "end_line": 248, + "start_line": 173, + "start_column": 43, + "end_line": 173, "end_column": 55 }, { - "method_name": "debug", + "method_name": "getCost", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "getCost()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 250, - "start_column": 7, - "end_line": 250, - "end_column": 69 + "start_line": 173, + "start_column": 59, + "end_line": 173, + "end_column": 70 }, { - "method_name": "printStackTrace", + "method_name": "setOrder", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "argument_expr": [ + "this" + ], "return_type": "", - "callee_signature": "printStackTrace()", + "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", "is_public": true, "is_protected": false, "is_private": false, @@ -38774,112 +44348,228 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 251, - "start_column": 7, - "end_line": 251, - "end_column": 25 + "start_line": 174, + "start_column": 4, + "end_line": 174, + "end_column": 20 }, { - "method_name": "getBackOrders", + "method_name": "setProfit", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [ "" ], + "argument_expr": [ + "profit" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setProfit(float)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 255, - "start_column": 4, - "end_line": 255, - "end_column": 25 + "start_line": 176, + "start_column": 3, + "end_line": 176, + "end_column": 24 }, { - "method_name": "requestDispatch", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "", - "", - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "Util.ZERO_14" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "StringBuffer(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 256, - "start_column": 4, - "end_line": 256, - "end_column": 90 + "start_line": 139, + "start_column": 22, + "end_line": 139, + "end_column": 51 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "sb", + "type": "java.lang.StringBuffer", + "initializer": "new StringBuffer(Util.ZERO_14)", + "start_line": 139, + "start_column": 17, + "end_line": 139, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "oi", + "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "initializer": "", + "start_line": 168, + "start_column": 13, + "end_line": 168, + "end_column": 14 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "profit", + "type": "float", + "initializer": "", + "start_line": 169, + "start_column": 9, + "end_line": 169, + "end_column": 14 }, { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 256, - "start_column": 20, - "end_line": 256, - "end_column": 57 - }, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "o", + "type": "java.lang.Object", + "initializer": "", + "start_line": 171, + "start_column": 15, + "end_line": 171, + "end_column": 15 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "setShipZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setShipZip(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipZip(String shipZip)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipZip", + "annotations": [], + "modifiers": [], + "start_line": 382, + "end_line": 382, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.shipZip = shipZip;\r\n\t}", + "start_line": 382, + "end_line": 384, + "code_start_line": 382, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.shipZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Order(String orderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 179, + "end_line": 179, + "start_column": 15, + "end_column": 28 + } + ], + "code": "{\r\n\t\tsetOrderID(orderID);\r\n\t}", + "start_line": 179, + "end_line": 181, + "code_start_line": 179, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.orderID" + ], + "call_sites": [ { - "method_name": "getServletConfig", + "method_name": "setOrderID", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 256, - "start_column": 20, - "end_line": 256, - "end_column": 37 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderID" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setOrderID(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38888,90 +44578,1039 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, - "start_column": 14, - "end_line": 257, - "end_column": 46 - }, + "start_line": 180, + "start_column": 3, + "end_line": 180, + "end_column": 21 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCcExpireYear()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getCcExpireYear()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCcExpireYear()", + "parameters": [], + "code": "{\r\n\t\treturn ccExpireYear;\r\n\t}", + "start_line": 258, + "end_line": 260, + "code_start_line": 258, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.ccExpireYear" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getItems()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "getItems()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Collection getItems()", + "parameters": [], + "code": "{\r\n\t\treturn items;\r\n\t}", + "start_line": 290, + "end_line": 292, + "code_start_line": 290, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.items" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBillPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Order.java", + "signature": "setBillPhone(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillPhone(String billPhone)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billPhone", + "annotations": [], + "modifiers": [], + "start_line": 222, + "end_line": 222, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billPhone = billPhone;\r\n\t}", + "start_line": 222, + "end_line": 224, + "code_start_line": 222, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Order.billPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 43, + "end_line": 43, + "variables": [ + "ORDER_INFO_TABLE_NAME" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 44, + "end_line": 44, + "variables": [ + "ORDER_ITEMS_TABLE_NAME" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 46, + "end_line": 49, + "variables": [ + "orderID" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Id", + "@GeneratedValue(strategy = GenerationType.TABLE, generator = \"OrderSeq\")", + "@TableGenerator(name = \"OrderSeq\", table = \"IDGENERATOR\", pkColumnName = \"IDNAME\", pkColumnValue = \"ORDER\", valueColumnName = \"IDVALUE\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 50, + "end_line": 50, + "variables": [ + "sellDate" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 51, + "end_line": 51, + "variables": [ + "billName" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 52, + "end_line": 52, + "variables": [ + "billAddr1" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 53, + "end_line": 53, + "variables": [ + "billAddr2" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 54, + "end_line": 54, + "variables": [ + "billCity" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 55, + "end_line": 55, + "variables": [ + "billState" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 56, + "end_line": 56, + "variables": [ + "billZip" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 57, + "end_line": 57, + "variables": [ + "billPhone" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 58, + "end_line": 58, + "variables": [ + "shipName" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 59, + "end_line": 59, + "variables": [ + "shipAddr1" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 60, + "end_line": 60, + "variables": [ + "shipAddr2" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 61, + "end_line": 61, + "variables": [ + "shipCity" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 62, + "end_line": 62, + "variables": [ + "shipState" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 63, + "end_line": 63, + "variables": [ + "shipZip" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 64, + "end_line": 64, + "variables": [ + "shipPhone" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 65, + "end_line": 65, + "variables": [ + "creditCard" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 66, + "end_line": 66, + "variables": [ + "ccNum" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 67, + "end_line": 67, + "variables": [ + "ccExpireMonth" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 68, + "end_line": 68, + "variables": [ + "ccExpireYear" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 69, + "end_line": 69, + "variables": [ + "cardHolder" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 70, + "end_line": 70, + "variables": [ + "shippingMethod" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "float", + "start_line": 71, + "end_line": 71, + "variables": [ + "profit" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "start_line": 73, + "end_line": 75, + "variables": [ + "customer" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@ManyToOne", + "@JoinColumn(name = \"CUSTOMERID\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.util.Collection", + "start_line": 76, + "end_line": 77, + "variables": [ + "orderItems" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Transient" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.util.Collection", + "start_line": 79, + "end_line": 80, + "variables": [ + "items" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Transient" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "\r\n * MailerBean provides a transactional facade for access to Order information and notification of\r\n * the buyer of order state.\r\n * \r\n ", + "start_line": 40, + "end_line": 44, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 85, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", + "start_line": 59, + "end_line": 65, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", + "start_line": 79, + "end_line": 85, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", + "start_line": 93, + "end_line": 100, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "java.util.Date", + "javax.annotation.Resource", + "javax.enterprise.context.Dependent", + "javax.inject.Named", + "javax.mail.Message", + "javax.mail.Multipart", + "javax.mail.Session", + "javax.mail.Transport", + "javax.mail.internet.InternetAddress", + "javax.mail.internet.MimeBodyPart", + "javax.mail.internet.MimeMessage", + "javax.mail.internet.MimeMultipart", + "javax.persistence.EntityManager", + "javax.persistence.PersistenceContext", + "com.ibm.websphere.samples.pbw.jpa.Customer", + "com.ibm.websphere.samples.pbw.jpa.Order", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.MailerBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 85, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", + "start_line": 59, + "end_line": 65, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", + "start_line": 79, + "end_line": 85, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", + "start_line": 93, + "end_line": 100, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(value = \"mailerbean\")", + "@Dependent" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "createSubjectLine(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "signature": "createSubjectLine(java.lang.String)", + "comments": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 258, - "start_column": 4, - "end_line": 258, - "end_column": 92 - }, + "content": "\r\n\t * Create the Subject line.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The Order number string.\r\n\t ", + "start_line": 79, + "end_line": 85, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private String createSubjectLine(String orderKey)", + "parameters": [ { - "method_name": "getParameterValues", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String[]", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 259, - "start_column": 39, - "end_line": 259, - "end_column": 81 - }, + "type": "java.lang.String", + "name": "orderKey", + "annotations": [], + "modifiers": [], + "start_line": 86, + "end_line": 86, + "start_column": 35, + "end_column": 49 + } + ], + "code": "{\r\n\t\tStringBuffer msg = new StringBuffer();\r\n\t\tmsg.append(\"Your order number \" + orderKey);\r\n\r\n\t\treturn msg.toString();\r\n\t}", + "start_line": 86, + "end_line": 91, + "code_start_line": 86, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.StringBuffer" + ], + "accessed_fields": [], + "call_sites": [ { - "method_name": "debug", + "method_name": "append", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 263, - "start_column": 6, - "end_line": 263, - "end_column": 99 - }, - { - "method_name": "deleteBackOrder", - "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "\"Your order number \" + orderKey" ], - "return_type": "", - "callee_signature": "deleteBackOrder(java.lang.String)", + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -38980,42 +45619,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 265, - "start_column": 7, - "end_line": 265, - "end_column": 49 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 267, - "start_column": 7, - "end_line": 267, - "end_column": 69 + "start_line": 88, + "start_column": 3, + "end_line": 88, + "end_column": 45 }, { - "method_name": "printStackTrace", + "method_name": "toString", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -39024,285 +45641,104 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 268, - "start_column": 7, - "end_line": 268, - "end_column": 25 - }, - { - "method_name": "getBackOrders", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 272, - "start_column": 4, - "end_line": 272, - "end_column": 25 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "", - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 273, - "start_column": 4, - "end_line": 273, - "end_column": 90 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 273, - "start_column": 20, - "end_line": 273, - "end_column": 57 + "start_line": 90, + "start_column": 10, + "end_line": 90, + "end_column": 23 }, { - "method_name": "getServletConfig", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.lang.StringBuffer", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 273, - "start_column": 20, - "end_line": 273, - "end_column": 37 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 274, - "start_column": 14, - "end_line": 274, - "end_column": 54 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 275, - "start_column": 4, - "end_line": 275, - "end_column": 74 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 277, - "start_column": 26, - "end_line": 277, - "end_column": 56 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 279, - "start_column": 6, - "end_line": 279, - "end_column": 81 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", + "argument_expr": [], + "return_type": "java.lang.StringBuffer", + "callee_signature": "StringBuffer()", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 280, - "start_column": 29, - "end_line": 280, - "end_column": 55 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "new Integer(paramquantity)", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 282, + "start_line": 87, "start_column": 22, - "end_line": 282, - "end_column": 58 - }, + "end_line": 87, + "end_column": 39 + } + ], + "variable_declarations": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 283, - "start_column": 7, - "end_line": 283, - "end_column": 75 - }, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "msg", + "type": "java.lang.StringBuffer", + "initializer": "new StringBuffer()", + "start_line": 87, + "start_column": 16, + "end_line": 87, + "end_column": 39 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "createMessage(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "signature": "createMessage(java.lang.String)", + "comments": [ { - "method_name": "setBackOrderQuantity", - "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "", - "callee_signature": "setBackOrderQuantity(java.lang.String, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 284, - "start_column": 7, - "end_line": 284, - "end_column": 64 - }, + "content": "\r\n\t * Create the email message.\r\n\t *\r\n\t * @param orderKey\r\n\t * The order number.\r\n\t * @return The email message.\r\n\t ", + "start_line": 59, + "end_line": 65, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private String createMessage(String orderKey)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderKey", + "annotations": [], + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 31, + "end_column": 45 + } + ], + "code": "{\r\n\t\tUtil.debug(\"creating email message for order:\" + orderKey);\r\n\t\tStringBuffer msg = new StringBuffer();\r\n\t\tOrder order = em.find(Order.class, orderKey);\r\n\t\tmsg.append(\"Thank you for your order \" + orderKey + \".\\n\");\r\n\t\tmsg.append(\"Your Plants By WebSphere order will be shipped to:\\n\");\r\n\t\tmsg.append(\" \" + order.getShipName() + \"\\n\");\r\n\t\tmsg.append(\" \" + order.getShipAddr1() + \" \" + order.getShipAddr2() + \"\\n\");\r\n\t\tmsg.append(\" \" + order.getShipCity() + \", \" + order.getShipState() + \" \" + order.getShipZip() + \"\\n\\n\");\r\n\t\tmsg.append(\"Please save it for your records.\\n\");\r\n\t\treturn msg.toString();\r\n\t}", + "start_line": 66, + "end_line": 77, + "code_start_line": 66, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.StringBuffer", + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.MailerBean.em" + ], + "call_sites": [ { "method_name": "debug", "comment": null, @@ -39311,6 +45747,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"creating email message for order:\" + orderKey" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -39321,697 +45760,229 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 288, - "start_column": 5, - "end_line": 288, - "end_column": 67 + "start_line": 67, + "start_column": 3, + "end_line": 67, + "end_column": 60 }, { - "method_name": "printStackTrace", + "method_name": "find", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Order.class", + "orderKey" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 69, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 289, - "start_column": 5, - "end_line": 289, - "end_column": 23 + "start_line": 69, + "start_column": 17, + "end_line": 69, + "end_column": 46 }, { - "method_name": "getBackOrders", + "method_name": "append", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\"Thank you for your order \" + orderKey + \".\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 291, - "start_column": 4, - "end_line": 291, - "end_column": 25 + "start_line": 70, + "start_column": 3, + "end_line": 70, + "end_column": 60 }, { - "method_name": "requestDispatch", + "method_name": "append", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "", - "", - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 292, - "start_column": 4, - "end_line": 292, - "end_column": 90 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\"Your Plants By WebSphere order will be shipped to:\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 292, - "start_column": 20, - "end_line": 292, - "end_column": 57 + "start_line": 71, + "start_column": 3, + "end_line": 71, + "end_column": 68 }, { - "method_name": "getServletConfig", + "method_name": "append", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 292, - "start_column": 20, - "end_line": 292, - "end_column": 37 - }, - { - "method_name": "sendRedirect", - "comment": { - "content": " page", - "start_line": 295, - "end_line": 295, - "start_column": 4, - "end_column": 10, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\" \" + order.getShipName() + \"\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 296, - "start_column": 4, - "end_line": 296, - "end_column": 66 + "start_line": 72, + "start_column": 3, + "end_line": 72, + "end_column": 50 }, { - "method_name": "", + "method_name": "getShipName", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipName()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 282, - "start_column": 22, - "end_line": 282, - "end_column": 47 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "action", - "type": "java.lang.String", - "initializer": "null", - "start_line": 225, - "start_column": 10, - "end_line": 225, - "end_column": 22 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "session", - "type": "HttpSession", - "initializer": "req.getSession(true)", - "start_line": 230, - "start_column": 15, - "end_line": 230, - "end_column": 44 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderIDs", - "type": "java.lang.String[]", - "initializer": "(String[]) req.getParameterValues(\"selectedObjectIds\")", - "start_line": 236, - "start_column": 13, - "end_line": 236, - "end_column": 81 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 238, - "start_column": 14, - "end_line": 238, - "end_column": 18 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderID", - "type": "java.lang.String", - "initializer": "backOrderIDs[i]", - "start_line": 239, - "start_column": 13, - "end_line": 239, - "end_column": 41 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inventoryID", - "type": "java.lang.String", - "initializer": "backOrderStock.getBackOrderInventoryID(backOrderID)", - "start_line": 242, - "start_column": 14, - "end_line": 242, - "end_column": 78 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "int", - "initializer": "backOrderStock.getBackOrderQuantity(backOrderID)", - "start_line": 244, - "start_column": 11, - "end_line": 244, - "end_column": 69 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderIDs", - "type": "java.lang.String[]", - "initializer": "(String[]) req.getParameterValues(\"selectedObjectIds\")", - "start_line": 259, - "start_column": 13, - "end_line": 259, - "end_column": 81 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 261, - "start_column": 14, - "end_line": 261, - "end_column": 18 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderID", - "type": "java.lang.String", - "initializer": "backOrderIDs[i]", - "start_line": 262, - "start_column": 13, - "end_line": 262, - "end_column": 41 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderID", - "type": "java.lang.String", - "initializer": "req.getParameter(\"backOrderID\")", - "start_line": 277, - "start_column": 12, - "end_line": 277, - "end_column": 56 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "paramquantity", - "type": "java.lang.String", - "initializer": "req.getParameter(\"itemqty\")", - "start_line": 280, - "start_column": 13, - "end_line": 280, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "int", - "initializer": "new Integer(paramquantity).intValue()", - "start_line": 282, - "start_column": 11, - "end_line": 282, - "end_column": 58 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 15, - "is_entrypoint": true - }, - "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "comments": [ - { - "content": "\r\n\t * Request dispatch\r\n\t ", - "start_line": 374, - "end_line": 376, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String page) throws ServletException, IOException", - "parameters": [ - { - "type": "ServletContext", - "name": "ctx", - "annotations": [], - "modifiers": [], - "start_line": 377, - "end_line": 377, - "start_column": 31, - "end_column": 48 - }, - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 378, - "end_line": 378, - "start_column": 4, - "end_column": 25 - }, - { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 379, - "end_line": 379, - "start_column": 4, - "end_column": 27 + "start_line": 72, + "start_column": 24, + "end_line": 72, + "end_column": 42 }, { - "type": "java.lang.String", - "name": "page", - "annotations": [], - "modifiers": [], - "start_line": 380, - "end_line": 380, - "start_column": 4, - "end_column": 14 - } - ], - "code": "{\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tctx.getRequestDispatcher(page).forward(req, resp);\r\n\t}", - "start_line": 377, - "end_line": 383, - "code_start_line": 380, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "setContentType", + "method_name": "append", "comment": null, - "receiver_expr": "resp", - "receiver_type": "", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\" \" + order.getShipAddr1() + \" \" + order.getShipAddr2() + \"\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 381, + "start_line": 73, "start_column": 3, - "end_line": 381, - "end_column": 34 + "end_line": 73, + "end_column": 80 }, { - "method_name": "forward", + "method_name": "getShipAddr1", "comment": null, - "receiver_expr": "ctx.getRequestDispatcher(page)", - "receiver_type": "", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr1()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 382, - "start_column": 3, - "end_line": 382, - "end_column": 51 + "start_line": 73, + "start_column": 24, + "end_line": 73, + "end_column": 43 }, { - "method_name": "getRequestDispatcher", + "method_name": "getShipAddr2", "comment": null, - "receiver_expr": "ctx", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr2()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 382, - "start_column": 3, - "end_line": 382, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "updateSupplierInfo(String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "updateSupplierInfo(String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": " Only retrieving info for 1 supplier.", - "start_line": 149, - "end_line": 149, - "start_column": 3, - "end_column": 41, - "is_javadoc": false - }, - { - "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", - "start_line": 130, - "end_line": 140, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Supplier updateSupplierInfo(String supplierID, String name, String street, String city, String state, String zip, String phone, String location_url)", - "parameters": [ - { - "type": "java.lang.String", - "name": "supplierID", - "annotations": [], - "modifiers": [], - "start_line": 141, - "end_line": 141, - "start_column": 37, - "end_column": 53 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 142, - "end_line": 142, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "street", - "annotations": [], - "modifiers": [], - "start_line": 143, - "end_line": 143, - "start_column": 4, - "end_column": 16 - }, - { - "type": "java.lang.String", - "name": "city", - "annotations": [], - "modifiers": [], - "start_line": 144, - "end_line": 144, - "start_column": 4, - "end_column": 14 - }, - { - "type": "java.lang.String", - "name": "state", - "annotations": [], - "modifiers": [], - "start_line": 145, - "end_line": 145, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "zip", - "annotations": [], - "modifiers": [], - "start_line": 146, - "end_line": 146, - "start_column": 4, - "end_column": 13 - }, - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 147, - "end_line": 147, - "start_column": 4, - "end_column": 15 + "start_line": 73, + "start_column": 53, + "end_line": 73, + "end_column": 72 }, { - "type": "java.lang.String", - "name": "location_url", - "annotations": [], - "modifiers": [], - "start_line": 148, - "end_line": 148, - "start_column": 4, - "end_column": 22 - } - ], - "code": "{\r\n\t\t// Only retrieving info for 1 supplier.\r\n\t\tSupplier supplier = null;\r\n\t\ttry {\r\n\t\t\tsupplier = suppliers.updateSupplier(supplierID, name, street, city, state, zip, phone, location_url);\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"AdminServlet.updateSupplierInfo() - Exception: \" + e);\r\n\t\t}\r\n\t\treturn (supplier);\r\n\t}", - "start_line": 141, - "end_line": 157, - "code_start_line": 148, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Supplier" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers" - ], - "call_sites": [ - { - "method_name": "updateSupplier", + "method_name": "append", "comment": null, - "receiver_expr": "suppliers", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "callee_signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "argument_expr": [ + "\" \" + order.getShipCity() + \", \" + order.getShipState() + \" \" + order.getShipZip() + \"\\n\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -40020,131 +45991,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 152, - "start_column": 15, - "end_line": 152, - "end_column": 103 + "start_line": 74, + "start_column": 3, + "end_line": 74, + "end_column": 109 }, { - "method_name": "debug", + "method_name": "getShipCity", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipCity()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 154, - "start_column": 4, - "end_line": 154, - "end_column": 68 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplier", - "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", - "initializer": "null", - "start_line": 150, - "start_column": 12, - "end_line": 150, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "performPopulate(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "performPopulate(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", - "start_line": 203, - "end_line": 208, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void performPopulate(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ - { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 209, - "end_line": 209, - "start_column": 30, - "end_column": 51 + "start_line": 74, + "start_column": 24, + "end_line": 74, + "end_column": 42 }, { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 209, - "end_line": 209, - "start_column": 54, - "end_column": 77 - } - ], - "code": "{\r\n\t\tPopulate popDB = new Populate(resetDB, catalog, login, backOrderStock, suppliers);\r\n\t\tpopDB.doPopulate();\r\n\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_HELP);\r\n\t}", - "start_line": 209, - "end_line": 213, - "code_start_line": 209, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.war.Populate", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.AdminServlet.resetDB", - "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", - "com.ibm.websphere.samples.pbw.war.AdminServlet.login", - "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers", - "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock", - "com.ibm.websphere.samples.pbw.utils.Util.PAGE_HELP" - ], - "call_sites": [ + "method_name": "getShipState", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 53, + "end_line": 74, + "end_column": 72 + }, { - "method_name": "doPopulate", + "method_name": "getShipZip", "comment": null, - "receiver_expr": "popDB", - "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", "argument_types": [], - "return_type": "", - "callee_signature": "doPopulate()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipZip()", "is_public": true, "is_protected": false, "is_private": false, @@ -40153,49 +46057,68 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 211, - "start_column": 3, - "end_line": 211, - "end_column": 20 + "start_line": 74, + "start_column": 82, + "end_line": 74, + "end_column": 99 }, { - "method_name": "sendRedirect", + "method_name": "append", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", "argument_types": [ - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\"Please save it for your records.\\n\"" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 212, + "start_line": 75, "start_column": 3, - "end_line": 212, - "end_column": 60 + "end_line": 75, + "end_column": 50 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 10, + "end_line": 76, + "end_column": 23 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", - "argument_types": [ - "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "com.ibm.websphere.samples.pbw.bean.SuppliersBean" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.Populate", - "callee_signature": "Populate(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.StringBuffer", + "callee_signature": "StringBuffer()", "is_public": false, "is_protected": false, "is_private": false, @@ -40204,10 +46127,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 210, - "start_column": 20, - "end_line": 210, - "end_column": 83 + "start_line": 68, + "start_column": 22, + "end_line": 68, + "end_column": 39 } ], "variable_declarations": [ @@ -40220,60 +46143,54 @@ "end_column": -1, "is_javadoc": false }, - "name": "popDB", - "type": "com.ibm.websphere.samples.pbw.war.Populate", - "initializer": "new Populate(resetDB, catalog, login, backOrderStock, suppliers)", - "start_line": 210, - "start_column": 12, - "end_line": 210, - "end_column": 83 + "name": "msg", + "type": "java.lang.StringBuffer", + "initializer": "new StringBuffer()", + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 39 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "order", + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "initializer": "em.find(Order.class, orderKey)", + "start_line": 69, + "start_column": 9, + "end_line": 69, + "end_column": 46 + } + ], + "crud_operations": [ + { + "line_number": 69, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false }, - "getBackOrders(HttpSession)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", - "signature": "getBackOrders(HttpSession)", + "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerBean.java", + "signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", "comments": [ { - "content": " Get the list of back order items.", - "start_line": 307, - "end_line": 307, - "start_column": 4, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Get the inventory quantity and name for the back order item", - "start_line": 321, - "end_line": 321, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " information.", - "start_line": 322, - "end_line": 322, - "start_column": 5, - "end_column": 19, - "is_javadoc": false - }, - { - "content": " Don't include backorders that have been completed.", - "start_line": 328, - "end_line": 328, - "start_column": 5, - "end_column": 57, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", - "start_line": 300, - "end_line": 304, + "content": "\r\n\t * Create a mail message and send it.\r\n\t *\r\n\t * @param customerInfo\r\n\t * Customer information.\r\n\t * @param orderKey\r\n\t * @throws MailerAppException\r\n\t ", + "start_line": 93, + "end_line": 100, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -40283,103 +46200,112 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void getBackOrders(HttpSession session)", + "thrown_exceptions": [ + "com.ibm.websphere.samples.pbw.bean.MailerAppException" + ], + "declaration": "public void createAndSendMail(Customer customerInfo, String orderKey) throws MailerAppException", "parameters": [ { - "type": "HttpSession", - "name": "session", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "name": "customerInfo", "annotations": [], "modifiers": [], - "start_line": 305, - "end_line": 305, - "start_column": 28, - "end_column": 46 + "start_line": 101, + "end_line": 101, + "start_column": 32, + "end_column": 52 + }, + { + "type": "java.lang.String", + "name": "orderKey", + "annotations": [], + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 55, + "end_column": 69 } ], - "code": "{\r\n\t\ttry {\r\n\t\t\t// Get the list of back order items.\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - Looking for BackOrders\");\r\n\t\t\tCollection backOrders = backOrderStock.findBackOrders();\r\n\t\t\tArrayList backOrderItems = new ArrayList();\r\n\t\t\tfor (BackOrder bo : backOrders) {\r\n\t\t\t\tBackOrderItem boi = new BackOrderItem(bo);\r\n\t\t\t\tbackOrderItems.add(boi);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - BackOrders found!\");\r\n\t\t\tIterator i = backOrderItems.iterator();\r\n\t\t\twhile (i.hasNext()) {\r\n\t\t\t\tBackOrderItem backOrderItem = (BackOrderItem) i.next();\r\n\t\t\t\tString backOrderID = backOrderItem.getBackOrderID();\r\n\t\t\t\tString inventoryID = backOrderItem.getInventory().getInventoryId();\r\n\t\t\t\t// Get the inventory quantity and name for the back order item\r\n\t\t\t\t// information.\r\n\t\t\t\tInventory item = catalog.getItemInventory(inventoryID);\r\n\t\t\t\tint quantity = item.getQuantity();\r\n\t\t\t\tbackOrderItem.setInventoryQuantity(quantity);\r\n\t\t\t\tString name = item.getName();\r\n\t\t\t\tbackOrderItem.setName(name);\r\n\t\t\t\t// Don't include backorders that have been completed.\r\n\t\t\t\tif (!(backOrderItem.getStatus().equals(Util.STATUS_ADDEDSTOCK))) {\r\n\t\t\t\t\tString invID = backOrderItem.getInventory().getInventoryId();\r\n\t\t\t\t\tString supplierOrderID = backOrderItem.getSupplierOrderID();\r\n\t\t\t\t\tString status = backOrderItem.getStatus();\r\n\t\t\t\t\tString lowDate = new Long(backOrderItem.getLowDate()).toString();\r\n\t\t\t\t\tString orderDate = new Long(backOrderItem.getOrderDate()).toString();\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - backOrderID = \" + backOrderID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - supplierOrderID = \" + supplierOrderID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - invID = \" + invID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - name = \" + name);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - quantity = \" + quantity);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - status = \" + status);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - lowDate = \" + lowDate);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - orderDate = \" + orderDate);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsession.setAttribute(\"backorderitems\", backOrderItems);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - RemoteException: \" + e);\r\n\t\t}\r\n\t}", - "start_line": 305, - "end_line": 350, - "code_start_line": 305, + "code": "{\r\n\t\ttry {\r\n\t\t\tEMailMessage eMessage = new EMailMessage(createSubjectLine(orderKey), createMessage(orderKey),\r\n\t\t\t\t\tcustomerInfo.getCustomerID());\r\n\r\n\t\t\tUtil.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \"\r\n\t\t\t\t\t+ eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\r\n\r\n\t\t\tUtil.debug(\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \"\r\n\t\t\t\t\t+ eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents());\r\n\r\n\t\t\tMimeMessage msg = new MimeMessage(mailSession);\r\n\t\t\tmsg.setFrom();\r\n\r\n\t\t\tmsg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(eMessage.getEmailReceiver(), false));\r\n\r\n\t\t\tmsg.setSubject(eMessage.getSubject());\r\n\t\t\tMimeBodyPart mbp = new MimeBodyPart();\r\n\t\t\tmbp.setText(eMessage.getHtmlContents(), \"us-ascii\");\r\n\t\t\tmsg.setHeader(\"X-Mailer\", \"JavaMailer\");\r\n\t\t\tMultipart mp = new MimeMultipart();\r\n\t\t\tmp.addBodyPart(mbp);\r\n\t\t\tmsg.setContent(mp);\r\n\t\t\tmsg.setSentDate(new Date());\r\n\r\n\t\t\tTransport.send(msg);\r\n\t\t\tUtil.debug(\"Mail sent successfully.\");\r\n\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t\tUtil.debug(\"Error sending mail. Have mail resources been configured correctly?\");\r\n\t\t\tUtil.debug(\"createAndSendMail exception : \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new MailerAppException(\"Failure while sending mail\");\r\n\t\t}\r\n\t}", + "start_line": 101, + "end_line": 136, + "code_start_line": 101, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.ArrayList", - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "java.lang.String", - "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "java.util.Iterator", - "java.util.Collection" + "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "javax.mail.internet.MimeBodyPart", + "javax.mail.Message.RecipientType", + "javax.mail.Multipart", + "javax.mail.internet.MimeMessage" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ADDEDSTOCK", - "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", - "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock" + "javax.mail.Message.RecipientType.TO", + "com.ibm.websphere.samples.pbw.bean.MailerBean.mailSession" ], "call_sites": [ { - "method_name": "debug", - "comment": { - "content": " Get the list of back order items.", - "start_line": 307, - "end_line": 307, - "start_column": 4, - "end_column": 39, - "is_javadoc": false - }, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "method_name": "createSubjectLine", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "orderKey" + ], + "return_type": "java.lang.String", + "callee_signature": "createSubjectLine(java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 308, - "start_column": 4, - "end_line": 308, - "end_column": 70 + "start_line": 103, + "start_column": 45, + "end_line": 103, + "end_column": 71 }, { - "method_name": "findBackOrders", + "method_name": "createMessage", "comment": null, - "receiver_expr": "backOrderStock", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [], - "return_type": "java.util.Collection", - "callee_signature": "findBackOrders()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "orderKey" + ], + "return_type": "java.lang.String", + "callee_signature": "createMessage(java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 309, - "start_column": 39, - "end_line": 309, - "end_column": 69 + "start_line": 103, + "start_column": 74, + "end_line": 103, + "end_column": 96 }, { - "method_name": "add", + "method_name": "getCustomerID", "comment": null, - "receiver_expr": "backOrderItems", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem" - ], - "return_type": "", - "callee_signature": "add(E)", + "receiver_expr": "customerInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCustomerID()", "is_public": true, "is_protected": false, "is_private": false, @@ -40388,10 +46314,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 313, - "start_column": 5, - "end_line": 313, - "end_column": 27 + "start_line": 104, + "start_column": 6, + "end_line": 104, + "end_column": 33 }, { "method_name": "debug", @@ -40401,6 +46327,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \" + eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents()" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -40411,19 +46340,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 315, + "start_line": 106, "start_column": 4, - "end_line": 315, - "end_column": 65 + "end_line": 107, + "end_column": 75 }, { - "method_name": "iterator", + "method_name": "getEmailReceiver", "comment": null, - "receiver_expr": "backOrderItems", - "receiver_type": "java.util.ArrayList", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getEmailReceiver()", "is_public": true, "is_protected": false, "is_private": false, @@ -40432,19 +46362,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 316, - "start_column": 32, - "end_line": 316, - "end_column": 56 + "start_line": 106, + "start_column": 46, + "end_line": 106, + "end_column": 72 }, { - "method_name": "hasNext", + "method_name": "getSubject", "comment": null, - "receiver_expr": "i", - "receiver_type": "java.util.Iterator", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSubject()", "is_public": true, "is_protected": false, "is_private": false, @@ -40453,19 +46384,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 11, - "end_line": 317, - "end_column": 21 + "start_line": 107, + "start_column": 8, + "end_line": 107, + "end_column": 28 }, { - "method_name": "next", + "method_name": "getHtmlContents", "comment": null, - "receiver_expr": "i", - "receiver_type": "java.util.Iterator", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "callee_signature": "next()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getHtmlContents()", "is_public": true, "is_protected": false, "is_private": false, @@ -40474,40 +46406,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, - "start_column": 51, - "end_line": 318, - "end_column": 58 + "start_line": 107, + "start_column": 49, + "end_line": 107, + "end_column": 74 }, { - "method_name": "getBackOrderID", + "method_name": "debug", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBackOrderID()", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Sending message\" + \"\\nTo: \" + eMessage.getEmailReceiver() + \"\\nSubject: \" + eMessage.getSubject() + \"\\nContents: \" + eMessage.getHtmlContents()" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 319, - "start_column": 26, - "end_line": 319, - "end_column": 55 + "start_line": 109, + "start_column": 4, + "end_line": 110, + "end_column": 75 }, { - "method_name": "getInventoryId", + "method_name": "getEmailReceiver", "comment": null, - "receiver_expr": "backOrderItem.getInventory()", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "getEmailReceiver()", "is_public": true, "is_protected": false, "is_private": false, @@ -40516,19 +46454,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, - "start_column": 26, - "end_line": 320, - "end_column": 70 + "start_line": 109, + "start_column": 46, + "end_line": 109, + "end_column": 72 }, { - "method_name": "getInventory", + "method_name": "getSubject", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInventory()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSubject()", "is_public": true, "is_protected": false, "is_private": false, @@ -40537,21 +46476,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 320, - "start_column": 26, - "end_line": 320, - "end_column": 53 + "start_line": 110, + "start_column": 8, + "end_line": 110, + "end_column": 28 }, { - "method_name": "getItemInventory", + "method_name": "getHtmlContents", "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getItemInventory(java.lang.String)", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getHtmlContents()", "is_public": true, "is_protected": false, "is_private": false, @@ -40560,19 +46498,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 323, - "start_column": 22, - "end_line": 323, - "end_column": 58 + "start_line": 110, + "start_column": 49, + "end_line": 110, + "end_column": 74 }, { - "method_name": "getQuantity", + "method_name": "setFrom", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "setFrom()", "is_public": true, "is_protected": false, "is_private": false, @@ -40581,65 +46520,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 324, - "start_column": 20, - "end_line": 324, - "end_column": 37 + "start_line": 113, + "start_column": 4, + "end_line": 113, + "end_column": 16 }, { - "method_name": "setInventoryQuantity", + "method_name": "setRecipients", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", "argument_types": [ + "javax.mail.Message.RecipientType", "" ], - "return_type": "", - "callee_signature": "setInventoryQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 325, - "start_column": 5, - "end_line": 325, - "end_column": 48 - }, - { - "method_name": "getName", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 326, - "start_column": 19, - "end_line": 326, - "end_column": 32 - }, - { - "method_name": "setName", - "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "Message.RecipientType.TO", + "InternetAddress.parse(eMessage.getEmailReceiver(), false)" ], "return_type": "", - "callee_signature": "setName(java.lang.String)", + "callee_signature": "setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])", "is_public": true, "is_protected": false, "is_private": false, @@ -40648,105 +46548,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 5, - "end_line": 327, - "end_column": 31 + "start_line": 115, + "start_column": 4, + "end_line": 115, + "end_column": 105 }, { - "method_name": "equals", + "method_name": "parse", "comment": null, - "receiver_expr": "backOrderItem.getStatus()", - "receiver_type": "java.lang.String", + "receiver_expr": "InternetAddress", + "receiver_type": "javax.mail.internet.InternetAddress", "argument_types": [ - "java.lang.String" + "java.lang.String", + "" + ], + "argument_expr": [ + "eMessage.getEmailReceiver()", + "false" ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 329, - "start_column": 11, - "end_line": 329, - "end_column": 66 - }, - { - "method_name": "getStatus", - "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getStatus()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 329, - "start_column": 11, - "end_line": 329, - "end_column": 35 - }, - { - "method_name": "getInventoryId", - "comment": null, - "receiver_expr": "backOrderItem.getInventory()", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 330, - "start_column": 21, - "end_line": 330, - "end_column": 65 - }, - { - "method_name": "getInventory", - "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInventory()", + "callee_signature": "parse(java.lang.String, boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, - "start_column": 21, - "end_line": 330, - "end_column": 48 + "start_line": 115, + "start_column": 48, + "end_line": 115, + "end_column": 104 }, { - "method_name": "getSupplierOrderID", + "method_name": "getEmailReceiver", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getSupplierOrderID()", + "callee_signature": "getEmailReceiver()", "is_public": true, "is_protected": false, "is_private": false, @@ -40755,19 +46598,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, - "start_column": 31, - "end_line": 331, - "end_column": 64 + "start_line": 115, + "start_column": 70, + "end_line": 115, + "end_column": 96 }, { - "method_name": "getStatus", + "method_name": "setSubject", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getStatus()", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "eMessage.getSubject()" + ], + "return_type": "", + "callee_signature": "setSubject(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -40776,19 +46624,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 332, - "start_column": 22, - "end_line": 332, - "end_column": 46 + "start_line": 117, + "start_column": 4, + "end_line": 117, + "end_column": 40 }, { - "method_name": "toString", + "method_name": "getSubject", "comment": null, - "receiver_expr": "new Long(backOrderItem.getLowDate())", - "receiver_type": "java.lang.Long", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "toString()", + "callee_signature": "getSubject()", "is_public": true, "is_protected": false, "is_private": false, @@ -40797,40 +46646,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 333, - "start_column": 23, - "end_line": 333, - "end_column": 69 + "start_line": 117, + "start_column": 19, + "end_line": 117, + "end_column": 39 }, { - "method_name": "getLowDate", + "method_name": "setText", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [], + "receiver_expr": "mbp", + "receiver_type": "javax.mail.internet.MimeBodyPart", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "eMessage.getHtmlContents()", + "\"us-ascii\"" + ], "return_type": "", - "callee_signature": "getLowDate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 333, - "start_column": 32, - "end_line": 333, - "end_column": 57 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new Long(backOrderItem.getOrderDate())", - "receiver_type": "java.lang.Long", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "callee_signature": "setText(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -40839,19 +46674,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, - "start_column": 25, - "end_line": 334, - "end_column": 73 + "start_line": 119, + "start_column": 4, + "end_line": 119, + "end_column": 54 }, { - "method_name": "getOrderDate", + "method_name": "getHtmlContents", "comment": null, - "receiver_expr": "backOrderItem", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "receiver_expr": "eMessage", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [], - "return_type": "", - "callee_signature": "getOrderDate()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getHtmlContents()", "is_public": true, "is_protected": false, "is_private": false, @@ -40860,113 +46696,130 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 334, - "start_column": 34, - "end_line": 334, - "end_column": 61 + "start_line": 119, + "start_column": 16, + "end_line": 119, + "end_column": 41 }, { - "method_name": "debug", + "method_name": "setHeader", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"X-Mailer\"", + "\"JavaMailer\"" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 335, - "start_column": 6, - "end_line": 335, - "end_column": 78 + "start_line": 120, + "start_column": 4, + "end_line": 120, + "end_column": 42 }, { - "method_name": "debug", + "method_name": "addBodyPart", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "mp", + "receiver_type": "javax.mail.Multipart", "argument_types": [ - "java.lang.String" + "javax.mail.internet.MimeBodyPart" + ], + "argument_expr": [ + "mbp" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "addBodyPart(javax.mail.BodyPart)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 336, - "start_column": 6, - "end_line": 336, - "end_column": 89 + "start_line": 122, + "start_column": 4, + "end_line": 122, + "end_column": 22 }, { - "method_name": "debug", + "method_name": "setContent", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", "argument_types": [ - "java.lang.String" + "javax.mail.Multipart" + ], + "argument_expr": [ + "mp" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setContent(javax.mail.Multipart)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 337, - "start_column": 6, - "end_line": 337, - "end_column": 69 + "start_line": 123, + "start_column": 4, + "end_line": 123, + "end_column": 21 }, { - "method_name": "debug", + "method_name": "setSentDate", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "msg", + "receiver_type": "javax.mail.internet.MimeMessage", "argument_types": [ - "java.lang.String" + "java.util.Date" + ], + "argument_expr": [ + "new Date()" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setSentDate(java.util.Date)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 338, - "start_column": 6, - "end_line": 338, - "end_column": 67 + "start_line": 124, + "start_column": 4, + "end_line": 124, + "end_column": 30 }, { - "method_name": "debug", + "method_name": "send", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "Transport", + "receiver_type": "javax.mail.Transport", "argument_types": [ - "java.lang.String" + "javax.mail.internet.MimeMessage" + ], + "argument_expr": [ + "msg" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "send(javax.mail.Message)", "is_public": true, "is_protected": false, "is_private": false, @@ -40975,10 +46828,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 339, - "start_column": 6, - "end_line": 339, - "end_column": 75 + "start_line": 126, + "start_column": 4, + "end_line": 126, + "end_column": 22 }, { "method_name": "debug", @@ -40988,6 +46841,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Mail sent successfully.\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -40998,10 +46854,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 340, - "start_column": 6, - "end_line": 340, - "end_column": 71 + "start_line": 127, + "start_column": 4, + "end_line": 127, + "end_column": 40 }, { "method_name": "debug", @@ -41011,6 +46867,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Error sending mail. Have mail resources been configured correctly?\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -41021,10 +46880,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 341, - "start_column": 6, - "end_line": 341, - "end_column": 73 + "start_line": 131, + "start_column": 4, + "end_line": 131, + "end_column": 83 }, { "method_name": "debug", @@ -41034,6 +46893,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"createAndSendMail exception : \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -41044,34 +46906,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 342, - "start_column": 6, - "end_line": 342, - "end_column": 77 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.util.ArrayList" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 345, + "start_line": 132, "start_column": 4, - "end_line": 345, - "end_column": 57 + "end_line": 132, + "end_column": 51 }, { "method_name": "printStackTrace", @@ -41079,6 +46917,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -41089,42 +46928,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 347, + "start_line": 133, "start_column": 4, - "end_line": 347, + "end_line": 133, "end_column": 22 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", "argument_types": [ + "java.lang.String", + "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "createSubjectLine(orderKey)", + "createMessage(orderKey)", + "customerInfo.getCustomerID()" + ], + "return_type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "callee_signature": "EMailMessage(java.lang.String, java.lang.String, java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 348, - "start_column": 4, - "end_line": 348, - "end_column": 69 + "start_line": 103, + "start_column": 28, + "end_line": 104, + "end_column": 34 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.util.ArrayList", + "receiver_type": "javax.mail.internet.MimeMessage", + "argument_types": [ + "javax.mail.Session" + ], + "argument_expr": [ + "mailSession" + ], + "return_type": "javax.mail.internet.MimeMessage", + "callee_signature": "MimeMessage(javax.mail.Session)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 22, + "end_line": 112, + "end_column": 49 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "javax.mail.internet.MimeBodyPart", "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", + "argument_expr": [], + "return_type": "javax.mail.internet.MimeBodyPart", + "callee_signature": "MimeBodyPart()", "is_public": false, "is_protected": false, "is_private": false, @@ -41133,21 +47006,20 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 310, - "start_column": 46, - "end_line": 310, - "end_column": 75 + "start_line": 118, + "start_column": 23, + "end_line": 118, + "end_column": 40 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "callee_signature": "BackOrderItem(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "receiver_type": "javax.mail.internet.MimeMultipart", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.mail.internet.MimeMultipart", + "callee_signature": "MimeMultipart()", "is_public": false, "is_protected": false, "is_private": false, @@ -41156,21 +47028,20 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 312, - "start_column": 25, - "end_line": 312, - "end_column": 45 + "start_line": 121, + "start_column": 19, + "end_line": 121, + "end_column": 37 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Long", - "argument_types": [ - "" - ], - "return_type": "java.lang.Long", - "callee_signature": "Long(long)", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", "is_public": false, "is_protected": false, "is_private": false, @@ -41179,21 +47050,24 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 333, - "start_column": 23, - "end_line": 333, - "end_column": 58 + "start_line": 124, + "start_column": 20, + "end_line": 124, + "end_column": 29 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Long", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "java.lang.Long", - "callee_signature": "Long(long)", + "argument_expr": [ + "\"Failure while sending mail\"" + ], + "return_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", + "callee_signature": "MailerAppException(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -41202,10 +47076,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 334, - "start_column": 25, - "end_line": 334, - "end_column": 62 + "start_line": 134, + "start_column": 10, + "end_line": 134, + "end_column": 61 } ], "variable_declarations": [ @@ -41218,217 +47092,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrders", - "type": "java.util.Collection", - "initializer": "backOrderStock.findBackOrders()", - "start_line": 309, - "start_column": 26, - "end_line": 309, - "end_column": 69 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderItems", - "type": "java.util.ArrayList", - "initializer": "new ArrayList()", - "start_line": 310, - "start_column": 29, - "end_line": 310, - "end_column": 75 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "bo", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "", - "start_line": 311, - "start_column": 19, - "end_line": 311, - "end_column": 20 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "boi", - "type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "initializer": "new BackOrderItem(bo)", - "start_line": 312, - "start_column": 19, - "end_line": 312, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "java.util.Iterator", - "initializer": "backOrderItems.iterator()", - "start_line": 316, - "start_column": 28, - "end_line": 316, - "end_column": 56 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderItem", - "type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", - "initializer": "(BackOrderItem) i.next()", - "start_line": 318, - "start_column": 19, - "end_line": 318, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrderID", - "type": "java.lang.String", - "initializer": "backOrderItem.getBackOrderID()", - "start_line": 319, - "start_column": 12, - "end_line": 319, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inventoryID", - "type": "java.lang.String", - "initializer": "backOrderItem.getInventory().getInventoryId()", - "start_line": 320, - "start_column": 12, - "end_line": 320, - "end_column": 70 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "item", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "catalog.getItemInventory(inventoryID)", - "start_line": 323, - "start_column": 15, - "end_line": 323, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "int", - "initializer": "item.getQuantity()", - "start_line": 324, - "start_column": 9, - "end_line": 324, - "end_column": 37 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "name", - "type": "java.lang.String", - "initializer": "item.getName()", - "start_line": 326, - "start_column": 12, - "end_line": 326, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "invID", - "type": "java.lang.String", - "initializer": "backOrderItem.getInventory().getInventoryId()", - "start_line": 330, - "start_column": 13, - "end_line": 330, - "end_column": 65 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "supplierOrderID", - "type": "java.lang.String", - "initializer": "backOrderItem.getSupplierOrderID()", - "start_line": 331, - "start_column": 13, - "end_line": 331, - "end_column": 64 + "name": "eMessage", + "type": "com.ibm.websphere.samples.pbw.bean.EMailMessage", + "initializer": "new EMailMessage(createSubjectLine(orderKey), createMessage(orderKey), customerInfo.getCustomerID())", + "start_line": 103, + "start_column": 17, + "end_line": 104, + "end_column": 34 }, { "comment": { @@ -41439,13 +47109,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "status", - "type": "java.lang.String", - "initializer": "backOrderItem.getStatus()", - "start_line": 332, - "start_column": 13, - "end_line": 332, - "end_column": 46 + "name": "msg", + "type": "javax.mail.internet.MimeMessage", + "initializer": "new MimeMessage(mailSession)", + "start_line": 112, + "start_column": 16, + "end_line": 112, + "end_column": 49 }, { "comment": { @@ -41456,13 +47126,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "lowDate", - "type": "java.lang.String", - "initializer": "new Long(backOrderItem.getLowDate()).toString()", - "start_line": 333, - "start_column": 13, - "end_line": 333, - "end_column": 69 + "name": "mbp", + "type": "javax.mail.internet.MimeBodyPart", + "initializer": "new MimeBodyPart()", + "start_line": 118, + "start_column": 17, + "end_line": 118, + "end_column": 40 }, { "comment": { @@ -41473,35 +47143,35 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderDate", - "type": "java.lang.String", - "initializer": "new Long(backOrderItem.getOrderDate()).toString()", - "start_line": 334, - "start_column": 13, - "end_line": 334, - "end_column": 73 + "name": "mp", + "type": "javax.mail.Multipart", + "initializer": "new MimeMultipart()", + "start_line": 121, + "start_column": 14, + "end_line": 121, + "end_column": 37 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 2, "is_entrypoint": false } }, "field_declarations": [ { "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 51, - "end_line": 53, - "start_column": 2, - "end_column": 4, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, "name": null, "type": "long", - "start_line": 54, - "end_line": 54, + "start_line": 50, + "end_line": 50, "variables": [ "serialVersionUID" ], @@ -41514,94 +47184,23 @@ }, { "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", - "start_line": 55, - "end_line": 56, - "variables": [ - "suppliers" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", - "start_line": 57, - "end_line": 58, - "variables": [ - "login" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "start_line": 59, - "end_line": 60, - "variables": [ - "backOrderStock" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Inject" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, + "content": " public static final String MAIL_SESSION = \"java:comp/env/mail/PlantsByWebSphere\";", + "start_line": 51, + "end_line": 51, + "start_column": 2, + "end_column": 85, "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "start_line": 62, - "end_line": 63, + "type": "javax.mail.Session", + "start_line": 52, + "end_line": 53, "variables": [ - "catalog" - ], - "modifiers": [ - "private" + "mailSession" ], + "modifiers": [], "annotations": [ - "@Inject" + "@Resource(name = \"mail/PlantsByWebSphere\")" ] }, { @@ -41614,30 +47213,28 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "start_line": 65, - "end_line": 66, + "type": "javax.persistence.EntityManager", + "start_line": 55, + "end_line": 57, "variables": [ - "resetDB" - ], - "modifiers": [ - "private" + "em" ], + "modifiers": [], "annotations": [ - "@Inject" + "@PersistenceContext(unitName = \"PBW\")" ] } ], "enum_constants": [], "record_components": [], "initialization_blocks": [], - "is_entrypoint_class": true + "is_entrypoint_class": false } }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { @@ -41729,452 +47326,92 @@ "is_javadoc": false }, { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * A class to hold an order's data.\r\n ", - "start_line": 28, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", - "start_line": 85, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 112, - "end_line": 116, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the shipping method name.\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set the shipping method by name\r\n\t ", - "start_line": 143, - "end_line": 145, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", - "start_line": 154, - "end_line": 158, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the orderID\r\n\t ", - "start_line": 174, - "end_line": 176, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", - "start_line": 181, - "end_line": 184, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billName\r\n\t ", - "start_line": 189, - "end_line": 191, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", - "start_line": 196, - "end_line": 199, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billAddr1\r\n\t ", - "start_line": 204, - "end_line": 206, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", - "start_line": 211, - "end_line": 214, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billAddr2\r\n\t ", - "start_line": 219, - "end_line": 221, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", - "start_line": 226, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billCity\r\n\t ", - "start_line": 234, - "end_line": 236, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", - "start_line": 241, - "end_line": 244, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billState\r\n\t ", - "start_line": 249, - "end_line": 251, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", - "start_line": 256, - "end_line": 259, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billZip\r\n\t ", - "start_line": 264, - "end_line": 266, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", - "start_line": 271, - "end_line": 274, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billPhone\r\n\t ", - "start_line": 279, - "end_line": 281, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipName\r\n\t ", - "start_line": 294, - "end_line": 296, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", - "start_line": 301, - "end_line": 304, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipAddr1\r\n\t ", - "start_line": 309, - "end_line": 311, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", - "start_line": 316, - "end_line": 319, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipAddr2\r\n\t ", - "start_line": 324, - "end_line": 326, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", - "start_line": 331, - "end_line": 334, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipCity\r\n\t ", - "start_line": 339, - "end_line": 341, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", - "start_line": 346, - "end_line": 349, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipState\r\n\t ", - "start_line": 354, - "end_line": 356, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", - "start_line": 361, - "end_line": 364, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipZip\r\n\t ", - "start_line": 369, - "end_line": 371, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", - "start_line": 376, - "end_line": 379, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipPhone\r\n\t ", - "start_line": 384, - "end_line": 386, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", - "start_line": 391, - "end_line": 394, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shippingMethod\r\n\t ", - "start_line": 399, - "end_line": 401, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", - "start_line": 406, - "end_line": 409, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardholderName\r\n\t ", - "start_line": 414, - "end_line": 416, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", - "start_line": 421, - "end_line": 424, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardName\r\n\t ", - "start_line": 429, - "end_line": 431, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", - "start_line": 436, - "end_line": 439, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardNum\r\n\t ", - "start_line": 444, - "end_line": 446, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", - "start_line": 451, - "end_line": 454, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false }, { - "content": "\r\n\t * @return the cardExpMonth\r\n\t ", - "start_line": 459, - "end_line": 461, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", - "start_line": 466, - "end_line": 469, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false }, { - "content": "\r\n\t * @return the cardExpYear\r\n\t ", - "start_line": 474, - "end_line": 476, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Provides a combination of JSF action and backing bean support for the account web page.\r\n *\r\n ", + "start_line": 34, + "end_line": 37, + "start_column": 1, + "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", - "start_line": 481, - "end_line": 484, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " persist the order", + "start_line": 117, + "end_line": 117, + "start_column": 3, + "end_column": 22, + "is_javadoc": false }, { - "content": "\r\n\t * @return the cardExpYears\r\n\t ", - "start_line": 489, - "end_line": 491, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", + "start_line": 135, + "end_line": 141, + "start_column": 3, + "end_column": 5, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", - "start_line": 496, - "end_line": 499, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " shoppingCart.setCartContents (new ShoppingCartContents());", + "start_line": 154, + "end_line": 154, + "start_column": 3, + "end_column": 63, + "is_javadoc": false }, { - "content": "\r\n\t * @return the shipisbill\r\n\t ", - "start_line": 504, - "end_line": 506, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Attempt to log in the user.", + "start_line": 174, + "end_line": 174, + "start_column": 3, + "end_column": 32, + "is_javadoc": false }, { - "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", - "start_line": 511, - "end_line": 514, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Otherwise, no error, so continue to the correct page.", + "start_line": 186, + "end_line": 186, + "start_column": 3, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Error, so go back to the login page.", + "start_line": 179, + "end_line": 179, + "start_column": 4, + "end_column": 42, + "is_javadoc": false }, { "content": "", @@ -42186,15 +47423,21 @@ } ], "imports": [ - "java.util.Calendar", - "javax.validation.constraints.NotNull", - "javax.validation.constraints.Pattern", - "javax.validation.constraints.Size", - "com.ibm.websphere.samples.pbw.jpa.Order", + "java.io.Serializable", + "javax.enterprise.context.SessionScoped", + "javax.faces.application.Application", + "javax.faces.context.FacesContext", + "javax.inject.Inject", + "javax.inject.Named", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "com.ibm.websphere.samples.pbw.bean.MailerAppException", + "com.ibm.websphere.samples.pbw.bean.MailerBean", + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "com.ibm.websphere.samples.pbw.jpa.Customer", "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.war.OrderInfo": { + "com.ibm.websphere.samples.pbw.war.AccountBean": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -42206,462 +47449,1769 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", - "start_line": 85, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 112, - "end_line": 116, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the shipping method name.\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set the shipping method by name\r\n\t ", - "start_line": 143, - "end_line": 145, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", - "start_line": 154, - "end_line": 158, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the orderID\r\n\t ", - "start_line": 174, - "end_line": 176, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", - "start_line": 181, - "end_line": 184, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billName\r\n\t ", - "start_line": 189, - "end_line": 191, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", - "start_line": 196, - "end_line": 199, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billAddr1\r\n\t ", - "start_line": 204, - "end_line": 206, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", - "start_line": 211, - "end_line": 214, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billAddr2\r\n\t ", - "start_line": 219, - "end_line": 221, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", - "start_line": 226, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billCity\r\n\t ", - "start_line": 234, - "end_line": 236, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", - "start_line": 241, - "end_line": 244, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billState\r\n\t ", - "start_line": 249, - "end_line": 251, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", - "start_line": 256, - "end_line": 259, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billZip\r\n\t ", - "start_line": 264, - "end_line": 266, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", - "start_line": 271, - "end_line": 274, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the billPhone\r\n\t ", - "start_line": 279, - "end_line": 281, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipName\r\n\t ", - "start_line": 294, - "end_line": 296, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", - "start_line": 301, - "end_line": 304, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipAddr1\r\n\t ", - "start_line": 309, - "end_line": 311, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", - "start_line": 316, - "end_line": 319, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipAddr2\r\n\t ", - "start_line": 324, - "end_line": 326, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", - "start_line": 331, - "end_line": 334, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipCity\r\n\t ", - "start_line": 339, - "end_line": 341, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", - "start_line": 346, - "end_line": 349, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipState\r\n\t ", - "start_line": 354, - "end_line": 356, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", - "start_line": 361, - "end_line": 364, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipZip\r\n\t ", - "start_line": 369, - "end_line": 371, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", - "start_line": 376, - "end_line": 379, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shipPhone\r\n\t ", - "start_line": 384, - "end_line": 386, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", - "start_line": 391, - "end_line": 394, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the shippingMethod\r\n\t ", - "start_line": 399, - "end_line": 401, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", - "start_line": 406, - "end_line": 409, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardholderName\r\n\t ", - "start_line": 414, - "end_line": 416, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", - "start_line": 421, - "end_line": 424, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardName\r\n\t ", - "start_line": 429, - "end_line": 431, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", - "start_line": 436, - "end_line": 439, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardNum\r\n\t ", - "start_line": 444, - "end_line": 446, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", - "start_line": 451, - "end_line": 454, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return the cardExpMonth\r\n\t ", - "start_line": 459, - "end_line": 461, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " persist the order", + "start_line": 117, + "end_line": 117, + "start_column": 3, + "end_column": 22, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", - "start_line": 466, - "end_line": 469, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", + "start_line": 135, + "end_line": 141, + "start_column": 3, + "end_column": 5, + "is_javadoc": false }, { - "content": "\r\n\t * @return the cardExpYear\r\n\t ", - "start_line": 474, - "end_line": 476, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " shoppingCart.setCartContents (new ShoppingCartContents());", + "start_line": 154, + "end_line": 154, + "start_column": 3, + "end_column": 63, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", - "start_line": 481, - "end_line": 484, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Attempt to log in the user.", + "start_line": 174, + "end_line": 174, + "start_column": 3, + "end_column": 32, + "is_javadoc": false }, { - "content": "\r\n\t * @return the cardExpYears\r\n\t ", - "start_line": 489, - "end_line": 491, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Otherwise, no error, so continue to the correct page.", + "start_line": 186, + "end_line": 186, + "start_column": 3, + "end_column": 58, + "is_javadoc": false }, { - "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", - "start_line": 496, - "end_line": 499, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Error, so go back to the login page.", + "start_line": 179, + "end_line": 179, + "start_column": 4, + "end_column": 42, + "is_javadoc": false }, { - "content": "\r\n\t * @return the shipisbill\r\n\t ", - "start_line": 504, - "end_line": 506, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Provides a combination of JSF action and backing bean support for the account web page.\r\n *\r\n ", + "start_line": 34, + "end_line": 37, + "start_column": 1, + "end_column": 3, "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(value = \"account\")", + "@SessionScoped" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "performAccount()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performAccount()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String performAccount()", + "parameters": [], + "code": "{\r\n\t\tif (customer == null || loginInfo == null) {\r\n\t\t\tcheckingOut = false;\r\n\t\t\tloginInfo = new LoginInfo();\r\n\t\t\tregister = false;\r\n\t\t\tupdating = true;\r\n\r\n\t\t\tloginInfo.setMessage(\"You must log in first.\");\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\treturn AccountBean.ACTION_ACCOUNT;\r\n\t\t}\r\n\t}", + "start_line": 67, + "end_line": 82, + "code_start_line": 67, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ACCOUNT", + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.register", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", + "com.ibm.websphere.samples.pbw.war.AccountBean.updating", + "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + ], + "call_sites": [ + { + "method_name": "setMessage", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"You must log in first.\"" + ], + "return_type": "", + "callee_signature": "setMessage(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 4, + "end_line": 74, + "end_column": 49 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "callee_signature": "LoginInfo()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 16, + "end_line": 70, + "end_column": 30 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false }, - { - "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", - "start_line": 511, - "end_line": 514, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "performLoginComplete()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performLoginComplete()", + "comments": [ + { + "content": " Attempt to log in the user.", + "start_line": 174, + "end_line": 174, + "start_column": 3, + "end_column": 32, + "is_javadoc": false + }, + { + "content": " Otherwise, no error, so continue to the correct page.", + "start_line": 186, + "end_line": 186, + "start_column": 3, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Error, so go back to the login page.", + "start_line": 179, + "end_line": 179, + "start_column": 4, + "end_column": 42, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String performLoginComplete()", + "parameters": [], + "code": "{\r\n\t\tString message;\r\n\r\n\t\t// Attempt to log in the user.\r\n\r\n\t\tmessage = login.verifyUserAndPassword(loginInfo.getEmail(), loginInfo.getPassword());\r\n\r\n\t\tif (message != null) {\r\n\t\t\t// Error, so go back to the login page.\r\n\r\n\t\t\tloginInfo.setMessage(message);\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\t// Otherwise, no error, so continue to the correct page.\r\n\r\n\t\tcustomer = login.getCustomer(loginInfo.getEmail());\r\n\r\n\t\tif (isCheckingOut()) {\r\n\t\t\treturn performOrderInfo();\r\n\t\t}\r\n\r\n\t\tif (isUpdating()) {\r\n\t\t\treturn performAccount();\r\n\t\t}\r\n\r\n\t\treturn AccountBean.ACTION_PROMO;\r\n\t}", + "start_line": 171, + "end_line": 199, + "code_start_line": 171, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_PROMO", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", + "com.ibm.websphere.samples.pbw.war.AccountBean.login" + ], + "call_sites": [ + { + "method_name": "verifyUserAndPassword", + "comment": null, + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "loginInfo.getEmail()", + "loginInfo.getPassword()" + ], + "return_type": "java.lang.String", + "callee_signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 176, + "start_column": 13, + "end_line": 176, + "end_column": 86 + }, + { + "method_name": "getEmail", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getEmail()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 176, + "start_column": 41, + "end_line": 176, + "end_column": 60 + }, + { + "method_name": "getPassword", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPassword()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 176, + "start_column": 63, + "end_line": 176, + "end_column": 85 + }, + { + "method_name": "setMessage", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "message" + ], + "return_type": "", + "callee_signature": "setMessage(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 4, + "end_line": 181, + "end_column": 32 + }, + { + "method_name": "getCustomer", + "comment": null, + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "loginInfo.getEmail()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "getCustomer(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 188, + "start_column": 14, + "end_line": 188, + "end_column": 52 + }, + { + "method_name": "getEmail", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getEmail()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 188, + "start_column": 32, + "end_line": 188, + "end_column": 51 + }, + { + "method_name": "isCheckingOut", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "isCheckingOut()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 190, + "start_column": 7, + "end_line": 190, + "end_column": 21 + }, + { + "method_name": "performOrderInfo", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "performOrderInfo()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 191, + "start_column": 11, + "end_line": 191, + "end_column": 28 + }, + { + "method_name": "isUpdating", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "isUpdating()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 194, + "start_column": 7, + "end_line": 194, + "end_column": 18 + }, + { + "method_name": "performAccount", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "performAccount()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 195, + "start_column": 11, + "end_line": 195, + "end_column": 26 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "message", + "type": "java.lang.String", + "initializer": "", + "start_line": 172, + "start_column": 10, + "end_line": 172, + "end_column": 16 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "performCheckoutFinal()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performCheckoutFinal()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String performCheckoutFinal()", + "parameters": [], + "code": "{\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tApplication app = context.getApplication();\r\n\t\tShoppingBean shopping = (ShoppingBean) app.createValueBinding(\"#{shopping}\").getValue(context);\r\n\r\n\t\tshopping.setShippingCost(Util.getShippingMethodPrice(orderInfo.getShippingMethod()));\r\n\r\n\t\treturn AccountBean.ACTION_CHECKOUT_FINAL;\r\n\t}", + "start_line": 102, + "end_line": 110, + "code_start_line": 102, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.faces.application.Application", + "javax.faces.context.FacesContext", + "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_CHECKOUT_FINAL" + ], + "call_sites": [ + { + "method_name": "getCurrentInstance", + "comment": null, + "receiver_expr": "FacesContext", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.context.FacesContext", + "callee_signature": "getCurrentInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 26, + "end_line": 103, + "end_column": 58 + }, + { + "method_name": "getApplication", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.application.Application", + "callee_signature": "getApplication()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 104, + "start_column": 21, + "end_line": 104, + "end_column": 44 + }, + { + "method_name": "getValue", + "comment": null, + "receiver_expr": "app.createValueBinding(\"#{shopping}\")", + "receiver_type": "javax.faces.el.ValueBinding", + "argument_types": [ + "javax.faces.context.FacesContext" + ], + "argument_expr": [ + "context" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "callee_signature": "getValue(javax.faces.context.FacesContext)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 42, + "end_line": 105, + "end_column": 96 + }, + { + "method_name": "createValueBinding", + "comment": null, + "receiver_expr": "app", + "receiver_type": "javax.faces.application.Application", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"#{shopping}\"" + ], + "return_type": "javax.faces.el.ValueBinding", + "callee_signature": "createValueBinding(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 42, + "end_line": 105, + "end_column": 78 + }, + { + "method_name": "setShippingCost", + "comment": null, + "receiver_expr": "shopping", + "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "argument_types": [ + "" + ], + "argument_expr": [ + "Util.getShippingMethodPrice(orderInfo.getShippingMethod())" + ], + "return_type": "", + "callee_signature": "setShippingCost(float)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 3, + "end_line": 107, + "end_column": 86 + }, + { + "method_name": "getShippingMethodPrice", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "" + ], + "argument_expr": [ + "orderInfo.getShippingMethod()" + ], + "return_type": "", + "callee_signature": "getShippingMethodPrice(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 28, + "end_line": 107, + "end_column": 85 + }, + { + "method_name": "getShippingMethod", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethod()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 56, + "end_line": 107, + "end_column": 84 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "context", + "type": "javax.faces.context.FacesContext", + "initializer": "FacesContext.getCurrentInstance()", + "start_line": 103, + "start_column": 16, + "end_line": 103, + "end_column": 58 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "app", + "type": "javax.faces.application.Application", + "initializer": "context.getApplication()", + "start_line": 104, + "start_column": 15, + "end_line": 104, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shopping", + "type": "com.ibm.websphere.samples.pbw.war.ShoppingBean", + "initializer": "(ShoppingBean) app.createValueBinding(\"#{shopping}\").getValue(context)", + "start_line": 105, + "start_column": 16, + "end_line": 105, + "end_column": 96 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * A class to hold an order's data.\r\n ", - "start_line": 28, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getShipAddr1()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipAddr1()", + "performCompleteCheckout()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performCompleteCheckout()", "comments": [ { - "content": "\r\n\t * @return the shipAddr1\r\n\t ", - "start_line": 309, - "end_line": 311, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " persist the order", + "start_line": 117, + "end_line": 117, + "start_column": 3, + "end_column": 22, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t ", + "start_line": 135, + "end_line": 141, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + { + "content": " shoppingCart.setCartContents (new ShoppingCartContents());", + "start_line": 154, + "end_line": 154, + "start_column": 3, + "end_column": 63, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String performCompleteCheckout()", + "parameters": [], + "code": "{\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tApplication app = context.getApplication();\r\n\t\tapp.createValueBinding(\"#{shopping}\").getValue(context);\r\n\r\n\t\t// persist the order\r\n\t\tOrderInfo oi = new OrderInfo(shoppingCart\r\n\t\t\t\t.createOrder(customer.getCustomerID(), orderInfo.getBillName(), orderInfo.getBillAddr1(), orderInfo\r\n\t\t\t\t\t\t.getBillAddr2(), orderInfo.getBillCity(), orderInfo.getBillState(), orderInfo\r\n\t\t\t\t\t\t\t\t.getBillZip(), orderInfo.getBillPhone(), orderInfo.getShipName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t.getShipAddr1(), orderInfo.getShipAddr2(), orderInfo.getShipCity(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t.getShipState(), orderInfo.getShipZip(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getShipPhone(), orderInfo.getCardName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardNum(), orderInfo.getCardExpMonth(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardExpYear(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCardholderName(), orderInfo\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getShippingMethod(), shoppingCart\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getItems()));\r\n\r\n\t\tlastOrderNum = oi.getID();\r\n\r\n\t\tUtil.debug(\"Account.performCompleteCheckout: order id =\" + orderInfo);\r\n\r\n\t\t/*\r\n\t\t * // Check the available inventory and backorder if necessary. if (shoppingCart != null) {\r\n\t\t * Inventory si; Collection items = shoppingCart.getItems(); for (Object o :\r\n\t\t * items) { si = (Inventory) o; shoppingCart.checkInventory(si); Util.debug(\r\n\t\t * \"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()); }\r\n\t\t * }\r\n\t\t */\r\n\t\ttry {\r\n\t\t\tmailer.createAndSendMail(customer, oi.getID());\r\n\t\t} catch (MailerAppException e) {\r\n\t\t\tSystem.out.println(\"MailerAppException:\" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Exception during create and send mail :\" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\torderInfo = null;\r\n\r\n\t\t// shoppingCart.setCartContents (new ShoppingCartContents());\r\n\t\tshoppingCart.removeAllItems();\r\n\r\n\t\treturn AccountBean.ACTION_ORDERDONE;\r\n\t}", + "start_line": 112, + "end_line": 158, + "code_start_line": 112, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.io.PrintStream", + "javax.faces.application.Application", + "javax.faces.context.FacesContext", + "java.lang.String", + "com.ibm.websphere.samples.pbw.war.OrderInfo" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ORDERDONE", + "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.lastOrderNum", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer", + "com.ibm.websphere.samples.pbw.war.AccountBean.mailer", + "com.ibm.websphere.samples.pbw.war.AccountBean.shoppingCart", + "java.lang.System.out" + ], + "call_sites": [ + { + "method_name": "getCurrentInstance", + "comment": null, + "receiver_expr": "FacesContext", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.context.FacesContext", + "callee_signature": "getCurrentInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 26, + "end_line": 113, + "end_column": 58 + }, + { + "method_name": "getApplication", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.application.Application", + "callee_signature": "getApplication()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 21, + "end_line": 114, + "end_column": 44 + }, + { + "method_name": "getValue", + "comment": null, + "receiver_expr": "app.createValueBinding(\"#{shopping}\")", + "receiver_type": "javax.faces.el.ValueBinding", + "argument_types": [ + "javax.faces.context.FacesContext" + ], + "argument_expr": [ + "context" + ], + "return_type": "java.lang.Object", + "callee_signature": "getValue(javax.faces.context.FacesContext)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 3, + "end_line": 115, + "end_column": 57 + }, + { + "method_name": "createValueBinding", + "comment": null, + "receiver_expr": "app", + "receiver_type": "javax.faces.application.Application", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"#{shopping}\"" + ], + "return_type": "javax.faces.el.ValueBinding", + "callee_signature": "createValueBinding(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 3, + "end_line": 115, + "end_column": 39 + }, + { + "method_name": "createOrder", + "comment": null, + "receiver_expr": "shoppingCart", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "java.util.ArrayList" + ], + "argument_expr": [ + "customer.getCustomerID()", + "orderInfo.getBillName()", + "orderInfo.getBillAddr1()", + "orderInfo.getBillAddr2()", + "orderInfo.getBillCity()", + "orderInfo.getBillState()", + "orderInfo.getBillZip()", + "orderInfo.getBillPhone()", + "orderInfo.getShipName()", + "orderInfo.getShipAddr1()", + "orderInfo.getShipAddr2()", + "orderInfo.getShipCity()", + "orderInfo.getShipState()", + "orderInfo.getShipZip()", + "orderInfo.getShipPhone()", + "orderInfo.getCardName()", + "orderInfo.getCardNum()", + "orderInfo.getCardExpMonth()", + "orderInfo.getCardExpYear()", + "orderInfo.getCardholderName()", + "orderInfo.getShippingMethod()", + "shoppingCart.getItems()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "callee_signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 32, + "end_line": 129, + "end_column": 36 + }, + { + "method_name": "getCustomerID", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCustomerID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 18, + "end_line": 119, + "end_column": 41 + }, + { + "method_name": "getBillName", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 44, + "end_line": 119, + "end_column": 66 + }, + { + "method_name": "getBillAddr1", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillAddr1()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 69, + "end_line": 119, + "end_column": 92 + }, + { + "method_name": "getBillAddr2", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillAddr2()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 95, + "end_line": 120, + "end_column": 21 + }, + { + "method_name": "getBillCity", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillCity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 24, + "end_line": 120, + "end_column": 46 + }, + { + "method_name": "getBillState", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 49, + "end_line": 120, + "end_column": 72 + }, + { + "method_name": "getBillZip", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillZip()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 75, + "end_line": 121, + "end_column": 21 + }, + { + "method_name": "getBillPhone", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 24, + "end_line": 121, + "end_column": 47 + }, + { + "method_name": "getShipName", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 50, + "end_line": 121, + "end_column": 72 + }, + { + "method_name": "getShipAddr1", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr1()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 75, + "end_line": 122, + "end_column": 25 + }, + { + "method_name": "getShipAddr2", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr2()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 28, + "end_line": 122, + "end_column": 51 + }, + { + "method_name": "getShipCity", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipCity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 54, + "end_line": 122, + "end_column": 76 + }, + { + "method_name": "getShipState", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 79, + "end_line": 123, + "end_column": 27 + }, + { + "method_name": "getShipZip", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipZip()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 30, + "end_line": 123, + "end_column": 51 + }, + { + "method_name": "getShipPhone", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 54, + "end_line": 124, + "end_column": 29 + }, + { + "method_name": "getCardName", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCardName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 32, + "end_line": 124, + "end_column": 54 + }, + { + "method_name": "getCardNum", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCardNum()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 57, + "end_line": 125, + "end_column": 29 + }, + { + "method_name": "getCardExpMonth", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCardExpMonth()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 32, + "end_line": 125, + "end_column": 58 + }, + { + "method_name": "getCardExpYear", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCardExpYear()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 61, + "end_line": 126, + "end_column": 35 + }, + { + "method_name": "getCardholderName", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCardholderName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 38, + "end_line": 127, + "end_column": 40 + }, + { + "method_name": "getShippingMethod", + "comment": null, + "receiver_expr": "orderInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethod()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 43, + "end_line": 128, + "end_column": 42 + }, + { + "method_name": "getItems", + "comment": null, + "receiver_expr": "shoppingCart", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "getItems()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 45, + "end_line": 129, + "end_column": 35 + }, + { + "method_name": "getID", + "comment": null, + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 18, + "end_line": 131, + "end_column": 27 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Account.performCompleteCheckout: order id =\" + orderInfo" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 3, + "end_line": 133, + "end_column": 71 + }, + { + "method_name": "createAndSendMail", + "comment": null, + "receiver_expr": "mailer", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer", + "java.lang.String" + ], + "argument_expr": [ + "customer", + "oi.getID()" + ], + "return_type": "", + "callee_signature": "createAndSendMail(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 4, + "end_line": 143, + "end_column": 49 + }, + { + "method_name": "getID", + "comment": null, + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 39, + "end_line": 143, + "end_column": 48 + }, + { + "method_name": "println", + "comment": null, + "receiver_expr": "System.out", + "receiver_type": "java.io.PrintStream", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"MailerAppException:\" + e" + ], + "return_type": "", + "callee_signature": "println(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 145, + "start_column": 4, + "end_line": 145, + "end_column": 48 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.MailerAppException", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 146, + "start_column": 4, + "end_line": 146, + "end_column": 22 + }, + { + "method_name": "println", + "comment": null, + "receiver_expr": "System.out", + "receiver_type": "java.io.PrintStream", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Exception during create and send mail :\" + e" + ], + "return_type": "", + "callee_signature": "println(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 148, + "start_column": 4, + "end_line": 148, + "end_column": 68 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 149, + "start_column": 4, + "end_line": 149, + "end_column": 22 + }, + { + "method_name": "removeAllItems", + "comment": { + "content": " shoppingCart.setCartContents (new ShoppingCartContents());", + "start_line": 154, + "end_line": 154, + "start_column": 3, + "end_column": 63, + "is_javadoc": false + }, + "receiver_expr": "shoppingCart", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "removeAllItems()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 155, + "start_column": 3, + "end_line": 155, + "end_column": 31 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "argument_expr": [ + "shoppingCart.createOrder(customer.getCustomerID(), orderInfo.getBillName(), orderInfo.getBillAddr1(), orderInfo.getBillAddr2(), orderInfo.getBillCity(), orderInfo.getBillState(), orderInfo.getBillZip(), orderInfo.getBillPhone(), orderInfo.getShipName(), orderInfo.getShipAddr1(), orderInfo.getShipAddr2(), orderInfo.getShipCity(), orderInfo.getShipState(), orderInfo.getShipZip(), orderInfo.getShipPhone(), orderInfo.getCardName(), orderInfo.getCardNum(), orderInfo.getCardExpMonth(), orderInfo.getCardExpYear(), orderInfo.getCardholderName(), orderInfo.getShippingMethod(), shoppingCart.getItems())" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "callee_signature": "OrderInfo(com.ibm.websphere.samples.pbw.jpa.Order)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 18, + "end_line": 129, + "end_column": 37 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "context", + "type": "javax.faces.context.FacesContext", + "initializer": "FacesContext.getCurrentInstance()", + "start_line": 113, + "start_column": 16, + "end_line": 113, + "end_column": 58 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "app", + "type": "javax.faces.application.Application", + "initializer": "context.getApplication()", + "start_line": 114, + "start_column": 15, + "end_line": 114, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "oi", + "type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "initializer": "new OrderInfo(shoppingCart.createOrder(customer.getCustomerID(), orderInfo.getBillName(), orderInfo.getBillAddr1(), orderInfo.getBillAddr2(), orderInfo.getBillCity(), orderInfo.getBillState(), orderInfo.getBillZip(), orderInfo.getBillPhone(), orderInfo.getShipName(), orderInfo.getShipAddr1(), orderInfo.getShipAddr2(), orderInfo.getShipCity(), orderInfo.getShipState(), orderInfo.getShipZip(), orderInfo.getShipPhone(), orderInfo.getCardName(), orderInfo.getCardNum(), orderInfo.getCardExpMonth(), orderInfo.getCardExpYear(), orderInfo.getCardholderName(), orderInfo.getShippingMethod(), shoppingCart.getItems()))", + "start_line": 118, + "start_column": 13, + "end_line": 129, + "end_column": 37 } ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "isCheckingOut()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "isCheckingOut()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getShipAddr1()", + "declaration": "public boolean isCheckingOut()", "parameters": [], - "code": "{\r\n\t\treturn shipAddr1;\r\n\t}", - "start_line": 312, - "end_line": 314, - "code_start_line": 312, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn checkingOut;\r\n\t}", + "start_line": 249, + "end_line": 251, + "code_start_line": 249, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1" + "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" ], "call_sites": [], "variable_declarations": [], @@ -42670,49 +49220,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipAddr2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipAddr2(String)", - "comments": [ - { - "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", - "start_line": 331, - "end_line": 334, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "getLoginInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "getLoginInfo()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipAddr2(String shipAddr2)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipAddr2", - "annotations": [], - "modifiers": [], - "start_line": 335, - "end_line": 335, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t}", - "start_line": 335, - "end_line": 337, - "code_start_line": 335, - "return_type": "void", + "declaration": "public LoginInfo getLoginInfo()", + "parameters": [], + "code": "{\r\n\t\treturn loginInfo;\r\n\t}", + "start_line": 241, + "end_line": 243, + "code_start_line": 241, + "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2" + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo" ], "call_sites": [], "variable_declarations": [], @@ -42721,85 +49249,111 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setShipisbill(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipisbill(boolean)", - "comments": [ - { - "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", - "start_line": 511, - "end_line": 514, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "performLogin()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performLogin()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setShipisbill(boolean shipisbill)", - "parameters": [ - { - "type": "boolean", - "name": "shipisbill", - "annotations": [], - "modifiers": [], - "start_line": 515, - "end_line": 515, - "start_column": 28, - "end_column": 45 - } - ], - "code": "{\r\n\t\tthis.shipisbill = shipisbill;\r\n\t}", - "start_line": 515, - "end_line": 517, - "code_start_line": 515, - "return_type": "void", + "declaration": "public String performLogin()", + "parameters": [], + "code": "{\r\n\t\tcheckingOut = false;\r\n\t\tloginInfo = new LoginInfo();\r\n\t\tregister = false;\r\n\t\tupdating = false;\r\n\r\n\t\tloginInfo.setMessage(\"\");\r\n\r\n\t\treturn AccountBean.ACTION_LOGIN;\r\n\t}", + "start_line": 160, + "end_line": 169, + "code_start_line": 160, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipisbill" + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.register", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", + "com.ibm.websphere.samples.pbw.war.AccountBean.updating", + "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + ], + "call_sites": [ + { + "method_name": "setMessage", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "setMessage(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 166, + "start_column": 3, + "end_line": 166, + "end_column": 26 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "callee_signature": "LoginInfo()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 162, + "start_column": 15, + "end_line": 162, + "end_column": 29 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShipZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipZip()", - "comments": [ - { - "content": "\r\n\t * @return the shipZip\r\n\t ", - "start_line": 369, - "end_line": 371, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "getLastOrderNum()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "getLastOrderNum()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getShipZip()", + "declaration": "public String getLastOrderNum()", "parameters": [], - "code": "{\r\n\t\treturn shipZip;\r\n\t}", - "start_line": 372, - "end_line": 374, - "code_start_line": 372, + "code": "{\r\n\t\treturn lastOrderNum;\r\n\t}", + "start_line": 237, + "end_line": 239, + "code_start_line": 237, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip" + "com.ibm.websphere.samples.pbw.war.AccountBean.lastOrderNum" ], "call_sites": [], "variable_declarations": [], @@ -42808,199 +49362,462 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getBillAddr1()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillAddr1()", - "comments": [ + "performOrderInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performOrderInfo()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String performOrderInfo()", + "parameters": [], + "code": "{\r\n\t\tif (customer == null) {\r\n\t\t\tcheckingOut = true;\r\n\t\t\tloginInfo = new LoginInfo();\r\n\t\t\tregister = false;\r\n\t\t\tupdating = false;\r\n\r\n\t\t\tloginInfo.setMessage(\"You must log in first.\");\r\n\r\n\t\t\treturn AccountBean.ACTION_LOGIN;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tif (orderInfo == null) {\r\n\t\t\t\torderInfo = new OrderInfo(customer.getFirstName() + \" \" + customer.getLastName(), customer.getAddr1(),\r\n\t\t\t\t\t\tcustomer.getAddr2(), customer.getAddrCity(), customer.getAddrState(), customer.getAddrZip(),\r\n\t\t\t\t\t\tcustomer.getPhone(), \"\", \"\", \"\", \"\", \"\", \"\", \"\", 0, \"\" + (orderNum++));\r\n\t\t\t}\r\n\r\n\t\t\treturn AccountBean.ACTION_ORDERINFO;\r\n\t\t}\r\n\t}", + "start_line": 201, + "end_line": 222, + "code_start_line": 201, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.orderNum", + "com.ibm.websphere.samples.pbw.war.AccountBean.register", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_LOGIN", + "com.ibm.websphere.samples.pbw.war.AccountBean.updating", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_ORDERINFO", + "com.ibm.websphere.samples.pbw.war.AccountBean.checkingOut" + ], + "call_sites": [ + { + "method_name": "setMessage", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"You must log in first.\"" + ], + "return_type": "", + "callee_signature": "setMessage(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 208, + "start_column": 4, + "end_line": 208, + "end_column": 49 + }, + { + "method_name": "getFirstName", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getFirstName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 31, + "end_line": 215, + "end_column": 53 + }, + { + "method_name": "getLastName", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getLastName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 63, + "end_line": 215, + "end_column": 84 + }, + { + "method_name": "getAddr1", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddr1()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 87, + "end_line": 215, + "end_column": 105 + }, + { + "method_name": "getAddr2", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddr2()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 7, + "end_line": 216, + "end_column": 25 + }, + { + "method_name": "getAddrCity", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddrCity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 28, + "end_line": 216, + "end_column": 49 + }, + { + "method_name": "getAddrState", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddrState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 52, + "end_line": 216, + "end_column": 74 + }, + { + "method_name": "getAddrZip", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddrZip()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 77, + "end_line": 216, + "end_column": 97 + }, { - "content": "\r\n\t * @return the billAddr1\r\n\t ", + "method_name": "getPhone", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 7, + "end_line": 217, + "end_column": 25 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "callee_signature": "LoginInfo()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, "start_line": 204, - "end_line": 206, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "start_column": 16, + "end_line": 204, + "end_column": 30 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "java.lang.String" + ], + "argument_expr": [ + "customer.getFirstName() + \" \" + customer.getLastName()", + "customer.getAddr1()", + "customer.getAddr2()", + "customer.getAddrCity()", + "customer.getAddrState()", + "customer.getAddrZip()", + "customer.getPhone()", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "0", + "\"\" + (orderNum++)" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "callee_signature": "OrderInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 17, + "end_line": 217, + "end_column": 76 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillAddr1()", - "parameters": [], - "code": "{\r\n\t\treturn billAddr1;\r\n\t}", - "start_line": 207, - "end_line": 209, - "code_start_line": 207, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getShippingMethodCount()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShippingMethodCount()", + "getCustomer()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "getCustomer()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getShippingMethodCount()", + "declaration": "public Customer getCustomer()", "parameters": [], - "code": "{\r\n\t\treturn Util.getShippingMethodStrings().length;\r\n\t}", - "start_line": 163, - "end_line": 165, - "code_start_line": 163, - "return_type": "int", + "code": "{\r\n\t\treturn (isRegister() ? newCustomer : customer);\r\n\t}", + "start_line": 233, + "end_line": 235, + "code_start_line": 233, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "length" + "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer" ], "call_sites": [ { - "method_name": "getShippingMethodStrings", + "method_name": "isRegister", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getShippingMethodStrings()", + "callee_signature": "isRegister()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 164, - "start_column": 10, - "end_line": 164, - "end_column": 40 + "start_line": 234, + "start_column": 11, + "end_line": 234, + "end_column": 22 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getShipCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipCity()", - "comments": [ - { - "content": "\r\n\t * @return the shipCity\r\n\t ", - "start_line": 339, - "end_line": 341, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "performAccountUpdate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performAccountUpdate()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getShipCity()", + "declaration": "public String performAccountUpdate()", "parameters": [], - "code": "{\r\n\t\treturn shipCity;\r\n\t}", - "start_line": 342, - "end_line": 344, - "code_start_line": 342, + "code": "{\r\n\t\tif (register) {\r\n\t\t\tcustomer = login.createCustomer(loginInfo.getEmail(), loginInfo.getPassword(), newCustomer\r\n\t\t\t\t\t.getFirstName(), newCustomer.getLastName(), newCustomer.getAddr1(), newCustomer\r\n\t\t\t\t\t\t\t.getAddr2(), newCustomer.getAddrCity(), newCustomer\r\n\t\t\t\t\t\t\t\t\t.getAddrState(), newCustomer.getAddrZip(), newCustomer.getPhone());\r\n\t\t\tregister = false;\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tcustomer = login.updateUser(customer.getCustomerID(), customer.getFirstName(), customer\r\n\t\t\t\t\t.getLastName(), customer.getAddr1(), customer.getAddr2(), customer\r\n\t\t\t\t\t\t\t.getAddrCity(), customer.getAddrState(), customer.getAddrZip(), customer.getPhone());\r\n\t\t}\r\n\r\n\t\treturn AccountBean.ACTION_PROMO;\r\n\t}", + "start_line": 84, + "end_line": 100, + "code_start_line": 84, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Order)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "OrderInfo(Order)", - "comments": [ - { - "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", - "start_line": 112, - "end_line": 116, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderInfo(Order order)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "name": "order", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 19, - "end_column": 29 - } + "referenced_types": [ + "java.lang.String" ], - "code": "{\r\n\t\torderID = order.getOrderID();\r\n\t\tbillName = order.getBillName();\r\n\t\tbillAddr1 = order.getBillAddr1();\r\n\t\tbillAddr2 = order.getBillAddr2();\r\n\t\tbillCity = order.getBillCity();\r\n\t\tbillState = order.getBillState();\r\n\t\tbillZip = order.getBillZip();\r\n\t\tbillPhone = order.getBillPhone();\r\n\t\tshipName = order.getShipName();\r\n\t\tshipAddr1 = order.getShipAddr1();\r\n\t\tshipAddr2 = order.getShipAddr2();\r\n\t\tshipCity = order.getShipCity();\r\n\t\tshipState = order.getShipState();\r\n\t\tshipZip = order.getShipZip();\r\n\t\tshipPhone = order.getShipPhone();\r\n\t\tshippingMethod = order.getShippingMethod();\r\n\t}", - "start_line": 117, - "end_line": 134, - "code_start_line": 117, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billName", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billState", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState", - "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_PROMO", + "com.ibm.websphere.samples.pbw.war.AccountBean.register", + "com.ibm.websphere.samples.pbw.war.AccountBean.customer", + "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", + "com.ibm.websphere.samples.pbw.war.AccountBean.login" ], "call_sites": [ { - "method_name": "getOrderID", + "method_name": "createCustomer", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "loginInfo.getEmail()", + "loginInfo.getPassword()", + "newCustomer.getFirstName()", + "newCustomer.getLastName()", + "newCustomer.getAddr1()", + "newCustomer.getAddr2()", + "newCustomer.getAddrCity()", + "newCustomer.getAddrState()", + "newCustomer.getAddrZip()", + "newCustomer.getPhone()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 86, + "start_column": 15, + "end_line": 89, + "end_column": 75 + }, + { + "method_name": "getEmail", + "comment": null, + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getOrderID()", + "callee_signature": "getEmail()", "is_public": true, "is_protected": false, "is_private": false, @@ -43009,19 +49826,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 118, - "start_column": 13, - "end_line": 118, - "end_column": 30 + "start_line": 86, + "start_column": 36, + "end_line": 86, + "end_column": 55 }, { - "method_name": "getBillName", + "method_name": "getPassword", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "loginInfo", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillName()", + "callee_signature": "getPassword()", "is_public": true, "is_protected": false, "is_private": false, @@ -43030,19 +49848,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, - "start_column": 14, - "end_line": 119, - "end_column": 32 + "start_line": 86, + "start_column": 58, + "end_line": 86, + "end_column": 80 }, { - "method_name": "getBillAddr1", + "method_name": "getFirstName", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillAddr1()", + "callee_signature": "getFirstName()", "is_public": true, "is_protected": false, "is_private": false, @@ -43051,19 +49870,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 120, - "start_column": 15, - "end_line": 120, - "end_column": 34 + "start_line": 86, + "start_column": 83, + "end_line": 87, + "end_column": 20 }, { - "method_name": "getBillAddr2", + "method_name": "getLastName", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillAddr2()", + "callee_signature": "getLastName()", "is_public": true, "is_protected": false, "is_private": false, @@ -43072,19 +49892,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 15, - "end_line": 121, - "end_column": 34 + "start_line": 87, + "start_column": 23, + "end_line": 87, + "end_column": 47 }, { - "method_name": "getBillCity", + "method_name": "getAddr1", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillCity()", + "callee_signature": "getAddr1()", "is_public": true, "is_protected": false, "is_private": false, @@ -43093,19 +49914,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 122, - "start_column": 14, - "end_line": 122, - "end_column": 32 + "start_line": 87, + "start_column": 50, + "end_line": 87, + "end_column": 71 }, { - "method_name": "getBillState", + "method_name": "getAddr2", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillState()", + "callee_signature": "getAddr2()", "is_public": true, "is_protected": false, "is_private": false, @@ -43114,19 +49936,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 123, - "start_column": 15, - "end_line": 123, - "end_column": 34 + "start_line": 87, + "start_column": 74, + "end_line": 88, + "end_column": 18 }, { - "method_name": "getBillZip", + "method_name": "getAddrCity", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillZip()", + "callee_signature": "getAddrCity()", "is_public": true, "is_protected": false, "is_private": false, @@ -43135,19 +49958,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 13, - "end_line": 124, - "end_column": 30 + "start_line": 88, + "start_column": 21, + "end_line": 88, + "end_column": 45 }, { - "method_name": "getBillPhone", + "method_name": "getAddrState", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getBillPhone()", + "callee_signature": "getAddrState()", "is_public": true, "is_protected": false, "is_private": false, @@ -43156,19 +49980,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 125, - "start_column": 15, - "end_line": 125, - "end_column": 34 + "start_line": 88, + "start_column": 48, + "end_line": 89, + "end_column": 24 }, { - "method_name": "getShipName", + "method_name": "getAddrZip", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipName()", + "callee_signature": "getAddrZip()", "is_public": true, "is_protected": false, "is_private": false, @@ -43177,19 +50002,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 126, - "start_column": 14, - "end_line": 126, - "end_column": 32 + "start_line": 89, + "start_column": 27, + "end_line": 89, + "end_column": 50 }, { - "method_name": "getShipAddr1", + "method_name": "getPhone", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "newCustomer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipAddr1()", + "callee_signature": "getPhone()", "is_public": true, "is_protected": false, "is_private": false, @@ -43198,19 +50024,62 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, + "start_line": 89, + "start_column": 53, + "end_line": 89, + "end_column": 74 + }, + { + "method_name": "updateUser", + "comment": null, + "receiver_expr": "login", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "customer.getCustomerID()", + "customer.getFirstName()", + "customer.getLastName()", + "customer.getAddr1()", + "customer.getAddr2()", + "customer.getAddrCity()", + "customer.getAddrState()", + "customer.getAddrZip()", + "customer.getPhone()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, "start_column": 15, - "end_line": 127, - "end_column": 34 + "end_line": 96, + "end_column": 91 }, { - "method_name": "getShipAddr2", + "method_name": "getCustomerID", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipAddr2()", + "callee_signature": "getCustomerID()", "is_public": true, "is_protected": false, "is_private": false, @@ -43219,19 +50088,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 15, - "end_line": 128, - "end_column": 34 + "start_line": 94, + "start_column": 32, + "end_line": 94, + "end_column": 55 }, { - "method_name": "getShipCity", + "method_name": "getFirstName", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipCity()", + "callee_signature": "getFirstName()", "is_public": true, "is_protected": false, "is_private": false, @@ -43240,19 +50110,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, - "start_column": 14, - "end_line": 129, - "end_column": 32 + "start_line": 94, + "start_column": 58, + "end_line": 94, + "end_column": 80 + }, + { + "method_name": "getLastName", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getLastName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 83, + "end_line": 95, + "end_column": 19 }, { - "method_name": "getShipState", + "method_name": "getAddr1", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipState()", + "callee_signature": "getAddr1()", "is_public": true, "is_protected": false, "is_private": false, @@ -43261,19 +50154,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, - "start_column": 15, - "end_line": 130, - "end_column": 34 + "start_line": 95, + "start_column": 22, + "end_line": 95, + "end_column": 40 }, { - "method_name": "getShipZip", + "method_name": "getAddr2", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipZip()", + "callee_signature": "getAddr2()", "is_public": true, "is_protected": false, "is_private": false, @@ -43282,19 +50176,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, - "start_column": 13, - "end_line": 131, - "end_column": 30 + "start_line": 95, + "start_column": 43, + "end_line": 95, + "end_column": 61 }, { - "method_name": "getShipPhone", + "method_name": "getAddrCity", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getShipPhone()", + "callee_signature": "getAddrCity()", "is_public": true, "is_protected": false, "is_private": false, @@ -43303,19 +50198,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 15, - "end_line": 132, - "end_column": 34 + "start_line": 95, + "start_column": 64, + "end_line": 96, + "end_column": 21 }, { - "method_name": "getShippingMethod", + "method_name": "getAddrState", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], - "return_type": "", - "callee_signature": "getShippingMethod()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddrState()", "is_public": true, "is_protected": false, "is_private": false, @@ -43324,517 +50220,83 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 44 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCardExpMonth()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardExpMonth()", - "comments": [ - { - "content": "\r\n\t * @return the cardExpMonth\r\n\t ", - "start_line": 459, - "end_line": 461, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCardExpMonth()", - "parameters": [], - "code": "{\r\n\t\treturn cardExpMonth;\r\n\t}", - "start_line": 462, - "end_line": 464, - "code_start_line": 462, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpMonth" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillPhone(String)", - "comments": [ - { - "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillPhone(String billPhone)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billPhone", - "annotations": [], - "modifiers": [], - "start_line": 290, - "end_line": 290, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billPhone = billPhone;\r\n\t}", - "start_line": 290, - "end_line": 292, - "code_start_line": 290, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillState()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillState()", - "comments": [ - { - "content": "\r\n\t * @return the billState\r\n\t ", - "start_line": 249, - "end_line": 251, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillState()", - "parameters": [], - "code": "{\r\n\t\treturn billState;\r\n\t}", - "start_line": 252, - "end_line": 254, - "code_start_line": 252, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillAddr1(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillAddr1(String)", - "comments": [ - { - "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", - "start_line": 211, - "end_line": 214, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillAddr1(String billAddr1)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billAddr1", - "annotations": [], - "modifiers": [], - "start_line": 215, - "end_line": 215, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t}", - "start_line": 215, - "end_line": 217, - "code_start_line": 215, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBillState(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillState(String)", - "comments": [ - { - "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", - "start_line": 256, - "end_line": 259, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillState(String billState)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billState", - "annotations": [], - "modifiers": [], - "start_line": 260, - "end_line": 260, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billState = billState;\r\n\t}", - "start_line": 260, - "end_line": 262, - "code_start_line": 260, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "OrderInfo(String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, String)", - "comments": [ - { - "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", - "start_line": 85, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderInfo(String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, int shippingMethod, String orderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billName", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 19, - "end_column": 33 - }, - { - "type": "java.lang.String", - "name": "billAddr1", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 36, - "end_column": 51 - }, - { - "type": "java.lang.String", - "name": "billAddr2", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 54, - "end_column": 69 - }, - { - "type": "java.lang.String", - "name": "billCity", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 72, - "end_column": 86 - }, - { - "type": "java.lang.String", - "name": "billState", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 89, - "end_column": 104 - }, - { - "type": "java.lang.String", - "name": "billZip", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 4, - "end_column": 17 - }, - { - "type": "java.lang.String", - "name": "billPhone", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 20, - "end_column": 35 - }, - { - "type": "java.lang.String", - "name": "shipName", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 38, - "end_column": 52 - }, - { - "type": "java.lang.String", - "name": "shipAddr1", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 55, - "end_column": 70 - }, - { - "type": "java.lang.String", - "name": "shipAddr2", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 73, - "end_column": 88 - }, - { - "type": "java.lang.String", - "name": "shipCity", - "annotations": [], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 91, - "end_column": 105 - }, - { - "type": "java.lang.String", - "name": "shipState", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "shipZip", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 22, - "end_column": 35 - }, - { - "type": "java.lang.String", - "name": "shipPhone", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 38, - "end_column": 53 - }, - { - "type": "int", - "name": "shippingMethod", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 56, - "end_column": 73 - }, - { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 76, - "end_column": 89 - } - ], - "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t\tthis.billName = billName;\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t\tthis.billCity = billCity;\r\n\t\tthis.billState = billState;\r\n\t\tthis.billZip = billZip;\r\n\t\tthis.billPhone = billPhone;\r\n\t\tthis.shipName = shipName;\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t\tthis.shipCity = shipCity;\r\n\t\tthis.shipState = shipState;\r\n\t\tthis.shipZip = shipZip;\r\n\t\tthis.shipPhone = shipPhone;\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t\tinitLists();\r\n\t\tcardholderName = \"\";\r\n\t\tcardNum = \"\";\r\n\t}", - "start_line": 88, - "end_line": 110, - "code_start_line": 90, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billName", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod", - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billState", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState", - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum", - "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2", - "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" - ], - "call_sites": [ + "start_line": 96, + "start_column": 24, + "end_line": 96, + "end_column": 46 + }, { - "method_name": "initLists", + "method_name": "getAddrZip", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], - "return_type": "", - "callee_signature": "initLists()", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddrZip()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 107, - "start_column": 3, - "end_line": 107, - "end_column": 13 + "start_line": 96, + "start_column": 49, + "end_line": 96, + "end_column": 69 + }, + { + "method_name": "getPhone", + "comment": null, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 96, + "start_column": 72, + "end_line": 96, + "end_column": 90 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getBillName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillName()", - "comments": [ - { - "content": "\r\n\t * @return the billName\r\n\t ", - "start_line": 189, - "end_line": 191, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "isRegister()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "isRegister()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getBillName()", + "declaration": "public boolean isRegister()", "parameters": [], - "code": "{\r\n\t\treturn billName;\r\n\t}", - "start_line": 192, - "end_line": 194, - "code_start_line": 192, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn register;\r\n\t}", + "start_line": 253, + "end_line": 255, + "code_start_line": 253, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billName" + "com.ibm.websphere.samples.pbw.war.AccountBean.register" ], "call_sites": [], "variable_declarations": [], @@ -43843,36 +50305,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "isShipisbill()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "isShipisbill()", - "comments": [ - { - "content": "\r\n\t * @return the shipisbill\r\n\t ", - "start_line": 504, - "end_line": 506, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "isUpdating()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "isUpdating()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean isShipisbill()", + "declaration": "public boolean isUpdating()", "parameters": [], - "code": "{\r\n\t\treturn shipisbill;\r\n\t}", - "start_line": 507, - "end_line": 509, - "code_start_line": 507, + "code": "{\r\n\t\treturn updating;\r\n\t}", + "start_line": 257, + "end_line": 259, + "code_start_line": 257, "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipisbill" + "com.ibm.websphere.samples.pbw.war.AccountBean.updating" ], "call_sites": [], "variable_declarations": [], @@ -43881,36 +50334,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCardName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardName()", - "comments": [ - { - "content": "\r\n\t * @return the cardName\r\n\t ", - "start_line": 429, - "end_line": 431, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "getOrderInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "getOrderInfo()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCardName()", + "declaration": "public OrderInfo getOrderInfo()", "parameters": [], - "code": "{\r\n\t\treturn cardName;\r\n\t}", - "start_line": 432, - "end_line": 434, - "code_start_line": 432, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn orderInfo;\r\n\t}", + "start_line": 245, + "end_line": 247, + "code_start_line": 245, + "return_type": "com.ibm.websphere.samples.pbw.war.OrderInfo", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardName" + "com.ibm.websphere.samples.pbw.war.AccountBean.orderInfo" ], "call_sites": [], "variable_declarations": [], @@ -43919,213 +50363,88 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setID(String)", - "comments": [ - { - "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", - "start_line": 181, - "end_line": 184, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "performRegister()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AccountBean.java", + "signature": "performRegister()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setID(String orderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 185, - "end_line": 185, - "start_column": 20, - "end_column": 33 - } - ], - "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", - "start_line": 185, - "end_line": 187, - "code_start_line": 185, - "return_type": "void", + "declaration": "public String performRegister()", + "parameters": [], + "code": "{\r\n\t\tloginInfo = new LoginInfo();\r\n\t\tnewCustomer = new Customer(\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\");\r\n\t\tregister = true;\r\n\t\tupdating = false;\r\n\r\n\t\treturn AccountBean.ACTION_REGISTER;\r\n\t}", + "start_line": 224, + "end_line": 231, + "code_start_line": 224, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShippingMethods()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShippingMethods()", - "comments": [ - { - "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", - "start_line": 154, - "end_line": 158, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String[] getShippingMethods()", - "parameters": [], - "code": "{\r\n\t\treturn Util.getFullShippingMethodStrings();\r\n\t}", - "start_line": 159, - "end_line": 161, - "code_start_line": 159, - "return_type": "java.lang.String[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getFullShippingMethodStrings", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [], - "return_type": "", - "callee_signature": "getFullShippingMethodStrings()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 160, - "start_column": 10, - "end_line": 160, - "end_column": 44 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "initLists()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "initLists()", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private void initLists()", - "parameters": [], - "code": "{\r\n\t\tint i = Calendar.getInstance().get(1);\r\n\t\tcardExpYears = new String[5];\r\n\t\tfor (int j = 0; j < 5; j++)\r\n\t\t\tcardExpYears[j] = (new Integer(i + j)).toString();\r\n\t}", - "start_line": 167, - "end_line": 172, - "code_start_line": 167, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" + "com.ibm.websphere.samples.pbw.war.AccountBean.loginInfo", + "com.ibm.websphere.samples.pbw.war.AccountBean.register", + "com.ibm.websphere.samples.pbw.war.AccountBean.newCustomer", + "com.ibm.websphere.samples.pbw.war.AccountBean.ACTION_REGISTER", + "com.ibm.websphere.samples.pbw.war.AccountBean.updating" ], "call_sites": [ { - "method_name": "get", - "comment": null, - "receiver_expr": "Calendar.getInstance()", - "receiver_type": "java.util.Calendar", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "get(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 11, - "end_line": 168, - "end_column": 39 - }, - { - "method_name": "getInstance", - "comment": null, - "receiver_expr": "Calendar", - "receiver_type": "java.util.Calendar", - "argument_types": [], - "return_type": "java.util.Calendar", - "callee_signature": "getInstance()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 168, - "start_column": 11, - "end_line": 168, - "end_column": 32 - }, - { - "method_name": "toString", + "method_name": "", "comment": null, - "receiver_expr": "(new Integer(i + j))", - "receiver_type": "java.lang.Integer", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "callee_signature": "LoginInfo()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 171, - "start_column": 22, - "end_line": 171, - "end_column": 52 + "start_line": 225, + "start_column": 15, + "end_line": 225, + "end_column": 29 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Integer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ - "" + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", + "argument_expr": [ + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"", + "\"\"" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -44134,1268 +50453,1127 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 171, - "start_column": 23, - "end_line": 171, - "end_column": 40 + "start_line": 226, + "start_column": 17, + "end_line": 226, + "end_column": 68 } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "Calendar.getInstance().get(1)", - "start_line": 168, - "start_column": 7, - "end_line": 168, - "end_column": 39 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "j", - "type": "int", - "initializer": "0", - "start_line": 170, - "start_column": 12, - "end_line": 170, - "end_column": 16 - } + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 41, + "end_line": 41, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 42, + "end_line": 42, + "variables": [ + "ACTION_ACCOUNT" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 43, + "end_line": 43, + "variables": [ + "ACTION_CHECKOUT_FINAL" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 44, + "end_line": 44, + "variables": [ + "ACTION_LOGIN" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 45, + "end_line": 45, + "variables": [ + "ACTION_ORDERDONE" ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] }, - "getCardExpYear()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardExpYear()", - "comments": [ - { - "content": "\r\n\t * @return the cardExpYear\r\n\t ", - "start_line": 474, - "end_line": 476, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 46, + "end_line": 46, + "variables": [ + "ACTION_ORDERINFO" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCardExpYear()", - "parameters": [], - "code": "{\r\n\t\treturn cardExpYear;\r\n\t}", - "start_line": 477, - "end_line": 479, - "code_start_line": 477, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYear" + "private", + "static", + "final" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getBillPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillPhone()", - "comments": [ - { - "content": "\r\n\t * @return the billPhone\r\n\t ", - "start_line": 279, - "end_line": 281, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 47, + "end_line": 47, + "variables": [ + "ACTION_PROMO" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillPhone()", - "parameters": [], - "code": "{\r\n\t\treturn billPhone;\r\n\t}", - "start_line": 282, - "end_line": 284, - "code_start_line": 282, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + "private", + "static", + "final" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "setShippingMethod(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShippingMethod(int)", - "comments": [ - { - "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", - "start_line": 406, - "end_line": 409, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 48, + "end_line": 48, + "variables": [ + "ACTION_REGISTER" ], - "annotations": [], "modifiers": [ - "public" + "private", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public void setShippingMethod(int shippingMethod)", - "parameters": [ - { - "type": "int", - "name": "shippingMethod", - "annotations": [], - "modifiers": [], - "start_line": 410, - "end_line": 410, - "start_column": 32, - "end_column": 49 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "start_line": 50, + "end_line": 51, + "variables": [ + "login" ], - "code": "{\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t}", - "start_line": 410, - "end_line": 412, - "code_start_line": 410, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [ + "@Inject" + ] }, - "setBillCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillCity(String)", - "comments": [ - { - "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", - "start_line": 241, - "end_line": 244, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.MailerBean", + "start_line": 52, + "end_line": 53, + "variables": [ + "mailer" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillCity(String billCity)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billCity", - "annotations": [], - "modifiers": [], - "start_line": 245, - "end_line": 245, - "start_column": 26, - "end_column": 40 - } + "private" ], - "code": "{\r\n\t\tthis.billCity = billCity;\r\n\t}", - "start_line": 245, - "end_line": 247, - "code_start_line": 245, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", + "start_line": 54, + "end_line": 55, + "variables": [ + "shoppingCart" ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [ + "@Inject" + ] }, - "getID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getID()", - "comments": [ - { - "content": "\r\n\t * @return the orderID\r\n\t ", - "start_line": 174, - "end_line": 176, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "boolean", + "start_line": 57, + "end_line": 57, + "variables": [ + "checkingOut" ], - "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public String getID()", - "parameters": [], - "code": "{\r\n\t\treturn orderID;\r\n\t}", - "start_line": 177, - "end_line": 179, - "code_start_line": 177, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "start_line": 58, + "end_line": 58, + "variables": [ + "customer" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "modifiers": [ + "private" + ], + "annotations": [] }, - "setCardName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardName(String)", - "comments": [ - { - "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", - "start_line": 436, - "end_line": 439, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 59, + "end_line": 59, + "variables": [ + "lastOrderNum" ], - "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public void setCardName(String cardName)", - "parameters": [ - { - "type": "java.lang.String", - "name": "cardName", - "annotations": [], - "modifiers": [], - "start_line": 440, - "end_line": 440, - "start_column": 26, - "end_column": 40 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.war.LoginInfo", + "start_line": 60, + "end_line": 60, + "variables": [ + "loginInfo" ], - "code": "{\r\n\t\tthis.cardName = cardName;\r\n\t}", - "start_line": 440, - "end_line": 442, - "code_start_line": 440, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "modifiers": [ + "private" ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardName" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "start_line": 61, + "end_line": 61, + "variables": [ + "newCustomer" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "modifiers": [ + "private" + ], + "annotations": [] }, - "setCardExpYears(String[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardExpYears(String[])", - "comments": [ - { - "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", - "start_line": 496, - "end_line": 499, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.war.OrderInfo", + "start_line": 62, + "end_line": 62, + "variables": [ + "orderInfo" ], - "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public void setCardExpYears(String[] cardExpYears)", - "parameters": [ - { - "type": "java.lang.String[]", - "name": "cardExpYears", - "annotations": [], - "modifiers": [], - "start_line": 500, - "end_line": 500, - "start_column": 30, - "end_column": 50 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 63, + "end_line": 63, + "variables": [ + "orderNum" ], - "code": "{\r\n\t\tthis.cardExpYears = cardExpYears;\r\n\t}", - "start_line": 500, - "end_line": 502, - "code_start_line": 500, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "setShipPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipPhone(String)", - "comments": [ - { - "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", - "start_line": 391, - "end_line": 394, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "boolean", + "start_line": 64, + "end_line": 64, + "variables": [ + "register" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShipPhone(String shipPhone)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipPhone", - "annotations": [], - "modifiers": [], - "start_line": 395, - "end_line": 395, - "start_column": 27, - "end_column": 42 - } + "private" ], - "code": "{\r\n\t\tthis.shipPhone = shipPhone;\r\n\t}", - "start_line": 395, - "end_line": 397, - "code_start_line": 395, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "boolean", + "start_line": 65, + "end_line": 65, + "variables": [ + "updating" ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone" + "modifiers": [ + "private" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Servlet to handle Administration actions\r\n ", + "start_line": 45, + "end_line": 47, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * @see javax.servlet.Servlet#init(ServletConfig)\r\n\t ", + "start_line": 68, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method requestDispatch.\r\n\t * \r\n\t * @param ctx\r\n\t * @param req\r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 364, + "end_line": 373, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 51, + "end_line": 53, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 71, + "end_line": 73, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Uncomment the following to generated debug code.", + "start_line": 76, + "end_line": 76, + "start_column": 3, + "end_column": 53, + "is_javadoc": false + }, + { + "content": " Util.setDebug(true);", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 25, + "is_javadoc": false + }, + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 81, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 93, + "end_line": 100, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 105, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Invalid Admin", + "start_line": 118, + "end_line": 118, + "start_column": 4, + "end_column": 19, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 130, + "end_line": 140, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Only retrieving info for 1 supplier.", + "start_line": 149, + "end_line": 149, + "start_column": 3, + "end_column": 41, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 159, + "end_line": 164, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Get supplier info", + "start_line": 175, + "end_line": 175, + "start_column": 4, + "end_column": 23, + "is_javadoc": false + }, + { + "content": " Unknown Supplier Config Admin Action so go back to the", + "start_line": 195, + "end_line": 195, + "start_column": 4, + "end_column": 60, + "is_javadoc": false + }, + { + "content": " Administration home page", + "start_line": 196, + "end_line": 196, + "start_column": 4, + "end_column": 30, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 203, + "end_line": 208, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 215, + "end_line": 222, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Update the BackOrder status", + "start_line": 246, + "end_line": 246, + "start_column": 7, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " Unknown Backup Admin Action so go back to the Administration home", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " page", + "start_line": 295, + "end_line": 295, + "start_column": 4, + "end_column": 10, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", + "start_line": 300, + "end_line": 304, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Get the list of back order items.", + "start_line": 307, + "end_line": 307, + "start_column": 4, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Get the inventory quantity and name for the back order item", + "start_line": 321, + "end_line": 321, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " information.", + "start_line": 322, + "end_line": 322, + "start_column": 5, + "end_column": 19, + "is_javadoc": false + }, + { + "content": " Don't include backorders that have been completed.", + "start_line": 328, + "end_line": 328, + "start_column": 5, + "end_column": 57, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 352, + "end_line": 359, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Request dispatch\r\n\t ", + "start_line": 374, + "end_line": 376, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.IOException", + "java.util.ArrayList", + "java.util.Collection", + "java.util.Iterator", + "javax.inject.Inject", + "javax.inject.Named", + "javax.servlet.ServletConfig", + "javax.servlet.ServletContext", + "javax.servlet.ServletException", + "javax.servlet.annotation.WebServlet", + "javax.servlet.http.HttpServlet", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "javax.servlet.http.HttpSession", + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.jpa.Supplier", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.AdminServlet": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "javax.servlet.http.HttpServlet" + ], + "comments": [ + { + "content": "\r\n\t * @see javax.servlet.Servlet#init(ServletConfig)\r\n\t ", + "start_line": 68, + "end_line": 70, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getShippingMethod()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShippingMethod()", - "comments": [ - { - "content": "\r\n\t * @return the shippingMethod\r\n\t ", - "start_line": 399, - "end_line": 401, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getShippingMethod()", - "parameters": [], - "code": "{\r\n\t\treturn shippingMethod;\r\n\t}", - "start_line": 402, - "end_line": 404, - "code_start_line": 402, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method requestDispatch.\r\n\t * \r\n\t * @param ctx\r\n\t * @param req\r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 364, + "end_line": 373, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getCardNum()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardNum()", - "comments": [ - { - "content": "\r\n\t * @return the cardNum\r\n\t ", - "start_line": 444, - "end_line": 446, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCardNum()", - "parameters": [], - "code": "{\r\n\t\treturn cardNum;\r\n\t}", - "start_line": 447, - "end_line": 449, - "code_start_line": 447, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * \r\n\t ", + "start_line": 51, + "end_line": 53, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getBillAddr2()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillAddr2()", - "comments": [ - { - "content": "\r\n\t * @return the billAddr2\r\n\t ", - "start_line": 219, - "end_line": 221, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillAddr2()", - "parameters": [], - "code": "{\r\n\t\treturn billAddr2;\r\n\t}", - "start_line": 222, - "end_line": 224, - "code_start_line": 222, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 71, + "end_line": 73, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setCardExpMonth(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardExpMonth(String)", - "comments": [ - { - "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", - "start_line": 466, - "end_line": 469, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCardExpMonth(String cardExpMonth)", - "parameters": [ - { - "type": "java.lang.String", - "name": "cardExpMonth", - "annotations": [], - "modifiers": [], - "start_line": 470, - "end_line": 470, - "start_column": 30, - "end_column": 48 - } - ], - "code": "{\r\n\t\tthis.cardExpMonth = cardExpMonth;\r\n\t}", - "start_line": 470, - "end_line": 472, - "code_start_line": 470, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpMonth" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Uncomment the following to generated debug code.", + "start_line": 76, + "end_line": 76, + "start_column": 3, + "end_column": 53, + "is_javadoc": false }, - "setShipCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipCity(String)", - "comments": [ - { - "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", - "start_line": 346, - "end_line": 349, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShipCity(String shipCity)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipCity", - "annotations": [], - "modifiers": [], - "start_line": 350, - "end_line": 350, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.shipCity = shipCity;\r\n\t}", - "start_line": 350, - "end_line": 352, - "code_start_line": 350, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Util.setDebug(true);", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 25, + "is_javadoc": false }, - "setCardExpYear(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardExpYear(String)", - "comments": [ - { - "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", - "start_line": 481, - "end_line": 484, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCardExpYear(String cardExpYear)", - "parameters": [ - { - "type": "java.lang.String", - "name": "cardExpYear", - "annotations": [], - "modifiers": [], - "start_line": 485, - "end_line": 485, - "start_column": 29, - "end_column": 46 - } - ], - "code": "{\r\n\t\tthis.cardExpYear = cardExpYear;\r\n\t}", - "start_line": 485, - "end_line": 487, - "code_start_line": 485, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYear" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 81, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setShipName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipName(String)", - "comments": [ - { - "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", - "start_line": 301, - "end_line": 304, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShipName(String shipName)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipName", - "annotations": [], - "modifiers": [], - "start_line": 305, - "end_line": 305, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.shipName = shipName;\r\n\t}", - "start_line": 305, - "end_line": 307, - "code_start_line": 305, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 93, + "end_line": 100, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setShippingMethodName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShippingMethodName(String)", - "comments": [ - { - "content": "\r\n\t * Set the shipping method by name\r\n\t ", - "start_line": 143, - "end_line": 145, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShippingMethodName(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 146, - "end_line": 146, - "start_column": 36, - "end_column": 46 - } - ], - "code": "{\r\n\t\tString[] methodNames = Util.getShippingMethodStrings();\r\n\t\tfor (int i = 0; i < methodNames.length; i++) {\r\n\t\t\tif (methodNames[i].equals(name))\r\n\t\t\t\tshippingMethod = i;\r\n\t\t}\r\n\t}", - "start_line": 146, - "end_line": 152, - "code_start_line": 146, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "length", - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" - ], - "call_sites": [ - { - "method_name": "getShippingMethodStrings", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [], - "return_type": "", - "callee_signature": "getShippingMethodStrings()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 147, - "start_column": 26, - "end_line": 147, - "end_column": 56 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "methodNames[i]", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 149, - "start_column": 8, - "end_line": 149, - "end_column": 34 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "methodNames", - "type": "java.lang.String[]", - "initializer": "Util.getShippingMethodStrings()", - "start_line": 147, - "start_column": 12, - "end_line": 147, - "end_column": 56 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 148, - "start_column": 12, - "end_line": 148, - "end_column": 16 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false + { + "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 105, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Invalid Admin", + "start_line": 118, + "end_line": 118, + "start_column": 4, + "end_column": 19, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 130, + "end_line": 140, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Only retrieving info for 1 supplier.", + "start_line": 149, + "end_line": 149, + "start_column": 3, + "end_column": 41, + "is_javadoc": false }, - "setBillZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillZip(String)", - "comments": [ - { - "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", - "start_line": 271, - "end_line": 274, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillZip(String billZip)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billZip", - "annotations": [], - "modifiers": [], - "start_line": 275, - "end_line": 275, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.billZip = billZip;\r\n\t}", - "start_line": 275, - "end_line": 277, - "code_start_line": 275, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 159, + "end_line": 164, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getShipName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipName()", - "comments": [ - { - "content": "\r\n\t * @return the shipName\r\n\t ", - "start_line": 294, - "end_line": 296, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipName()", - "parameters": [], - "code": "{\r\n\t\treturn shipName;\r\n\t}", - "start_line": 297, - "end_line": 299, - "code_start_line": 297, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Get supplier info", + "start_line": 175, + "end_line": 175, + "start_column": 4, + "end_column": 23, + "is_javadoc": false }, - "getShipAddr2()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipAddr2()", - "comments": [ - { - "content": "\r\n\t * @return the shipAddr2\r\n\t ", - "start_line": 324, - "end_line": 326, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipAddr2()", - "parameters": [], - "code": "{\r\n\t\treturn shipAddr2;\r\n\t}", - "start_line": 327, - "end_line": 329, - "code_start_line": 327, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Unknown Supplier Config Admin Action so go back to the", + "start_line": 195, + "end_line": 195, + "start_column": 4, + "end_column": 60, + "is_javadoc": false }, - "setBillAddr2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillAddr2(String)", - "comments": [ - { - "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", - "start_line": 226, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillAddr2(String billAddr2)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billAddr2", - "annotations": [], - "modifiers": [], - "start_line": 230, - "end_line": 230, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t}", - "start_line": 230, - "end_line": 232, - "code_start_line": 230, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Administration home page", + "start_line": 196, + "end_line": 196, + "start_column": 4, + "end_column": 30, + "is_javadoc": false }, - "setShipAddr1(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipAddr1(String)", - "comments": [ - { - "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", - "start_line": 316, - "end_line": 319, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setShipAddr1(String shipAddr1)", - "parameters": [ - { - "type": "java.lang.String", - "name": "shipAddr1", - "annotations": [], - "modifiers": [], - "start_line": 320, - "end_line": 320, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t}", - "start_line": 320, - "end_line": 322, - "code_start_line": 320, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 203, + "end_line": 208, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getShipState()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipState()", - "comments": [ - { - "content": "\r\n\t * @return the shipState\r\n\t ", - "start_line": 354, - "end_line": 356, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipState()", - "parameters": [], - "code": "{\r\n\t\treturn shipState;\r\n\t}", - "start_line": 357, - "end_line": 359, - "code_start_line": 357, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 215, + "end_line": 222, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getCardExpYears()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardExpYears()", - "comments": [ - { - "content": "\r\n\t * @return the cardExpYears\r\n\t ", - "start_line": 489, - "end_line": 491, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String[] getCardExpYears()", - "parameters": [], - "code": "{\r\n\t\treturn cardExpYears;\r\n\t}", - "start_line": 492, - "end_line": 494, - "code_start_line": 492, - "return_type": "java.lang.String[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Update the BackOrder status", + "start_line": 246, + "end_line": 246, + "start_column": 7, + "end_column": 36, + "is_javadoc": false }, - "getBillZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillZip()", - "comments": [ - { - "content": "\r\n\t * @return the billZip\r\n\t ", - "start_line": 264, - "end_line": 266, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillZip()", - "parameters": [], - "code": "{\r\n\t\treturn billZip;\r\n\t}", - "start_line": 267, - "end_line": 269, - "code_start_line": 267, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Unknown Backup Admin Action so go back to the Administration home", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 71, + "is_javadoc": false }, - "setBillName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setBillName(String)", - "comments": [ - { - "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", - "start_line": 196, - "end_line": 199, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBillName(String billName)", - "parameters": [ - { - "type": "java.lang.String", - "name": "billName", - "annotations": [], - "modifiers": [], - "start_line": 200, - "end_line": 200, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.billName = billName;\r\n\t}", - "start_line": 200, - "end_line": 202, - "code_start_line": 200, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " page", + "start_line": 295, + "end_line": 295, + "start_column": 4, + "end_column": 10, + "is_javadoc": false }, - "setShipState(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipState(String)", + { + "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", + "start_line": 300, + "end_line": 304, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Get the list of back order items.", + "start_line": 307, + "end_line": 307, + "start_column": 4, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Get the inventory quantity and name for the back order item", + "start_line": 321, + "end_line": 321, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " information.", + "start_line": 322, + "end_line": 322, + "start_column": 5, + "end_column": 19, + "is_javadoc": false + }, + { + "content": " Don't include backorders that have been completed.", + "start_line": 328, + "end_line": 328, + "start_column": 5, + "end_column": 57, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 352, + "end_line": 359, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Request dispatch\r\n\t ", + "start_line": 374, + "end_line": 376, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * Servlet to handle Administration actions\r\n ", + "start_line": 45, + "end_line": 47, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(value = \"admin\")", + "@WebServlet(\"/servlet/AdminServlet\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "comments": [ { - "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", - "start_line": 361, - "end_line": 364, + "content": "\r\n\t * Request dispatch\r\n\t ", + "start_line": 374, + "end_line": 376, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -45403,158 +51581,78 @@ ], "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public void setShipState(String shipState)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String page) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "shipState", + "type": "javax.servlet.ServletContext", + "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 365, - "end_line": 365, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\r\n\t\tthis.shipState = shipState;\r\n\t}", - "start_line": 365, - "end_line": 367, - "code_start_line": 365, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShipPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShipPhone()", - "comments": [ + "start_line": 377, + "end_line": 377, + "start_column": 31, + "end_column": 48 + }, { - "content": "\r\n\t * @return the shipPhone\r\n\t ", - "start_line": 384, - "end_line": 386, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShipPhone()", - "parameters": [], - "code": "{\r\n\t\treturn shipPhone;\r\n\t}", - "start_line": 387, - "end_line": 389, - "code_start_line": 387, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBillCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getBillCity()", - "comments": [ + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 378, + "end_line": 378, + "start_column": 4, + "end_column": 25 + }, { - "content": "\r\n\t * @return the billCity\r\n\t ", - "start_line": 234, - "end_line": 236, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBillCity()", - "parameters": [], - "code": "{\r\n\t\treturn billCity;\r\n\t}", - "start_line": 237, - "end_line": 239, - "code_start_line": 237, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getShippingMethodName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getShippingMethodName()", - "comments": [ + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 379, + "end_line": 379, + "start_column": 4, + "end_column": 27 + }, { - "content": "\r\n\t * Get the shipping method name.\r\n\t ", - "start_line": 136, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "java.lang.String", + "name": "page", + "annotations": [], + "modifiers": [], + "start_line": 380, + "end_line": 380, + "start_column": 4, + "end_column": 14 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getShippingMethodName()", - "parameters": [], - "code": "{\r\n\t\treturn getShippingMethods()[shippingMethod];\r\n\t}", - "start_line": 139, - "end_line": 141, - "code_start_line": 139, - "return_type": "java.lang.String", + "code": "{\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tctx.getRequestDispatcher(page).forward(req, resp);\r\n\t}", + "start_line": 377, + "end_line": 383, + "code_start_line": 380, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "getShippingMethods", + "method_name": "setContentType", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", - "callee_signature": "getShippingMethods()", + "callee_signature": "setContentType(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -45563,26 +51661,80 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 10, - "end_line": 140, - "end_column": 29 + "start_line": 381, + "start_column": 3, + "end_line": 381, + "end_column": 34 + }, + { + "method_name": "forward", + "comment": null, + "receiver_expr": "ctx.getRequestDispatcher(page)", + "receiver_type": "javax.servlet.RequestDispatcher", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 382, + "start_column": 3, + "end_line": 382, + "end_column": 51 + }, + { + "method_name": "getRequestDispatcher", + "comment": null, + "receiver_expr": "ctx", + "receiver_type": "javax.servlet.ServletContext", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "page" + ], + "return_type": "javax.servlet.RequestDispatcher", + "callee_signature": "getRequestDispatcher(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 382, + "start_column": 3, + "end_line": 382, + "end_column": 32 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "setCardholderName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardholderName(String)", + "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", - "start_line": 421, - "end_line": 424, + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 203, + "end_line": 208, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -45592,48 +51744,170 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setCardholderName(String cardholderName)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void performPopulate(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "cardholderName", + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", "annotations": [], "modifiers": [], - "start_line": 425, - "end_line": 425, - "start_column": 32, - "end_column": 52 + "start_line": 209, + "end_line": 209, + "start_column": 30, + "end_column": 51 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 209, + "end_line": 209, + "start_column": 54, + "end_column": 77 } ], - "code": "{\r\n\t\tthis.cardholderName = cardholderName;\r\n\t}", - "start_line": 425, - "end_line": 427, - "code_start_line": 425, + "code": "{\r\n\t\tPopulate popDB = new Populate(resetDB, catalog, login, backOrderStock, suppliers);\r\n\t\tpopDB.doPopulate();\r\n\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_HELP);\r\n\t}", + "start_line": 209, + "end_line": 213, + "code_start_line": 209, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ + "com.ibm.websphere.samples.pbw.war.Populate", "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName" + "com.ibm.websphere.samples.pbw.war.AdminServlet.resetDB", + "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", + "com.ibm.websphere.samples.pbw.war.AdminServlet.login", + "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers", + "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_HELP" + ], + "call_sites": [ + { + "method_name": "doPopulate", + "comment": null, + "receiver_expr": "popDB", + "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "doPopulate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 211, + "start_column": 3, + "end_line": 211, + "end_column": 20 + }, + { + "method_name": "sendRedirect", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "resp", + "\"/PlantsByWebSphere/\" + Util.PAGE_HELP" + ], + "return_type": "", + "callee_signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 212, + "start_column": 3, + "end_line": 212, + "end_column": 60 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.Populate", + "argument_types": [ + "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "com.ibm.websphere.samples.pbw.bean.SuppliersBean" + ], + "argument_expr": [ + "resetDB", + "catalog", + "login", + "backOrderStock", + "suppliers" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.Populate", + "callee_signature": "Populate(com.ibm.websphere.samples.pbw.bean.ResetDBBean, com.ibm.websphere.samples.pbw.bean.CatalogMgr, com.ibm.websphere.samples.pbw.bean.CustomerMgr, com.ibm.websphere.samples.pbw.bean.BackOrderMgr, com.ibm.websphere.samples.pbw.bean.SuppliersBean)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 210, + "start_column": 20, + "end_line": 210, + "end_column": 83 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "popDB", + "type": "com.ibm.websphere.samples.pbw.war.Populate", + "initializer": "new Populate(resetDB, catalog, login, backOrderStock, suppliers)", + "start_line": 210, + "start_column": 12, + "end_line": 210, + "end_column": 83 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "setShipZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setShipZip(String)", + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", - "start_line": 376, - "end_line": 379, + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 81, + "end_line": 88, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -45643,86 +51917,86 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setShipZip(String shipZip)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "shipZip", + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", "annotations": [], "modifiers": [], - "start_line": 380, - "end_line": 380, - "start_column": 25, - "end_column": 38 + "start_line": 89, + "end_line": 89, + "start_column": 20, + "end_column": 41 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 44, + "end_column": 67 } ], - "code": "{\r\n\t\tthis.shipZip = shipZip;\r\n\t}", - "start_line": 380, - "end_line": 382, - "code_start_line": 380, + "code": "{\r\n\t\tperformTask(req, resp);\r\n\t}", + "start_line": 89, + "end_line": 91, + "code_start_line": 89, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCardholderName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "getCardholderName()", - "comments": [ + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ { - "content": "\r\n\t * @return the cardholderName\r\n\t ", - "start_line": 414, - "end_line": 416, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "method_name": "performTask", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 3, + "end_line": 90, + "end_column": 24 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getCardholderName()", - "parameters": [], - "code": "{\r\n\t\treturn cardholderName;\r\n\t}", - "start_line": 417, - "end_line": 419, - "code_start_line": 417, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "setCardNum(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", - "signature": "setCardNum(String)", + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", - "start_line": 451, - "end_line": 454, + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param req\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param resp\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 93, + "end_line": 100, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -45732,1234 +52006,3617 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setCardNum(String cardNum)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "cardNum", + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", "annotations": [], "modifiers": [], - "start_line": 455, - "end_line": 455, - "start_column": 25, - "end_column": 38 + "start_line": 101, + "end_line": 101, + "start_column": 21, + "end_column": 42 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 45, + "end_column": 68 } ], - "code": "{\r\n\t\tthis.cardNum = cardNum;\r\n\t}", - "start_line": 455, - "end_line": 457, - "code_start_line": 455, + "code": "{\r\n\t\tperformTask(req, resp);\r\n\t}", + "start_line": 101, + "end_line": 103, + "code_start_line": 101, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum" + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "performTask", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 3, + "end_line": 102, + "end_column": 24 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 32, - "end_line": 32, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 33, - "end_line": 33, - "variables": [ - "orderID" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 34, - "end_line": 36, - "variables": [ - "billName" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Name for billing must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 37, - "end_line": 39, - "variables": [ - "billAddr1" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Billing address must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 40, - "end_line": 40, - "variables": [ - "billAddr2" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 43, - "variables": [ - "billCity" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Billing city must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 44, - "end_line": 46, - "variables": [ - "billState" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Billing state must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 48, - "end_line": 49, - "variables": [ - "billZip" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Pattern(regexp = \"\\\\d{5}\", message = \"Billing zip code does not have 5 digits.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 51, - "end_line": 52, - "variables": [ - "billPhone" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Billing phone number does not match xxx-xxx-xxxx.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 53, - "end_line": 55, - "variables": [ - "shipName" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Name for shipping must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 56, - "end_line": 58, - "variables": [ - "shipAddr1" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Shipping address must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 59, - "end_line": 59, - "variables": [ - "shipAddr2" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 60, - "end_line": 62, - "variables": [ - "shipCity" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Shipping city must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 63, - "end_line": 65, - "variables": [ - "shipState" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Shipping state must include at least one letter.\")" - ] + "is_entrypoint": true }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 67, - "end_line": 68, - "variables": [ - "shipZip" + "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": " Get supplier info", + "start_line": 175, + "end_line": 175, + "start_column": 4, + "end_column": 23, + "is_javadoc": false + }, + { + "content": " Unknown Supplier Config Admin Action so go back to the", + "start_line": 195, + "end_line": 195, + "start_column": 4, + "end_column": 60, + "is_javadoc": false + }, + { + "content": " Administration home page", + "start_line": 196, + "end_line": 196, + "start_column": 4, + "end_column": 30, + "is_javadoc": false + }, + { + "content": "\r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 159, + "end_line": 164, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "private" - ], - "annotations": [ - "@Pattern(regexp = \"[0-9][0-9][0-9][0-9][0-9]\", message = \"Shipping zip code does not have 5 digits.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 70, - "end_line": 71, - "variables": [ - "shipPhone" + "public" ], - "modifiers": [ - "private" + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" ], - "annotations": [ - "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Shipping phone number does not match xxx-xxx-xxxx.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 72, - "end_line": 72, - "variables": [ - "shippingMethod" + "declaration": "public void performSupplierConfig(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 165, + "end_line": 165, + "start_column": 36, + "end_column": 57 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 166, + "end_line": 166, + "start_column": 4, + "end_column": 27 + } ], - "modifiers": [ - "private" + "code": "{\r\n\t\tSupplier supplier = null;\r\n\t\tString action = null;\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tif ((action == null) || (action.equals(\"\")))\r\n\t\t\taction = Util.ACTION_GETSUPPLIER;\r\n\t\tUtil.debug(\"AdminServlet.performSupplierConfig() - action=\" + action);\r\n\t\tHttpSession session = req.getSession(true);\r\n\t\tif (action.equals(Util.ACTION_GETSUPPLIER)) {\r\n\t\t\t// Get supplier info\r\n\t\t\ttry {\r\n\t\t\t\tsupplier = suppliers.getSupplier();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.performSupplierConfig() Exception: \" + e);\r\n\t\t\t}\r\n\t\t} else if (action.equals(Util.ACTION_UPDATESUPPLIER)) {\r\n\t\t\tString supplierID = req.getParameter(\"supplierid\");\r\n\t\t\tUtil.debug(\"AdminServlet.performSupplierConfig() - supplierid = \" + supplierID);\r\n\t\t\tif ((supplierID != null) && (!supplierID.equals(\"\"))) {\r\n\t\t\t\tString name = req.getParameter(\"name\");\r\n\t\t\t\tString street = req.getParameter(\"street\");\r\n\t\t\t\tString city = req.getParameter(\"city\");\r\n\t\t\t\tString state = req.getParameter(\"state\");\r\n\t\t\t\tString zip = req.getParameter(\"zip\");\r\n\t\t\t\tString phone = req.getParameter(\"phone\");\r\n\t\t\t\tString location_url = req.getParameter(\"location_url\");\r\n\t\t\t\tsupplier = updateSupplierInfo(supplierID, name, street, city, state, zip, phone, location_url);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// Unknown Supplier Config Admin Action so go back to the\r\n\t\t\t// Administration home page\r\n\t\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t\tsession.setAttribute(Util.ATTR_SUPPLIER, supplier);\r\n\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_SUPPLIERCFG);\r\n\t}", + "start_line": 165, + "end_line": 201, + "code_start_line": 166, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.servlet.http.HttpSession", + "com.ibm.websphere.samples.pbw.jpa.Supplier", + "java.lang.String" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 73, - "end_line": 75, - "variables": [ - "cardholderName" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATESUPPLIER", + "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_GETSUPPLIER", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_SUPPLIERCFG", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_SUPPLIER" + ], + "call_sites": [ + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_ACTION" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 169, + "start_column": 12, + "end_line": 169, + "end_column": 45 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 170, + "start_column": 28, + "end_line": 170, + "end_column": 44 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performSupplierConfig() - action=\" + action" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 172, + "start_column": 3, + "end_line": 172, + "end_column": 71 + }, + { + "method_name": "getSession", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 173, + "start_column": 25, + "end_line": 173, + "end_column": 44 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_GETSUPPLIER" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 174, + "start_column": 7, + "end_line": 174, + "end_column": 44 + }, + { + "method_name": "getSupplier", + "comment": null, + "receiver_expr": "suppliers", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "getSupplier()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 16, + "end_line": 177, + "end_column": 38 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performSupplierConfig() Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 179, + "start_column": 5, + "end_line": 179, + "end_column": 70 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_UPDATESUPPLIER" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 14, + "end_line": 181, + "end_column": 54 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"supplierid\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 182, + "start_column": 24, + "end_line": 182, + "end_column": 53 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performSupplierConfig() - supplierid = \" + supplierID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 183, + "start_column": 4, + "end_line": 183, + "end_column": 82 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "supplierID", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 184, + "start_column": 34, + "end_line": 184, + "end_column": 54 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"name\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 185, + "start_column": 19, + "end_line": 185, + "end_column": 42 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"street\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 186, + "start_column": 21, + "end_line": 186, + "end_column": 46 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"city\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 187, + "start_column": 19, + "end_line": 187, + "end_column": 42 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"state\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 188, + "start_column": 20, + "end_line": 188, + "end_column": 44 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"zip\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 189, + "start_column": 18, + "end_line": 189, + "end_column": 40 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"phone\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 190, + "start_column": 20, + "end_line": 190, + "end_column": 44 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"location_url\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 191, + "start_column": 27, + "end_line": 191, + "end_column": 58 + }, + { + "method_name": "updateSupplierInfo", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "supplierID", + "name", + "street", + "city", + "state", + "zip", + "phone", + "location_url" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 192, + "start_column": 16, + "end_line": 192, + "end_column": 98 + }, + { + "method_name": "sendRedirect", + "comment": { + "content": " Administration home page", + "start_line": 196, + "end_line": 196, + "start_column": 4, + "end_column": 30, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "resp", + "\"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME" + ], + "return_type": "", + "callee_signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 197, + "start_column": 4, + "end_line": 197, + "end_column": 66 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Supplier" + ], + "argument_expr": [ + "Util.ATTR_SUPPLIER", + "supplier" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 199, + "start_column": 3, + "end_line": 199, + "end_column": 52 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_SUPPLIERCFG" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 200, + "start_column": 3, + "end_line": 200, + "end_column": 91 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 200, + "start_column": 19, + "end_line": 200, + "end_column": 56 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 200, + "start_column": 19, + "end_line": 200, + "end_column": 36 + } ], - "modifiers": [ - "private" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "supplier", + "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "initializer": "null", + "start_line": 167, + "start_column": 12, + "end_line": 167, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "action", + "type": "java.lang.String", + "initializer": "null", + "start_line": 168, + "start_column": 10, + "end_line": 168, + "end_column": 22 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 173, + "start_column": 15, + "end_line": 173, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "supplierID", + "type": "java.lang.String", + "initializer": "req.getParameter(\"supplierid\")", + "start_line": 182, + "start_column": 11, + "end_line": 182, + "end_column": 53 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "name", + "type": "java.lang.String", + "initializer": "req.getParameter(\"name\")", + "start_line": 185, + "start_column": 12, + "end_line": 185, + "end_column": 42 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "street", + "type": "java.lang.String", + "initializer": "req.getParameter(\"street\")", + "start_line": 186, + "start_column": 12, + "end_line": 186, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "city", + "type": "java.lang.String", + "initializer": "req.getParameter(\"city\")", + "start_line": 187, + "start_column": 12, + "end_line": 187, + "end_column": 42 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "state", + "type": "java.lang.String", + "initializer": "req.getParameter(\"state\")", + "start_line": 188, + "start_column": 12, + "end_line": 188, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "zip", + "type": "java.lang.String", + "initializer": "req.getParameter(\"zip\")", + "start_line": 189, + "start_column": 12, + "end_line": 189, + "end_column": 40 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "phone", + "type": "java.lang.String", + "initializer": "req.getParameter(\"phone\")", + "start_line": 190, + "start_column": 12, + "end_line": 190, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "location_url", + "type": "java.lang.String", + "initializer": "req.getParameter(\"location_url\")", + "start_line": 191, + "start_column": 12, + "end_line": 191, + "end_column": 58 + } ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Card holder name must include at least one letter.\")" - ] + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 8, + "is_entrypoint": true }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 76, - "end_line": 76, - "variables": [ - "cardName" + "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Method sendRedirect.\r\n\t * \r\n\t * @param resp\r\n\t * @param page\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 352, + "end_line": 359, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ "private" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 78, - "end_line": 79, - "variables": [ - "cardNum" - ], - "modifiers": [ - "private" + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" ], - "annotations": [ - "@Pattern(regexp = \"\\\\d{4} \\\\d{4} \\\\d{4} \\\\d{4}\", message = \"Credit card numbers must be entered as XXXX XXXX XXXX XXXX.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 80, - "end_line": 80, - "variables": [ - "cardExpMonth" + "declaration": "private void sendRedirect(HttpServletResponse resp, String page) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 360, + "end_line": 360, + "start_column": 28, + "end_column": 51 + }, + { + "type": "java.lang.String", + "name": "page", + "annotations": [], + "modifiers": [], + "start_line": 360, + "end_line": 360, + "start_column": 54, + "end_column": 64 + } ], - "modifiers": [ - "private" + "code": "{\r\n\t\tresp.sendRedirect(resp.encodeRedirectURL(page));\r\n\t}", + "start_line": 360, + "end_line": 362, + "code_start_line": 360, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "sendRedirect", + "comment": null, + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "resp.encodeRedirectURL(page)" + ], + "return_type": "", + "callee_signature": "sendRedirect(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 361, + "start_column": 3, + "end_line": 361, + "end_column": 49 + }, + { + "method_name": "encodeRedirectURL", + "comment": null, + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "page" + ], + "return_type": "java.lang.String", + "callee_signature": "encodeRedirectURL(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 361, + "start_column": 21, + "end_line": 361, + "end_column": 48 + } ], - "annotations": [] + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 81, - "end_line": 81, - "variables": [ - "cardExpYear" + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": " Invalid Admin", + "start_line": 118, + "end_line": 118, + "start_column": 4, + "end_column": 19, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method performTask.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 105, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "private" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String[]", - "start_line": 82, - "end_line": 82, - "variables": [ - "cardExpYears" + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" ], - "modifiers": [ - "private" + "declaration": "public void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 26, + "end_column": 47 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 50, + "end_column": 73 + } ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "boolean", - "start_line": 83, - "end_line": 83, - "variables": [ - "shipisbill" + "code": "{\r\n\t\tString admintype = null;\r\n\t\tadmintype = req.getParameter(Util.ATTR_ADMINTYPE);\r\n\t\tUtil.debug(\"inside AdminServlet:performTask. admintype=\" + admintype);\r\n\t\tif ((admintype == null) || (admintype.equals(\"\"))) {\r\n\t\t\t// Invalid Admin\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t\tif (admintype.equals(Util.ADMIN_BACKORDER)) {\r\n\t\t\tperformBackOrder(req, resp);\r\n\t\t} else if (admintype.equals(Util.ADMIN_SUPPLIERCFG)) {\r\n\t\t\tperformSupplierConfig(req, resp);\r\n\t\t} else if (admintype.equals(Util.ADMIN_POPULATE)) {\r\n\t\t\tperformPopulate(req, resp);\r\n\t\t}\r\n\t}", + "start_line": 113, + "end_line": 128, + "code_start_line": 113, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" ], - "modifiers": [ - "private" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_BACKORDER", + "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_SUPPLIERCFG", + "com.ibm.websphere.samples.pbw.utils.Util.ADMIN_POPULATE", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ADMINTYPE", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME" ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", - "package_name": "com.ibm.websphere.samples.pbw.utils", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "\r\n * @author aamortim\r\n *\r\n * To change the template for this generated type comment go to\r\n * Window>Preferences>Java>Code Generation>Code and Comments\r\n ", - "start_line": 28, - "end_line": 33, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Utility class.\r\n ", - "start_line": 34, - "end_line": 36, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": " Method load\r\n * @param inStream\r\n ", - "start_line": 43, - "end_line": 45, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 38, - "end_line": 40, - "start_column": 5, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Parse property file, remove comments, blank lines, and combine", - "start_line": 50, - "end_line": 50, - "start_column": 13, - "end_column": 77, - "is_javadoc": false - }, - { - "content": " continued lines.", - "start_line": 51, - "end_line": 51, - "start_column": 13, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " Skipping comment", - "start_line": 61, - "end_line": 61, - "start_column": 21, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Skipping comment", - "start_line": 63, - "end_line": 63, - "start_column": 21, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Skipping blank lines", - "start_line": 65, - "end_line": 65, - "start_column": 21, - "end_column": 43, - "is_javadoc": false - }, - { - "content": " This is a continuation line. Add to previous line.", - "start_line": 70, - "end_line": 70, - "start_column": 25, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " Must be a property line", - "start_line": 73, - "end_line": 73, - "start_column": 21, - "end_column": 46, - "is_javadoc": false - }, - { - "content": " Next line is continued from the current one.", - "start_line": 75, - "end_line": 75, - "start_column": 25, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " The current line is completed. Parse the property.", - "start_line": 78, - "end_line": 78, - "start_column": 25, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " Load Properties", - "start_line": 86, - "end_line": 86, - "start_column": 13, - "end_column": 30, - "is_javadoc": false - }, - { - "content": " Now parse the Properties to create an array", - "start_line": 88, - "end_line": 88, - "start_column": 13, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Parse the line to get the key,value pair", - "start_line": 92, - "end_line": 92, - "start_column": 17, - "end_column": 59, - "is_javadoc": false - }, - { - "content": " Previous key,value was already created.", - "start_line": 97, - "end_line": 97, - "start_column": 25, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Need an array", - "start_line": 98, - "end_line": 98, - "start_column": 25, - "end_column": 40, - "is_javadoc": false - }, - { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 116, - "end_line": 121, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 131, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.BufferedReader", - "java.io.IOException", - "java.io.InputStream", - "java.io.InputStreamReader", - "java.util.Hashtable", - "java.util.Properties", - "java.util.StringTokenizer", - "java.util.Vector" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.utils.ListProperties": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "java.util.Properties" - ], - "comments": [ - { - "content": " Method load\r\n * @param inStream\r\n ", - "start_line": 43, - "end_line": 45, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 38, - "end_line": 40, - "start_column": 5, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " Parse property file, remove comments, blank lines, and combine", - "start_line": 50, - "end_line": 50, - "start_column": 13, - "end_column": 77, - "is_javadoc": false - }, - { - "content": " continued lines.", - "start_line": 51, - "end_line": 51, - "start_column": 13, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " Skipping comment", - "start_line": 61, - "end_line": 61, - "start_column": 21, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Skipping comment", - "start_line": 63, - "end_line": 63, - "start_column": 21, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " Skipping blank lines", - "start_line": 65, - "end_line": 65, - "start_column": 21, - "end_column": 43, - "is_javadoc": false - }, - { - "content": " This is a continuation line. Add to previous line.", - "start_line": 70, - "end_line": 70, - "start_column": 25, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " Must be a property line", - "start_line": 73, - "end_line": 73, - "start_column": 21, - "end_column": 46, - "is_javadoc": false - }, - { - "content": " Next line is continued from the current one.", - "start_line": 75, - "end_line": 75, - "start_column": 25, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " The current line is completed. Parse the property.", - "start_line": 78, - "end_line": 78, - "start_column": 25, - "end_column": 79, - "is_javadoc": false - }, - { - "content": " Load Properties", - "start_line": 86, - "end_line": 86, - "start_column": 13, - "end_column": 30, - "is_javadoc": false - }, - { - "content": " Now parse the Properties to create an array", - "start_line": 88, - "end_line": 88, - "start_column": 13, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " Parse the line to get the key,value pair", - "start_line": 92, - "end_line": 92, - "start_column": 17, - "end_column": 59, - "is_javadoc": false - }, - { - "content": " Previous key,value was already created.", - "start_line": 97, - "end_line": 97, - "start_column": 25, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Need an array", - "start_line": 98, - "end_line": 98, - "start_column": 25, - "end_column": 40, - "is_javadoc": false - }, - { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 116, - "end_line": 121, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 131, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "call_sites": [ + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_ADMINTYPE" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 15, + "end_line": 115, + "end_column": 51 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"inside AdminServlet:performTask. admintype=\" + admintype" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 3, + "end_line": 116, + "end_column": 71 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "admintype", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 117, + "start_column": 31, + "end_line": 117, + "end_column": 50 + }, + { + "method_name": "requestDispatch", + "comment": { + "content": " Invalid Admin", + "start_line": 118, + "end_line": 118, + "start_column": 4, + "end_column": 19, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_ADMINHOME" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 4, + "end_line": 119, + "end_column": 90 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 57 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 37 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "admintype", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ADMIN_BACKORDER" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 7, + "end_line": 121, + "end_column": 44 + }, + { + "method_name": "performBackOrder", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 4, + "end_line": 122, + "end_column": 30 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "admintype", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ADMIN_SUPPLIERCFG" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 14, + "end_line": 123, + "end_column": 53 + }, + { + "method_name": "performSupplierConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "performSupplierConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 4, + "end_line": 124, + "end_column": 35 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "admintype", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ADMIN_POPULATE" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 14, + "end_line": 125, + "end_column": 50 + }, + { + "method_name": "performPopulate", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "performPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 4, + "end_line": 126, + "end_column": 29 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "admintype", + "type": "java.lang.String", + "initializer": "null", + "start_line": 114, + "start_column": 10, + "end_line": 114, + "end_column": 25 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 6, + "is_entrypoint": true }, - { - "content": "\r\n * Utility class.\r\n ", - "start_line": 34, - "end_line": 36, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "load(InputStream)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", - "signature": "load(InputStream)", + "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "performBackOrder(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": " Parse property file, remove comments, blank lines, and combine", - "start_line": 50, - "end_line": 50, + "content": " Update the BackOrder status", + "start_line": 246, + "end_line": 246, + "start_column": 7, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " Unknown Backup Admin Action so go back to the Administration home", + "start_line": 294, + "end_line": 294, + "start_column": 4, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " page", + "start_line": 295, + "end_line": 295, + "start_column": 4, + "end_column": 10, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method performBackOrder.\r\n\t * \r\n\t * @param req\r\n\t * @param resp\r\n\t * @throws ServletException\r\n\t * @throws IOException\r\n\t ", + "start_line": 215, + "end_line": 222, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void performBackOrder(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 223, + "end_line": 223, + "start_column": 31, + "end_column": 52 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 224, + "end_line": 224, + "start_column": 4, + "end_column": 27 + } + ], + "code": "{\r\n\t\tString action = null;\r\n\t\taction = req.getParameter(Util.ATTR_ACTION);\r\n\t\tif ((action == null) || (action.equals(\"\")))\r\n\t\t\taction = Util.ACTION_GETBACKORDERS;\r\n\t\tUtil.debug(\"AdminServlet.performBackOrder() - action=\" + action);\r\n\t\tHttpSession session = req.getSession(true);\r\n\t\tif (action.equals(Util.ACTION_GETBACKORDERS)) {\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_UPDATESTOCK)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Update Stock Action\");\r\n\t\t\tString[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\r\n\t\t\tif (backOrderIDs != null) {\r\n\t\t\t\tfor (int i = 0; i < backOrderIDs.length; i++) {\r\n\t\t\t\t\tString backOrderID = backOrderIDs[i];\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tString inventoryID = backOrderStock.getBackOrderInventoryID(backOrderID);\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + inventoryID);\r\n\t\t\t\t\t\tint quantity = backOrderStock.getBackOrderQuantity(backOrderID);\r\n\t\t\t\t\t\tcatalog.setItemQuantity(inventoryID, quantity);\r\n\t\t\t\t\t\t// Update the BackOrder status\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\r\n\t\t\t\t\t\tbackOrderStock.updateStock(backOrderID, quantity);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_CANCEL)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - AdminServlet(performTask): Cancel Action\");\r\n\t\t\tString[] backOrderIDs = (String[]) req.getParameterValues(\"selectedObjectIds\");\r\n\t\t\tif (backOrderIDs != null) {\r\n\t\t\t\tfor (int i = 0; i < backOrderIDs.length; i++) {\r\n\t\t\t\t\tString backOrderID = backOrderIDs[i];\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tbackOrderStock.deleteBackOrder(backOrderID);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else if (action.equals(Util.ACTION_UPDATEQUANTITY)) {\r\n\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Update Quantity Action\");\r\n\t\t\ttry {\r\n\t\t\t\tString backOrderID = req.getParameter(\"backOrderID\");\r\n\t\t\t\tif (backOrderID != null) {\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - backOrderID = \" + backOrderID);\r\n\t\t\t\t\tString paramquantity = req.getParameter(\"itemqty\");\r\n\t\t\t\t\tif (paramquantity != null) {\r\n\t\t\t\t\t\tint quantity = new Integer(paramquantity).intValue();\r\n\t\t\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - quantity: \" + quantity);\r\n\t\t\t\t\t\tbackOrderStock.setBackOrderQuantity(backOrderID, quantity);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tUtil.debug(\"AdminServlet.performBackOrder() - Exception: \" + e);\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\tgetBackOrders(session);\r\n\t\t\trequestDispatch(getServletConfig().getServletContext(), req, resp, Util.PAGE_BACKADMIN);\r\n\t\t} else {\r\n\t\t\t// Unknown Backup Admin Action so go back to the Administration home\r\n\t\t\t// page\r\n\t\t\tsendRedirect(resp, \"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME);\r\n\t\t}\r\n\t}", + "start_line": 223, + "end_line": 298, + "code_start_line": 224, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.servlet.http.HttpSession", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", + "com.ibm.websphere.samples.pbw.utils.Util.ATTR_ACTION", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_GETBACKORDERS", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_BACKADMIN", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_CANCEL", + "length", + "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATESTOCK", + "com.ibm.websphere.samples.pbw.utils.Util.ACTION_UPDATEQUANTITY", + "com.ibm.websphere.samples.pbw.utils.Util.PAGE_ADMINHOME" + ], + "call_sites": [ + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ATTR_ACTION" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 226, + "start_column": 12, + "end_line": 226, + "end_column": 45 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 227, + "start_column": 28, + "end_line": 227, + "end_column": 44 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - action=\" + action" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 229, + "start_column": 3, + "end_line": 229, + "end_column": 66 + }, + { + "method_name": "getSession", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 230, + "start_column": 25, + "end_line": 230, + "end_column": 44 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_GETBACKORDERS" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 231, + "start_column": 7, + "end_line": 231, + "end_column": 46 + }, + { + "method_name": "getBackOrders", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpSession" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "getBackOrders(javax.servlet.http.HttpSession)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 232, + "start_column": 4, + "end_line": 232, + "end_column": 25 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_BACKADMIN" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 4, + "end_line": 233, + "end_column": 90 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 20, + "end_line": 233, + "end_column": 57 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 20, + "end_line": 233, + "end_column": 37 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_UPDATESTOCK" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 234, + "start_column": 14, + "end_line": 234, + "end_column": 51 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - AdminServlet(performTask): Update Stock Action\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 235, + "start_column": 4, + "end_line": 235, + "end_column": 98 + }, + { + "method_name": "getParameterValues", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"selectedObjectIds\"" + ], + "return_type": "java.lang.String[]", + "callee_signature": "getParameterValues(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 236, + "start_column": 39, + "end_line": 236, + "end_column": 81 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 240, + "start_column": 6, + "end_line": 240, + "end_column": 99 + }, + { + "method_name": "getBackOrderInventoryID", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "backOrderID" + ], + "return_type": "java.lang.String", + "callee_signature": "getBackOrderInventoryID(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 242, + "start_column": 28, + "end_line": 242, + "end_column": 78 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - backOrderID = \" + inventoryID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 243, + "start_column": 7, + "end_line": 243, + "end_column": 82 + }, + { + "method_name": "getBackOrderQuantity", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "backOrderID" + ], + "return_type": "", + "callee_signature": "getBackOrderQuantity(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 244, + "start_column": 22, + "end_line": 244, + "end_column": 69 + }, + { + "method_name": "setItemQuantity", + "comment": null, + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "inventoryID", + "quantity" + ], + "return_type": "", + "callee_signature": "setItemQuantity(java.lang.String, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 245, + "start_column": 7, + "end_line": 245, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": { + "content": " Update the BackOrder status", + "start_line": 246, + "end_line": 246, + "start_column": 7, + "end_column": 36, + "is_javadoc": false + }, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - quantity: \" + quantity" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 247, + "start_column": 7, + "end_line": 247, + "end_column": 75 + }, + { + "method_name": "updateStock", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "backOrderID", + "quantity" + ], + "return_type": "", + "callee_signature": "updateStock(java.lang.String, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 248, + "start_column": 7, + "end_line": 248, + "end_column": 55 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 250, + "start_column": 7, + "end_line": 250, + "end_column": 69 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 251, + "start_column": 7, + "end_line": 251, + "end_column": 25 + }, + { + "method_name": "getBackOrders", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpSession" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "getBackOrders(javax.servlet.http.HttpSession)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 255, + "start_column": 4, + "end_line": 255, + "end_column": 25 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_BACKADMIN" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 256, + "start_column": 4, + "end_line": 256, + "end_column": 90 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 256, + "start_column": 20, + "end_line": 256, + "end_column": 57 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 256, + "start_column": 20, + "end_line": 256, + "end_column": 37 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_CANCEL" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 257, + "start_column": 14, + "end_line": 257, + "end_column": 46 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - AdminServlet(performTask): Cancel Action\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 258, + "start_column": 4, + "end_line": 258, + "end_column": 92 + }, + { + "method_name": "getParameterValues", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"selectedObjectIds\"" + ], + "return_type": "java.lang.String[]", + "callee_signature": "getParameterValues(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 259, + "start_column": 39, + "end_line": 259, + "end_column": 81 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Selected BackOrder backOrderID: \" + backOrderID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 263, + "start_column": 6, + "end_line": 263, + "end_column": 99 + }, + { + "method_name": "deleteBackOrder", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "backOrderID" + ], + "return_type": "", + "callee_signature": "deleteBackOrder(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 265, + "start_column": 7, + "end_line": 265, + "end_column": 49 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 267, + "start_column": 7, + "end_line": 267, + "end_column": 69 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 268, + "start_column": 7, + "end_line": 268, + "end_column": 25 + }, + { + "method_name": "getBackOrders", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpSession" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "getBackOrders(javax.servlet.http.HttpSession)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 272, + "start_column": 4, + "end_line": 272, + "end_column": 25 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_BACKADMIN" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 273, + "start_column": 4, + "end_line": 273, + "end_column": 90 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 273, + "start_column": 20, + "end_line": 273, + "end_column": 57 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 273, + "start_column": 20, + "end_line": 273, + "end_column": 37 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.ACTION_UPDATEQUANTITY" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 274, + "start_column": 14, + "end_line": 274, + "end_column": 54 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Update Quantity Action\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 275, + "start_column": 4, + "end_line": 275, + "end_column": 74 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"backOrderID\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 277, + "start_column": 26, + "end_line": 277, + "end_column": 56 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - backOrderID = \" + backOrderID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 279, + "start_column": 6, + "end_line": 279, + "end_column": 81 + }, + { + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"itemqty\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 280, + "start_column": 29, + "end_line": 280, + "end_column": 55 + }, + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "new Integer(paramquantity)", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 282, + "start_column": 22, + "end_line": 282, + "end_column": 58 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - quantity: \" + quantity" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 283, + "start_column": 7, + "end_line": 283, + "end_column": 75 + }, + { + "method_name": "setBackOrderQuantity", + "comment": null, + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "backOrderID", + "quantity" + ], + "return_type": "", + "callee_signature": "setBackOrderQuantity(java.lang.String, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 284, + "start_column": 7, + "end_line": 284, + "end_column": 64 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.performBackOrder() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 288, + "start_column": 5, + "end_line": 288, + "end_column": 67 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 289, + "start_column": 5, + "end_line": 289, + "end_column": 23 + }, + { + "method_name": "getBackOrders", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpSession" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "getBackOrders(javax.servlet.http.HttpSession)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 291, + "start_column": 4, + "end_line": 291, + "end_column": 25 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "getServletConfig().getServletContext()", + "req", + "resp", + "Util.PAGE_BACKADMIN" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 292, + "start_column": 4, + "end_line": 292, + "end_column": 90 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 292, + "start_column": 20, + "end_line": 292, + "end_column": 57 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 292, + "start_column": 20, + "end_line": 292, + "end_column": 37 + }, + { + "method_name": "sendRedirect", + "comment": { + "content": " page", + "start_line": 295, + "end_line": 295, + "start_column": 4, + "end_column": 10, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletResponse", + "java.lang.String" + ], + "argument_expr": [ + "resp", + "\"/PlantsByWebSphere/\" + Util.PAGE_ADMINHOME" + ], + "return_type": "", + "callee_signature": "sendRedirect(javax.servlet.http.HttpServletResponse, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 296, + "start_column": 4, + "end_line": 296, + "end_column": 66 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "paramquantity" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 282, + "start_column": 22, + "end_line": 282, + "end_column": 47 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "action", + "type": "java.lang.String", + "initializer": "null", + "start_line": 225, + "start_column": 10, + "end_line": 225, + "end_column": 22 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 230, + "start_column": 15, + "end_line": 230, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderIDs", + "type": "java.lang.String[]", + "initializer": "(String[]) req.getParameterValues(\"selectedObjectIds\")", + "start_line": 236, "start_column": 13, - "end_column": 77, - "is_javadoc": false + "end_line": 236, + "end_column": 81 }, { - "content": " continued lines.", - "start_line": 51, - "end_line": 51, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 238, + "start_column": 14, + "end_line": 238, + "end_column": 18 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderID", + "type": "java.lang.String", + "initializer": "backOrderIDs[i]", + "start_line": 239, "start_column": 13, - "end_column": 31, - "is_javadoc": false + "end_line": 239, + "end_column": 41 }, { - "content": " Skipping comment", - "start_line": 61, - "end_line": 61, - "start_column": 21, - "end_column": 39, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", + "type": "java.lang.String", + "initializer": "backOrderStock.getBackOrderInventoryID(backOrderID)", + "start_line": 242, + "start_column": 14, + "end_line": 242, + "end_column": 78 }, { - "content": " Skipping comment", - "start_line": 63, - "end_line": 63, - "start_column": 21, - "end_column": 39, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "int", + "initializer": "backOrderStock.getBackOrderQuantity(backOrderID)", + "start_line": 244, + "start_column": 11, + "end_line": 244, + "end_column": 69 }, { - "content": " Skipping blank lines", - "start_line": 65, - "end_line": 65, - "start_column": 21, - "end_column": 43, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderIDs", + "type": "java.lang.String[]", + "initializer": "(String[]) req.getParameterValues(\"selectedObjectIds\")", + "start_line": 259, + "start_column": 13, + "end_line": 259, + "end_column": 81 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 261, + "start_column": 14, + "end_line": 261, + "end_column": 18 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderID", + "type": "java.lang.String", + "initializer": "backOrderIDs[i]", + "start_line": 262, + "start_column": 13, + "end_line": 262, + "end_column": 41 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderID", + "type": "java.lang.String", + "initializer": "req.getParameter(\"backOrderID\")", + "start_line": 277, + "start_column": 12, + "end_line": 277, + "end_column": 56 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "paramquantity", + "type": "java.lang.String", + "initializer": "req.getParameter(\"itemqty\")", + "start_line": 280, + "start_column": 13, + "end_line": 280, + "end_column": 55 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "int", + "initializer": "new Integer(paramquantity).intValue()", + "start_line": 282, + "start_column": 11, + "end_line": 282, + "end_column": 58 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 16, + "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": " Uncomment the following to generated debug code.", + "start_line": 76, + "end_line": 76, + "start_column": 3, + "end_column": 53, "is_javadoc": false }, { - "content": " This is a continuation line. Add to previous line.", - "start_line": 70, - "end_line": 70, - "start_column": 25, - "end_column": 79, + "content": " Util.setDebug(true);", + "start_line": 77, + "end_line": 77, + "start_column": 3, + "end_column": 25, "is_javadoc": false }, { - "content": " Must be a property line", - "start_line": 73, + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 71, "end_line": 73, - "start_column": 21, - "end_column": 46, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 19, + "end_column": 38 + } + ], + "code": "{\r\n\t\tsuper.init(config);\r\n\t\t// Uncomment the following to generated debug code.\r\n\t\t// Util.setDebug(true);\r\n\r\n\t}", + "start_line": 74, + "end_line": 79, + "code_start_line": 74, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 75, + "start_column": 3, + "end_line": 75, + "end_column": 20 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "updateSupplierInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ + { + "content": " Only retrieving info for 1 supplier.", + "start_line": 149, + "end_line": 149, + "start_column": 3, + "end_column": 41, "is_javadoc": false }, { - "content": " Next line is continued from the current one.", - "start_line": 75, - "end_line": 75, - "start_column": 25, - "end_column": 71, - "is_javadoc": false - }, + "content": "\r\n\t * @param supplierID\r\n\t * @param name\r\n\t * @param street\r\n\t * @param city\r\n\t * @param state\r\n\t * @param zip\r\n\t * @param phone\r\n\t * @param location_url\r\n\t * @return supplierInfo\r\n\t ", + "start_line": 130, + "end_line": 140, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Supplier updateSupplierInfo(String supplierID, String name, String street, String city, String state, String zip, String phone, String location_url)", + "parameters": [ + { + "type": "java.lang.String", + "name": "supplierID", + "annotations": [], + "modifiers": [], + "start_line": 141, + "end_line": 141, + "start_column": 37, + "end_column": 53 + }, + { + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 142, + "end_line": 142, + "start_column": 4, + "end_column": 14 + }, + { + "type": "java.lang.String", + "name": "street", + "annotations": [], + "modifiers": [], + "start_line": 143, + "end_line": 143, + "start_column": 4, + "end_column": 16 + }, + { + "type": "java.lang.String", + "name": "city", + "annotations": [], + "modifiers": [], + "start_line": 144, + "end_line": 144, + "start_column": 4, + "end_column": 14 + }, + { + "type": "java.lang.String", + "name": "state", + "annotations": [], + "modifiers": [], + "start_line": 145, + "end_line": 145, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "zip", + "annotations": [], + "modifiers": [], + "start_line": 146, + "end_line": 146, + "start_column": 4, + "end_column": 13 + }, + { + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 147, + "end_line": 147, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "location_url", + "annotations": [], + "modifiers": [], + "start_line": 148, + "end_line": 148, + "start_column": 4, + "end_column": 22 + } + ], + "code": "{\r\n\t\t// Only retrieving info for 1 supplier.\r\n\t\tSupplier supplier = null;\r\n\t\ttry {\r\n\t\t\tsupplier = suppliers.updateSupplier(supplierID, name, street, city, state, zip, phone, location_url);\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"AdminServlet.updateSupplierInfo() - Exception: \" + e);\r\n\t\t}\r\n\t\treturn (supplier);\r\n\t}", + "start_line": 141, + "end_line": 157, + "code_start_line": 148, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Supplier" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.AdminServlet.suppliers" + ], + "call_sites": [ + { + "method_name": "updateSupplier", + "comment": null, + "receiver_expr": "suppliers", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "supplierID", + "name", + "street", + "city", + "state", + "zip", + "phone", + "location_url" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "callee_signature": "updateSupplier(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 152, + "start_column": 15, + "end_line": 152, + "end_column": 103 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.updateSupplierInfo() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 4, + "end_line": 154, + "end_column": 68 + } + ], + "variable_declarations": [ { - "content": " The current line is completed. Parse the property.", - "start_line": 78, - "end_line": 78, - "start_column": 25, - "end_column": 79, - "is_javadoc": false - }, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "supplier", + "type": "com.ibm.websphere.samples.pbw.jpa.Supplier", + "initializer": "null", + "start_line": 150, + "start_column": 12, + "end_line": 150, + "end_column": 26 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getBackOrders(javax.servlet.http.HttpSession)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/AdminServlet.java", + "signature": "getBackOrders(javax.servlet.http.HttpSession)", + "comments": [ { - "content": " Load Properties", - "start_line": 86, - "end_line": 86, - "start_column": 13, - "end_column": 30, + "content": " Get the list of back order items.", + "start_line": 307, + "end_line": 307, + "start_column": 4, + "end_column": 39, "is_javadoc": false }, { - "content": " Now parse the Properties to create an array", - "start_line": 88, - "end_line": 88, - "start_column": 13, - "end_column": 58, + "content": " Get the inventory quantity and name for the back order item", + "start_line": 321, + "end_line": 321, + "start_column": 5, + "end_column": 66, "is_javadoc": false }, { - "content": " Parse the line to get the key,value pair", - "start_line": 92, - "end_line": 92, - "start_column": 17, - "end_column": 59, + "content": " information.", + "start_line": 322, + "end_line": 322, + "start_column": 5, + "end_column": 19, "is_javadoc": false }, { - "content": " Previous key,value was already created.", - "start_line": 97, - "end_line": 97, - "start_column": 25, - "end_column": 66, + "content": " Don't include backorders that have been completed.", + "start_line": 328, + "end_line": 328, + "start_column": 5, + "end_column": 57, "is_javadoc": false }, { - "content": " Need an array", - "start_line": 98, - "end_line": 98, - "start_column": 25, - "end_column": 40, - "is_javadoc": false + "content": "\r\n\t * Method getBackOrders.\r\n\t * \r\n\t * @param session\r\n\t ", + "start_line": 300, + "end_line": 304, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [ - "java.io.IOException" - ], - "declaration": "public void load(InputStream inStream) throws IOException", + "thrown_exceptions": [], + "declaration": "public void getBackOrders(HttpSession session)", "parameters": [ { - "type": "java.io.InputStream", - "name": "inStream", + "type": "javax.servlet.http.HttpSession", + "name": "session", "annotations": [], "modifiers": [], - "start_line": 47, - "end_line": 47, - "start_column": 19, - "end_column": 38 + "start_line": 305, + "end_line": 305, + "start_column": 28, + "end_column": 46 } ], - "code": "{\r\n try {\r\n \tUtil.debug(\"ListProperties.load - loading from stream \"+inStream);\r\n // Parse property file, remove comments, blank lines, and combine\r\n // continued lines.\r\n String propFile = \"\";\r\n BufferedReader inputLine = new BufferedReader(new InputStreamReader(inStream));\r\n String line = inputLine.readLine();\r\n boolean lineContinue = false;\r\n while (line != null) {\r\n Util.debug(\"ListProperties.load - Line read: \" + line);\r\n line = line.trim();\r\n String currLine = \"\";\r\n if (line.startsWith(\"#\")) {\r\n // Skipping comment\r\n } else if (line.startsWith(\"!\")) {\r\n // Skipping comment\r\n } else if (line.equals(\"\")) {\r\n // Skipping blank lines\r\n } else {\r\n if (!lineContinue) {\r\n currLine = line;\r\n } else {\r\n // This is a continuation line. Add to previous line.\r\n currLine += line;\r\n }\r\n // Must be a property line\r\n if (line.endsWith(\"\\\\\")) {\r\n // Next line is continued from the current one.\r\n lineContinue = true;\r\n } else {\r\n // The current line is completed. Parse the property.\r\n propFile += currLine + \"\\n\";\r\n currLine = \"\";\r\n lineContinue = false;\r\n }\r\n }\r\n line = inputLine.readLine();\r\n }\r\n // Load Properties\r\n listProps = new Hashtable>();\r\n // Now parse the Properties to create an array\r\n String[] props = readTokens(propFile, \"\\n\");\r\n for (int index = 0; index < props.length; index++) {\r\n Util.debug(\"ListProperties.load() - props[\" + index + \"] = \" + props[index]);\r\n // Parse the line to get the key,value pair\r\n String[] val = readTokens(props[index], \"=\");\r\n Util.debug(\"ListProperties.load() - val[0]: \" + val[0] + \" val[1]: \" + val[1]);\r\n if (!val[0].equals(\"\")) {\r\n if (this.containsKey(val[0])) {\r\n // Previous key,value was already created.\r\n // Need an array\r\n Vector currList = (Vector) listProps.get(val[0]);\r\n if ((currList == null) || currList.isEmpty()) {\r\n currList = new Vector();\r\n String prevVal = this.getProperty(val[0]);\r\n currList.addElement(prevVal);\r\n }\r\n currList.addElement(val[1]);\r\n listProps.put(val[0], currList);\r\n }\r\n this.setProperty(val[0], val[1]);\r\n }\r\n }\r\n } catch (Exception e) {\r\n Util.debug(\"ListProperties.load(): Exception: \" + e);\r\n e.printStackTrace();\r\n }\r\n }", - "start_line": 47, - "end_line": 115, - "code_start_line": 47, + "code": "{\r\n\t\ttry {\r\n\t\t\t// Get the list of back order items.\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - Looking for BackOrders\");\r\n\t\t\tCollection backOrders = backOrderStock.findBackOrders();\r\n\t\t\tArrayList backOrderItems = new ArrayList();\r\n\t\t\tfor (BackOrder bo : backOrders) {\r\n\t\t\t\tBackOrderItem boi = new BackOrderItem(bo);\r\n\t\t\t\tbackOrderItems.add(boi);\r\n\t\t\t}\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - BackOrders found!\");\r\n\t\t\tIterator i = backOrderItems.iterator();\r\n\t\t\twhile (i.hasNext()) {\r\n\t\t\t\tBackOrderItem backOrderItem = (BackOrderItem) i.next();\r\n\t\t\t\tString backOrderID = backOrderItem.getBackOrderID();\r\n\t\t\t\tString inventoryID = backOrderItem.getInventory().getInventoryId();\r\n\t\t\t\t// Get the inventory quantity and name for the back order item\r\n\t\t\t\t// information.\r\n\t\t\t\tInventory item = catalog.getItemInventory(inventoryID);\r\n\t\t\t\tint quantity = item.getQuantity();\r\n\t\t\t\tbackOrderItem.setInventoryQuantity(quantity);\r\n\t\t\t\tString name = item.getName();\r\n\t\t\t\tbackOrderItem.setName(name);\r\n\t\t\t\t// Don't include backorders that have been completed.\r\n\t\t\t\tif (!(backOrderItem.getStatus().equals(Util.STATUS_ADDEDSTOCK))) {\r\n\t\t\t\t\tString invID = backOrderItem.getInventory().getInventoryId();\r\n\t\t\t\t\tString supplierOrderID = backOrderItem.getSupplierOrderID();\r\n\t\t\t\t\tString status = backOrderItem.getStatus();\r\n\t\t\t\t\tString lowDate = new Long(backOrderItem.getLowDate()).toString();\r\n\t\t\t\t\tString orderDate = new Long(backOrderItem.getOrderDate()).toString();\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - backOrderID = \" + backOrderID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - supplierOrderID = \" + supplierOrderID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - invID = \" + invID);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - name = \" + name);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - quantity = \" + quantity);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - status = \" + status);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - lowDate = \" + lowDate);\r\n\t\t\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - orderDate = \" + orderDate);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsession.setAttribute(\"backorderitems\", backOrderItems);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tUtil.debug(\"AdminServlet.getBackOrders() - RemoteException: \" + e);\r\n\t\t}\r\n\t}", + "start_line": 305, + "end_line": 350, + "code_start_line": 305, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Vector", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.ArrayList", + "com.ibm.websphere.samples.pbw.jpa.BackOrder", "java.lang.String", - "java.io.BufferedReader" + "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "java.util.Iterator", + "java.util.Collection" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.ListProperties.listProps", - "length" + "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ADDEDSTOCK", + "com.ibm.websphere.samples.pbw.war.AdminServlet.catalog", + "com.ibm.websphere.samples.pbw.war.AdminServlet.backOrderStock" ], "call_sites": [ { "method_name": "debug", - "comment": null, + "comment": { + "content": " Get the list of back order items.", + "start_line": 307, + "end_line": 307, + "start_column": 4, + "end_column": 39, + "is_javadoc": false + }, "receiver_expr": "Util", "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - Looking for BackOrders\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -46970,19 +55627,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 49, - "start_column": 10, - "end_line": 49, - "end_column": 74 + "start_line": 308, + "start_column": 4, + "end_line": 308, + "end_column": 70 }, { - "method_name": "readLine", + "method_name": "findBackOrders", "comment": null, - "receiver_expr": "inputLine", - "receiver_type": "java.io.BufferedReader", + "receiver_expr": "backOrderStock", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "readLine()", + "argument_expr": [], + "return_type": "java.util.Collection", + "callee_signature": "findBackOrders()", "is_public": true, "is_protected": false, "is_private": false, @@ -46991,10 +55649,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 54, - "start_column": 27, - "end_line": 54, - "end_column": 46 + "start_line": 309, + "start_column": 39, + "end_line": 309, + "end_column": 69 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "backOrderItems", + "receiver_type": "java.util.ArrayList", + "argument_types": [ + "com.ibm.websphere.samples.pbw.war.BackOrderItem" + ], + "argument_expr": [ + "boi" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 313, + "start_column": 5, + "end_line": 313, + "end_column": 27 }, { "method_name": "debug", @@ -47004,6 +55688,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - BackOrders found!\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -47014,19 +55701,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 57, - "start_column": 17, - "end_line": 57, - "end_column": 70 + "start_line": 315, + "start_column": 4, + "end_line": 315, + "end_column": 65 }, { - "method_name": "trim", + "method_name": "iterator", "comment": null, - "receiver_expr": "line", - "receiver_type": "java.lang.String", + "receiver_expr": "backOrderItems", + "receiver_type": "java.util.ArrayList", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "trim()", + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", "is_public": true, "is_protected": false, "is_private": false, @@ -47035,21 +55723,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 58, - "start_column": 24, - "end_line": 58, - "end_column": 34 + "start_line": 316, + "start_column": 32, + "end_line": 316, + "end_column": 56 }, { - "method_name": "startsWith", + "method_name": "hasNext", "comment": null, - "receiver_expr": "line", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "i", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "startsWith(java.lang.String)", + "callee_signature": "hasNext()", "is_public": true, "is_protected": false, "is_private": false, @@ -47058,21 +55745,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 60, - "start_column": 21, - "end_line": 60, - "end_column": 40 + "start_line": 317, + "start_column": 11, + "end_line": 317, + "end_column": 21 }, { - "method_name": "startsWith", + "method_name": "next", "comment": null, - "receiver_expr": "line", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "startsWith(java.lang.String)", + "receiver_expr": "i", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -47081,21 +55767,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 62, - "start_column": 28, - "end_line": 62, - "end_column": 47 + "start_line": 318, + "start_column": 51, + "end_line": 318, + "end_column": 58 }, { - "method_name": "equals", + "method_name": "getBackOrderID", "comment": null, - "receiver_expr": "line", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBackOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -47104,28 +55789,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 64, - "start_column": 28, - "end_line": 64, - "end_column": 42 + "start_line": 319, + "start_column": 26, + "end_line": 319, + "end_column": 55 }, { - "method_name": "endsWith", - "comment": { - "content": " Must be a property line", - "start_line": 73, - "end_line": 73, - "start_column": 21, - "end_column": 46, - "is_javadoc": false - }, - "receiver_expr": "line", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "endsWith(java.lang.String)", + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "backOrderItem.getInventory()", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", "is_public": true, "is_protected": false, "is_private": false, @@ -47134,19 +55811,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, - "start_column": 25, - "end_line": 74, - "end_column": 43 + "start_line": 320, + "start_column": 26, + "end_line": 320, + "end_column": 70 }, { - "method_name": "readLine", + "method_name": "getInventory", "comment": null, - "receiver_expr": "inputLine", - "receiver_type": "java.io.BufferedReader", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "readLine()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInventory()", "is_public": true, "is_protected": false, "is_private": false, @@ -47155,22 +55833,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 84, - "start_column": 24, - "end_line": 84, - "end_column": 43 + "start_line": 320, + "start_column": 26, + "end_line": 320, + "end_column": 53 }, { - "method_name": "readTokens", + "method_name": "getItemInventory", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "argument_expr": [ + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getItemInventory(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -47179,45 +55859,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 89, - "start_column": 30, - "end_line": 89, - "end_column": 55 + "start_line": 323, + "start_column": 22, + "end_line": 323, + "end_column": 58 }, { - "method_name": "debug", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 17, - "end_line": 91, - "end_column": 92 + "start_line": 324, + "start_column": 20, + "end_line": 324, + "end_column": 37 }, { - "method_name": "readTokens", + "method_name": "setInventoryQuantity", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [ - "java.lang.String", - "java.lang.String" + "" + ], + "argument_expr": [ + "quantity" ], "return_type": "", - "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "callee_signature": "setInventoryQuantity(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -47226,42 +55907,70 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, - "start_column": 32, - "end_line": 93, - "end_column": 60 + "start_line": 325, + "start_column": 5, + "end_line": 325, + "end_column": 48 }, { - "method_name": "debug", + "method_name": "getName", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 326, + "start_column": 19, + "end_line": 326, + "end_column": 32 + }, + { + "method_name": "setName", + "comment": null, + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "name" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 17, - "end_line": 94, - "end_column": 94 + "start_line": 327, + "start_column": 5, + "end_line": 327, + "end_column": 31 }, { "method_name": "equals", "comment": null, - "receiver_expr": "val[0]", + "receiver_expr": "backOrderItem.getStatus()", "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "Util.STATUS_ADDEDSTOCK" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -47272,21 +55981,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 22, - "end_line": 95, - "end_column": 38 + "start_line": 329, + "start_column": 11, + "end_line": 329, + "end_column": 66 + }, + { + "method_name": "getStatus", + "comment": null, + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getStatus()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 329, + "start_column": 11, + "end_line": 329, + "end_column": 35 + }, + { + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "backOrderItem.getInventory()", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 330, + "start_column": 21, + "end_line": 330, + "end_column": 65 }, { - "method_name": "containsKey", + "method_name": "getInventory", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "containsKey(java.lang.Object)", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInventory()", "is_public": true, "is_protected": false, "is_private": false, @@ -47295,21 +56047,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, - "start_column": 25, - "end_line": 96, + "start_line": 330, + "start_column": 21, + "end_line": 330, "end_column": 48 }, { - "method_name": "get", + "method_name": "getSupplierOrderID", "comment": null, - "receiver_expr": "listProps", - "receiver_type": "java.util.Hashtable>", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Vector", - "callee_signature": "get(java.lang.Object)", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSupplierOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -47318,19 +56069,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, - "start_column": 68, - "end_line": 99, - "end_column": 88 + "start_line": 331, + "start_column": 31, + "end_line": 331, + "end_column": 64 }, { - "method_name": "isEmpty", + "method_name": "getStatus", "comment": null, - "receiver_expr": "currList", - "receiver_type": "java.util.Vector", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", "argument_types": [], - "return_type": "", - "callee_signature": "isEmpty()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getStatus()", "is_public": true, "is_protected": false, "is_private": false, @@ -47339,21 +56091,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, - "start_column": 51, - "end_line": 100, - "end_column": 68 + "start_line": 332, + "start_column": 22, + "end_line": 332, + "end_column": 46 }, { - "method_name": "getProperty", + "method_name": "toString", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "new Long(backOrderItem.getLowDate())", + "receiver_type": "java.lang.Long", + "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getProperty(java.lang.String)", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -47362,21 +56113,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 102, - "start_column": 46, - "end_line": 102, + "start_line": 333, + "start_column": 23, + "end_line": 333, "end_column": 69 }, { - "method_name": "addElement", + "method_name": "getLowDate", "comment": null, - "receiver_expr": "currList", - "receiver_type": "java.util.Vector", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "addElement(E)", + "callee_signature": "getLowDate()", "is_public": true, "is_protected": false, "is_private": false, @@ -47385,21 +56135,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, - "start_column": 29, - "end_line": 103, - "end_column": 56 + "start_line": 333, + "start_column": 32, + "end_line": 333, + "end_column": 57 }, { - "method_name": "addElement", + "method_name": "toString", "comment": null, - "receiver_expr": "currList", - "receiver_type": "java.util.Vector", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "addElement(E)", + "receiver_expr": "new Long(backOrderItem.getOrderDate())", + "receiver_type": "java.lang.Long", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -47408,22 +56157,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 334, "start_column": 25, - "end_line": 105, - "end_column": 51 + "end_line": 334, + "end_column": 73 }, { - "method_name": "put", + "method_name": "getOrderDate", "comment": null, - "receiver_expr": "listProps", - "receiver_type": "java.util.Hashtable>", - "argument_types": [ - "java.lang.String", - "java.util.Vector" - ], - "return_type": "java.util.Vector", - "callee_signature": "put(K, V)", + "receiver_expr": "backOrderItem", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getOrderDate()", "is_public": true, "is_protected": false, "is_private": false, @@ -47432,34 +56179,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, - "start_column": 25, - "end_line": 106, - "end_column": 55 + "start_line": 334, + "start_column": 34, + "end_line": 334, + "end_column": 61 }, { - "method_name": "setProperty", + "method_name": "debug", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "java.lang.Object", - "callee_signature": "setProperty(java.lang.String, java.lang.String)", + "argument_expr": [ + "\"AdminServlet.getBackOrders() - backOrderID = \" + backOrderID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, - "start_column": 21, - "end_line": 108, - "end_column": 52 + "start_line": 335, + "start_column": 6, + "end_line": 335, + "end_column": 78 }, { "method_name": "debug", @@ -47469,6 +56218,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - supplierOrderID = \" + supplierOrderID" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -47479,366 +56231,62 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 112, - "start_column": 13, - "end_line": 112, - "end_column": 64 + "start_line": 336, + "start_column": 6, + "end_line": 336, + "end_column": 89 }, { - "method_name": "printStackTrace", + "method_name": "debug", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - invID = \" + invID" + ], "return_type": "", - "callee_signature": "printStackTrace()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, - "start_column": 13, - "end_line": 113, - "end_column": 31 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.BufferedReader", - "argument_types": [ - "java.io.InputStreamReader" - ], - "return_type": "java.io.BufferedReader", - "callee_signature": "BufferedReader(java.io.Reader)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 53, - "start_column": 40, - "end_line": 53, - "end_column": 90 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.InputStreamReader", - "argument_types": [ - "java.io.InputStream" - ], - "return_type": "java.io.InputStreamReader", - "callee_signature": "InputStreamReader(java.io.InputStream)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 53, - "start_column": 59, - "end_line": 53, - "end_column": 89 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Hashtable>", - "argument_types": [], - "return_type": "java.util.Hashtable>", - "callee_signature": "Hashtable()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 87, - "start_column": 25, - "end_line": 87, - "end_column": 63 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Vector", - "argument_types": [], - "return_type": "java.util.Vector", - "callee_signature": "Vector()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 40, - "end_line": 101, - "end_column": 59 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "propFile", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 52, - "start_column": 20, - "end_line": 52, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inputLine", - "type": "java.io.BufferedReader", - "initializer": "new BufferedReader(new InputStreamReader(inStream))", - "start_line": 53, - "start_column": 28, - "end_line": 53, - "end_column": 90 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "line", - "type": "java.lang.String", - "initializer": "inputLine.readLine()", - "start_line": 54, - "start_column": 20, - "end_line": 54, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "lineContinue", - "type": "boolean", - "initializer": "false", - "start_line": 55, - "start_column": 21, - "end_line": 55, - "end_column": 40 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "currLine", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 59, - "start_column": 24, - "end_line": 59, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "props", - "type": "java.lang.String[]", - "initializer": "readTokens(propFile, \"\\n\")", - "start_line": 89, - "start_column": 22, - "end_line": 89, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 90, - "start_column": 22, - "end_line": 90, - "end_column": 30 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "val", - "type": "java.lang.String[]", - "initializer": "readTokens(props[index], \"=\")", - "start_line": 93, - "start_column": 26, - "end_line": 93, - "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "currList", - "type": "java.util.Vector", - "initializer": "(Vector) listProps.get(val[0])", - "start_line": 99, - "start_column": 40, - "end_line": 99, - "end_column": 88 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "prevVal", - "type": "java.lang.String", - "initializer": "this.getProperty(val[0])", - "start_line": 102, - "start_column": 36, - "end_line": 102, - "end_column": 69 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 12, - "is_entrypoint": false - }, - "getProperties(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", - "signature": "getProperties(String)", - "comments": [ - { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 131, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String[] getProperties(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 136, - "end_line": 136, - "start_column": 35, - "end_column": 45 - } - ], - "code": "{\r\n String[] values = { \"\" };\r\n try {\r\n String value = this.getProperty(name);\r\n Util.debug(\"ListProperties.getProperties: property (\" + name + \") -> \" + value);\r\n if (listProps.containsKey(name)) {\r\n Vector list = (Vector) listProps.get(name);\r\n values = new String[list.size()];\r\n for (int index = 0; index < list.size(); index++) {\r\n values[index] = (String) list.elementAt(index);\r\n }\r\n } else {\r\n values[0] = value;\r\n }\r\n } catch (Exception e) {\r\n Util.debug(\"ListProperties.getProperties(): Exception: \" + e);\r\n }\r\n return (values);\r\n }", - "start_line": 136, - "end_line": 154, - "code_start_line": 136, - "return_type": "java.lang.String[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Vector", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.ListProperties.listProps" - ], - "call_sites": [ + "start_line": 337, + "start_column": 6, + "end_line": 337, + "end_column": 69 + }, { - "method_name": "getProperty", + "method_name": "debug", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getProperty(java.lang.String)", + "argument_expr": [ + "\"AdminServlet.getBackOrders() - name = \" + name" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, - "start_column": 28, - "end_line": 139, - "end_column": 49 + "start_line": 338, + "start_column": 6, + "end_line": 338, + "end_column": 67 }, { "method_name": "debug", @@ -47848,6 +56296,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - quantity = \" + quantity" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -47858,86 +56309,104 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 13, - "end_line": 140, - "end_column": 91 + "start_line": 339, + "start_column": 6, + "end_line": 339, + "end_column": 75 }, { - "method_name": "containsKey", + "method_name": "debug", "comment": null, - "receiver_expr": "listProps", - "receiver_type": "java.util.Hashtable>", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - status = \" + status" + ], "return_type": "", - "callee_signature": "containsKey(java.lang.Object)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, - "start_column": 17, - "end_line": 141, - "end_column": 43 + "start_line": 340, + "start_column": 6, + "end_line": 340, + "end_column": 71 }, { - "method_name": "get", + "method_name": "debug", "comment": null, - "receiver_expr": "listProps", - "receiver_type": "java.util.Hashtable>", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], - "return_type": "java.util.Vector", - "callee_signature": "get(java.lang.Object)", + "argument_expr": [ + "\"AdminServlet.getBackOrders() - lowDate = \" + lowDate" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, - "start_column": 56, - "end_line": 142, - "end_column": 74 + "start_line": 341, + "start_column": 6, + "end_line": 341, + "end_column": 73 }, { - "method_name": "size", + "method_name": "debug", "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.Vector", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - orderDate = \" + orderDate" + ], "return_type": "", - "callee_signature": "size()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, - "start_column": 37, - "end_line": 143, - "end_column": 47 + "start_line": 342, + "start_column": 6, + "end_line": 342, + "end_column": 77 }, { - "method_name": "size", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.Vector", - "argument_types": [], + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [ + "java.lang.String", + "java.util.ArrayList" + ], + "argument_expr": [ + "\"backorderitems\"", + "backOrderItems" + ], "return_type": "", - "callee_signature": "size()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -47946,21 +56415,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, - "start_column": 45, - "end_line": 144, - "end_column": 55 + "start_line": 345, + "start_column": 4, + "end_line": 345, + "end_column": 57 }, { - "method_name": "elementAt", + "method_name": "printStackTrace", "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.Vector", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "elementAt(int)", + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", "is_public": true, "is_protected": false, "is_private": false, @@ -47969,10 +56437,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, - "start_column": 46, - "end_line": 145, - "end_column": 66 + "start_line": 347, + "start_column": 4, + "end_line": 347, + "end_column": 22 }, { "method_name": "debug", @@ -47982,6 +56450,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"AdminServlet.getBackOrders() - RemoteException: \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -47992,10 +56463,110 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 151, - "start_column": 13, - "end_line": 151, - "end_column": 73 + "start_line": 348, + "start_column": 4, + "end_line": 348, + "end_column": 69 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 310, + "start_column": 46, + "end_line": 310, + "end_column": 75 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "bo" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "callee_signature": "BackOrderItem(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 312, + "start_column": 25, + "end_line": 312, + "end_column": 45 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Long", + "argument_types": [ + "" + ], + "argument_expr": [ + "backOrderItem.getLowDate()" + ], + "return_type": "java.lang.Long", + "callee_signature": "Long(long)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 333, + "start_column": 23, + "end_line": 333, + "end_column": 58 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Long", + "argument_types": [ + "" + ], + "argument_expr": [ + "backOrderItem.getOrderDate()" + ], + "return_type": "java.lang.Long", + "callee_signature": "Long(long)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 334, + "start_column": 25, + "end_line": 334, + "end_column": 62 } ], "variable_declarations": [ @@ -48008,13 +56579,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "{ \"\" }", - "start_line": 137, - "start_column": 18, - "end_line": 137, - "end_column": 32 + "name": "backOrders", + "type": "java.util.Collection", + "initializer": "backOrderStock.findBackOrders()", + "start_line": 309, + "start_column": 26, + "end_line": 309, + "end_column": 69 }, { "comment": { @@ -48025,13 +56596,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "value", - "type": "java.lang.String", - "initializer": "this.getProperty(name)", - "start_line": 139, - "start_column": 20, - "end_line": 139, - "end_column": 49 + "name": "backOrderItems", + "type": "java.util.ArrayList", + "initializer": "new ArrayList()", + "start_line": 310, + "start_column": 29, + "end_line": 310, + "end_column": 75 }, { "comment": { @@ -48042,13 +56613,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "list", - "type": "java.util.Vector", - "initializer": "(Vector) listProps.get(name)", - "start_line": 142, - "start_column": 32, - "end_line": 142, - "end_column": 74 + "name": "bo", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "", + "start_line": 311, + "start_column": 19, + "end_line": 311, + "end_column": 20 }, { "comment": { @@ -48059,141 +56630,133 @@ "end_column": -1, "is_javadoc": false }, - "name": "index", - "type": "int", - "initializer": "0", - "start_line": 144, - "start_column": 26, - "end_line": 144, - "end_column": 34 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - }, - "readTokens(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", - "signature": "readTokens(String, String)", - "comments": [ + "name": "boi", + "type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "initializer": "new BackOrderItem(bo)", + "start_line": 312, + "start_column": 19, + "end_line": 312, + "end_column": 45 + }, { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 116, - "end_line": 121, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String[] readTokens(String text, String token)", - "parameters": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "java.util.Iterator", + "initializer": "backOrderItems.iterator()", + "start_line": 316, + "start_column": 28, + "end_line": 316, + "end_column": 56 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderItem", + "type": "com.ibm.websphere.samples.pbw.war.BackOrderItem", + "initializer": "(BackOrderItem) i.next()", + "start_line": 318, + "start_column": 19, + "end_line": 318, + "end_column": 58 + }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrderID", "type": "java.lang.String", - "name": "text", - "annotations": [], - "modifiers": [], - "start_line": 122, - "end_line": 122, - "start_column": 32, - "end_column": 42 + "initializer": "backOrderItem.getBackOrderID()", + "start_line": 319, + "start_column": 12, + "end_line": 319, + "end_column": 55 }, { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", "type": "java.lang.String", - "name": "token", - "annotations": [], - "modifiers": [], - "start_line": 122, - "end_line": 122, - "start_column": 45, - "end_column": 56 - } - ], - "code": "{\r\n StringTokenizer parser = new StringTokenizer(text, token);\r\n int numTokens = parser.countTokens();\r\n String[] list = new String[numTokens];\r\n for (int i = 0; i < numTokens; i++) {\r\n list[i] = parser.nextToken();\r\n }\r\n return list;\r\n }", - "start_line": 122, - "end_line": 130, - "code_start_line": 122, - "return_type": "java.lang.String[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.StringTokenizer" - ], - "accessed_fields": [], - "call_sites": [ + "initializer": "backOrderItem.getInventory().getInventoryId()", + "start_line": 320, + "start_column": 12, + "end_line": 320, + "end_column": 70 + }, { - "method_name": "countTokens", - "comment": null, - "receiver_expr": "parser", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [], - "return_type": "", - "callee_signature": "countTokens()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 25, - "end_line": 124, - "end_column": 44 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "item", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "catalog.getItemInventory(inventoryID)", + "start_line": 323, + "start_column": 15, + "end_line": 323, + "end_column": 58 }, { - "method_name": "nextToken", - "comment": null, - "receiver_expr": "parser", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "nextToken()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 23, - "end_line": 127, - "end_column": 40 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "int", + "initializer": "item.getQuantity()", + "start_line": 324, + "start_column": 9, + "end_line": 324, + "end_column": 37 }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.util.StringTokenizer", - "callee_signature": "StringTokenizer(java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 34, - "end_line": 123, - "end_column": 65 - } - ], - "variable_declarations": [ + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "name", + "type": "java.lang.String", + "initializer": "item.getName()", + "start_line": 326, + "start_column": 12, + "end_line": 326, + "end_column": 32 + }, { "comment": { "content": null, @@ -48203,12 +56766,12 @@ "end_column": -1, "is_javadoc": false }, - "name": "parser", - "type": "java.util.StringTokenizer", - "initializer": "new StringTokenizer(text, token)", - "start_line": 123, - "start_column": 25, - "end_line": 123, + "name": "invID", + "type": "java.lang.String", + "initializer": "backOrderItem.getInventory().getInventoryId()", + "start_line": 330, + "start_column": 13, + "end_line": 330, "end_column": 65 }, { @@ -48220,13 +56783,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "numTokens", - "type": "int", - "initializer": "parser.countTokens()", - "start_line": 124, + "name": "supplierOrderID", + "type": "java.lang.String", + "initializer": "backOrderItem.getSupplierOrderID()", + "start_line": 331, "start_column": 13, - "end_line": 124, - "end_column": 44 + "end_line": 331, + "end_column": 64 }, { "comment": { @@ -48237,13 +56800,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "list", - "type": "java.lang.String[]", - "initializer": "new String[numTokens]", - "start_line": 125, - "start_column": 18, - "end_line": 125, - "end_column": 45 + "name": "status", + "type": "java.lang.String", + "initializer": "backOrderItem.getStatus()", + "start_line": 332, + "start_column": 13, + "end_line": 332, + "end_column": 46 }, { "comment": { @@ -48254,18 +56817,35 @@ "end_column": -1, "is_javadoc": false }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 126, - "start_column": 18, - "end_line": 126, - "end_column": 22 + "name": "lowDate", + "type": "java.lang.String", + "initializer": "new Long(backOrderItem.getLowDate()).toString()", + "start_line": 333, + "start_column": 13, + "end_line": 333, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderDate", + "type": "java.lang.String", + "initializer": "new Long(backOrderItem.getOrderDate()).toString()", + "start_line": 334, + "start_column": 13, + "end_line": 334, + "end_column": 73 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 5, "is_entrypoint": false } }, @@ -48273,16 +56853,16 @@ { "comment": { "content": "\r\n\t * \r\n\t ", - "start_line": 38, - "end_line": 40, - "start_column": 5, + "start_line": 51, + "end_line": 53, + "start_column": 2, "end_column": 4, "is_javadoc": false }, "name": null, "type": "long", - "start_line": 41, - "end_line": 41, + "start_line": 54, + "end_line": 54, "variables": [ "serialVersionUID" ], @@ -48303,29 +56883,123 @@ "is_javadoc": false }, "name": null, - "type": "java.util.Hashtable>", - "start_line": 42, - "end_line": 42, + "type": "com.ibm.websphere.samples.pbw.bean.SuppliersBean", + "start_line": 55, + "end_line": 56, "variables": [ - "listProps" + "suppliers" ], "modifiers": [ "private" ], - "annotations": [] + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CustomerMgr", + "start_line": 57, + "end_line": 58, + "variables": [ + "login" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", + "start_line": 59, + "end_line": 60, + "variables": [ + "backOrderStock" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "start_line": 62, + "end_line": 63, + "variables": [ + "catalog" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "start_line": 65, + "end_line": 66, + "variables": [ + "resetDB" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] } ], "enum_constants": [], "record_components": [], "initialization_blocks": [], - "is_entrypoint_class": false + "is_entrypoint_class": true } }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "package_name": "com.ibm.websphere.samples.pbw.utils", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -48448,283 +57122,419 @@ "is_javadoc": false }, { - "content": "\r\n * Utility class.\r\n ", - "start_line": 29, - "end_line": 31, + "content": "\r\n * A class to hold an order's data.\r\n ", + "start_line": 28, + "end_line": 30, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": " Servlet action codes.", - "start_line": 75, - "end_line": 75, - "start_column": 5, - "end_column": 28, - "is_javadoc": false + "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", + "start_line": 85, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Datasource name. ", - "start_line": 33, - "end_line": 33, - "start_column": 5, - "end_column": 27, + "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 112, + "end_line": 116, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " Constants for JSPs and HTMLs.", - "start_line": 35, - "end_line": 35, - "start_column": 5, - "end_column": 36, - "is_javadoc": false + "content": "\r\n\t * Get the shipping method name.\r\n\t ", + "start_line": 136, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Request and session attributes.", - "start_line": 51, - "end_line": 51, - "start_column": 5, - "end_column": 38, - "is_javadoc": false + "content": "\r\n\t * Set the shipping method by name\r\n\t ", + "start_line": 143, + "end_line": 145, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", - "start_line": 54, - "end_line": 54, - "start_column": 1, - "end_column": 69, - "is_javadoc": false + "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", + "start_line": 154, + "end_line": 158, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " if this is changed, updated session timeout", - "start_line": 67, - "end_line": 67, - "start_column": 56, - "end_column": 101, - "is_javadoc": false + "content": "\r\n\t * @return the orderID\r\n\t ", + "start_line": 174, + "end_line": 176, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " in the PlantsByWebSphere web.xml", - "start_line": 68, - "end_line": 68, - "start_column": 20, - "end_column": 54, - "is_javadoc": false + "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", + "start_line": 181, + "end_line": 184, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Admin type actions", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 25, - "is_javadoc": false + "content": "\r\n\t * @return the billName\r\n\t ", + "start_line": 189, + "end_line": 191, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Supplier Config actions", - "start_line": 76, - "end_line": 76, - "start_column": 5, - "end_column": 30, - "is_javadoc": false + "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", + "start_line": 196, + "end_line": 199, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Backorder actions", - "start_line": 79, - "end_line": 79, - "start_column": 5, - "end_column": 24, - "is_javadoc": false + "content": "\r\n\t * @return the billAddr1\r\n\t ", + "start_line": 204, + "end_line": 206, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "\r\n * Return the cached Initial Context.\r\n *\r\n * @return InitialContext, or null if a naming exception.\r\n ", - "start_line": 97, - "end_line": 101, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", + "start_line": 211, + "end_line": 214, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " Get InitialContext if it has not been gotten yet.", - "start_line": 104, - "end_line": 104, - "start_column": 13, - "end_column": 64, - "is_javadoc": false + "content": "\r\n\t * @return the billAddr2\r\n\t ", + "start_line": 219, + "end_line": 221, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " properties are in the system properties", - "start_line": 106, - "end_line": 106, - "start_column": 17, - "end_column": 58, - "is_javadoc": false + "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Naming Exception will cause a null return.", - "start_line": 110, - "end_line": 110, - "start_column": 9, - "end_column": 53, - "is_javadoc": false + "content": "\r\n\t * @return the billCity\r\n\t ", + "start_line": 234, + "end_line": 236, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", - "start_line": 115, - "end_line": 119, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", + "start_line": 241, + "end_line": 244, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billState\r\n\t ", + "start_line": 249, + "end_line": 251, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", + "start_line": 256, + "end_line": 259, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billZip\r\n\t ", + "start_line": 264, + "end_line": 266, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", + "start_line": 271, + "end_line": 274, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billPhone\r\n\t ", + "start_line": 279, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipName\r\n\t ", + "start_line": 294, + "end_line": 296, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", + "start_line": 301, + "end_line": 304, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipAddr1\r\n\t ", + "start_line": 309, + "end_line": 311, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", + "start_line": 316, + "end_line": 319, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipAddr2\r\n\t ", + "start_line": 324, + "end_line": 326, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", + "start_line": 331, + "end_line": 334, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipCity\r\n\t ", + "start_line": 339, + "end_line": 341, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", + "start_line": 346, + "end_line": 349, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipState\r\n\t ", + "start_line": 354, + "end_line": 356, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", + "start_line": 361, + "end_line": 364, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipZip\r\n\t ", + "start_line": 369, + "end_line": 371, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", - "start_line": 126, - "end_line": 130, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", + "start_line": 376, + "end_line": 379, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the shipping method.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method (null, if an invalid index given).\r\n ", - "start_line": 134, - "end_line": 138, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shipPhone\r\n\t ", + "start_line": 384, + "end_line": 386, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", - "start_line": 145, - "end_line": 149, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", + "start_line": 391, + "end_line": 394, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", - "start_line": 156, - "end_line": 160, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shippingMethod\r\n\t ", + "start_line": 399, + "end_line": 401, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", - "start_line": 167, - "end_line": 170, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", + "start_line": 406, + "end_line": 409, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", - "start_line": 174, - "end_line": 177, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the cardholderName\r\n\t ", + "start_line": 414, + "end_line": 416, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Method readProperties.\r\n ", - "start_line": 187, - "end_line": 189, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", + "start_line": 421, + "end_line": 424, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " Try to read the properties file.", - "start_line": 192, - "end_line": 192, - "start_column": 13, - "end_column": 48, - "is_javadoc": false + "content": "\r\n\t * @return the cardName\r\n\t ", + "start_line": 429, + "end_line": 431, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Reset properties to retry loading next time.", - "start_line": 200, - "end_line": 200, - "start_column": 17, - "end_column": 63, - "is_javadoc": false + "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", + "start_line": 436, + "end_line": 439, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", - "start_line": 208, - "end_line": 212, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the cardNum\r\n\t ", + "start_line": 444, + "end_line": 446, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 225, - "end_line": 230, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", + "start_line": 451, + "end_line": 454, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 240, - "end_line": 244, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the cardExpMonth\r\n\t ", + "start_line": 459, + "end_line": 461, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", - "start_line": 253, - "end_line": 253, - "start_column": 13, - "end_column": 92, - "is_javadoc": false + "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", + "start_line": 466, + "end_line": 469, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " debug((String)e.nextElement());", - "start_line": 254, - "end_line": 254, - "start_column": 13, - "end_column": 49, - "is_javadoc": false + "content": "\r\n\t * @return the cardExpYear\r\n\t ", + "start_line": 474, + "end_line": 476, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "}", - "start_line": 255, - "end_line": 255, - "start_column": 13, - "end_column": 15, - "is_javadoc": false + "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", + "start_line": 481, + "end_line": 484, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", - "start_line": 262, - "end_line": 264, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the cardExpYears\r\n\t ", + "start_line": 489, + "end_line": 491, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " Is debug turned on? ", - "start_line": 268, - "end_line": 268, - "start_column": 5, - "end_column": 30, + "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", + "start_line": 496, + "end_line": 499, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", - "start_line": 272, - "end_line": 275, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shipisbill\r\n\t ", + "start_line": 504, + "end_line": 506, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", - "start_line": 292, - "end_line": 299, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", + "start_line": 511, + "end_line": 514, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { @@ -48737,17 +57547,15 @@ } ], "imports": [ - "java.io.FileNotFoundException", - "java.text.NumberFormat", - "java.util.StringTokenizer", - "javax.faces.application.Application", - "javax.faces.application.ProjectStage", - "javax.faces.context.FacesContext", - "javax.naming.InitialContext", - "javax.naming.NamingException" + "java.util.Calendar", + "javax.validation.constraints.NotNull", + "javax.validation.constraints.Pattern", + "javax.validation.constraints.Size", + "com.ibm.websphere.samples.pbw.jpa.Order", + "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.utils.Util": { + "com.ibm.websphere.samples.pbw.war.OrderInfo": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -48759,337 +57567,2652 @@ "extends_list": [], "comments": [ { - "content": " Servlet action codes.", - "start_line": 75, - "end_line": 75, - "start_column": 5, - "end_column": 28, - "is_javadoc": false + "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", + "start_line": 85, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 112, + "end_line": 116, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the shipping method name.\r\n\t ", + "start_line": 136, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the shipping method by name\r\n\t ", + "start_line": 143, + "end_line": 145, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", + "start_line": 154, + "end_line": 158, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the orderID\r\n\t ", + "start_line": 174, + "end_line": 176, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", + "start_line": 181, + "end_line": 184, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billName\r\n\t ", + "start_line": 189, + "end_line": 191, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", + "start_line": 196, + "end_line": 199, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billAddr1\r\n\t ", + "start_line": 204, + "end_line": 206, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", + "start_line": 211, + "end_line": 214, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billAddr2\r\n\t ", + "start_line": 219, + "end_line": 221, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billCity\r\n\t ", + "start_line": 234, + "end_line": 236, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", + "start_line": 241, + "end_line": 244, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billState\r\n\t ", + "start_line": 249, + "end_line": 251, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", + "start_line": 256, + "end_line": 259, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billZip\r\n\t ", + "start_line": 264, + "end_line": 266, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", + "start_line": 271, + "end_line": 274, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the billPhone\r\n\t ", + "start_line": 279, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipName\r\n\t ", + "start_line": 294, + "end_line": 296, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", + "start_line": 301, + "end_line": 304, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipAddr1\r\n\t ", + "start_line": 309, + "end_line": 311, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", + "start_line": 316, + "end_line": 319, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipAddr2\r\n\t ", + "start_line": 324, + "end_line": 326, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", + "start_line": 331, + "end_line": 334, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipCity\r\n\t ", + "start_line": 339, + "end_line": 341, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", + "start_line": 346, + "end_line": 349, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipState\r\n\t ", + "start_line": 354, + "end_line": 356, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", + "start_line": 361, + "end_line": 364, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipZip\r\n\t ", + "start_line": 369, + "end_line": 371, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", + "start_line": 376, + "end_line": 379, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipPhone\r\n\t ", + "start_line": 384, + "end_line": 386, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", + "start_line": 391, + "end_line": 394, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shippingMethod\r\n\t ", + "start_line": 399, + "end_line": 401, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", + "start_line": 406, + "end_line": 409, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the cardholderName\r\n\t ", + "start_line": 414, + "end_line": 416, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Datasource name. ", - "start_line": 33, - "end_line": 33, - "start_column": 5, - "end_column": 27, + "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", + "start_line": 421, + "end_line": 424, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " Constants for JSPs and HTMLs.", - "start_line": 35, - "end_line": 35, - "start_column": 5, - "end_column": 36, - "is_javadoc": false + "content": "\r\n\t * @return the cardName\r\n\t ", + "start_line": 429, + "end_line": 431, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Request and session attributes.", - "start_line": 51, - "end_line": 51, - "start_column": 5, - "end_column": 38, - "is_javadoc": false + "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", + "start_line": 436, + "end_line": 439, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", - "start_line": 54, - "end_line": 54, + "content": "\r\n\t * @return the cardNum\r\n\t ", + "start_line": 444, + "end_line": 446, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", + "start_line": 451, + "end_line": 454, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the cardExpMonth\r\n\t ", + "start_line": 459, + "end_line": 461, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", + "start_line": 466, + "end_line": 469, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the cardExpYear\r\n\t ", + "start_line": 474, + "end_line": 476, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", + "start_line": 481, + "end_line": 484, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the cardExpYears\r\n\t ", + "start_line": 489, + "end_line": 491, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", + "start_line": 496, + "end_line": 499, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return the shipisbill\r\n\t ", + "start_line": 504, + "end_line": 506, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", + "start_line": 511, + "end_line": 514, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * A class to hold an order's data.\r\n ", + "start_line": 28, + "end_line": 30, "start_column": 1, - "end_column": 69, - "is_javadoc": false + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getShipAddr1()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipAddr1()", + "comments": [ + { + "content": "\r\n\t * @return the shipAddr1\r\n\t ", + "start_line": 309, + "end_line": 311, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipAddr1()", + "parameters": [], + "code": "{\r\n\t\treturn shipAddr1;\r\n\t}", + "start_line": 312, + "end_line": 314, + "code_start_line": 312, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShipisbill(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipisbill(boolean)", + "comments": [ + { + "content": "\r\n\t * @param shipisbill\r\n\t * the shipisbill to set\r\n\t ", + "start_line": 511, + "end_line": 514, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipisbill(boolean shipisbill)", + "parameters": [ + { + "type": "boolean", + "name": "shipisbill", + "annotations": [], + "modifiers": [], + "start_line": 515, + "end_line": 515, + "start_column": 28, + "end_column": 45 + } + ], + "code": "{\r\n\t\tthis.shipisbill = shipisbill;\r\n\t}", + "start_line": 515, + "end_line": 517, + "code_start_line": 515, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipisbill" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShippingMethodName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShippingMethodName(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Set the shipping method by name\r\n\t ", + "start_line": 143, + "end_line": 145, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShippingMethodName(String name)", + "parameters": [ + { + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 146, + "end_line": 146, + "start_column": 36, + "end_column": 46 + } + ], + "code": "{\r\n\t\tString[] methodNames = Util.getShippingMethodStrings();\r\n\t\tfor (int i = 0; i < methodNames.length; i++) {\r\n\t\t\tif (methodNames[i].equals(name))\r\n\t\t\t\tshippingMethod = i;\r\n\t\t}\r\n\t}", + "start_line": 146, + "end_line": 152, + "code_start_line": 146, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "length", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" + ], + "call_sites": [ + { + "method_name": "getShippingMethodStrings", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethodStrings()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 26, + "end_line": 147, + "end_column": 56 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "methodNames[i]", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 149, + "start_column": 8, + "end_line": 149, + "end_column": 34 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "methodNames", + "type": "java.lang.String[]", + "initializer": "Util.getShippingMethodStrings()", + "start_line": 147, + "start_column": 12, + "end_line": 147, + "end_column": 56 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 148, + "start_column": 12, + "end_line": 148, + "end_column": 16 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getShipZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipZip()", + "comments": [ + { + "content": "\r\n\t * @return the shipZip\r\n\t ", + "start_line": 369, + "end_line": 371, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipZip()", + "parameters": [], + "code": "{\r\n\t\treturn shipZip;\r\n\t}", + "start_line": 372, + "end_line": 374, + "code_start_line": 372, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setShipAddr1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipAddr1(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipAddr1\r\n\t * the shipAddr1 to set\r\n\t ", + "start_line": 316, + "end_line": 319, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipAddr1(String shipAddr1)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipAddr1", + "annotations": [], + "modifiers": [], + "start_line": 320, + "end_line": 320, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t}", + "start_line": 320, + "end_line": 322, + "code_start_line": 320, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillAddr1()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillAddr1()", + "comments": [ + { + "content": "\r\n\t * @return the billAddr1\r\n\t ", + "start_line": 204, + "end_line": 206, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillAddr1()", + "parameters": [], + "code": "{\r\n\t\treturn billAddr1;\r\n\t}", + "start_line": 207, + "end_line": 209, + "code_start_line": 207, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCardNum(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardNum(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param cardNum\r\n\t * the cardNum to set\r\n\t ", + "start_line": 451, + "end_line": 454, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCardNum(String cardNum)", + "parameters": [ + { + "type": "java.lang.String", + "name": "cardNum", + "annotations": [], + "modifiers": [], + "start_line": 455, + "end_line": 455, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.cardNum = cardNum;\r\n\t}", + "start_line": 455, + "end_line": 457, + "code_start_line": 455, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " if this is changed, updated session timeout", - "start_line": 67, - "end_line": 67, - "start_column": 56, - "end_column": 101, - "is_javadoc": false + "getShippingMethodCount()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShippingMethodCount()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getShippingMethodCount()", + "parameters": [], + "code": "{\r\n\t\treturn Util.getShippingMethodStrings().length;\r\n\t}", + "start_line": 163, + "end_line": 165, + "code_start_line": 163, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "length" + ], + "call_sites": [ + { + "method_name": "getShippingMethodStrings", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethodStrings()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 164, + "start_column": 10, + "end_line": 164, + "end_column": 40 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " in the PlantsByWebSphere web.xml", - "start_line": 68, - "end_line": 68, - "start_column": 20, - "end_column": 54, - "is_javadoc": false + "getShipCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipCity()", + "comments": [ + { + "content": "\r\n\t * @return the shipCity\r\n\t ", + "start_line": 339, + "end_line": 341, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipCity()", + "parameters": [], + "code": "{\r\n\t\treturn shipCity;\r\n\t}", + "start_line": 342, + "end_line": 344, + "code_start_line": 342, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Admin type actions", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 25, - "is_javadoc": false + "setShipState(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipState(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipState\r\n\t * the shipState to set\r\n\t ", + "start_line": 361, + "end_line": 364, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipState(String shipState)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipState", + "annotations": [], + "modifiers": [], + "start_line": 365, + "end_line": 365, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipState = shipState;\r\n\t}", + "start_line": 365, + "end_line": 367, + "code_start_line": 365, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Supplier Config actions", - "start_line": 76, - "end_line": 76, - "start_column": 5, - "end_column": 30, - "is_javadoc": false + "getCardExpMonth()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardExpMonth()", + "comments": [ + { + "content": "\r\n\t * @return the cardExpMonth\r\n\t ", + "start_line": 459, + "end_line": 461, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCardExpMonth()", + "parameters": [], + "code": "{\r\n\t\treturn cardExpMonth;\r\n\t}", + "start_line": 462, + "end_line": 464, + "code_start_line": 462, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpMonth" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Backorder actions", - "start_line": 79, - "end_line": 79, - "start_column": 5, - "end_column": 24, - "is_javadoc": false + "getBillState()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillState()", + "comments": [ + { + "content": "\r\n\t * @return the billState\r\n\t ", + "start_line": 249, + "end_line": 251, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillState()", + "parameters": [], + "code": "{\r\n\t\treturn billState;\r\n\t}", + "start_line": 252, + "end_line": 254, + "code_start_line": 252, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Return the cached Initial Context.\r\n *\r\n * @return InitialContext, or null if a naming exception.\r\n ", - "start_line": 97, - "end_line": 101, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setShipPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipPhone(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipPhone\r\n\t * the shipPhone to set\r\n\t ", + "start_line": 391, + "end_line": 394, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipPhone(String shipPhone)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipPhone", + "annotations": [], + "modifiers": [], + "start_line": 395, + "end_line": 395, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipPhone = shipPhone;\r\n\t}", + "start_line": 395, + "end_line": 397, + "code_start_line": 395, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Get InitialContext if it has not been gotten yet.", - "start_line": 104, - "end_line": 104, - "start_column": 13, - "end_column": 64, - "is_javadoc": false + "(com.ibm.websphere.samples.pbw.jpa.Order)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Order)", + "comments": [ + { + "content": "\r\n\t * Constructor to create an OrderInfo using an Order.\r\n\t * \r\n\t * @param order\r\n\t ", + "start_line": 112, + "end_line": 116, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderInfo(Order order)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "name": "order", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 19, + "end_column": 29 + } + ], + "code": "{\r\n\t\torderID = order.getOrderID();\r\n\t\tbillName = order.getBillName();\r\n\t\tbillAddr1 = order.getBillAddr1();\r\n\t\tbillAddr2 = order.getBillAddr2();\r\n\t\tbillCity = order.getBillCity();\r\n\t\tbillState = order.getBillState();\r\n\t\tbillZip = order.getBillZip();\r\n\t\tbillPhone = order.getBillPhone();\r\n\t\tshipName = order.getShipName();\r\n\t\tshipAddr1 = order.getShipAddr1();\r\n\t\tshipAddr2 = order.getShipAddr2();\r\n\t\tshipCity = order.getShipCity();\r\n\t\tshipState = order.getShipState();\r\n\t\tshipZip = order.getShipZip();\r\n\t\tshipPhone = order.getShipPhone();\r\n\t\tshippingMethod = order.getShippingMethod();\r\n\t}", + "start_line": 117, + "end_line": 134, + "code_start_line": 117, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billName", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billState", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState", + "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + ], + "call_sites": [ + { + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 13, + "end_line": 118, + "end_column": 30 + }, + { + "method_name": "getBillName", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 14, + "end_line": 119, + "end_column": 32 + }, + { + "method_name": "getBillAddr1", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillAddr1()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 15, + "end_line": 120, + "end_column": 34 + }, + { + "method_name": "getBillAddr2", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillAddr2()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 15, + "end_line": 121, + "end_column": 34 + }, + { + "method_name": "getBillCity", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillCity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 14, + "end_line": 122, + "end_column": 32 + }, + { + "method_name": "getBillState", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 15, + "end_line": 123, + "end_column": 34 + }, + { + "method_name": "getBillZip", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillZip()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 13, + "end_line": 124, + "end_column": 30 + }, + { + "method_name": "getBillPhone", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBillPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 15, + "end_line": 125, + "end_column": 34 + }, + { + "method_name": "getShipName", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 14, + "end_line": 126, + "end_column": 32 + }, + { + "method_name": "getShipAddr1", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr1()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 15, + "end_line": 127, + "end_column": 34 + }, + { + "method_name": "getShipAddr2", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipAddr2()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 15, + "end_line": 128, + "end_column": 34 + }, + { + "method_name": "getShipCity", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipCity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 129, + "start_column": 14, + "end_line": 129, + "end_column": 32 + }, + { + "method_name": "getShipState", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipState()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 130, + "start_column": 15, + "end_line": 130, + "end_column": 34 + }, + { + "method_name": "getShipZip", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipZip()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 13, + "end_line": 131, + "end_column": 30 + }, + { + "method_name": "getShipPhone", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getShipPhone()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 132, + "start_column": 15, + "end_line": 132, + "end_column": 34 + }, + { + "method_name": "getShippingMethod", + "comment": null, + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethod()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 20, + "end_line": 133, + "end_column": 44 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " properties are in the system properties", - "start_line": 106, - "end_line": 106, - "start_column": 17, - "end_column": 58, - "is_javadoc": false + "getBillName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillName()", + "comments": [ + { + "content": "\r\n\t * @return the billName\r\n\t ", + "start_line": 189, + "end_line": 191, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillName()", + "parameters": [], + "code": "{\r\n\t\treturn billName;\r\n\t}", + "start_line": 192, + "end_line": 194, + "code_start_line": 192, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Naming Exception will cause a null return.", - "start_line": 110, - "end_line": 110, - "start_column": 9, - "end_column": 53, - "is_javadoc": false + "isShipisbill()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "isShipisbill()", + "comments": [ + { + "content": "\r\n\t * @return the shipisbill\r\n\t ", + "start_line": 504, + "end_line": 506, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public boolean isShipisbill()", + "parameters": [], + "code": "{\r\n\t\treturn shipisbill;\r\n\t}", + "start_line": 507, + "end_line": 509, + "code_start_line": 507, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipisbill" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", - "start_line": 115, - "end_line": 119, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setCardExpMonth(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardExpMonth(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param cardExpMonth\r\n\t * the cardExpMonth to set\r\n\t ", + "start_line": 466, + "end_line": 469, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCardExpMonth(String cardExpMonth)", + "parameters": [ + { + "type": "java.lang.String", + "name": "cardExpMonth", + "annotations": [], + "modifiers": [], + "start_line": 470, + "end_line": 470, + "start_column": 30, + "end_column": 48 + } + ], + "code": "{\r\n\t\tthis.cardExpMonth = cardExpMonth;\r\n\t}", + "start_line": 470, + "end_line": 472, + "code_start_line": 470, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpMonth" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", - "start_line": 126, - "end_line": 130, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "getCardName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardName()", + "comments": [ + { + "content": "\r\n\t * @return the cardName\r\n\t ", + "start_line": 429, + "end_line": 431, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCardName()", + "parameters": [], + "code": "{\r\n\t\treturn cardName;\r\n\t}", + "start_line": 432, + "end_line": 434, + "code_start_line": 432, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the shipping method.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method (null, if an invalid index given).\r\n ", - "start_line": 134, - "end_line": 138, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "getShippingMethods()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShippingMethods()", + "comments": [ + { + "content": "\r\n\t * Get shipping methods that are possible.\r\n\t * \r\n\t * @return String[] of method names\r\n\t ", + "start_line": 154, + "end_line": 158, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String[] getShippingMethods()", + "parameters": [], + "code": "{\r\n\t\treturn Util.getFullShippingMethodStrings();\r\n\t}", + "start_line": 159, + "end_line": 161, + "code_start_line": 159, + "return_type": "java.lang.String[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getFullShippingMethodStrings", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getFullShippingMethodStrings()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 160, + "start_column": 10, + "end_line": 160, + "end_column": 44 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", - "start_line": 145, - "end_line": 149, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setBillCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillCity(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param billCity\r\n\t * the billCity to set\r\n\t ", + "start_line": 241, + "end_line": 244, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillCity(String billCity)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billCity", + "annotations": [], + "modifiers": [], + "start_line": 245, + "end_line": 245, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.billCity = billCity;\r\n\t}", + "start_line": 245, + "end_line": 247, + "code_start_line": 245, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", - "start_line": 156, - "end_line": 160, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setShipAddr2(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipAddr2(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipAddr2\r\n\t * the shipAddr2 to set\r\n\t ", + "start_line": 331, + "end_line": 334, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipAddr2(String shipAddr2)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipAddr2", + "annotations": [], + "modifiers": [], + "start_line": 335, + "end_line": 335, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t}", + "start_line": 335, + "end_line": 337, + "code_start_line": 335, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", + "initLists()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "initLists()", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private void initLists()", + "parameters": [], + "code": "{\r\n\t\tint i = Calendar.getInstance().get(1);\r\n\t\tcardExpYears = new String[5];\r\n\t\tfor (int j = 0; j < 5; j++)\r\n\t\t\tcardExpYears[j] = (new Integer(i + j)).toString();\r\n\t}", "start_line": 167, - "end_line": 170, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", - "start_line": 174, - "end_line": 177, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\r\n * Method readProperties.\r\n ", - "start_line": 187, - "end_line": 189, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": " Try to read the properties file.", - "start_line": 192, - "end_line": 192, - "start_column": 13, - "end_column": 48, - "is_javadoc": false - }, - { - "content": " Reset properties to retry loading next time.", - "start_line": 200, - "end_line": 200, - "start_column": 17, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", - "start_line": 208, - "end_line": 212, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "end_line": 172, + "code_start_line": 167, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "Calendar.getInstance()", + "receiver_type": "java.util.Calendar", + "argument_types": [ + "" + ], + "argument_expr": [ + "1" + ], + "return_type": "", + "callee_signature": "get(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 168, + "start_column": 11, + "end_line": 168, + "end_column": 39 + }, + { + "method_name": "getInstance", + "comment": null, + "receiver_expr": "Calendar", + "receiver_type": "java.util.Calendar", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Calendar", + "callee_signature": "getInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 168, + "start_column": 11, + "end_line": 168, + "end_column": 32 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "(new Integer(i + j))", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 171, + "start_column": 22, + "end_line": 171, + "end_column": 52 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "" + ], + "argument_expr": [ + "i + j" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 171, + "start_column": 23, + "end_line": 171, + "end_column": 40 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "Calendar.getInstance().get(1)", + "start_line": 168, + "start_column": 7, + "end_line": 168, + "end_column": 39 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "j", + "type": "int", + "initializer": "0", + "start_line": 170, + "start_column": 12, + "end_line": 170, + "end_column": 16 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false }, - { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 225, - "end_line": 230, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "getCardExpYear()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardExpYear()", + "comments": [ + { + "content": "\r\n\t * @return the cardExpYear\r\n\t ", + "start_line": 474, + "end_line": 476, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCardExpYear()", + "parameters": [], + "code": "{\r\n\t\treturn cardExpYear;\r\n\t}", + "start_line": 477, + "end_line": 479, + "code_start_line": 477, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYear" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 240, - "end_line": 244, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setBillAddr1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillAddr1(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param billAddr1\r\n\t * the billAddr1 to set\r\n\t ", + "start_line": 211, + "end_line": 214, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillAddr1(String billAddr1)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billAddr1", + "annotations": [], + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t}", + "start_line": 215, + "end_line": 217, + "code_start_line": 215, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", - "start_line": 253, - "end_line": 253, - "start_column": 13, - "end_column": 92, - "is_javadoc": false + "setBillState(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillState(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param billState\r\n\t * the billState to set\r\n\t ", + "start_line": 256, + "end_line": 259, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillState(String billState)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billState", + "annotations": [], + "modifiers": [], + "start_line": 260, + "end_line": 260, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billState = billState;\r\n\t}", + "start_line": 260, + "end_line": 262, + "code_start_line": 260, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " debug((String)e.nextElement());", - "start_line": 254, - "end_line": 254, - "start_column": 13, - "end_column": 49, - "is_javadoc": false + "getBillPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillPhone()", + "comments": [ + { + "content": "\r\n\t * @return the billPhone\r\n\t ", + "start_line": 279, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillPhone()", + "parameters": [], + "code": "{\r\n\t\treturn billPhone;\r\n\t}", + "start_line": 282, + "end_line": 284, + "code_start_line": 282, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "}", - "start_line": 255, - "end_line": 255, - "start_column": 13, - "end_column": 15, - "is_javadoc": false + "setShippingMethod(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShippingMethod(int)", + "comments": [ + { + "content": "\r\n\t * @param shippingMethod\r\n\t * the shippingMethod to set\r\n\t ", + "start_line": 406, + "end_line": 409, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShippingMethod(int shippingMethod)", + "parameters": [ + { + "type": "int", + "name": "shippingMethod", + "annotations": [], + "modifiers": [], + "start_line": 410, + "end_line": 410, + "start_column": 32, + "end_column": 49 + } + ], + "code": "{\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t}", + "start_line": 410, + "end_line": 412, + "code_start_line": 410, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", - "start_line": 262, - "end_line": 264, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Constructor to create an OrderInfo by passing each field.\r\n\t ", + "start_line": 85, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderInfo(String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, int shippingMethod, String orderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billName", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 19, + "end_column": 33 + }, + { + "type": "java.lang.String", + "name": "billAddr1", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 36, + "end_column": 51 + }, + { + "type": "java.lang.String", + "name": "billAddr2", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 54, + "end_column": 69 + }, + { + "type": "java.lang.String", + "name": "billCity", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 72, + "end_column": 86 + }, + { + "type": "java.lang.String", + "name": "billState", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 89, + "end_column": 104 + }, + { + "type": "java.lang.String", + "name": "billZip", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 4, + "end_column": 17 + }, + { + "type": "java.lang.String", + "name": "billPhone", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 20, + "end_column": 35 + }, + { + "type": "java.lang.String", + "name": "shipName", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 38, + "end_column": 52 + }, + { + "type": "java.lang.String", + "name": "shipAddr1", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 55, + "end_column": 70 + }, + { + "type": "java.lang.String", + "name": "shipAddr2", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 73, + "end_column": 88 + }, + { + "type": "java.lang.String", + "name": "shipCity", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 91, + "end_column": 105 + }, + { + "type": "java.lang.String", + "name": "shipState", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "shipZip", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 22, + "end_column": 35 + }, + { + "type": "java.lang.String", + "name": "shipPhone", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 38, + "end_column": 53 + }, + { + "type": "int", + "name": "shippingMethod", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 56, + "end_column": 73 + }, + { + "type": "java.lang.String", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 76, + "end_column": 89 + } + ], + "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t\tthis.billName = billName;\r\n\t\tthis.billAddr1 = billAddr1;\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t\tthis.billCity = billCity;\r\n\t\tthis.billState = billState;\r\n\t\tthis.billZip = billZip;\r\n\t\tthis.billPhone = billPhone;\r\n\t\tthis.shipName = shipName;\r\n\t\tthis.shipAddr1 = shipAddr1;\r\n\t\tthis.shipAddr2 = shipAddr2;\r\n\t\tthis.shipCity = shipCity;\r\n\t\tthis.shipState = shipState;\r\n\t\tthis.shipZip = shipZip;\r\n\t\tthis.shipPhone = shipPhone;\r\n\t\tthis.shippingMethod = shippingMethod;\r\n\t\tinitLists();\r\n\t\tcardholderName = \"\";\r\n\t\tcardNum = \"\";\r\n\t}", + "start_line": 88, + "end_line": 110, + "code_start_line": 90, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr1", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billName", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr1", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod", + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billState", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity", + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState", + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum", + "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2", + "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + ], + "call_sites": [ + { + "method_name": "initLists", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "initLists()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 3, + "end_line": 107, + "end_column": 13 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " Is debug turned on? ", - "start_line": 268, - "end_line": 268, - "start_column": 5, - "end_column": 30, - "is_javadoc": true + "getID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getID()", + "comments": [ + { + "content": "\r\n\t * @return the orderID\r\n\t ", + "start_line": 174, + "end_line": 176, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getID()", + "parameters": [], + "code": "{\r\n\t\treturn orderID;\r\n\t}", + "start_line": 177, + "end_line": 179, + "code_start_line": 177, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", - "start_line": 272, - "end_line": 275, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setBillAddr2(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillAddr2(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param billAddr2\r\n\t * the billAddr2 to set\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBillAddr2(String billAddr2)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billAddr2", + "annotations": [], + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billAddr2 = billAddr2;\r\n\t}", + "start_line": 230, + "end_line": 232, + "code_start_line": 230, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", - "start_line": 292, - "end_line": 299, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "setShipCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipCity(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipCity\r\n\t * the shipCity to set\r\n\t ", + "start_line": 346, + "end_line": 349, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setShipCity(String shipCity)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipCity", + "annotations": [], + "modifiers": [], + "start_line": 350, + "end_line": 350, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.shipCity = shipCity;\r\n\t}", + "start_line": 350, + "end_line": 352, + "code_start_line": 350, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * Utility class.\r\n ", - "start_line": 29, - "end_line": 31, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setDebug(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "setDebug(boolean)", + "setCardExpYears(java.lang.String[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardExpYears(java.lang.String[])", "comments": [ { - "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", - "start_line": 262, - "end_line": 264, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param cardExpYears\r\n\t * the cardExpYears to set\r\n\t ", + "start_line": 496, + "end_line": 499, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", - "final", "public" ], "thrown_exceptions": [], - "declaration": "public static final void setDebug(boolean val)", + "declaration": "public void setCardExpYears(String[] cardExpYears)", "parameters": [ { - "type": "boolean", - "name": "val", + "type": "java.lang.String[]", + "name": "cardExpYears", "annotations": [], "modifiers": [], - "start_line": 265, - "end_line": 265, - "start_column": 39, - "end_column": 49 + "start_line": 500, + "end_line": 500, + "start_column": 30, + "end_column": 50 } ], - "code": "{\r\n debug = val;\r\n }", - "start_line": 265, - "end_line": 267, - "code_start_line": 265, + "code": "{\r\n\t\tthis.cardExpYears = cardExpYears;\r\n\t}", + "start_line": 500, + "end_line": 502, + "code_start_line": 500, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.debug" + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" ], "call_sites": [], "variable_declarations": [], @@ -49098,37 +60221,74 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCategoryStrings()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getCategoryStrings()", + "getShippingMethod()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShippingMethod()", "comments": [ { - "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", - "start_line": 126, - "end_line": 130, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shippingMethod\r\n\t ", + "start_line": 399, + "end_line": 401, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getShippingMethod()", + "parameters": [], + "code": "{\r\n\t\treturn shippingMethod;\r\n\t}", + "start_line": 402, + "end_line": 404, + "code_start_line": 402, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shippingMethod" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCardNum()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardNum()", + "comments": [ + { + "content": "\r\n\t * @return the cardNum\r\n\t ", + "start_line": 444, + "end_line": 446, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String[] getCategoryStrings()", + "declaration": "public String getCardNum()", "parameters": [], - "code": "{\r\n return CATEGORY_STRINGS;\r\n }", - "start_line": 131, - "end_line": 133, - "code_start_line": 131, - "return_type": "java.lang.String[]", + "code": "{\r\n\t\treturn cardNum;\r\n\t}", + "start_line": 447, + "end_line": 449, + "code_start_line": 447, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.CATEGORY_STRINGS" + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardNum" ], "call_sites": [], "variable_declarations": [], @@ -49137,1038 +60297,392 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "readProperties()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "readProperties()", + "setBillZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillZip(java.lang.String)", "comments": [ { - "content": " Try to read the properties file.", - "start_line": 192, - "end_line": 192, - "start_column": 13, - "end_column": 48, - "is_javadoc": false - }, - { - "content": " Reset properties to retry loading next time.", - "start_line": 200, - "end_line": 200, - "start_column": 17, - "end_column": 63, - "is_javadoc": false - }, - { - "content": "\r\n * Method readProperties.\r\n ", - "start_line": 187, - "end_line": 189, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param billZip\r\n\t * the billZip to set\r\n\t ", + "start_line": 271, + "end_line": 274, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "public", - "static" + "public" ], - "thrown_exceptions": [ - "java.io.FileNotFoundException" + "thrown_exceptions": [], + "declaration": "public void setBillZip(String billZip)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billZip", + "annotations": [], + "modifiers": [], + "start_line": 275, + "end_line": 275, + "start_column": 25, + "end_column": 38 + } ], - "declaration": "public static void readProperties() throws FileNotFoundException", - "parameters": [], - "code": "{\r\n if (PBW_Properties == null) {\r\n // Try to read the properties file.\r\n ListProperties prop = new ListProperties();\r\n try {\r\n String PBW_Properties_File = PBW_PROPERTIES;\r\n debug(\"Util.readProperties(): Loading PBW Properties from file: \" + PBW_Properties_File);\r\n prop.load(Util.class.getClassLoader().getResourceAsStream(PBW_Properties_File));\r\n } catch (Exception e) {\r\n debug(\"Util.readProperties(): Exception: \" + e);\r\n // Reset properties to retry loading next time.\r\n PBW_Properties = null;\r\n e.printStackTrace();\r\n throw new FileNotFoundException();\r\n }\r\n PBW_Properties = prop;\r\n }\r\n }", - "start_line": 190, - "end_line": 207, - "code_start_line": 190, + "code": "{\r\n\t\tthis.billZip = billZip;\r\n\t}", + "start_line": 275, + "end_line": 277, + "code_start_line": 275, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.utils.ListProperties", "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties", - "com.ibm.websphere.samples.pbw.utils.Util.PBW_PROPERTIES" - ], - "call_sites": [ - { - "method_name": "debug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 196, - "start_column": 17, - "end_line": 196, - "end_column": 104 - }, - { - "method_name": "load", - "comment": null, - "receiver_expr": "prop", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [ - "java.io.InputStream" - ], - "return_type": "", - "callee_signature": "load(java.io.InputStream)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 197, - "start_column": 17, - "end_line": 197, - "end_column": 95 - }, - { - "method_name": "getResourceAsStream", - "comment": null, - "receiver_expr": "Util.class.getClassLoader()", - "receiver_type": "java.lang.ClassLoader", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.io.InputStream", - "callee_signature": "getResourceAsStream(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 197, - "start_column": 27, - "end_line": 197, - "end_column": 94 - }, - { - "method_name": "getClassLoader", - "comment": null, - "receiver_expr": "Util.class", - "receiver_type": "java.lang.Class", - "argument_types": [], - "return_type": "java.lang.ClassLoader", - "callee_signature": "getClassLoader()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 197, - "start_column": 27, - "end_line": 197, - "end_column": 53 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 199, - "start_column": 17, - "end_line": 199, - "end_column": 63 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 202, - "start_column": 17, - "end_line": 202, - "end_column": 35 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "callee_signature": "ListProperties()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 193, - "start_column": 35, - "end_line": 193, - "end_column": 54 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.io.FileNotFoundException", - "argument_types": [], - "return_type": "java.io.FileNotFoundException", - "callee_signature": "FileNotFoundException()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 203, - "start_column": 23, - "end_line": 203, - "end_column": 49 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "prop", - "type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "initializer": "new ListProperties()", - "start_line": 193, - "start_column": 28, - "end_line": 193, - "end_column": 54 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "PBW_Properties_File", - "type": "java.lang.String", - "initializer": "PBW_PROPERTIES", - "start_line": 195, - "start_column": 24, - "end_line": 195, - "end_column": 59 - } + "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCategoryString(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getCategoryString(int)", + "setCardName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardName(java.lang.String)", "comments": [ { - "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", - "start_line": 115, - "end_line": 119, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param cardName\r\n\t * the cardName to set\r\n\t ", + "start_line": 436, + "end_line": 439, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String getCategoryString(int index)", + "declaration": "public void setCardName(String cardName)", "parameters": [ { - "type": "int", - "name": "index", + "type": "java.lang.String", + "name": "cardName", "annotations": [], "modifiers": [], - "start_line": 120, - "end_line": 120, - "start_column": 44, - "end_column": 52 + "start_line": 440, + "end_line": 440, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n if ((index >= 0) && (index < CATEGORY_STRINGS.length))\r\n return CATEGORY_STRINGS[index];\r\n else\r\n return null;\r\n }", - "start_line": 120, - "end_line": 125, - "code_start_line": 120, - "return_type": "java.lang.String", + "code": "{\r\n\t\tthis.cardName = cardName;\r\n\t}", + "start_line": 440, + "end_line": 442, + "code_start_line": 440, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "length", - "com.ibm.websphere.samples.pbw.utils.Util.CATEGORY_STRINGS" + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardName" ], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getFullShippingMethodStrings()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getFullShippingMethodStrings()", + "getBillAddr2()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillAddr2()", "comments": [ { - "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", - "start_line": 174, - "end_line": 177, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the billAddr2\r\n\t ", + "start_line": 219, + "end_line": 221, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String[] getFullShippingMethodStrings()", + "declaration": "public String getBillAddr2()", "parameters": [], - "code": "{\r\n String[] shippingMethods = new String[SHIPPING_METHOD_STRINGS.length];\r\n for (int i = 0; i < shippingMethods.length; i++) {\r\n shippingMethods[i] = SHIPPING_METHOD_STRINGS[i] + \" \" + SHIPPING_METHOD_TIMES[i] + \" \" + NumberFormat.getCurrencyInstance(java.util.Locale.US).format(new Float(SHIPPING_METHOD_PRICES[i]));\r\n }\r\n return shippingMethods;\r\n }", - "start_line": 178, - "end_line": 184, - "code_start_line": 178, - "return_type": "java.lang.String[]", + "code": "{\r\n\t\treturn billAddr2;\r\n\t}", + "start_line": 222, + "end_line": 224, + "code_start_line": 222, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.Locale" - ], + "referenced_types": [], "accessed_fields": [ - "length", - "java.util.Locale.US", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_TIMES", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_PRICES" - ], - "call_sites": [ - { - "method_name": "format", - "comment": null, - "receiver_expr": "NumberFormat.getCurrencyInstance(java.util.Locale.US)", - "receiver_type": "java.text.NumberFormat", - "argument_types": [ - "java.lang.Float" - ], - "return_type": "java.lang.String", - "callee_signature": "format(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 102, - "end_line": 181, - "end_column": 199 - }, - { - "method_name": "getCurrencyInstance", - "comment": null, - "receiver_expr": "NumberFormat", - "receiver_type": "java.text.NumberFormat", - "argument_types": [ - "java.util.Locale" - ], - "return_type": "java.text.NumberFormat", - "callee_signature": "getCurrencyInstance(java.util.Locale)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 102, - "end_line": 181, - "end_column": 154 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(float)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 163, - "end_line": 181, - "end_column": 198 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shippingMethods", - "type": "java.lang.String[]", - "initializer": "new String[SHIPPING_METHOD_STRINGS.length]", - "start_line": 179, - "start_column": 18, - "end_line": 179, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 180, - "start_column": 18, - "end_line": 180, - "end_column": 22 - } + "com.ibm.websphere.samples.pbw.war.OrderInfo.billAddr2" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShippingMethodPrice(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getShippingMethodPrice(int)", + "setShipName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipName(java.lang.String)", "comments": [ { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", - "start_line": 145, - "end_line": 149, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param shipName\r\n\t * the shipName to set\r\n\t ", + "start_line": 301, + "end_line": 304, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static float getShippingMethodPrice(int index)", + "declaration": "public void setShipName(String shipName)", "parameters": [ { - "type": "int", - "name": "index", + "type": "java.lang.String", + "name": "shipName", "annotations": [], "modifiers": [], - "start_line": 150, - "end_line": 150, - "start_column": 48, - "end_column": 56 + "start_line": 305, + "end_line": 305, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n if ((index >= 0) && (index < SHIPPING_METHOD_PRICES.length))\r\n return SHIPPING_METHOD_PRICES[index];\r\n else\r\n return -1;\r\n }", - "start_line": 150, - "end_line": 155, - "code_start_line": 150, - "return_type": "float", + "code": "{\r\n\t\tthis.shipName = shipName;\r\n\t}", + "start_line": 305, + "end_line": 307, + "code_start_line": 305, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "length", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_PRICES" + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName" ], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShippingMethod(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getShippingMethod(int)", + "getShipName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipName()", "comments": [ { - "content": "\r\n * Get the shipping method.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method (null, if an invalid index given).\r\n ", - "start_line": 134, - "end_line": 138, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shipName\r\n\t ", + "start_line": 294, + "end_line": 296, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String getShippingMethod(int index)", - "parameters": [ - { - "type": "int", - "name": "index", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 44, - "end_column": 52 - } - ], - "code": "{\r\n if ((index >= 0) && (index < SHIPPING_METHOD_STRINGS.length))\r\n return SHIPPING_METHOD_STRINGS[index];\r\n else\r\n return null;\r\n }", - "start_line": 139, - "end_line": 144, - "code_start_line": 139, + "declaration": "public String getShipName()", + "parameters": [], + "code": "{\r\n\t\treturn shipName;\r\n\t}", + "start_line": 297, + "end_line": 299, + "code_start_line": 297, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "length", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS" + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipName" ], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "debug(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "debug(String)", + "setBillName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillName(java.lang.String)", "comments": [ { - "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", - "start_line": 272, - "end_line": 275, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param billName\r\n\t * the billName to set\r\n\t ", + "start_line": 196, + "end_line": 199, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", - "final", "public" ], "thrown_exceptions": [], - "declaration": "public static final void debug(String msg)", + "declaration": "public void setBillName(String billName)", "parameters": [ { "type": "java.lang.String", - "name": "msg", + "name": "billName", "annotations": [], "modifiers": [], - "start_line": 276, - "end_line": 276, - "start_column": 36, - "end_column": 45 + "start_line": 200, + "end_line": 200, + "start_column": 26, + "end_column": 40 } ], - "code": "{\r\n FacesContext context = FacesContext.getCurrentInstance();\r\n if (context != null) {\r\n \tApplication app = context.getApplication();\r\n \tif (app != null) {\r\n \t\tProjectStage stage = app.getProjectStage();\r\n \t\tif (stage == ProjectStage.Development || stage == ProjectStage.UnitTest) {\r\n \t\t\tsetDebug(true);\r\n \t\t}\r\n \t}\r\n \tif (debug) {\r\n \t\tSystem.out.println(msg);\r\n \t}\r\n }\r\n }", - "start_line": 276, - "end_line": 290, - "code_start_line": 276, + "code": "{\r\n\t\tthis.billName = billName;\r\n\t}", + "start_line": 200, + "end_line": 202, + "code_start_line": 200, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.io.PrintStream", - "FacesContext", - "ProjectStage", - "Application" + "java.lang.String" ], "accessed_fields": [ - "Development", - "UnitTest", - "java.lang.System.out", - "com.ibm.websphere.samples.pbw.utils.Util.debug" - ], - "call_sites": [ - { - "method_name": "getCurrentInstance", - "comment": null, - "receiver_expr": "FacesContext", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 277, - "start_column": 32, - "end_line": 277, - "end_column": 64 - }, - { - "method_name": "getApplication", - "comment": null, - "receiver_expr": "context", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 279, - "start_column": 28, - "end_line": 279, - "end_column": 51 - }, - { - "method_name": "getProjectStage", - "comment": null, - "receiver_expr": "app", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 281, - "start_column": 32, - "end_line": 281, - "end_column": 52 - }, - { - "method_name": "setDebug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setDebug(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 283, - "start_column": 12, - "end_line": 283, - "end_column": 25 - }, - { - "method_name": "println", - "comment": null, - "receiver_expr": "System.out", - "receiver_type": "java.io.PrintStream", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "println(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 287, - "start_column": 11, - "end_line": 287, - "end_column": 33 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "context", - "type": "FacesContext", - "initializer": "FacesContext.getCurrentInstance()", - "start_line": 277, - "start_column": 22, - "end_line": 277, - "end_column": 64 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "app", - "type": "Application", - "initializer": "context.getApplication()", - "start_line": 279, - "start_column": 22, - "end_line": 279, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stage", - "type": "ProjectStage", - "initializer": "app.getProjectStage()", - "start_line": 281, - "start_column": 24, - "end_line": 281, - "end_column": 52 - } + "com.ibm.websphere.samples.pbw.war.OrderInfo.billName" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProperties(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getProperties(String)", + "getShipAddr2()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipAddr2()", "comments": [ { - "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", - "start_line": 253, - "end_line": 253, - "start_column": 13, - "end_column": 92, - "is_javadoc": false - }, - { - "content": " debug((String)e.nextElement());", - "start_line": 254, - "end_line": 254, - "start_column": 13, - "end_column": 49, - "is_javadoc": false - }, - { - "content": "}", - "start_line": 255, - "end_line": 255, - "start_column": 13, - "end_column": 15, - "is_javadoc": false - }, - { - "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", - "start_line": 240, - "end_line": 244, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shipAddr2\r\n\t ", + "start_line": 324, + "end_line": 326, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "public", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "public static String[] getProperties(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 245, - "end_line": 245, - "start_column": 42, - "end_column": 52 - } - ], - "code": "{\r\n String[] values = { \"\" };\r\n try {\r\n if (PBW_Properties == null) {\r\n readProperties();\r\n }\r\n values = PBW_Properties.getProperties(name);\r\n debug(\"Util.getProperties: property (\" + name + \") -> \" + values.toString());\r\n //for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {\r\n // debug((String)e.nextElement());\r\n //}\r\n } catch (Exception e) {\r\n debug(\"Util.getProperties(): Exception: \" + e);\r\n }\r\n return (values);\r\n }", - "start_line": 245, - "end_line": 260, - "code_start_line": 245, - "return_type": "java.lang.String[]", + "declaration": "public String getShipAddr2()", + "parameters": [], + "code": "{\r\n\t\treturn shipAddr2;\r\n\t}", + "start_line": 327, + "end_line": 329, + "code_start_line": 327, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties" + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipAddr2" ], - "call_sites": [ - { - "method_name": "readProperties", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "readProperties()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 249, - "start_column": 17, - "end_line": 249, - "end_column": 32 - }, - { - "method_name": "getProperties", - "comment": null, - "receiver_expr": "PBW_Properties", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getProperties(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 251, - "start_column": 22, - "end_line": 251, - "end_column": 55 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 13, - "end_line": 252, - "end_column": 88 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "values", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 71, - "end_line": 252, - "end_column": 87 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getShipState()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipState()", + "comments": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 257, - "start_column": 13, - "end_line": 257, - "end_column": 58 + "content": "\r\n\t * @return the shipState\r\n\t ", + "start_line": 354, + "end_line": 356, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "values", - "type": "java.lang.String[]", - "initializer": "{ \"\" }", - "start_line": 246, - "start_column": 18, - "end_line": 246, - "end_column": 32 - } + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getShipState()", + "parameters": [], + "code": "{\r\n\t\treturn shipState;\r\n\t}", + "start_line": 357, + "end_line": 359, + "code_start_line": 357, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipState" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShippingMethodStrings()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getShippingMethodStrings()", + "getCardExpYears()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardExpYears()", "comments": [ { - "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", - "start_line": 167, - "end_line": 170, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the cardExpYears\r\n\t ", + "start_line": 489, + "end_line": 491, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String[] getShippingMethodStrings()", + "declaration": "public String[] getCardExpYears()", "parameters": [], - "code": "{\r\n return SHIPPING_METHOD_STRINGS;\r\n }", - "start_line": 171, - "end_line": 173, - "code_start_line": 171, + "code": "{\r\n\t\treturn cardExpYears;\r\n\t}", + "start_line": 492, + "end_line": 494, + "code_start_line": 492, "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS" + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardExpYears" ], "call_sites": [], "variable_declarations": [], @@ -50177,1039 +60691,476 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProperty(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getProperty(String)", + "getBillZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillZip()", "comments": [ { - "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", - "start_line": 208, - "end_line": 212, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the billZip\r\n\t ", + "start_line": 264, + "end_line": 266, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "public", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "public static String getProperty(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 213, - "end_line": 213, - "start_column": 38, - "end_column": 48 - } - ], - "code": "{\r\n String value = \"\";\r\n try {\r\n if (PBW_Properties == null) {\r\n readProperties();\r\n }\r\n value = PBW_Properties.getProperty(name);\r\n } catch (Exception e) {\r\n debug(\"Util.getProperty(): Exception: \" + e);\r\n }\r\n return (value);\r\n }", - "start_line": 213, - "end_line": 224, - "code_start_line": 213, + "declaration": "public String getBillZip()", + "parameters": [], + "code": "{\r\n\t\treturn billZip;\r\n\t}", + "start_line": 267, + "end_line": 269, + "code_start_line": 267, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties" - ], - "call_sites": [ - { - "method_name": "readProperties", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "readProperties()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 17, - "end_line": 217, - "end_column": 32 - }, - { - "method_name": "getProperty", - "comment": null, - "receiver_expr": "PBW_Properties", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getProperty(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 219, - "start_column": 21, - "end_line": 219, - "end_column": 52 - }, - { - "method_name": "debug", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 221, - "start_column": 13, - "end_line": 221, - "end_column": 56 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "value", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 214, - "start_column": 16, - "end_line": 214, - "end_column": 25 - } + "com.ibm.websphere.samples.pbw.war.OrderInfo.billZip" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "readTokens(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "readTokens(String, String)", + "getShipPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getShipPhone()", "comments": [ { - "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", - "start_line": 225, - "end_line": 230, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @return the shipPhone\r\n\t ", + "start_line": 384, + "end_line": 386, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "public", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "public static String[] readTokens(String text, String token)", - "parameters": [ - { - "type": "java.lang.String", - "name": "text", - "annotations": [], - "modifiers": [], - "start_line": 231, - "end_line": 231, - "start_column": 39, - "end_column": 49 - }, - { - "type": "java.lang.String", - "name": "token", - "annotations": [], - "modifiers": [], - "start_line": 231, - "end_line": 231, - "start_column": 52, - "end_column": 63 - } - ], - "code": "{\r\n StringTokenizer parser = new StringTokenizer(text, token);\r\n int numTokens = parser.countTokens();\r\n String[] list = new String[numTokens];\r\n for (int i = 0; i < numTokens; i++) {\r\n list[i] = parser.nextToken();\r\n }\r\n return list;\r\n }", - "start_line": 231, - "end_line": 239, - "code_start_line": 231, - "return_type": "java.lang.String[]", + "declaration": "public String getShipPhone()", + "parameters": [], + "code": "{\r\n\t\treturn shipPhone;\r\n\t}", + "start_line": 387, + "end_line": 389, + "code_start_line": 387, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.StringTokenizer" + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipPhone" ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "countTokens", - "comment": null, - "receiver_expr": "parser", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [], - "return_type": "", - "callee_signature": "countTokens()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 25, - "end_line": 233, - "end_column": 44 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBillCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getBillCity()", + "comments": [ { - "method_name": "nextToken", - "comment": null, - "receiver_expr": "parser", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "nextToken()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 236, - "start_column": 23, + "content": "\r\n\t * @return the billCity\r\n\t ", + "start_line": 234, "end_line": 236, - "end_column": 40 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.StringTokenizer", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.util.StringTokenizer", - "callee_signature": "StringTokenizer(java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 232, - "start_column": 34, - "end_line": 232, - "end_column": 65 + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "parser", - "type": "java.util.StringTokenizer", - "initializer": "new StringTokenizer(text, token)", - "start_line": 232, - "start_column": 25, - "end_line": 232, - "end_column": 65 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "numTokens", - "type": "int", - "initializer": "parser.countTokens()", - "start_line": 233, - "start_column": 13, - "end_line": 233, - "end_column": 44 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "list", - "type": "java.lang.String[]", - "initializer": "new String[numTokens]", - "start_line": 234, - "start_column": 18, - "end_line": 234, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 235, - "start_column": 18, - "end_line": 235, - "end_column": 22 - } + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBillCity()", + "parameters": [], + "code": "{\r\n\t\treturn billCity;\r\n\t}", + "start_line": 237, + "end_line": 239, + "code_start_line": 237, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billCity" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getShippingMethodTime(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "getShippingMethodTime(int)", + "setID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setID(java.lang.String)", "comments": [ { - "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", - "start_line": 156, - "end_line": 160, - "start_column": 5, - "end_column": 7, + "content": "\r\n\t * @param orderID\r\n\t * the orderID to set\r\n\t ", + "start_line": 181, + "end_line": 184, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", "public" ], "thrown_exceptions": [], - "declaration": "public static String getShippingMethodTime(int index)", + "declaration": "public void setID(String orderID)", "parameters": [ { - "type": "int", - "name": "index", + "type": "java.lang.String", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 161, - "end_line": 161, - "start_column": 48, - "end_column": 56 + "start_line": 185, + "end_line": 185, + "start_column": 20, + "end_column": 33 } ], - "code": "{\r\n if ((index >= 0) && (index < SHIPPING_METHOD_TIMES.length))\r\n return SHIPPING_METHOD_TIMES[index];\r\n else\r\n return null;\r\n }", - "start_line": 161, - "end_line": 166, - "code_start_line": 161, - "return_type": "java.lang.String", + "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", + "start_line": 185, + "end_line": 187, + "code_start_line": 185, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "length", - "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_TIMES" + "com.ibm.websphere.samples.pbw.war.OrderInfo.orderID" ], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "validateString(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "validateString(String)", - "comments": [], + "setCardExpYear(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardExpYear(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param cardExpYear\r\n\t * the cardExpYear to set\r\n\t ", + "start_line": 481, + "end_line": 484, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ - "public", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "public static boolean validateString(String input)", + "declaration": "public void setCardExpYear(String cardExpYear)", "parameters": [ { "type": "java.lang.String", - "name": "input", + "name": "cardExpYear", "annotations": [], "modifiers": [], - "start_line": 302, - "end_line": 302, - "start_column": 39, - "end_column": 50 - } - ], - "code": "{\r\n\t\tif (input==null) return true;\r\n\t\tfor (int i=0;i", + "method_name": "getShippingMethods", "comment": null, "receiver_expr": "", - "receiver_type": "javax.naming.InitialContext", + "receiver_type": "", "argument_types": [], - "return_type": "javax.naming.InitialContext", - "callee_signature": "InitialContext()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "getShippingMethods()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 107, - "start_column": 27, - "end_line": 107, - "end_column": 46 + "start_line": 140, + "start_column": 10, + "end_line": 140, + "end_column": 29 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "debugOn()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", - "signature": "debugOn()", + "setCardholderName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setCardholderName(java.lang.String)", "comments": [ { - "content": " Is debug turned on? ", - "start_line": 268, - "end_line": 268, - "start_column": 5, - "end_column": 30, + "content": "\r\n\t * @param cardholderName\r\n\t * the cardholderName to set\r\n\t ", + "start_line": 421, + "end_line": 424, + "start_column": 2, + "end_column": 4, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "static", - "final", "public" ], "thrown_exceptions": [], - "declaration": "public static final boolean debugOn()", - "parameters": [], - "code": "{\r\n return debug;\r\n }", - "start_line": 269, - "end_line": 271, - "code_start_line": 269, - "return_type": "boolean", + "declaration": "public void setCardholderName(String cardholderName)", + "parameters": [ + { + "type": "java.lang.String", + "name": "cardholderName", + "annotations": [], + "modifiers": [], + "start_line": 425, + "end_line": 425, + "start_column": 32, + "end_column": 52 + } + ], + "code": "{\r\n\t\tthis.cardholderName = cardholderName;\r\n\t}", + "start_line": 425, + "end_line": 427, + "code_start_line": 425, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.debug" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": " Datasource name. ", - "start_line": 33, - "end_line": 33, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 34, - "end_line": 34, - "variables": [ - "DS_NAME" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " Constants for JSPs and HTMLs.", - "start_line": 35, - "end_line": 35, - "start_column": 5, - "end_column": 36, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 36, - "end_line": 36, - "variables": [ - "PAGE_ACCOUNT" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 37, - "end_line": 37, - "variables": [ - "PAGE_CART" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 38, - "end_line": 38, - "variables": [ - "PAGE_CHECKOUTFINAL" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 39, - "end_line": 39, - "variables": [ - "PAGE_HELP" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 40, - "end_line": 40, - "variables": [ - "PAGE_LOGIN" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 41, - "variables": [ - "PAGE_ORDERDONE" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 42, - "end_line": 42, - "variables": [ - "PAGE_ORDERINFO" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 43, - "end_line": 43, - "variables": [ - "PAGE_PRODUCT" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 44, - "end_line": 44, - "variables": [ - "PAGE_PROMO" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 45, - "end_line": 45, - "variables": [ - "PAGE_REGISTER" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 46, - "end_line": 46, - "variables": [ - "PAGE_SHOPPING" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 47, - "end_line": 47, - "variables": [ - "PAGE_BACKADMIN" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 48, - "end_line": 48, - "variables": [ - "PAGE_SUPPLIERCFG" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 49, - "end_line": 49, - "variables": [ - "PAGE_ADMINHOME" + "referenced_types": [ + "java.lang.String" ], - "modifiers": [ - "public", - "static", - "final" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName" ], - "annotations": [] + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 50, - "end_line": 50, - "variables": [ - "PAGE_ADMINACTIONS" + "setShipZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setShipZip(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param shipZip\r\n\t * the shipZip to set\r\n\t ", + "start_line": 376, + "end_line": 379, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "public", - "static", - "final" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": " Request and session attributes.", - "start_line": 51, - "end_line": 51, - "start_column": 5, - "end_column": 38, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 52, - "end_line": 52, - "variables": [ - "ATTR_ACTION" + "thrown_exceptions": [], + "declaration": "public void setShipZip(String shipZip)", + "parameters": [ + { + "type": "java.lang.String", + "name": "shipZip", + "annotations": [], + "modifiers": [], + "start_line": 380, + "end_line": 380, + "start_column": 25, + "end_column": 38 + } ], - "modifiers": [ - "public", - "static", - "final" + "code": "{\r\n\t\tthis.shipZip = shipZip;\r\n\t}", + "start_line": 380, + "end_line": 382, + "code_start_line": 380, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" ], - "annotations": [] + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.shipZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 53, - "end_line": 53, - "variables": [ - "ATTR_CART" + "setBillPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "setBillPhone(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param billPhone\r\n\t * the billPhone to set\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "public", - "static", - "final" + "public" ], - "annotations": [] + "thrown_exceptions": [], + "declaration": "public void setBillPhone(String billPhone)", + "parameters": [ + { + "type": "java.lang.String", + "name": "billPhone", + "annotations": [], + "modifiers": [], + "start_line": 290, + "end_line": 290, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.billPhone = billPhone;\r\n\t}", + "start_line": 290, + "end_line": 292, + "code_start_line": 290, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.billPhone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", - "start_line": 54, - "end_line": 54, - "start_column": 1, - "end_column": 69, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 55, - "end_line": 55, - "variables": [ - "ATTR_CARTITEMS" + "getCardholderName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/OrderInfo.java", + "signature": "getCardholderName()", + "comments": [ + { + "content": "\r\n\t * @return the cardholderName\r\n\t ", + "start_line": 414, + "end_line": 416, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], + "annotations": [], "modifiers": [ - "public", - "static", - "final" + "public" ], - "annotations": [] - }, + "thrown_exceptions": [], + "declaration": "public String getCardholderName()", + "parameters": [], + "code": "{\r\n\t\treturn cardholderName;\r\n\t}", + "start_line": 417, + "end_line": 419, + "code_start_line": 417, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.OrderInfo.cardholderName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ { "comment": { "content": null, @@ -51220,14 +61171,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 56, - "end_line": 56, + "type": "long", + "start_line": 32, + "end_line": 32, "variables": [ - "ATTR_CATEGORY" + "serialVersionUID" ], "modifiers": [ - "public", + "private", "static", "final" ], @@ -51244,15 +61195,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 57, - "end_line": 57, + "start_line": 33, + "end_line": 33, "variables": [ - "ATTR_CHECKOUT" + "orderID" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51267,17 +61216,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 58, - "end_line": 58, + "start_line": 34, + "end_line": 36, "variables": [ - "ATTR_CUSTOMER" + "billName" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Name for billing must include at least one letter.\")" + ] }, { "comment": { @@ -51290,17 +61240,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 59, - "end_line": 59, + "start_line": 37, + "end_line": 39, "variables": [ - "ATTR_EDITACCOUNTINFO" + "billAddr1" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Billing address must include at least one letter.\")" + ] }, { "comment": { @@ -51313,15 +61264,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 60, - "end_line": 60, + "start_line": 40, + "end_line": 40, "variables": [ - "ATTR_INVITEM" + "billAddr2" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51336,17 +61285,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 61, - "end_line": 61, + "start_line": 41, + "end_line": 43, "variables": [ - "ATTR_INVITEMS" + "billCity" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Billing city must include at least one letter.\")" + ] }, { "comment": { @@ -51359,17 +61309,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 62, - "end_line": 62, + "start_line": 44, + "end_line": 46, "variables": [ - "ATTR_ORDERID" + "billState" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Billing state must include at least one letter.\")" + ] }, { "comment": { @@ -51382,17 +61333,17 @@ }, "name": null, "type": "java.lang.String", - "start_line": 63, - "end_line": 63, + "start_line": 48, + "end_line": 49, "variables": [ - "ATTR_ORDERINFO" + "billZip" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@Pattern(regexp = \"\\\\d{5}\", message = \"Billing zip code does not have 5 digits.\")" + ] }, { "comment": { @@ -51405,17 +61356,17 @@ }, "name": null, "type": "java.lang.String", - "start_line": 64, - "end_line": 64, + "start_line": 51, + "end_line": 52, "variables": [ - "ATTR_ORDERKEY" + "billPhone" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Billing phone number does not match xxx-xxx-xxxx.\")" + ] }, { "comment": { @@ -51428,17 +61379,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 65, - "end_line": 65, + "start_line": 53, + "end_line": 55, "variables": [ - "ATTR_RESULTS" + "shipName" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Name for shipping must include at least one letter.\")" + ] }, { "comment": { @@ -51451,86 +61403,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 66, - "end_line": 66, - "variables": [ - "ATTR_UPDATING" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " if this is changed, updated session timeout", - "start_line": 67, - "end_line": 67, - "start_column": 56, - "end_column": 101, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 67, - "end_line": 67, - "variables": [ - "ATTR_SFTIMEOUT" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " in the PlantsByWebSphere web.xml", - "start_line": 68, - "end_line": 68, - "start_column": 20, - "end_column": 54, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 69, - "end_line": 69, - "variables": [ - "ATTR_SUPPLIER" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " Admin type actions", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 25, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 71, - "end_line": 71, + "start_line": 56, + "end_line": 58, "variables": [ - "ATTR_ADMINTYPE" + "shipAddr1" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Shipping address must include at least one letter.\")" + ] }, { "comment": { @@ -51543,15 +61427,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 72, - "end_line": 72, + "start_line": 59, + "end_line": 59, "variables": [ - "ADMIN_BACKORDER" + "shipAddr2" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51566,17 +61448,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 73, - "end_line": 73, + "start_line": 60, + "end_line": 62, "variables": [ - "ADMIN_SUPPLIERCFG" + "shipCity" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Shipping city must include at least one letter.\")" + ] }, { "comment": { @@ -51589,40 +61472,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 74, - "end_line": 74, - "variables": [ - "ADMIN_POPULATE" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": " Supplier Config actions", - "start_line": 76, - "end_line": 76, - "start_column": 5, - "end_column": 30, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 77, - "end_line": 77, + "start_line": 63, + "end_line": 65, "variables": [ - "ACTION_GETSUPPLIER" + "shipState" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Shipping state must include at least one letter.\")" + ] }, { "comment": { @@ -51635,40 +61496,40 @@ }, "name": null, "type": "java.lang.String", - "start_line": 78, - "end_line": 78, + "start_line": 67, + "end_line": 68, "variables": [ - "ACTION_UPDATESUPPLIER" + "shipZip" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] - }, - { - "comment": { - "content": " Backorder actions", - "start_line": 79, - "end_line": 79, - "start_column": 5, - "end_column": 24, + "annotations": [ + "@Pattern(regexp = \"[0-9][0-9][0-9][0-9][0-9]\", message = \"Shipping zip code does not have 5 digits.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, "name": null, "type": "java.lang.String", - "start_line": 80, - "end_line": 80, + "start_line": 70, + "end_line": 71, "variables": [ - "ACTION_ORDERSTOCK" + "shipPhone" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Shipping phone number does not match xxx-xxx-xxxx.\")" + ] }, { "comment": { @@ -51680,16 +61541,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 81, - "end_line": 81, + "type": "int", + "start_line": 72, + "end_line": 72, "variables": [ - "ACTION_UPDATESTOCK" + "shippingMethod" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51704,17 +61563,18 @@ }, "name": null, "type": "java.lang.String", - "start_line": 82, - "end_line": 82, + "start_line": 73, + "end_line": 75, "variables": [ - "ACTION_GETBACKORDERS" + "cardholderName" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Card holder name must include at least one letter.\")" + ] }, { "comment": { @@ -51727,15 +61587,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 83, - "end_line": 83, + "start_line": 76, + "end_line": 76, "variables": [ - "ACTION_UPDATEQUANTITY" + "cardName" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51750,17 +61608,17 @@ }, "name": null, "type": "java.lang.String", - "start_line": 84, - "end_line": 84, + "start_line": 78, + "end_line": 79, "variables": [ - "ACTION_ORDERSTATUS" + "cardNum" ], "modifiers": [ - "public", - "static", - "final" + "private" ], - "annotations": [] + "annotations": [ + "@Pattern(regexp = \"\\\\d{4} \\\\d{4} \\\\d{4} \\\\d{4}\", message = \"Credit card numbers must be entered as XXXX XXXX XXXX XXXX.\")" + ] }, { "comment": { @@ -51773,15 +61631,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 85, - "end_line": 85, + "start_line": 80, + "end_line": 80, "variables": [ - "ACTION_CANCEL" + "cardExpMonth" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51796,15 +61652,13 @@ }, "name": null, "type": "java.lang.String", - "start_line": 86, - "end_line": 86, + "start_line": 81, + "end_line": 81, "variables": [ - "STATUS_ORDERSTOCK" + "cardExpYear" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51818,16 +61672,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 87, - "end_line": 87, + "type": "java.lang.String[]", + "start_line": 82, + "end_line": 82, "variables": [ - "STATUS_ORDEREDSTOCK" + "cardExpYears" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] }, @@ -51841,578 +61693,1561 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 88, - "end_line": 88, + "type": "boolean", + "start_line": 83, + "end_line": 83, "variables": [ - "STATUS_RECEIVEDSTOCK" + "shipisbill" ], "modifiers": [ - "public", - "static", - "final" + "private" ], "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "package_name": "com.ibm.websphere.samples.pbw.utils", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2004,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "\r\n * @author aamortim\r\n *\r\n * To change the template for this generated type comment go to\r\n * Window>Preferences>Java>Code Generation>Code and Comments\r\n ", + "start_line": 28, + "end_line": 33, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Utility class.\r\n ", + "start_line": 34, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": " Method load\r\n * @param inStream\r\n ", + "start_line": 43, + "end_line": 45, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 38, + "end_line": 40, + "start_column": 5, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Parse property file, remove comments, blank lines, and combine", + "start_line": 50, + "end_line": 50, + "start_column": 13, + "end_column": 77, + "is_javadoc": false + }, + { + "content": " continued lines.", + "start_line": 51, + "end_line": 51, + "start_column": 13, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 61, + "end_line": 61, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 63, + "end_line": 63, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping blank lines", + "start_line": 65, + "end_line": 65, + "start_column": 21, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " This is a continuation line. Add to previous line.", + "start_line": 70, + "end_line": 70, + "start_column": 25, + "end_column": 79, + "is_javadoc": false + }, + { + "content": " Must be a property line", + "start_line": 73, + "end_line": 73, + "start_column": 21, + "end_column": 46, + "is_javadoc": false + }, + { + "content": " Next line is continued from the current one.", + "start_line": 75, + "end_line": 75, + "start_column": 25, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " The current line is completed. Parse the property.", + "start_line": 78, + "end_line": 78, + "start_column": 25, + "end_column": 79, + "is_javadoc": false + }, + { + "content": " Load Properties", + "start_line": 86, + "end_line": 86, + "start_column": 13, + "end_column": 30, + "is_javadoc": false + }, + { + "content": " Now parse the Properties to create an array", + "start_line": 88, + "end_line": 88, + "start_column": 13, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Parse the line to get the key,value pair", + "start_line": 92, + "end_line": 92, + "start_column": 17, + "end_column": 59, + "is_javadoc": false + }, + { + "content": " Previous key,value was already created.", + "start_line": 97, + "end_line": 97, + "start_column": 25, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Need an array", + "start_line": 98, + "end_line": 98, + "start_column": 25, + "end_column": 40, + "is_javadoc": false + }, + { + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 116, + "end_line": 121, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 131, + "end_line": 135, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.BufferedReader", + "java.io.IOException", + "java.io.InputStream", + "java.io.InputStreamReader", + "java.util.Hashtable", + "java.util.Properties", + "java.util.StringTokenizer", + "java.util.Vector" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.utils.ListProperties": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "java.util.Properties" + ], + "comments": [ + { + "content": " Method load\r\n * @param inStream\r\n ", + "start_line": 43, + "end_line": 45, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 38, + "end_line": 40, + "start_column": 5, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Parse property file, remove comments, blank lines, and combine", + "start_line": 50, + "end_line": 50, + "start_column": 13, + "end_column": 77, + "is_javadoc": false + }, + { + "content": " continued lines.", + "start_line": 51, + "end_line": 51, + "start_column": 13, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 61, + "end_line": 61, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 63, + "end_line": 63, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping blank lines", + "start_line": 65, + "end_line": 65, + "start_column": 21, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " This is a continuation line. Add to previous line.", + "start_line": 70, + "end_line": 70, + "start_column": 25, + "end_column": 79, + "is_javadoc": false + }, + { + "content": " Must be a property line", + "start_line": 73, + "end_line": 73, + "start_column": 21, + "end_column": 46, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 89, - "end_line": 89, - "variables": [ - "STATUS_ADDEDSTOCK" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] + "content": " Next line is continued from the current one.", + "start_line": 75, + "end_line": 75, + "start_column": 25, + "end_column": 71, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 90, - "end_line": 90, - "variables": [ - "DEFAULT_SUPPLIERID" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] + "content": " The current line is completed. Parse the property.", + "start_line": 78, + "end_line": 78, + "start_column": 25, + "end_column": 79, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "javax.naming.InitialContext", - "start_line": 91, - "end_line": 91, - "variables": [ - "initCtx" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] + "content": " Load Properties", + "start_line": 86, + "end_line": 86, + "start_column": 13, + "end_column": 30, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String[]", + "content": " Now parse the Properties to create an array", + "start_line": 88, + "end_line": 88, + "start_column": 13, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Parse the line to get the key,value pair", "start_line": 92, "end_line": 92, - "variables": [ - "CATEGORY_STRINGS" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] + "start_column": 17, + "end_column": 59, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String[]", - "start_line": 93, - "end_line": 93, - "variables": [ - "SHIPPING_METHOD_STRINGS" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] + "content": " Previous key,value was already created.", + "start_line": 97, + "end_line": 97, + "start_column": 25, + "end_column": 66, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String[]", - "start_line": 94, - "end_line": 94, - "variables": [ - "SHIPPING_METHOD_TIMES" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] + "content": " Need an array", + "start_line": 98, + "end_line": 98, + "start_column": 25, + "end_column": 40, + "is_javadoc": false }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "float[]", - "start_line": 95, - "end_line": 95, - "variables": [ - "SHIPPING_METHOD_PRICES" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 116, + "end_line": 121, + "start_column": 5, + "end_column": 7, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 96, - "end_line": 96, - "variables": [ - "ZERO_14" - ], - "modifiers": [ - "public", - "static", - "final" - ], - "annotations": [] + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 131, + "end_line": 135, + "start_column": 5, + "end_column": 7, + "is_javadoc": true }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 185, - "end_line": 185, - "variables": [ - "PBW_PROPERTIES" + "content": "\r\n * Utility class.\r\n ", + "start_line": 34, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "load(java.io.InputStream)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "signature": "load(java.io.InputStream)", + "comments": [ + { + "content": " Parse property file, remove comments, blank lines, and combine", + "start_line": 50, + "end_line": 50, + "start_column": 13, + "end_column": 77, + "is_javadoc": false + }, + { + "content": " continued lines.", + "start_line": 51, + "end_line": 51, + "start_column": 13, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 61, + "end_line": 61, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping comment", + "start_line": 63, + "end_line": 63, + "start_column": 21, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " Skipping blank lines", + "start_line": 65, + "end_line": 65, + "start_column": 21, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " This is a continuation line. Add to previous line.", + "start_line": 70, + "end_line": 70, + "start_column": 25, + "end_column": 79, + "is_javadoc": false + }, + { + "content": " Must be a property line", + "start_line": 73, + "end_line": 73, + "start_column": 21, + "end_column": 46, + "is_javadoc": false + }, + { + "content": " Next line is continued from the current one.", + "start_line": 75, + "end_line": 75, + "start_column": 25, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " The current line is completed. Parse the property.", + "start_line": 78, + "end_line": 78, + "start_column": 25, + "end_column": 79, + "is_javadoc": false + }, + { + "content": " Load Properties", + "start_line": 86, + "end_line": 86, + "start_column": 13, + "end_column": 30, + "is_javadoc": false + }, + { + "content": " Now parse the Properties to create an array", + "start_line": 88, + "end_line": 88, + "start_column": 13, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Parse the line to get the key,value pair", + "start_line": 92, + "end_line": 92, + "start_column": 17, + "end_column": 59, + "is_javadoc": false + }, + { + "content": " Previous key,value was already created.", + "start_line": 97, + "end_line": 97, + "start_column": 25, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Need an array", + "start_line": 98, + "end_line": 98, + "start_column": 25, + "end_column": 40, + "is_javadoc": false + } ], + "annotations": [], "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.utils.ListProperties", - "start_line": 186, - "end_line": 186, - "variables": [ - "PBW_Properties" + "public" ], - "modifiers": [ - "private", - "static" + "thrown_exceptions": [ + "java.io.IOException" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "boolean", - "start_line": 261, - "end_line": 261, - "variables": [ - "debug" + "declaration": "public void load(InputStream inStream) throws IOException", + "parameters": [ + { + "type": "java.io.InputStream", + "name": "inStream", + "annotations": [], + "modifiers": [], + "start_line": 47, + "end_line": 47, + "start_column": 19, + "end_column": 38 + } ], - "modifiers": [ - "static", - "private" + "code": "{\r\n try {\r\n \tUtil.debug(\"ListProperties.load - loading from stream \"+inStream);\r\n // Parse property file, remove comments, blank lines, and combine\r\n // continued lines.\r\n String propFile = \"\";\r\n BufferedReader inputLine = new BufferedReader(new InputStreamReader(inStream));\r\n String line = inputLine.readLine();\r\n boolean lineContinue = false;\r\n while (line != null) {\r\n Util.debug(\"ListProperties.load - Line read: \" + line);\r\n line = line.trim();\r\n String currLine = \"\";\r\n if (line.startsWith(\"#\")) {\r\n // Skipping comment\r\n } else if (line.startsWith(\"!\")) {\r\n // Skipping comment\r\n } else if (line.equals(\"\")) {\r\n // Skipping blank lines\r\n } else {\r\n if (!lineContinue) {\r\n currLine = line;\r\n } else {\r\n // This is a continuation line. Add to previous line.\r\n currLine += line;\r\n }\r\n // Must be a property line\r\n if (line.endsWith(\"\\\\\")) {\r\n // Next line is continued from the current one.\r\n lineContinue = true;\r\n } else {\r\n // The current line is completed. Parse the property.\r\n propFile += currLine + \"\\n\";\r\n currLine = \"\";\r\n lineContinue = false;\r\n }\r\n }\r\n line = inputLine.readLine();\r\n }\r\n // Load Properties\r\n listProps = new Hashtable>();\r\n // Now parse the Properties to create an array\r\n String[] props = readTokens(propFile, \"\\n\");\r\n for (int index = 0; index < props.length; index++) {\r\n Util.debug(\"ListProperties.load() - props[\" + index + \"] = \" + props[index]);\r\n // Parse the line to get the key,value pair\r\n String[] val = readTokens(props[index], \"=\");\r\n Util.debug(\"ListProperties.load() - val[0]: \" + val[0] + \" val[1]: \" + val[1]);\r\n if (!val[0].equals(\"\")) {\r\n if (this.containsKey(val[0])) {\r\n // Previous key,value was already created.\r\n // Need an array\r\n Vector currList = (Vector) listProps.get(val[0]);\r\n if ((currList == null) || currList.isEmpty()) {\r\n currList = new Vector();\r\n String prevVal = this.getProperty(val[0]);\r\n currList.addElement(prevVal);\r\n }\r\n currList.addElement(val[1]);\r\n listProps.put(val[0], currList);\r\n }\r\n this.setProperty(val[0], val[1]);\r\n }\r\n }\r\n } catch (Exception e) {\r\n Util.debug(\"ListProperties.load(): Exception: \" + e);\r\n e.printStackTrace();\r\n }\r\n }", + "start_line": 47, + "end_line": 115, + "code_start_line": 47, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Vector", + "java.lang.String", + "java.io.BufferedReader" ], - "annotations": [] - }, - { - "comment": { - "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", - "start_line": 292, - "end_line": 299, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - "name": null, - "type": "char[]", - "start_line": 300, - "end_line": 300, - "variables": [ - "invalidCharList" + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.ListProperties.listProps", + "length" ], - "modifiers": [ - "static", - "final" + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.load - loading from stream \" + inStream" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 49, + "start_column": 10, + "end_line": 49, + "end_column": 74 + }, + { + "method_name": "readLine", + "comment": null, + "receiver_expr": "inputLine", + "receiver_type": "java.io.BufferedReader", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "readLine()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 27, + "end_line": 54, + "end_column": 46 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.load - Line read: \" + line" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 57, + "start_column": 17, + "end_line": 57, + "end_column": 70 + }, + { + "method_name": "trim", + "comment": null, + "receiver_expr": "line", + "receiver_type": "java.lang.String", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "trim()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 24, + "end_line": 58, + "end_column": 34 + }, + { + "method_name": "startsWith", + "comment": null, + "receiver_expr": "line", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"#\"" + ], + "return_type": "", + "callee_signature": "startsWith(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 21, + "end_line": 60, + "end_column": 40 + }, + { + "method_name": "startsWith", + "comment": null, + "receiver_expr": "line", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"!\"" + ], + "return_type": "", + "callee_signature": "startsWith(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 62, + "start_column": 28, + "end_line": 62, + "end_column": 47 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "line", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 64, + "start_column": 28, + "end_line": 64, + "end_column": 42 + }, + { + "method_name": "endsWith", + "comment": { + "content": " Must be a property line", + "start_line": 73, + "end_line": 73, + "start_column": 21, + "end_column": 46, + "is_javadoc": false + }, + "receiver_expr": "line", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\\\\\"" + ], + "return_type": "", + "callee_signature": "endsWith(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 25, + "end_line": 74, + "end_column": 43 + }, + { + "method_name": "readLine", + "comment": null, + "receiver_expr": "inputLine", + "receiver_type": "java.io.BufferedReader", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "readLine()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 84, + "start_column": 24, + "end_line": 84, + "end_column": 43 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "propFile", + "\"\\n\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 89, + "start_column": 30, + "end_line": 89, + "end_column": 55 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.load() - props[\" + index + \"] = \" + props[index]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 91, + "start_column": 17, + "end_line": 91, + "end_column": 92 + }, + { + "method_name": "readTokens", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "props[index]", + "\"=\"" + ], + "return_type": "", + "callee_signature": "readTokens(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 93, + "start_column": 32, + "end_line": 93, + "end_column": 60 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.load() - val[0]: \" + val[0] + \" val[1]: \" + val[1]" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 17, + "end_line": 94, + "end_column": 94 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "val[0]", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 95, + "start_column": 22, + "end_line": 95, + "end_column": 38 + }, + { + "method_name": "containsKey", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "val[0]" + ], + "return_type": "", + "callee_signature": "containsKey(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 96, + "start_column": 25, + "end_line": 96, + "end_column": 48 + }, + { + "method_name": "get", + "comment": null, + "receiver_expr": "listProps", + "receiver_type": "java.util.Hashtable>", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "val[0]" + ], + "return_type": "java.util.Vector", + "callee_signature": "get(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 99, + "start_column": 68, + "end_line": 99, + "end_column": 88 + }, + { + "method_name": "isEmpty", + "comment": null, + "receiver_expr": "currList", + "receiver_type": "java.util.Vector", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "isEmpty()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 51, + "end_line": 100, + "end_column": 68 + }, + { + "method_name": "getProperty", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "val[0]" + ], + "return_type": "java.lang.String", + "callee_signature": "getProperty(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 46, + "end_line": 102, + "end_column": 69 + }, + { + "method_name": "addElement", + "comment": null, + "receiver_expr": "currList", + "receiver_type": "java.util.Vector", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "prevVal" + ], + "return_type": "", + "callee_signature": "addElement(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 29, + "end_line": 103, + "end_column": 56 + }, + { + "method_name": "addElement", + "comment": null, + "receiver_expr": "currList", + "receiver_type": "java.util.Vector", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "val[1]" + ], + "return_type": "", + "callee_signature": "addElement(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 25, + "end_line": 105, + "end_column": 51 + }, + { + "method_name": "put", + "comment": null, + "receiver_expr": "listProps", + "receiver_type": "java.util.Hashtable>", + "argument_types": [ + "java.lang.String", + "java.util.Vector" + ], + "argument_expr": [ + "val[0]", + "currList" + ], + "return_type": "java.util.Vector", + "callee_signature": "put(java.lang.Object, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 106, + "start_column": 25, + "end_line": 106, + "end_column": 55 + }, + { + "method_name": "setProperty", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "val[0]", + "val[1]" + ], + "return_type": "java.lang.Object", + "callee_signature": "setProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 21, + "end_line": 108, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.load(): Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 13, + "end_line": 112, + "end_column": 64 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 13, + "end_line": 113, + "end_column": 31 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.BufferedReader", + "argument_types": [ + "java.io.InputStreamReader" + ], + "argument_expr": [ + "new InputStreamReader(inStream)" + ], + "return_type": "java.io.BufferedReader", + "callee_signature": "BufferedReader(java.io.Reader)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 40, + "end_line": 53, + "end_column": 90 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.io.InputStreamReader", + "argument_types": [ + "java.io.InputStream" + ], + "argument_expr": [ + "inStream" + ], + "return_type": "java.io.InputStreamReader", + "callee_signature": "InputStreamReader(java.io.InputStream)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 59, + "end_line": 53, + "end_column": 89 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Hashtable>", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Hashtable>", + "callee_signature": "Hashtable()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 87, + "start_column": 25, + "end_line": 87, + "end_column": 63 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Vector", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Vector", + "callee_signature": "Vector()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 40, + "end_line": 101, + "end_column": 59 + } ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Servlet to handle image actions.\r\n ", - "start_line": 33, - "end_line": 35, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 39, - "end_line": 41, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 47, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 54, - "end_line": 61, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 67, - "end_line": 74, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 80, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.IOException", - "javax.inject.Inject", - "javax.inject.Named", - "javax.servlet.ServletConfig", - "javax.servlet.ServletException", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.ImageServlet": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "HttpServlet" - ], - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 39, - "end_line": 41, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 47, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 54, - "end_line": 61, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 67, - "end_line": 74, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 80, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "propFile", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 52, + "start_column": 20, + "end_line": 52, + "end_column": 32 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inputLine", + "type": "java.io.BufferedReader", + "initializer": "new BufferedReader(new InputStreamReader(inStream))", + "start_line": 53, + "start_column": 28, + "end_line": 53, + "end_column": 90 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "line", + "type": "java.lang.String", + "initializer": "inputLine.readLine()", + "start_line": 54, + "start_column": 20, + "end_line": 54, + "end_column": 46 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lineContinue", + "type": "boolean", + "initializer": "false", + "start_line": 55, + "start_column": 21, + "end_line": 55, + "end_column": 40 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "currLine", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 59, + "start_column": 24, + "end_line": 59, + "end_column": 36 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "props", + "type": "java.lang.String[]", + "initializer": "readTokens(propFile, \"\\n\")", + "start_line": 89, + "start_column": 22, + "end_line": 89, + "end_column": 55 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 90, + "start_column": 22, + "end_line": 90, + "end_column": 30 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "val", + "type": "java.lang.String[]", + "initializer": "readTokens(props[index], \"=\")", + "start_line": 93, + "start_column": 26, + "end_line": 93, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "currList", + "type": "java.util.Vector", + "initializer": "(Vector) listProps.get(val[0])", + "start_line": 99, + "start_column": 40, + "end_line": 99, + "end_column": 88 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "prevVal", + "type": "java.lang.String", + "initializer": "this.getProperty(val[0])", + "start_line": 102, + "start_column": 36, + "end_line": 102, + "end_column": 69 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 13, + "is_entrypoint": false }, - { - "content": "\r\n * Servlet to handle image actions.\r\n ", - "start_line": 33, - "end_line": 35, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Named(value = \"image\")", - "@WebServlet(\"/servlet/ImageServlet\")" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "signature": "init(ServletConfig)", + "getProperties(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "signature": "getProperties(java.lang.String)", "comments": [ { - "content": "\r\n\t * Servlet initialization.\r\n\t ", - "start_line": 47, - "end_line": 49, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 131, + "end_line": 135, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], @@ -52420,312 +63255,208 @@ "modifiers": [ "public" ], - "thrown_exceptions": [ - "ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", + "thrown_exceptions": [], + "declaration": "public String[] getProperties(String name)", "parameters": [ { - "type": "ServletConfig", - "name": "config", + "type": "java.lang.String", + "name": "name", "annotations": [], "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 19, - "end_column": 38 + "start_line": 136, + "end_line": 136, + "start_column": 35, + "end_column": 45 } ], - "code": "{\r\n\t\tsuper.init(config);\r\n\t}", - "start_line": 50, - "end_line": 52, - "code_start_line": 50, - "return_type": "void", + "code": "{\r\n String[] values = { \"\" };\r\n try {\r\n String value = this.getProperty(name);\r\n Util.debug(\"ListProperties.getProperties: property (\" + name + \") -> \" + value);\r\n if (listProps.containsKey(name)) {\r\n Vector list = (Vector) listProps.get(name);\r\n values = new String[list.size()];\r\n for (int index = 0; index < list.size(); index++) {\r\n values[index] = (String) list.elementAt(index);\r\n }\r\n } else {\r\n values[0] = value;\r\n }\r\n } catch (Exception e) {\r\n Util.debug(\"ListProperties.getProperties(): Exception: \" + e);\r\n }\r\n return (values);\r\n }", + "start_line": 136, + "end_line": 154, + "code_start_line": 136, + "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], + "referenced_types": [ + "java.util.Vector", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.ListProperties.listProps" + ], "call_sites": [ { - "method_name": "init", + "method_name": "getProperty", "comment": null, - "receiver_expr": "super", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "name" + ], + "return_type": "java.lang.String", + "callee_signature": "getProperty(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 51, - "start_column": 3, - "end_line": 51, - "end_column": 20 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 54, - "end_line": 61, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [], - "start_line": 62, - "end_line": 62, - "start_column": 20, - "end_column": 64 + "start_line": 139, + "start_column": 28, + "end_line": 139, + "end_column": 49 }, { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [], - "start_line": 63, - "end_line": 63, - "start_column": 4, - "end_column": 50 - } - ], - "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", - "start_line": 62, - "end_line": 65, - "code_start_line": 63, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", + "method_name": "debug", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "\"ListProperties.getProperties: property (\" + name + \") -> \" + value" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "debug(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 64, - "start_column": 3, - "end_line": 64, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "comments": [ - { - "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 67, - "end_line": 74, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 21, - "end_column": 65 + "start_line": 140, + "start_column": 13, + "end_line": 140, + "end_column": 91 }, { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", - "annotations": [], - "modifiers": [], - "start_line": 76, - "end_line": 76, - "start_column": 4, - "end_column": 50 - } - ], - "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", - "start_line": 75, - "end_line": 78, - "code_start_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "performTask", + "method_name": "containsKey", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "listProps", + "receiver_type": "java.util.Hashtable>", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "name" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "containsKey(java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, - "start_column": 3, - "end_line": 77, - "end_column": 32 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "performTask(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "comments": [ + "start_line": 141, + "start_column": 17, + "end_line": 141, + "end_column": 43 + }, { - "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", - "start_line": 80, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "ServletException", - "java.io.IOException" - ], - "declaration": "private void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", - "parameters": [ + "method_name": "get", + "comment": null, + "receiver_expr": "listProps", + "receiver_type": "java.util.Hashtable>", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "java.util.Vector", + "callee_signature": "get(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 56, + "end_line": 142, + "end_column": 74 + }, { - "type": "HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 27, - "end_column": 48 + "method_name": "size", + "comment": null, + "receiver_expr": "list", + "receiver_type": "java.util.Vector", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "size()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 37, + "end_line": 143, + "end_column": 47 }, { - "type": "HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 51, - "end_column": 74 - } - ], - "code": "{\r\n\t\tString action = null;\r\n\r\n\t\taction = req.getParameter(\"action\");\r\n\t\tUtil.debug(\"action=\" + action);\r\n\r\n\t\tif (action.equals(\"getimage\")) {\r\n\t\t\tString inventoryID = req.getParameter(\"inventoryID\");\r\n\r\n\t\t\tbyte[] buf = catalog.getItemImageBytes(inventoryID);\r\n\t\t\tif (buf != null) {\r\n\t\t\t\tresp.setContentType(\"image/jpeg\");\r\n\t\t\t\tresp.getOutputStream().write(buf);\r\n\t\t\t}\r\n\t\t}\r\n\t}", - "start_line": 88, - "end_line": 103, - "code_start_line": 88, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ImageServlet.catalog" - ], - "call_sites": [ + "method_name": "size", + "comment": null, + "receiver_expr": "list", + "receiver_type": "java.util.Vector", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "size()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 144, + "start_column": 45, + "end_line": 144, + "end_column": 55 + }, { - "method_name": "getParameter", + "method_name": "elementAt", "comment": null, - "receiver_expr": "req", - "receiver_type": "", + "receiver_expr": "list", + "receiver_type": "java.util.Vector", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "index" + ], + "return_type": "java.lang.String", + "callee_signature": "elementAt(int)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 12, - "end_line": 91, - "end_column": 37 + "start_line": 145, + "start_column": 46, + "end_line": 145, + "end_column": 66 }, { "method_name": "debug", @@ -52735,6 +63466,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ListProperties.getProperties(): Exception: \" + e" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -52745,21 +63479,149 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, - "start_column": 3, - "end_line": 92, + "start_line": 151, + "start_column": 13, + "end_line": 151, + "end_column": 73 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "{ \"\" }", + "start_line": 137, + "start_column": 18, + "end_line": 137, "end_column": 32 }, { - "method_name": "equals", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "value", + "type": "java.lang.String", + "initializer": "this.getProperty(name)", + "start_line": 139, + "start_column": 20, + "end_line": 139, + "end_column": 49 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "list", + "type": "java.util.Vector", + "initializer": "(Vector) listProps.get(name)", + "start_line": 142, + "start_column": 32, + "end_line": 142, + "end_column": 74 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "index", + "type": "int", + "initializer": "0", + "start_line": 144, + "start_column": 26, + "end_line": 144, + "end_column": 34 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "readTokens(java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/ListProperties.java", + "signature": "readTokens(java.lang.String, java.lang.String)", + "comments": [ + { + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 116, + "end_line": 121, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String[] readTokens(String text, String token)", + "parameters": [ + { + "type": "java.lang.String", + "name": "text", + "annotations": [], + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 32, + "end_column": 42 + }, + { + "type": "java.lang.String", + "name": "token", + "annotations": [], + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 45, + "end_column": 56 + } + ], + "code": "{\r\n StringTokenizer parser = new StringTokenizer(text, token);\r\n int numTokens = parser.countTokens();\r\n String[] list = new String[numTokens];\r\n for (int i = 0; i < numTokens; i++) {\r\n list[i] = parser.nextToken();\r\n }\r\n return list;\r\n }", + "start_line": 122, + "end_line": 130, + "code_start_line": 122, + "return_type": "java.lang.String[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.StringTokenizer" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "countTokens", "comment": null, - "receiver_expr": "action", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "parser", + "receiver_type": "java.util.StringTokenizer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "countTokens()", "is_public": true, "is_protected": false, "is_private": false, @@ -52768,44 +63630,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 7, - "end_line": 94, - "end_column": 31 - }, - { - "method_name": "getParameter", - "comment": null, - "receiver_expr": "req", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 95, + "start_line": 124, "start_column": 25, - "end_line": 95, - "end_column": 55 + "end_line": 124, + "end_column": 44 }, { - "method_name": "getItemImageBytes", + "method_name": "nextToken", "comment": null, - "receiver_expr": "catalog", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "getItemImageBytes(java.lang.String)", + "receiver_expr": "parser", + "receiver_type": "java.util.StringTokenizer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "nextToken()", "is_public": true, "is_protected": false, "is_private": false, @@ -52814,77 +63652,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 97, - "start_column": 17, - "end_line": 97, - "end_column": 54 + "start_line": 127, + "start_column": 23, + "end_line": 127, + "end_column": 40 }, { - "method_name": "setContentType", + "method_name": "", "comment": null, - "receiver_expr": "resp", - "receiver_type": "", + "receiver_expr": "", + "receiver_type": "java.util.StringTokenizer", "argument_types": [ + "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 99, - "start_column": 5, - "end_line": 99, - "end_column": 37 - }, - { - "method_name": "write", - "comment": null, - "receiver_expr": "resp.getOutputStream()", - "receiver_type": "", - "argument_types": [ - "" + "argument_expr": [ + "text", + "token" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 5, - "end_line": 100, - "end_column": 37 - }, - { - "method_name": "getOutputStream", - "comment": null, - "receiver_expr": "resp", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", + "return_type": "java.util.StringTokenizer", + "callee_signature": "StringTokenizer(java.lang.String, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 100, - "start_column": 5, - "end_line": 100, - "end_column": 26 + "start_line": 123, + "start_column": 34, + "end_line": 123, + "end_column": 65 } ], "variable_declarations": [ @@ -52897,13 +63696,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "action", - "type": "java.lang.String", - "initializer": "null", - "start_line": 89, - "start_column": 10, - "end_line": 89, - "end_column": 22 + "name": "parser", + "type": "java.util.StringTokenizer", + "initializer": "new StringTokenizer(text, token)", + "start_line": 123, + "start_column": 25, + "end_line": 123, + "end_column": 65 }, { "comment": { @@ -52914,13 +63713,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "inventoryID", - "type": "java.lang.String", - "initializer": "req.getParameter(\"inventoryID\")", - "start_line": 95, - "start_column": 11, - "end_line": 95, - "end_column": 55 + "name": "numTokens", + "type": "int", + "initializer": "parser.countTokens()", + "start_line": 124, + "start_column": 13, + "end_line": 124, + "end_column": 44 }, { "comment": { @@ -52931,35 +63730,52 @@ "end_column": -1, "is_javadoc": false }, - "name": "buf", - "type": "byte[]", - "initializer": "catalog.getItemImageBytes(inventoryID)", - "start_line": 97, - "start_column": 11, - "end_line": 97, - "end_column": 54 + "name": "list", + "type": "java.lang.String[]", + "initializer": "new String[numTokens]", + "start_line": 125, + "start_column": 18, + "end_line": 125, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 126, + "start_column": 18, + "end_line": 126, + "end_column": 22 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": true + "cyclomatic_complexity": 2, + "is_entrypoint": false } }, "field_declarations": [ { "comment": { "content": "\r\n\t * \r\n\t ", - "start_line": 39, - "end_line": 41, - "start_column": 2, + "start_line": 38, + "end_line": 40, + "start_column": 5, "end_column": 4, "is_javadoc": false }, "name": null, "type": "long", - "start_line": 42, - "end_line": 42, + "start_line": 41, + "end_line": 41, "variables": [ "serialVersionUID" ], @@ -52980,31 +63796,29 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", - "start_line": 44, - "end_line": 45, + "type": "java.util.Hashtable>", + "start_line": 42, + "end_line": 42, "variables": [ - "catalog" + "listProps" ], "modifiers": [ "private" ], - "annotations": [ - "@Inject" - ] + "annotations": [] } ], "enum_constants": [], "record_components": [], "initialization_blocks": [], - "is_entrypoint_class": true + "is_entrypoint_class": false } }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "package_name": "com.ibm.websphere.samples.pbw.war", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "package_name": "com.ibm.websphere.samples.pbw.utils", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -53103,7 +63917,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -53127,219 +63941,283 @@ "is_javadoc": false }, { - "content": "\r\n * A class to hold a back order item's data.\r\n ", - "start_line": 23, - "end_line": 25, + "content": "\r\n * Utility class.\r\n ", + "start_line": 29, + "end_line": 31, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * @see java.lang.Object#Object()\r\n\t ", - "start_line": 41, - "end_line": 43, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Servlet action codes.", + "start_line": 75, + "end_line": 75, + "start_column": 5, + "end_column": 28, + "is_javadoc": false }, { - "content": "\r\n\t * \r\n\t ", - "start_line": 27, - "end_line": 29, - "start_column": 2, - "end_column": 4, + "content": " Datasource name. ", + "start_line": 33, + "end_line": 33, + "start_column": 5, + "end_column": 27, "is_javadoc": true }, { - "content": " from BackOrder", - "start_line": 33, - "end_line": 33, - "start_column": 30, - "end_column": 46, + "content": " Constants for JSPs and HTMLs.", + "start_line": 35, + "end_line": 35, + "start_column": 5, + "end_column": 36, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 34, - "end_line": 34, - "start_column": 24, - "end_column": 40, + "content": " Request and session attributes.", + "start_line": 51, + "end_line": 51, + "start_column": 5, + "end_column": 38, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 35, - "end_line": 35, - "start_column": 25, - "end_column": 41, + "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", + "start_line": 54, + "end_line": 54, + "start_column": 1, + "end_column": 69, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 36, - "end_line": 36, - "start_column": 24, - "end_column": 40, + "content": " if this is changed, updated session timeout", + "start_line": 67, + "end_line": 67, + "start_column": 56, + "end_column": 101, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 37, - "end_line": 37, - "start_column": 26, - "end_column": 42, + "content": " in the PlantsByWebSphere web.xml", + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 54, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 38, - "end_line": 38, - "start_column": 34, - "end_column": 50, + "content": " Admin type actions", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 25, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 39, - "end_line": 39, - "start_column": 31, - "end_column": 47, + "content": " Supplier Config actions", + "start_line": 76, + "end_line": 76, + "start_column": 5, + "end_column": 30, "is_javadoc": false }, { - "content": " Default constructor. ", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 28, + "content": " Backorder actions", + "start_line": 79, + "end_line": 79, + "start_column": 5, + "end_column": 24, + "is_javadoc": false + }, + { + "content": "\r\n * Return the cached Initial Context.\r\n *\r\n * @return InitialContext, or null if a naming exception.\r\n ", + "start_line": 97, + "end_line": 101, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", - "start_line": 48, - "end_line": 56, - "start_column": 2, - "end_column": 4, + "content": " Get InitialContext if it has not been gotten yet.", + "start_line": 104, + "end_line": 104, + "start_column": 13, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " properties are in the system properties", + "start_line": 106, + "end_line": 106, + "start_column": 17, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Naming Exception will cause a null return.", + "start_line": 110, + "end_line": 110, + "start_column": 9, + "end_column": 53, + "is_javadoc": false + }, + { + "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", + "start_line": 115, + "end_line": 119, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", - "start_line": 65, - "end_line": 69, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", + "start_line": 126, + "end_line": 130, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 84, - "end_line": 88, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method (null, if an invalid index given).\r\n ", + "start_line": 134, + "end_line": 138, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 93, - "end_line": 97, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", + "start_line": 145, + "end_line": 149, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 102, - "end_line": 106, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", + "start_line": 156, + "end_line": 160, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", - "start_line": 111, - "end_line": 115, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", + "start_line": 167, + "end_line": 170, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", - "start_line": 120, - "end_line": 124, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", + "start_line": 174, + "end_line": 177, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 129, - "end_line": 133, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Method readProperties.\r\n ", + "start_line": 187, + "end_line": 189, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 138, - "end_line": 142, - "start_column": 2, - "end_column": 4, + "content": " Try to read the properties file.", + "start_line": 192, + "end_line": 192, + "start_column": 13, + "end_column": 48, + "is_javadoc": false + }, + { + "content": " Reset properties to retry loading next time.", + "start_line": 200, + "end_line": 200, + "start_column": 17, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", + "start_line": 208, + "end_line": 212, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 225, + "end_line": 230, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", - "start_line": 147, - "end_line": 151, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 240, + "end_line": 244, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", - "start_line": 156, - "end_line": 160, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", + "start_line": 253, + "end_line": 253, + "start_column": 13, + "end_column": 92, + "is_javadoc": false }, { - "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", - "start_line": 165, - "end_line": 169, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " debug((String)e.nextElement());", + "start_line": 254, + "end_line": 254, + "start_column": 13, + "end_column": 49, + "is_javadoc": false }, { - "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", - "start_line": 174, - "end_line": 178, - "start_column": 2, - "end_column": 4, + "content": "}", + "start_line": 255, + "end_line": 255, + "start_column": 13, + "end_column": 15, + "is_javadoc": false + }, + { + "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", + "start_line": 262, + "end_line": 264, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 183, - "end_line": 187, - "start_column": 2, - "end_column": 4, + "content": " Is debug turned on? ", + "start_line": 268, + "end_line": 268, + "start_column": 5, + "end_column": 30, "is_javadoc": true }, { - "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", - "start_line": 192, - "end_line": 196, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", + "start_line": 272, + "end_line": 275, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", - "start_line": 201, - "end_line": 205, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", + "start_line": 292, + "end_line": 299, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { @@ -53352,12 +64230,17 @@ } ], "imports": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.utils.Util" + "java.io.FileNotFoundException", + "java.text.NumberFormat", + "java.util.StringTokenizer", + "javax.faces.application.Application", + "javax.faces.application.ProjectStage", + "javax.faces.context.FacesContext", + "javax.naming.InitialContext", + "javax.naming.NamingException" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.war.BackOrderItem": { + "com.ibm.websphere.samples.pbw.utils.Util": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -53369,574 +64252,552 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * @see java.lang.Object#Object()\r\n\t ", - "start_line": 41, - "end_line": 43, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 27, - "end_line": 29, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Servlet action codes.", + "start_line": 75, + "end_line": 75, + "start_column": 5, + "end_column": 28, + "is_javadoc": false }, { - "content": " from BackOrder", + "content": " Datasource name. ", "start_line": 33, "end_line": 33, - "start_column": 30, - "end_column": 46, - "is_javadoc": false - }, - { - "content": " from BackOrder", - "start_line": 34, - "end_line": 34, - "start_column": 24, - "end_column": 40, - "is_javadoc": false + "start_column": 5, + "end_column": 27, + "is_javadoc": true }, { - "content": " from BackOrder", + "content": " Constants for JSPs and HTMLs.", "start_line": 35, "end_line": 35, - "start_column": 25, - "end_column": 41, + "start_column": 5, + "end_column": 36, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 36, - "end_line": 36, - "start_column": 24, - "end_column": 40, + "content": " Request and session attributes.", + "start_line": 51, + "end_line": 51, + "start_column": 5, + "end_column": 38, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 37, - "end_line": 37, - "start_column": 26, - "end_column": 42, + "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", + "start_line": 54, + "end_line": 54, + "start_column": 1, + "end_column": 69, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 38, - "end_line": 38, - "start_column": 34, - "end_column": 50, + "content": " if this is changed, updated session timeout", + "start_line": 67, + "end_line": 67, + "start_column": 56, + "end_column": 101, "is_javadoc": false }, { - "content": " from BackOrder", - "start_line": 39, - "end_line": 39, - "start_column": 31, - "end_column": 47, + "content": " in the PlantsByWebSphere web.xml", + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 54, "is_javadoc": false }, { - "content": " Default constructor. ", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 28, - "is_javadoc": true + "content": " Admin type actions", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 25, + "is_javadoc": false }, { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", - "start_line": 48, - "end_line": 56, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Supplier Config actions", + "start_line": 76, + "end_line": 76, + "start_column": 5, + "end_column": 30, + "is_javadoc": false }, { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", - "start_line": 65, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Backorder actions", + "start_line": 79, + "end_line": 79, + "start_column": 5, + "end_column": 24, + "is_javadoc": false }, { - "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 84, - "end_line": 88, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Return the cached Initial Context.\r\n *\r\n * @return InitialContext, or null if a naming exception.\r\n ", + "start_line": 97, + "end_line": 101, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 93, - "end_line": 97, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Get InitialContext if it has not been gotten yet.", + "start_line": 104, + "end_line": 104, + "start_column": 13, + "end_column": 64, + "is_javadoc": false }, { - "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 102, + "content": " properties are in the system properties", + "start_line": 106, "end_line": 106, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "start_column": 17, + "end_column": 58, + "is_javadoc": false }, { - "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", - "start_line": 111, - "end_line": 115, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " Naming Exception will cause a null return.", + "start_line": 110, + "end_line": 110, + "start_column": 9, + "end_column": 53, + "is_javadoc": false }, { - "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", - "start_line": 120, - "end_line": 124, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", + "start_line": 115, + "end_line": 119, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 129, - "end_line": 133, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", + "start_line": 126, + "end_line": 130, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 138, - "end_line": 142, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method (null, if an invalid index given).\r\n ", + "start_line": 134, + "end_line": 138, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", - "start_line": 147, - "end_line": 151, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", + "start_line": 145, + "end_line": 149, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", "start_line": 156, "end_line": 160, - "start_column": 2, - "end_column": 4, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", - "start_line": 165, - "end_line": 169, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", + "start_line": 167, + "end_line": 170, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", "start_line": 174, - "end_line": 178, - "start_column": 2, - "end_column": 4, + "end_line": 177, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 183, - "end_line": 187, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Method readProperties.\r\n ", + "start_line": 187, + "end_line": 189, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "content": " Try to read the properties file.", "start_line": 192, - "end_line": 196, - "start_column": 2, - "end_column": 4, + "end_line": 192, + "start_column": 13, + "end_column": 48, + "is_javadoc": false + }, + { + "content": " Reset properties to retry loading next time.", + "start_line": 200, + "end_line": 200, + "start_column": 17, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", + "start_line": 208, + "end_line": 212, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", - "start_line": 201, - "end_line": 205, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 225, + "end_line": 230, + "start_column": 5, + "end_column": 7, "is_javadoc": true }, { - "content": "\r\n * A class to hold a back order item's data.\r\n ", - "start_line": 23, - "end_line": 25, - "start_column": 1, - "end_column": 3, + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 240, + "end_line": 244, + "start_column": 5, + "end_column": 7, "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setBackOrderID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "setBackOrderID(String)", - "comments": [ - { - "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 93, - "end_line": 97, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBackOrderID(String backOrderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 98, - "end_line": 98, - "start_column": 29, - "end_column": 46 - } - ], - "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t}", - "start_line": 98, - "end_line": 100, - "code_start_line": 98, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getQuantity()", - "comments": [ - { - "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", - "start_line": 156, - "end_line": 160, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getQuantity()", - "parameters": [], - "code": "{\r\n\t\treturn quantity;\r\n\t}", - "start_line": 161, - "end_line": 163, - "code_start_line": 161, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", + "start_line": 253, + "end_line": 253, + "start_column": 13, + "end_column": 92, + "is_javadoc": false + }, + { + "content": " debug((String)e.nextElement());", + "start_line": 254, + "end_line": 254, + "start_column": 13, + "end_column": 49, + "is_javadoc": false + }, + { + "content": "}", + "start_line": 255, + "end_line": 255, + "start_column": 13, + "end_column": 15, + "is_javadoc": false + }, + { + "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", + "start_line": 262, + "end_line": 264, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": " Is debug turned on? ", + "start_line": 268, + "end_line": 268, + "start_column": 5, + "end_column": 30, + "is_javadoc": true }, - "getInventory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getInventory()", - "comments": [ - { - "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 129, - "end_line": 133, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Inventory getInventory()", - "parameters": [], - "code": "{\r\n\t\treturn inventory;\r\n\t}", - "start_line": 134, - "end_line": 136, - "code_start_line": 134, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", + "start_line": 272, + "end_line": 275, + "start_column": 5, + "end_column": 7, + "is_javadoc": true }, - "getOrderDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getOrderDate()", - "comments": [ - { - "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", - "start_line": 201, - "end_line": 205, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public long getOrderDate()", - "parameters": [], - "code": "{\r\n\t\treturn orderDate;\r\n\t}", - "start_line": 206, - "end_line": 208, - "code_start_line": 206, - "return_type": "long", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.orderDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", + "start_line": 292, + "end_line": 299, + "start_column": 5, + "end_column": 7, + "is_javadoc": true }, - "setName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "setName(String)", + { + "content": "\r\n * Utility class.\r\n ", + "start_line": 29, + "end_line": 31, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getProperties(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getProperties(java.lang.String)", "comments": [ { - "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", - "start_line": 147, - "end_line": 151, - "start_column": 2, - "end_column": 4, + "content": "for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {", + "start_line": 253, + "end_line": 253, + "start_column": 13, + "end_column": 92, + "is_javadoc": false + }, + { + "content": " debug((String)e.nextElement());", + "start_line": 254, + "end_line": 254, + "start_column": 13, + "end_column": 49, + "is_javadoc": false + }, + { + "content": "}", + "start_line": 255, + "end_line": 255, + "start_column": 13, + "end_column": 15, + "is_javadoc": false + }, + { + "content": "\r\n * Method getProperties.\r\n * @param name\r\n * @return values\r\n ", + "start_line": 240, + "end_line": 244, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ - "public" + "public", + "static" ], "thrown_exceptions": [], - "declaration": "public void setName(String name)", + "declaration": "public static String[] getProperties(String name)", "parameters": [ { "type": "java.lang.String", "name": "name", "annotations": [], "modifiers": [], - "start_line": 152, - "end_line": 152, - "start_column": 22, - "end_column": 32 + "start_line": 245, + "end_line": 245, + "start_column": 42, + "end_column": 52 } ], - "code": "{\r\n\t\tthis.name = name;\r\n\t}", - "start_line": 152, - "end_line": 154, - "code_start_line": 152, - "return_type": "void", + "code": "{\r\n String[] values = { \"\" };\r\n try {\r\n if (PBW_Properties == null) {\r\n readProperties();\r\n }\r\n values = PBW_Properties.getProperties(name);\r\n debug(\"Util.getProperties: property (\" + name + \") -> \" + values.toString());\r\n //for (Enumeration e = PBW_Properties.propertyNames() ; e.hasMoreElements() ;) {\r\n // debug((String)e.nextElement());\r\n //}\r\n } catch (Exception e) {\r\n debug(\"Util.getProperties(): Exception: \" + e);\r\n }\r\n return (values);\r\n }", + "start_line": 245, + "end_line": 260, + "code_start_line": 245, + "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.name" + "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getLowDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getLowDate()", - "comments": [ + "call_sites": [ { - "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", - "start_line": 192, - "end_line": 196, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "method_name": "readProperties", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "readProperties()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 249, + "start_column": 17, + "end_line": 249, + "end_column": 32 + }, + { + "method_name": "getProperties", + "comment": null, + "receiver_expr": "PBW_Properties", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "getProperties(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 251, + "start_column": 22, + "end_line": 251, + "end_column": 55 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Util.getProperties: property (\" + name + \") -> \" + values.toString()" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 13, + "end_line": 252, + "end_column": 88 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "values", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 71, + "end_line": 252, + "end_column": 87 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Util.getProperties(): Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 257, + "start_column": 13, + "end_line": 257, + "end_column": 58 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public long getLowDate()", - "parameters": [], - "code": "{\r\n\t\treturn lowDate;\r\n\t}", - "start_line": 197, - "end_line": 199, - "code_start_line": 197, - "return_type": "long", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.lowDate" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "values", + "type": "java.lang.String[]", + "initializer": "{ \"\" }", + "start_line": 246, + "start_column": 18, + "end_line": 246, + "end_column": 32 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "(String, Inventory, String, int, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "BackOrderItem(String, Inventory, String, int, String)", + "setDebug(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "setDebug(boolean)", "comments": [ { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", - "start_line": 48, - "end_line": 56, - "start_column": 2, - "end_column": 4, + "content": " Set debug setting to on or off.\r\n * @param val True or false.\r\n ", + "start_line": 262, + "end_line": 264, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", + "final", "public" ], "thrown_exceptions": [], - "declaration": "public BackOrderItem(String backOrderID, Inventory inventoryID, String name, int quantity, String status)", + "declaration": "public static final void setDebug(boolean val)", "parameters": [ { - "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 23, - "end_column": 40 - }, - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 43, - "end_column": 63 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 66, - "end_column": 76 - }, - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 79, - "end_column": 90 - }, - { - "type": "java.lang.String", - "name": "status", + "type": "boolean", + "name": "val", "annotations": [], "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 93, - "end_column": 105 + "start_line": 265, + "end_line": 265, + "start_column": 39, + "end_column": 49 } ], - "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t\tthis.inventory = inventoryID;\r\n\t\tthis.name = name;\r\n\t\tthis.quantity = quantity;\r\n\t\tthis.status = status;\r\n\t}", - "start_line": 57, - "end_line": 63, - "code_start_line": 57, - "return_type": null, + "code": "{\r\n debug = val;\r\n }", + "start_line": 265, + "end_line": 267, + "code_start_line": 265, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.lang.String" - ], + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.name", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.status", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" + "com.ibm.websphere.samples.pbw.utils.Util.debug" ], "call_sites": [], "variable_declarations": [], @@ -53945,36 +64806,37 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getInventoryQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getInventoryQuantity()", + "getCategoryStrings()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getCategoryStrings()", "comments": [ { - "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", - "start_line": 165, - "end_line": 169, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the category strings in an array.\r\n *\r\n * @return The category strings in an array.\r\n ", + "start_line": 126, + "end_line": 130, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", "public" ], "thrown_exceptions": [], - "declaration": "public int getInventoryQuantity()", + "declaration": "public static String[] getCategoryStrings()", "parameters": [], - "code": "{\r\n\t\treturn inventoryQuantity;\r\n\t}", - "start_line": 170, - "end_line": 172, - "code_start_line": 170, - "return_type": "int", + "code": "{\r\n return CATEGORY_STRINGS;\r\n }", + "start_line": 131, + "end_line": 133, + "code_start_line": 131, + "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventoryQuantity" + "com.ibm.websphere.samples.pbw.utils.Util.CATEGORY_STRINGS" ], "call_sites": [], "variable_declarations": [], @@ -53983,66 +64845,74 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(BackOrder)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "BackOrderItem(BackOrder)", + "readProperties()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "readProperties()", "comments": [ { - "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", - "start_line": 65, - "end_line": 69, - "start_column": 2, - "end_column": 4, + "content": " Try to read the properties file.", + "start_line": 192, + "end_line": 192, + "start_column": 13, + "end_column": 48, + "is_javadoc": false + }, + { + "content": " Reset properties to retry loading next time.", + "start_line": 200, + "end_line": 200, + "start_column": 17, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n * Method readProperties.\r\n ", + "start_line": 187, + "end_line": 189, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BackOrderItem(BackOrder backOrder)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "name": "backOrder", - "annotations": [], - "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 23, - "end_column": 41 - } + "annotations": [], + "modifiers": [ + "public", + "static" ], - "code": "{\r\n\t\ttry {\r\n\t\t\tthis.backOrderID = backOrder.getBackOrderID();\r\n\t\t\tthis.inventory = backOrder.getInventory();\r\n\t\t\tthis.quantity = backOrder.getQuantity();\r\n\t\t\tthis.status = backOrder.getStatus();\r\n\t\t\tthis.lowDate = backOrder.getLowDate();\r\n\t\t\tthis.orderDate = backOrder.getOrderDate();\r\n\t\t\tthis.supplierOrderID = backOrder.getSupplierOrderID();\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"BackOrderItem - Exception: \" + e);\r\n\t\t}\r\n\t}", - "start_line": 70, - "end_line": 82, - "code_start_line": 70, - "return_type": null, + "thrown_exceptions": [ + "java.io.FileNotFoundException" + ], + "declaration": "public static void readProperties() throws FileNotFoundException", + "parameters": [], + "code": "{\r\n if (PBW_Properties == null) {\r\n // Try to read the properties file.\r\n ListProperties prop = new ListProperties();\r\n try {\r\n String PBW_Properties_File = PBW_PROPERTIES;\r\n debug(\"Util.readProperties(): Loading PBW Properties from file: \" + PBW_Properties_File);\r\n prop.load(Util.class.getClassLoader().getResourceAsStream(PBW_Properties_File));\r\n } catch (Exception e) {\r\n debug(\"Util.readProperties(): Exception: \" + e);\r\n // Reset properties to retry loading next time.\r\n PBW_Properties = null;\r\n e.printStackTrace();\r\n throw new FileNotFoundException();\r\n }\r\n PBW_Properties = prop;\r\n }\r\n }", + "start_line": 190, + "end_line": 207, + "code_start_line": 190, + "return_type": "void", "is_implicit": false, - "is_constructor": true, + "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.utils.ListProperties", "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.status", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.lowDate", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.orderDate", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" + "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties", + "com.ibm.websphere.samples.pbw.utils.Util.PBW_PROPERTIES" ], "call_sites": [ { - "method_name": "getBackOrderID", + "method_name": "debug", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getBackOrderID()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Util.readProperties(): Loading PBW Properties from file: \" + PBW_Properties_File" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -54051,19 +64921,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 72, - "start_column": 23, - "end_line": 72, - "end_column": 48 + "start_line": 196, + "start_column": 17, + "end_line": 196, + "end_column": 104 }, { - "method_name": "getInventory", + "method_name": "load", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInventory()", + "receiver_expr": "prop", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.io.InputStream" + ], + "argument_expr": [ + "Util.class.getClassLoader().getResourceAsStream(PBW_Properties_File)" + ], + "return_type": "", + "callee_signature": "load(java.io.InputStream)", "is_public": true, "is_protected": false, "is_private": false, @@ -54072,19 +64947,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 73, - "start_column": 21, - "end_line": 73, - "end_column": 44 + "start_line": 197, + "start_column": 17, + "end_line": 197, + "end_column": 95 }, { - "method_name": "getQuantity", + "method_name": "getResourceAsStream", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", + "receiver_expr": "Util.class.getClassLoader()", + "receiver_type": "java.lang.ClassLoader", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "PBW_Properties_File" + ], + "return_type": "java.io.InputStream", + "callee_signature": "getResourceAsStream(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -54093,19 +64973,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, - "start_column": 20, - "end_line": 74, - "end_column": 42 + "start_line": 197, + "start_column": 27, + "end_line": 197, + "end_column": 94 }, { - "method_name": "getStatus", + "method_name": "getClassLoader", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "Util.class", + "receiver_type": "java.lang.Class", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getStatus()", + "argument_expr": [], + "return_type": "java.lang.ClassLoader", + "callee_signature": "getClassLoader()", "is_public": true, "is_protected": false, "is_private": false, @@ -54114,19 +64995,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 75, - "start_column": 18, - "end_line": 75, - "end_column": 38 + "start_line": 197, + "start_column": 27, + "end_line": 197, + "end_column": 53 }, { - "method_name": "getLowDate", + "method_name": "debug", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Util.readProperties(): Exception: \" + e" + ], "return_type": "", - "callee_signature": "getLowDate()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -54135,19 +65021,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 76, - "start_column": 19, - "end_line": 76, - "end_column": 40 + "start_line": 199, + "start_column": 17, + "end_line": 199, + "end_column": 63 }, { - "method_name": "getOrderDate", + "method_name": "printStackTrace", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getOrderDate()", + "callee_signature": "printStackTrace()", "is_public": true, "is_protected": false, "is_private": false, @@ -54156,2175 +65043,2929 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 77, - "start_column": 21, - "end_line": 77, - "end_column": 44 + "start_line": 202, + "start_column": 17, + "end_line": 202, + "end_column": 35 }, { - "method_name": "getSupplierOrderID", + "method_name": "", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSupplierOrderID()", - "is_public": true, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "callee_signature": "ListProperties()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 78, - "start_column": 27, - "end_line": 78, - "end_column": 56 + "start_line": 193, + "start_column": 35, + "end_line": 193, + "end_column": 54 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.io.FileNotFoundException", + "argument_types": [], + "argument_expr": [], + "return_type": "java.io.FileNotFoundException", + "callee_signature": "FileNotFoundException()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 80, - "start_column": 4, - "end_line": 80, - "end_column": 48 + "start_line": 203, + "start_column": 23, + "end_line": 203, + "end_column": 49 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "prop", + "type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "initializer": "new ListProperties()", + "start_line": 193, + "start_column": 28, + "end_line": 193, + "end_column": 54 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "PBW_Properties_File", + "type": "java.lang.String", + "initializer": "PBW_PROPERTIES", + "start_line": 195, + "start_column": 24, + "end_line": 195, + "end_column": 59 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "setInventoryQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "setInventoryQuantity(int)", + "getCategoryString(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getCategoryString(int)", "comments": [ { - "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", - "start_line": 174, - "end_line": 178, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the displayable name of a category.\r\n * @param index The int representation of a category.\r\n * @return The category as a String (null, if an invalid index given).\r\n ", + "start_line": 115, + "end_line": 119, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", "public" ], "thrown_exceptions": [], - "declaration": "public void setInventoryQuantity(int quantity)", + "declaration": "public static String getCategoryString(int index)", "parameters": [ { "type": "int", - "name": "quantity", + "name": "index", "annotations": [], "modifiers": [], - "start_line": 179, - "end_line": 179, - "start_column": 35, - "end_column": 46 + "start_line": 120, + "end_line": 120, + "start_column": 44, + "end_column": 52 } ], - "code": "{\r\n\t\tthis.inventoryQuantity = quantity;\r\n\t}", - "start_line": 179, - "end_line": 181, - "code_start_line": 179, - "return_type": "void", + "code": "{\r\n if ((index >= 0) && (index < CATEGORY_STRINGS.length))\r\n return CATEGORY_STRINGS[index];\r\n else\r\n return null;\r\n }", + "start_line": 120, + "end_line": 125, + "code_start_line": 120, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", - "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventoryQuantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "BackOrderItem()", - "comments": [ - { - "content": " Default constructor. ", - "start_line": 44, - "end_line": 44, - "start_column": 2, - "end_column": 28, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" + "length", + "com.ibm.websphere.samples.pbw.utils.Util.CATEGORY_STRINGS" ], - "thrown_exceptions": [], - "declaration": "public BackOrderItem()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 45, - "end_line": 46, - "code_start_line": 45, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getSupplierOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getSupplierOrderID()", + "getFullShippingMethodStrings()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getFullShippingMethodStrings()", "comments": [ { - "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 102, - "end_line": 106, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method strings, including prices and times, in an array.\r\n * @return The shipping method strings, including prices and times, in an array.\r\n ", + "start_line": 174, + "end_line": 177, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", "public" ], "thrown_exceptions": [], - "declaration": "public String getSupplierOrderID()", + "declaration": "public static String[] getFullShippingMethodStrings()", "parameters": [], - "code": "{\r\n\t\treturn supplierOrderID;\r\n\t}", - "start_line": 107, - "end_line": 109, - "code_start_line": 107, - "return_type": "java.lang.String", + "code": "{\r\n String[] shippingMethods = new String[SHIPPING_METHOD_STRINGS.length];\r\n for (int i = 0; i < shippingMethods.length; i++) {\r\n shippingMethods[i] = SHIPPING_METHOD_STRINGS[i] + \" \" + SHIPPING_METHOD_TIMES[i] + \" \" + NumberFormat.getCurrencyInstance(java.util.Locale.US).format(new Float(SHIPPING_METHOD_PRICES[i]));\r\n }\r\n return shippingMethods;\r\n }", + "start_line": 178, + "end_line": 184, + "code_start_line": 178, + "return_type": "java.lang.String[]", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Locale" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID" + "length", + "java.util.Locale.US", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_TIMES", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_PRICES" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getName()", - "comments": [ + "call_sites": [ { - "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 138, - "end_line": 142, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "method_name": "format", + "comment": null, + "receiver_expr": "NumberFormat.getCurrencyInstance(java.util.Locale.US)", + "receiver_type": "java.text.NumberFormat", + "argument_types": [ + "java.lang.Float" + ], + "argument_expr": [ + "new Float(SHIPPING_METHOD_PRICES[i])" + ], + "return_type": "java.lang.String", + "callee_signature": "format(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 102, + "end_line": 181, + "end_column": 199 + }, + { + "method_name": "getCurrencyInstance", + "comment": null, + "receiver_expr": "NumberFormat", + "receiver_type": "java.text.NumberFormat", + "argument_types": [ + "java.util.Locale" + ], + "argument_expr": [ + "java.util.Locale.US" + ], + "return_type": "java.text.NumberFormat", + "callee_signature": "getCurrencyInstance(java.util.Locale)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 102, + "end_line": 181, + "end_column": 154 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Float", + "argument_types": [ + "" + ], + "argument_expr": [ + "SHIPPING_METHOD_PRICES[i]" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(float)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 163, + "end_line": 181, + "end_column": 198 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getName()", - "parameters": [], - "code": "{\r\n\t\treturn name;\r\n\t}", - "start_line": 143, - "end_line": 145, - "code_start_line": 143, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.name" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shippingMethods", + "type": "java.lang.String[]", + "initializer": "new String[SHIPPING_METHOD_STRINGS.length]", + "start_line": 179, + "start_column": 18, + "end_line": 179, + "end_column": 77 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 180, + "start_column": 18, + "end_line": 180, + "end_column": 22 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "setQuantity(int)", + "getShippingMethodPrice(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getShippingMethodPrice(int)", "comments": [ { - "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", - "start_line": 120, - "end_line": 124, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method price (-1, if an invalid index given).\r\n ", + "start_line": 145, + "end_line": 149, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", "public" ], "thrown_exceptions": [], - "declaration": "public void setQuantity(int quantity)", + "declaration": "public static float getShippingMethodPrice(int index)", "parameters": [ { "type": "int", - "name": "quantity", + "name": "index", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 26, - "end_column": 37 + "start_line": 150, + "end_line": 150, + "start_column": 48, + "end_column": 56 } ], - "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", - "start_line": 125, - "end_line": 127, - "code_start_line": 125, - "return_type": "void", + "code": "{\r\n if ((index >= 0) && (index < SHIPPING_METHOD_PRICES.length))\r\n return SHIPPING_METHOD_PRICES[index];\r\n else\r\n return -1;\r\n }", + "start_line": 150, + "end_line": 155, + "code_start_line": 150, + "return_type": "float", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity" + "length", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_PRICES" ], "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "setSupplierOrderID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "setSupplierOrderID(String)", + "debug(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "debug(java.lang.String)", "comments": [ { - "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", - "start_line": 111, - "end_line": 115, - "start_column": 2, - "end_column": 4, + "content": "\r\n * Output RAS message.\r\n * @param msg Message to be output.\r\n ", + "start_line": 272, + "end_line": 275, + "start_column": 5, + "end_column": 7, "is_javadoc": true } ], "annotations": [], "modifiers": [ + "static", + "final", "public" ], "thrown_exceptions": [], - "declaration": "public void setSupplierOrderID(String supplierOrderID)", + "declaration": "public static final void debug(String msg)", "parameters": [ { "type": "java.lang.String", - "name": "supplierOrderID", + "name": "msg", "annotations": [], "modifiers": [], - "start_line": 116, - "end_line": 116, - "start_column": 33, - "end_column": 54 + "start_line": 276, + "end_line": 276, + "start_column": 36, + "end_column": 45 } ], - "code": "{\r\n\t\tthis.supplierOrderID = supplierOrderID;\r\n\t}", - "start_line": 116, - "end_line": 118, - "code_start_line": 116, + "code": "{\r\n FacesContext context = FacesContext.getCurrentInstance();\r\n if (context != null) {\r\n \tApplication app = context.getApplication();\r\n \tif (app != null) {\r\n \t\tProjectStage stage = app.getProjectStage();\r\n \t\tif (stage == ProjectStage.Development || stage == ProjectStage.UnitTest) {\r\n \t\t\tsetDebug(true);\r\n \t\t}\r\n \t}\r\n \tif (debug) {\r\n \t\tSystem.out.println(msg);\r\n \t}\r\n }\r\n }", + "start_line": 276, + "end_line": 290, + "code_start_line": 276, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.io.PrintStream", + "javax.faces.application.Application", + "javax.faces.context.FacesContext", + "javax.faces.application.ProjectStage" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID" + "javax.faces.application.ProjectStage.Development", + "javax.faces.application.ProjectStage.UnitTest", + "java.lang.System.out", + "com.ibm.websphere.samples.pbw.utils.Util.debug" ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getStatus()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getStatus()", - "comments": [ + "call_sites": [ { - "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 183, - "end_line": 187, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getStatus()", - "parameters": [], - "code": "{\r\n\t\treturn status;\r\n\t}", - "start_line": 188, - "end_line": 190, - "code_start_line": 188, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.status" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBackOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", - "signature": "getBackOrderID()", - "comments": [ + "method_name": "getCurrentInstance", + "comment": null, + "receiver_expr": "FacesContext", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.context.FacesContext", + "callee_signature": "getCurrentInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 277, + "start_column": 32, + "end_line": 277, + "end_column": 64 + }, { - "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", - "start_line": 84, - "end_line": 88, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "method_name": "getApplication", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.faces.context.FacesContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.application.Application", + "callee_signature": "getApplication()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 279, + "start_column": 28, + "end_line": 279, + "end_column": 51 + }, + { + "method_name": "getProjectStage", + "comment": null, + "receiver_expr": "app", + "receiver_type": "javax.faces.application.Application", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.application.ProjectStage", + "callee_signature": "getProjectStage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 281, + "start_column": 32, + "end_line": 281, + "end_column": 52 + }, + { + "method_name": "setDebug", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "", + "callee_signature": "setDebug(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 283, + "start_column": 12, + "end_line": 283, + "end_column": 25 + }, + { + "method_name": "println", + "comment": null, + "receiver_expr": "System.out", + "receiver_type": "java.io.PrintStream", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "msg" + ], + "return_type": "", + "callee_signature": "println(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 287, + "start_column": 11, + "end_line": 287, + "end_column": 33 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getBackOrderID()", - "parameters": [], - "code": "{\r\n\t\treturn backOrderID;\r\n\t}", - "start_line": 89, - "end_line": 91, - "code_start_line": 89, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 27, - "end_line": 29, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 30, - "end_line": 30, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 31, - "end_line": 31, - "variables": [ - "name" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 32, - "end_line": 32, - "variables": [ - "inventoryQuantity" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 33, - "end_line": 33, - "start_column": 30, - "end_column": 46, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 33, - "end_line": 33, - "variables": [ - "backOrderID" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 34, - "end_line": 34, - "start_column": 24, - "end_column": 40, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 34, - "end_line": 34, - "variables": [ - "quantity" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 35, - "end_line": 35, - "start_column": 25, - "end_column": 41, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 35, - "end_line": 35, - "variables": [ - "status" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 36, - "end_line": 36, - "start_column": 24, - "end_column": 40, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 36, - "end_line": 36, - "variables": [ - "lowDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 37, - "end_line": 37, - "start_column": 26, - "end_column": 42, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 37, - "end_line": 37, - "variables": [ - "orderDate" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 38, - "end_line": 38, - "start_column": 34, - "end_column": 50, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 38, - "end_line": 38, - "variables": [ - "supplierOrderID" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": " from BackOrder", - "start_line": 39, - "end_line": 39, - "start_column": 31, - "end_column": 47, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "start_line": 39, - "end_line": 39, - "variables": [ - "inventory" - ], - "modifiers": [ - "private" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "context", + "type": "javax.faces.context.FacesContext", + "initializer": "FacesContext.getCurrentInstance()", + "start_line": 277, + "start_column": 22, + "end_line": 277, + "end_column": 64 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "app", + "type": "javax.faces.application.Application", + "initializer": "context.getApplication()", + "start_line": 279, + "start_column": 22, + "end_line": 279, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stage", + "type": "javax.faces.application.ProjectStage", + "initializer": "app.getProjectStage()", + "start_line": 281, + "start_column": 24, + "end_line": 281, + "end_column": 52 + } ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * ShoppingItem wraps the JPA Inventory entity class to provide additional methods needed by the web\r\n * app.\r\n ", - "start_line": 27, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", - "start_line": 50, - "end_line": 52, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param o\r\n\t * @return boolean true if object equals this\r\n\t * @see java.lang.Object#equals(java.lang.Object)\r\n\t ", - "start_line": 57, - "end_line": 61, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", - "start_line": 66, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", - "start_line": 74, - "end_line": 77, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", - "start_line": 82, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", - "start_line": 90, - "end_line": 93, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", - "start_line": 98, - "end_line": 101, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", - "start_line": 106, - "end_line": 109, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", - "start_line": 114, - "end_line": 117, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", - "start_line": 122, - "end_line": 125, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", - "start_line": 130, - "end_line": 133, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", - "start_line": 138, - "end_line": 141, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", - "start_line": 146, - "end_line": 149, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", - "start_line": 154, - "end_line": 157, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", - "start_line": 162, - "end_line": 165, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", - "start_line": 170, - "end_line": 173, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", - "start_line": 178, - "end_line": 181, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", - "start_line": 186, - "end_line": 189, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", - "start_line": 194, - "end_line": 197, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", - "start_line": 202, - "end_line": 205, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", - "start_line": 210, - "end_line": 213, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", - "start_line": 218, - "end_line": 221, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", - "start_line": 226, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", - "start_line": 234, - "end_line": 240, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", - "start_line": 246, - "end_line": 249, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", - "start_line": 254, - "end_line": 257, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", - "start_line": 262, - "end_line": 265, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", - "start_line": 270, - "end_line": 273, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", - "start_line": 278, - "end_line": 281, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", - "start_line": 294, - "end_line": 297, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", - "start_line": 302, - "end_line": 305, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", - "start_line": 310, - "end_line": 313, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", - "start_line": 318, - "end_line": 321, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", - "start_line": 326, - "end_line": 329, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", - "start_line": 334, - "end_line": 337, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", - "start_line": 342, - "end_line": 345, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", - "start_line": 350, - "end_line": 353, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", - "start_line": 358, - "end_line": 361, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", - "start_line": 366, - "end_line": 369, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable", - "javax.validation.constraints.Min", - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.ShoppingItem": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", - "start_line": 50, - "end_line": 52, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 6, + "is_entrypoint": false + }, + "validateString(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "validateString(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static boolean validateString(String input)", + "parameters": [ + { + "type": "java.lang.String", + "name": "input", + "annotations": [], + "modifiers": [], + "start_line": 302, + "end_line": 302, + "start_column": 39, + "end_column": 50 + } + ], + "code": "{\r\n\t\tif (input==null) return true;\r\n\t\tfor (int i=0;i= 0) && (index < SHIPPING_METHOD_STRINGS.length))\r\n return SHIPPING_METHOD_STRINGS[index];\r\n else\r\n return null;\r\n }", + "start_line": 139, + "end_line": 144, + "code_start_line": 139, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "length", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false }, - { - "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", - "start_line": 66, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "readTokens(java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "readTokens(java.lang.String, java.lang.String)", + "comments": [ + { + "content": "\r\n * Method readTokens.\r\n * @param text\r\n * @param token\r\n * @return list\r\n ", + "start_line": 225, + "end_line": 230, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static String[] readTokens(String text, String token)", + "parameters": [ + { + "type": "java.lang.String", + "name": "text", + "annotations": [], + "modifiers": [], + "start_line": 231, + "end_line": 231, + "start_column": 39, + "end_column": 49 + }, + { + "type": "java.lang.String", + "name": "token", + "annotations": [], + "modifiers": [], + "start_line": 231, + "end_line": 231, + "start_column": 52, + "end_column": 63 + } + ], + "code": "{\r\n StringTokenizer parser = new StringTokenizer(text, token);\r\n int numTokens = parser.countTokens();\r\n String[] list = new String[numTokens];\r\n for (int i = 0; i < numTokens; i++) {\r\n list[i] = parser.nextToken();\r\n }\r\n return list;\r\n }", + "start_line": 231, + "end_line": 239, + "code_start_line": 231, + "return_type": "java.lang.String[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.StringTokenizer" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "countTokens", + "comment": null, + "receiver_expr": "parser", + "receiver_type": "java.util.StringTokenizer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "countTokens()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 25, + "end_line": 233, + "end_column": 44 + }, + { + "method_name": "nextToken", + "comment": null, + "receiver_expr": "parser", + "receiver_type": "java.util.StringTokenizer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "nextToken()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 236, + "start_column": 23, + "end_line": 236, + "end_column": 40 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.StringTokenizer", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "text", + "token" + ], + "return_type": "java.util.StringTokenizer", + "callee_signature": "StringTokenizer(java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 232, + "start_column": 34, + "end_line": 232, + "end_column": 65 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "parser", + "type": "java.util.StringTokenizer", + "initializer": "new StringTokenizer(text, token)", + "start_line": 232, + "start_column": 25, + "end_line": 232, + "end_column": 65 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "numTokens", + "type": "int", + "initializer": "parser.countTokens()", + "start_line": 233, + "start_column": 13, + "end_line": 233, + "end_column": 44 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "list", + "type": "java.lang.String[]", + "initializer": "new String[numTokens]", + "start_line": 234, + "start_column": 18, + "end_line": 234, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 235, + "start_column": 18, + "end_line": 235, + "end_column": 22 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getProperty(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getProperty(java.lang.String)", + "comments": [ + { + "content": "\r\n * Method getProperty.\r\n * @param name\r\n * @return value\r\n ", + "start_line": 208, + "end_line": 212, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static String getProperty(String name)", + "parameters": [ + { + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 213, + "end_line": 213, + "start_column": 38, + "end_column": 48 + } + ], + "code": "{\r\n String value = \"\";\r\n try {\r\n if (PBW_Properties == null) {\r\n readProperties();\r\n }\r\n value = PBW_Properties.getProperty(name);\r\n } catch (Exception e) {\r\n debug(\"Util.getProperty(): Exception: \" + e);\r\n }\r\n return (value);\r\n }", + "start_line": 213, + "end_line": 224, + "code_start_line": 213, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.PBW_Properties" + ], + "call_sites": [ + { + "method_name": "readProperties", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "readProperties()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 17, + "end_line": 217, + "end_column": 32 + }, + { + "method_name": "getProperty", + "comment": null, + "receiver_expr": "PBW_Properties", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "java.lang.String", + "callee_signature": "getProperty(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 219, + "start_column": 21, + "end_line": 219, + "end_column": 52 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Util.getProperty(): Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 221, + "start_column": 13, + "end_line": 221, + "end_column": 56 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "value", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 214, + "start_column": 16, + "end_line": 214, + "end_column": 25 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getShippingMethodStrings()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getShippingMethodStrings()", + "comments": [ + { + "content": "\r\n * Get the shipping method strings in an array.\r\n * @return The shipping method strings in an array.\r\n ", + "start_line": 167, + "end_line": 170, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "static", + "public" + ], + "thrown_exceptions": [], + "declaration": "public static String[] getShippingMethodStrings()", + "parameters": [], + "code": "{\r\n return SHIPPING_METHOD_STRINGS;\r\n }", + "start_line": 171, + "end_line": 173, + "code_start_line": 171, + "return_type": "java.lang.String[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_STRINGS" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", - "start_line": 74, - "end_line": 77, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "getShippingMethodTime(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getShippingMethodTime(int)", + "comments": [ + { + "content": "\r\n * Get the shipping method price.\r\n * @param index The int representation of a shipping method.\r\n * @return The shipping method time (null, if an invalid index given).\r\n ", + "start_line": 156, + "end_line": 160, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "static", + "public" + ], + "thrown_exceptions": [], + "declaration": "public static String getShippingMethodTime(int index)", + "parameters": [ + { + "type": "int", + "name": "index", + "annotations": [], + "modifiers": [], + "start_line": 161, + "end_line": 161, + "start_column": 48, + "end_column": 56 + } + ], + "code": "{\r\n if ((index >= 0) && (index < SHIPPING_METHOD_TIMES.length))\r\n return SHIPPING_METHOD_TIMES[index];\r\n else\r\n return null;\r\n }", + "start_line": 161, + "end_line": 166, + "code_start_line": 161, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "length", + "com.ibm.websphere.samples.pbw.utils.Util.SHIPPING_METHOD_TIMES" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getInitialContext()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "getInitialContext()", + "comments": [ + { + "content": " Get InitialContext if it has not been gotten yet.", + "start_line": 104, + "end_line": 104, + "start_column": 13, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " properties are in the system properties", + "start_line": 106, + "end_line": 106, + "start_column": 17, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " Naming Exception will cause a null return.", + "start_line": 110, + "end_line": 110, + "start_column": 9, + "end_column": 53, + "is_javadoc": false + }, + { + "content": "\r\n * Return the cached Initial Context.\r\n *\r\n * @return InitialContext, or null if a naming exception.\r\n ", + "start_line": 97, + "end_line": 101, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "static", + "public" + ], + "thrown_exceptions": [], + "declaration": "public static InitialContext getInitialContext()", + "parameters": [], + "code": "{\r\n try {\r\n // Get InitialContext if it has not been gotten yet.\r\n if (initCtx == null) {\r\n // properties are in the system properties\r\n initCtx = new InitialContext();\r\n }\r\n }\r\n // Naming Exception will cause a null return.\r\n catch (NamingException e) {}\r\n return initCtx;\r\n }", + "start_line": 102, + "end_line": 113, + "code_start_line": 102, + "return_type": "javax.naming.InitialContext", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.initCtx" + ], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "javax.naming.InitialContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.naming.InitialContext", + "callee_signature": "InitialContext()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 27, + "end_line": 107, + "end_column": 46 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false }, + "debugOn()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/utils/Util.java", + "signature": "debugOn()", + "comments": [ + { + "content": " Is debug turned on? ", + "start_line": 268, + "end_line": 268, + "start_column": 5, + "end_column": 30, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "static", + "final", + "public" + ], + "thrown_exceptions": [], + "declaration": "public static final boolean debugOn()", + "parameters": [], + "code": "{\r\n return debug;\r\n }", + "start_line": 269, + "end_line": 271, + "code_start_line": 269, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.utils.Util.debug" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", - "start_line": 82, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " Datasource name. ", + "start_line": 33, + "end_line": 33, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 34, + "end_line": 34, + "variables": [ + "DS_NAME" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", - "start_line": 90, - "end_line": 93, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " Constants for JSPs and HTMLs.", + "start_line": 35, + "end_line": 35, + "start_column": 5, + "end_column": 36, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 36, + "end_line": 36, + "variables": [ + "PAGE_ACCOUNT" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", - "start_line": 98, - "end_line": 101, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 37, + "end_line": 37, + "variables": [ + "PAGE_CART" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", - "start_line": 106, - "end_line": 109, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 38, + "end_line": 38, + "variables": [ + "PAGE_CHECKOUTFINAL" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", - "start_line": 114, - "end_line": 117, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 39, + "end_line": 39, + "variables": [ + "PAGE_HELP" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", - "start_line": 122, - "end_line": 125, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 40, + "end_line": 40, + "variables": [ + "PAGE_LOGIN" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", - "start_line": 130, - "end_line": 133, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 41, + "end_line": 41, + "variables": [ + "PAGE_ORDERDONE" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", - "start_line": 138, - "end_line": 141, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 42, + "end_line": 42, + "variables": [ + "PAGE_ORDERINFO" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", - "start_line": 146, - "end_line": 149, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 43, + "end_line": 43, + "variables": [ + "PAGE_PRODUCT" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", - "start_line": 154, - "end_line": 157, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 44, + "end_line": 44, + "variables": [ + "PAGE_PROMO" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", - "start_line": 162, - "end_line": 165, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 45, + "end_line": 45, + "variables": [ + "PAGE_REGISTER" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", - "start_line": 170, - "end_line": 173, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 46, + "end_line": 46, + "variables": [ + "PAGE_SHOPPING" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", - "start_line": 178, - "end_line": 181, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 47, + "end_line": 47, + "variables": [ + "PAGE_BACKADMIN" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", - "start_line": 186, - "end_line": 189, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 48, + "end_line": 48, + "variables": [ + "PAGE_SUPPLIERCFG" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", - "start_line": 194, - "end_line": 197, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 49, + "end_line": 49, + "variables": [ + "PAGE_ADMINHOME" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", - "start_line": 202, - "end_line": 205, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 50, + "end_line": 50, + "variables": [ + "PAGE_ADMINACTIONS" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", - "start_line": 210, - "end_line": 213, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " Request and session attributes.", + "start_line": 51, + "end_line": 51, + "start_column": 5, + "end_column": 38, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 52, + "end_line": 52, + "variables": [ + "ATTR_ACTION" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", - "start_line": 218, - "end_line": 221, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 53, + "end_line": 53, + "variables": [ + "ATTR_CART" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", - "start_line": 226, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " public static final String ATTR_CART_CONTENTS = \"CartContents\";", + "start_line": 54, + "end_line": 54, + "start_column": 1, + "end_column": 69, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 55, + "end_line": 55, + "variables": [ + "ATTR_CARTITEMS" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", - "start_line": 234, - "end_line": 240, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 56, + "end_line": 56, + "variables": [ + "ATTR_CATEGORY" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", - "start_line": 246, - "end_line": 249, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 57, + "end_line": 57, + "variables": [ + "ATTR_CHECKOUT" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", - "start_line": 254, - "end_line": 257, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 58, + "end_line": 58, + "variables": [ + "ATTR_CUSTOMER" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", - "start_line": 262, - "end_line": 265, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 59, + "end_line": 59, + "variables": [ + "ATTR_EDITACCOUNTINFO" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", - "start_line": 270, - "end_line": 273, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 60, + "end_line": 60, + "variables": [ + "ATTR_INVITEM" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", - "start_line": 278, - "end_line": 281, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 61, + "end_line": 61, + "variables": [ + "ATTR_INVITEMS" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 62, + "end_line": 62, + "variables": [ + "ATTR_ORDERID" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", - "start_line": 294, - "end_line": 297, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 63, + "end_line": 63, + "variables": [ + "ATTR_ORDERINFO" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", - "start_line": 302, - "end_line": 305, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 64, + "end_line": 64, + "variables": [ + "ATTR_ORDERKEY" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", - "start_line": 310, - "end_line": 313, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 65, + "end_line": 65, + "variables": [ + "ATTR_RESULTS" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", - "start_line": 318, - "end_line": 321, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 66, + "end_line": 66, + "variables": [ + "ATTR_UPDATING" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", - "start_line": 326, - "end_line": 329, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " if this is changed, updated session timeout", + "start_line": 67, + "end_line": 67, + "start_column": 56, + "end_column": 101, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 67, + "end_line": 67, + "variables": [ + "ATTR_SFTIMEOUT" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", - "start_line": 334, - "end_line": 337, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " in the PlantsByWebSphere web.xml", + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 54, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 69, + "end_line": 69, + "variables": [ + "ATTR_SUPPLIER" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", - "start_line": 342, - "end_line": 345, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": " Admin type actions", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 25, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 71, + "end_line": 71, + "variables": [ + "ATTR_ADMINTYPE" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", - "start_line": 350, - "end_line": 353, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 72, + "end_line": 72, + "variables": [ + "ADMIN_BACKORDER" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", - "start_line": 358, - "end_line": 361, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 73, + "end_line": 73, + "variables": [ + "ADMIN_SUPPLIERCFG" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", - "start_line": 366, - "end_line": 369, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 74, + "end_line": 74, + "variables": [ + "ADMIN_POPULATE" + ], + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, { - "content": "\r\n * ShoppingItem wraps the JPA Inventory entity class to provide additional methods needed by the web\r\n * app.\r\n ", - "start_line": 27, - "end_line": 30, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [ - "java.lang.Cloneable", - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setImage(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setImage(String)", - "comments": [ - { - "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", - "start_line": 162, - "end_line": 165, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + "comment": { + "content": " Supplier Config actions", + "start_line": 76, + "end_line": 76, + "start_column": 5, + "end_column": 30, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 77, + "end_line": 77, + "variables": [ + "ACTION_GETSUPPLIER" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setImage(String image)", - "parameters": [ - { - "type": "java.lang.String", - "name": "image", - "annotations": [], - "modifiers": [], - "start_line": 166, - "end_line": 166, - "start_column": 23, - "end_column": 34 - } + "public", + "static", + "final" ], - "code": "{\r\n\t\titem.setImage(image);\r\n\t}", - "start_line": 166, - "end_line": 168, - "code_start_line": 166, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 78, + "end_line": 78, + "variables": [ + "ACTION_UPDATESUPPLIER" ], - "call_sites": [ - { - "method_name": "setImage", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setImage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 167, - "start_column": 3, - "end_line": 167, - "end_column": 22 - } + "modifiers": [ + "public", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getDescription()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getDescription()", - "comments": [ - { - "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", - "start_line": 122, - "end_line": 125, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": " Backorder actions", + "start_line": 79, + "end_line": 79, + "start_column": 5, + "end_column": 24, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 80, + "end_line": 80, + "variables": [ + "ACTION_ORDERSTOCK" ], - "annotations": [], "modifiers": [ - "public" + "public", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public String getDescription()", - "parameters": [], - "code": "{\r\n\t\treturn item.getDescription();\r\n\t}", - "start_line": 126, - "end_line": 128, - "code_start_line": 126, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 81, + "end_line": 81, + "variables": [ + "ACTION_UPDATESTOCK" ], - "call_sites": [ - { - "method_name": "getDescription", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getDescription()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 10, - "end_line": 127, - "end_column": 30 - } + "modifiers": [ + "public", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "increaseInventory(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "increaseInventory(int)", - "comments": [ - { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", - "start_line": 82, - "end_line": 85, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 82, + "end_line": 82, + "variables": [ + "ACTION_GETBACKORDERS" ], - "annotations": [], "modifiers": [ - "public" + "public", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public void increaseInventory(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 86, - "end_line": 86, - "start_column": 32, - "end_column": 43 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 83, + "end_line": 83, + "variables": [ + "ACTION_UPDATEQUANTITY" ], - "code": "{\r\n\t\titem.increaseInventory(quantity);\r\n\t}", - "start_line": 86, - "end_line": 88, - "code_start_line": 86, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "modifiers": [ + "public", + "static", + "final" ], - "call_sites": [ - { - "method_name": "increaseInventory", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "increaseInventory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 87, - "start_column": 3, - "end_line": 87, - "end_column": 34 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 84, + "end_line": 84, + "variables": [ + "ACTION_ORDERSTATUS" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "modifiers": [ + "public", + "static", + "final" + ], + "annotations": [] }, - "setBackOrder(BackOrder)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setBackOrder(BackOrder)", - "comments": [ - { - "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", - "start_line": 366, - "end_line": 369, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 85, + "end_line": 85, + "variables": [ + "ACTION_CANCEL" + ], + "modifiers": [ + "public", + "static", + "final" ], - "annotations": [], - "modifiers": [ - "public" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 86, + "end_line": 86, + "variables": [ + "STATUS_ORDERSTOCK" ], - "thrown_exceptions": [], - "declaration": "public void setBackOrder(BackOrder backOrder)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "name": "backOrder", - "annotations": [], - "modifiers": [], - "start_line": 370, - "end_line": 370, - "start_column": 27, - "end_column": 45 - } + "modifiers": [ + "public", + "static", + "final" ], - "code": "{\r\n\t\titem.setBackOrder(backOrder);\r\n\t}", - "start_line": 370, - "end_line": 372, - "code_start_line": 370, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 87, + "end_line": 87, + "variables": [ + "STATUS_ORDEREDSTOCK" ], - "call_sites": [ - { - "method_name": "setBackOrder", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], - "return_type": "", - "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 371, - "start_column": 3, - "end_line": 371, - "end_column": 30 - } + "modifiers": [ + "public", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "setName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setName(String)", - "comments": [ - { - "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", - "start_line": 178, - "end_line": 181, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 88, + "end_line": 88, + "variables": [ + "STATUS_RECEIVEDSTOCK" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setName(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 182, - "end_line": 182, - "start_column": 22, - "end_column": 32 - } + "public", + "static", + "final" ], - "code": "{\r\n\t\titem.setName(name);\r\n\t}", - "start_line": 182, - "end_line": 184, - "code_start_line": 182, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 89, + "end_line": 89, + "variables": [ + "STATUS_ADDEDSTOCK" ], - "call_sites": [ - { - "method_name": "setName", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 183, - "start_column": 3, - "end_line": 183, - "end_column": 20 - } + "modifiers": [ + "public", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "setImgbytes(byte[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setImgbytes(byte[])", - "comments": [ - { - "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", - "start_line": 350, - "end_line": 353, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 90, + "end_line": 90, + "variables": [ + "DEFAULT_SUPPLIERID" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setImgbytes(byte[] imgbytes)", - "parameters": [ - { - "type": "byte[]", - "name": "imgbytes", - "annotations": [], - "modifiers": [], - "start_line": 354, - "end_line": 354, - "start_column": 26, - "end_column": 40 - } + "public", + "static", + "final" ], - "code": "{\r\n\t\titem.setImgbytes(imgbytes);\r\n\t}", - "start_line": 354, - "end_line": 356, - "code_start_line": 354, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "javax.naming.InitialContext", + "start_line": 91, + "end_line": 91, + "variables": [ + "initCtx" ], - "call_sites": [ - { - "method_name": "setImgbytes", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImgbytes(byte[])", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 355, - "start_column": 3, - "end_line": 355, - "end_column": 28 - } + "modifiers": [ + "private", + "static" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getMaxThreshold()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getMaxThreshold()", - "comments": [ - { - "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", - "start_line": 254, - "end_line": 257, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String[]", + "start_line": 92, + "end_line": 92, + "variables": [ + "CATEGORY_STRINGS" ], - "annotations": [], "modifiers": [ - "public" + "private", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public int getMaxThreshold()", - "parameters": [], - "code": "{\r\n\t\treturn item.getMaxThreshold();\r\n\t}", - "start_line": 258, - "end_line": 260, - "code_start_line": 258, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String[]", + "start_line": 93, + "end_line": 93, + "variables": [ + "SHIPPING_METHOD_STRINGS" ], - "call_sites": [ - { - "method_name": "getMaxThreshold", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getMaxThreshold()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 259, - "start_column": 10, - "end_line": 259, - "end_column": 31 - } + "modifiers": [ + "private", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getInventoryId()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getInventoryId()", - "comments": [ - { - "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", - "start_line": 286, - "end_line": 289, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String[]", + "start_line": 94, + "end_line": 94, + "variables": [ + "SHIPPING_METHOD_TIMES" ], - "annotations": [], "modifiers": [ - "public" + "private", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public String getInventoryId()", - "parameters": [], - "code": "{\r\n\t\treturn item.getInventoryId();\r\n\t}", - "start_line": 290, - "end_line": 292, - "code_start_line": 290, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "float[]", + "start_line": 95, + "end_line": 95, + "variables": [ + "SHIPPING_METHOD_PRICES" ], - "call_sites": [ - { - "method_name": "getInventoryId", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 291, - "start_column": 10, - "end_line": 291, - "end_column": 30 - } + "modifiers": [ + "private", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getPkginfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getPkginfo()", - "comments": [ - { - "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", - "start_line": 202, - "end_line": 205, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 96, + "end_line": 96, + "variables": [ + "ZERO_14" ], - "annotations": [], "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getPkginfo()", - "parameters": [], - "code": "{\r\n\t\treturn item.getPkginfo();\r\n\t}", - "start_line": 206, - "end_line": 208, - "code_start_line": 206, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getPkginfo", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPkginfo()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 207, - "start_column": 10, - "end_line": 207, - "end_column": 26 - } + "public", + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "getMinThreshold()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getMinThreshold()", - "comments": [ - { - "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", - "start_line": 270, - "end_line": 273, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 185, + "end_line": 185, + "variables": [ + "PBW_PROPERTIES" ], - "annotations": [], "modifiers": [ - "public" + "private", + "static", + "final" ], - "thrown_exceptions": [], - "declaration": "public int getMinThreshold()", - "parameters": [], - "code": "{\r\n\t\treturn item.getMinThreshold();\r\n\t}", - "start_line": 274, - "end_line": 276, - "code_start_line": 274, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.utils.ListProperties", + "start_line": 186, + "end_line": 186, + "variables": [ + "PBW_Properties" ], - "call_sites": [ - { - "method_name": "getMinThreshold", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getMinThreshold()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 275, - "start_column": 10, - "end_line": 275, - "end_column": 31 - } + "modifiers": [ + "private", + "static" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] }, - "hashCode()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "hashCode()", - "comments": [ - { - "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", - "start_line": 66, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "boolean", + "start_line": 261, + "end_line": 261, + "variables": [ + "debug" ], - "annotations": [], "modifiers": [ - "public" + "static", + "private" ], - "thrown_exceptions": [], - "declaration": "public int hashCode()", - "parameters": [], - "code": "{\r\n\t\treturn item.hashCode();\r\n\t}", - "start_line": 70, - "end_line": 72, - "code_start_line": 70, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "annotations": [] + }, + { + "comment": { + "content": "\r\n * Utilty functions for validating user input.\r\n * validateString will return false if any of the invalid characters appear in the input string.\r\n *\r\n * In general, we do not want to allow special characters in user input,\r\n * because this can open us to a XSS security vulnerability.\r\n * For example, a user should not be allowed to enter javascript in an input field.\r\n ", + "start_line": 292, + "end_line": 299, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + "name": null, + "type": "char[]", + "start_line": 300, + "end_line": 300, + "variables": [ + "invalidCharList" ], - "call_sites": [ - { - "method_name": "hashCode", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "hashCode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 71, - "start_column": 10, - "end_line": 71, - "end_column": 24 - } + "modifiers": [ + "static", + "final" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Servlet to handle image actions.\r\n ", + "start_line": 33, + "end_line": 35, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 39, + "end_line": 41, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 47, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 54, + "end_line": 61, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 67, + "end_line": 74, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 80, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.IOException", + "javax.inject.Inject", + "javax.inject.Named", + "javax.servlet.ServletConfig", + "javax.servlet.ServletException", + "javax.servlet.annotation.WebServlet", + "javax.servlet.http.HttpServlet", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.ImageServlet": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "javax.servlet.http.HttpServlet" + ], + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 39, + "end_line": 41, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setNotes(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setNotes(String)", + { + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 47, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 54, + "end_line": 61, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 67, + "end_line": 74, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 80, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * Servlet to handle image actions.\r\n ", + "start_line": 33, + "end_line": 35, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Named(value = \"image\")", + "@WebServlet(\"/servlet/ImageServlet\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", - "start_line": 194, - "end_line": 197, + "content": "\r\n\t * Process incoming HTTP GET requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 54, + "end_line": 61, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -56334,70 +67975,86 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setNotes(String notes)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", "parameters": [ { - "type": "java.lang.String", - "name": "notes", + "type": "javax.servlet.http.HttpServletRequest", + "name": "request", "annotations": [], "modifiers": [], - "start_line": 198, - "end_line": 198, - "start_column": 23, - "end_column": 34 + "start_line": 62, + "end_line": 62, + "start_column": 20, + "end_column": 64 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "response", + "annotations": [], + "modifiers": [], + "start_line": 63, + "end_line": 63, + "start_column": 4, + "end_column": 50 } ], - "code": "{\r\n\t\titem.setNotes(notes);\r\n\t}", - "start_line": 198, - "end_line": 200, - "code_start_line": 198, + "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", + "start_line": 62, + "end_line": 65, + "code_start_line": 63, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "setNotes", + "method_name": "performTask", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "request", + "response" ], "return_type": "", - "callee_signature": "setNotes(java.lang.String)", - "is_public": true, + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 199, + "start_line": 64, "start_column": 3, - "end_line": 199, - "end_column": 22 + "end_line": 64, + "end_column": 32 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "setMinThreshold(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setMinThreshold(int)", + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", - "start_line": 278, - "end_line": 281, + "content": "\r\n\t * Process incoming HTTP POST requests\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 67, + "end_line": 74, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -56407,70 +68064,86 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setMinThreshold(int minThreshold)", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ServletException, IOException", "parameters": [ { - "type": "int", - "name": "minThreshold", + "type": "javax.servlet.http.HttpServletRequest", + "name": "request", "annotations": [], "modifiers": [], - "start_line": 282, - "end_line": 282, - "start_column": 30, - "end_column": 45 + "start_line": 75, + "end_line": 75, + "start_column": 21, + "end_column": 65 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "response", + "annotations": [], + "modifiers": [], + "start_line": 76, + "end_line": 76, + "start_column": 4, + "end_column": 50 } ], - "code": "{\r\n\t\titem.setMinThreshold(minThreshold);\r\n\t}", - "start_line": 282, - "end_line": 284, - "code_start_line": 282, + "code": "{\r\n\t\tperformTask(request, response);\r\n\t}", + "start_line": 75, + "end_line": 78, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "setMinThreshold", + "method_name": "performTask", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "" + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "request", + "response" ], "return_type": "", - "callee_signature": "setMinThreshold(int)", - "is_public": true, + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 283, + "start_line": 77, "start_column": 3, - "end_line": 283, - "end_column": 36 + "end_line": 77, + "end_column": 32 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "getPrice()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getPrice()", + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { - "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", - "start_line": 218, - "end_line": 221, + "content": "\r\n\t * Main service method for ImageServlet\r\n\t *\r\n\t * @param request\r\n\t * Object that encapsulates the request to the servlet\r\n\t * @param response\r\n\t * Object that encapsulates the response from the servlet\r\n\t ", + "start_line": 80, + "end_line": 87, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -56478,31 +68151,62 @@ ], "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public float getPrice()", - "parameters": [], - "code": "{\r\n\t\treturn item.getPrice();\r\n\t}", - "start_line": 222, - "end_line": 224, - "code_start_line": 222, - "return_type": "float", + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "private void performTask(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 27, + "end_column": 48 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 88, + "end_line": 88, + "start_column": 51, + "end_column": 74 + } + ], + "code": "{\r\n\t\tString action = null;\r\n\r\n\t\taction = req.getParameter(\"action\");\r\n\t\tUtil.debug(\"action=\" + action);\r\n\r\n\t\tif (action.equals(\"getimage\")) {\r\n\t\t\tString inventoryID = req.getParameter(\"inventoryID\");\r\n\r\n\t\t\tbyte[] buf = catalog.getItemImageBytes(inventoryID);\r\n\t\t\tif (buf != null) {\r\n\t\t\t\tresp.setContentType(\"image/jpeg\");\r\n\t\t\t\tresp.getOutputStream().write(buf);\r\n\t\t\t}\r\n\t\t}\r\n\t}", + "start_line": 88, + "end_line": 103, + "code_start_line": 88, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "com.ibm.websphere.samples.pbw.war.ImageServlet.catalog" ], "call_sites": [ { - "method_name": "getPrice", + "method_name": "getParameter", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"action\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -56511,144 +68215,154 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 223, - "start_column": 10, - "end_line": 223, - "end_column": 24 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setInventoryId(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setInventoryId(String)", - "comments": [ - { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", - "start_line": 294, - "end_line": 297, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInventoryId(String id)", - "parameters": [ - { - "type": "java.lang.String", - "name": "id", - "annotations": [], - "modifiers": [], - "start_line": 298, - "end_line": 298, - "start_column": 29, + "start_line": 91, + "start_column": 12, + "end_line": 91, "end_column": 37 - } - ], - "code": "{\r\n\t\titem.setInventoryId(id);\r\n\t}", - "start_line": 298, - "end_line": 300, - "code_start_line": 298, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ + }, { - "method_name": "setInventoryId", + "method_name": "debug", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action=\" + action" + ], "return_type": "", - "callee_signature": "setInventoryId(java.lang.String)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 299, + "start_line": 92, "start_column": 3, - "end_line": 299, - "end_column": 25 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPrivacy(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setPrivacy(boolean)", - "comments": [ + "end_line": 92, + "end_column": 32 + }, { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", - "start_line": 334, - "end_line": 337, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPrivacy(boolean isPublic)", - "parameters": [ + "method_name": "equals", + "comment": null, + "receiver_expr": "action", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"getimage\"" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 7, + "end_line": 94, + "end_column": 31 + }, { - "type": "boolean", - "name": "isPublic", - "annotations": [], - "modifiers": [], - "start_line": 338, - "end_line": 338, + "method_name": "getParameter", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"inventoryID\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 95, "start_column": 25, - "end_column": 40 - } - ], - "code": "{\r\n\t\titem.setPrivacy(isPublic);\r\n\t}", - "start_line": 338, - "end_line": 340, - "code_start_line": 338, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ + "end_line": 95, + "end_column": 55 + }, { - "method_name": "setPrivacy", + "method_name": "getItemImageBytes", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "catalog", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "inventoryID" + ], + "return_type": "", + "callee_signature": "getItemImageBytes(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 97, + "start_column": 17, + "end_line": 97, + "end_column": 54 + }, + { + "method_name": "setContentType", + "comment": null, + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"image/jpeg\"" + ], + "return_type": "", + "callee_signature": "setContentType(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 99, + "start_column": 5, + "end_line": 99, + "end_column": 37 + }, + { + "method_name": "write", + "comment": null, + "receiver_expr": "resp.getOutputStream()", + "receiver_type": "javax.servlet.ServletOutputStream", "argument_types": [ "" ], + "argument_expr": [ + "buf" + ], "return_type": "", - "callee_signature": "setPrivacy(boolean)", + "callee_signature": "write(byte[])", "is_public": true, "is_protected": false, "is_private": false, @@ -56657,26 +68371,100 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 339, - "start_column": 3, - "end_line": 339, - "end_column": 27 + "start_line": 100, + "start_column": 5, + "end_line": 100, + "end_column": 37 + }, + { + "method_name": "getOutputStream", + "comment": null, + "receiver_expr": "resp", + "receiver_type": "javax.servlet.http.HttpServletResponse", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletOutputStream", + "callee_signature": "getOutputStream()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 5, + "end_line": 100, + "end_column": 26 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "action", + "type": "java.lang.String", + "initializer": "null", + "start_line": 89, + "start_column": 10, + "end_line": 89, + "end_column": 22 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", + "type": "java.lang.String", + "initializer": "req.getParameter(\"inventoryID\")", + "start_line": 95, + "start_column": 11, + "end_line": 95, + "end_column": 55 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "buf", + "type": "byte[]", + "initializer": "catalog.getItemImageBytes(inventoryID)", + "start_line": 97, + "start_column": 11, + "end_line": 97, + "end_column": 54 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "cyclomatic_complexity": 3, + "is_entrypoint": true }, - "setMaxThreshold(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setMaxThreshold(int)", + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ImageServlet.java", + "signature": "init(javax.servlet.ServletConfig)", "comments": [ { - "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", - "start_line": 262, - "end_line": 265, + "content": "\r\n\t * Servlet initialization.\r\n\t ", + "start_line": 47, + "end_line": 49, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -56686,42 +68474,45 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public void setMaxThreshold(int maxThreshold)", + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", "parameters": [ { - "type": "int", - "name": "maxThreshold", + "type": "javax.servlet.ServletConfig", + "name": "config", "annotations": [], "modifiers": [], - "start_line": 266, - "end_line": 266, - "start_column": 30, - "end_column": 45 + "start_line": 50, + "end_line": 50, + "start_column": 19, + "end_column": 38 } ], - "code": "{\r\n\t\titem.setMaxThreshold(maxThreshold);\r\n\t}", - "start_line": 266, - "end_line": 268, - "code_start_line": 266, + "code": "{\r\n\t\tsuper.init(config);\r\n\t}", + "start_line": 50, + "end_line": 52, + "code_start_line": 50, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "setMaxThreshold", + "method_name": "init", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", "argument_types": [ - "" + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" ], "return_type": "", - "callee_signature": "setMaxThreshold(int)", + "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, "is_protected": false, "is_private": false, @@ -56730,10 +68521,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 267, + "start_line": 51, "start_column": 3, - "end_line": 267, - "end_column": 36 + "end_line": 51, + "end_column": 20 } ], "variable_declarations": [], @@ -56741,454 +68532,665 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 39, + "end_line": 41, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 42, + "end_line": 42, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.CatalogMgr", + "start_line": 44, + "end_line": 45, + "variables": [ + "catalog" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Inject" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": true + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "package_name": "com.ibm.websphere.samples.pbw.war", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * A class to hold a back order item's data.\r\n ", + "start_line": 23, + "end_line": 25, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * @see java.lang.Object#Object()\r\n\t ", + "start_line": 41, + "end_line": 43, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 27, + "end_line": 29, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " from BackOrder", + "start_line": 33, + "end_line": 33, + "start_column": 30, + "end_column": 46, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 34, + "end_line": 34, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 35, + "end_line": 35, + "start_column": 25, + "end_column": 41, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 36, + "end_line": 36, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 37, + "end_line": 37, + "start_column": 26, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 38, + "end_line": 38, + "start_column": 34, + "end_column": 50, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 39, + "end_line": 39, + "start_column": 31, + "end_column": 47, + "is_javadoc": false + }, + { + "content": " Default constructor. ", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 28, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", + "start_line": 48, + "end_line": 56, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", + "start_line": 65, + "end_line": 69, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 84, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 93, + "end_line": 97, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 102, + "end_line": 106, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", + "start_line": 111, + "end_line": 115, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 120, + "end_line": 124, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 129, + "end_line": 133, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 138, + "end_line": 142, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", + "start_line": 147, + "end_line": 151, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 156, + "end_line": 160, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 165, + "end_line": 169, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 174, + "end_line": 178, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 183, + "end_line": 187, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 192, + "end_line": 196, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 201, + "end_line": 205, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.war.BackOrderItem": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * @see java.lang.Object#Object()\r\n\t ", + "start_line": 41, + "end_line": 43, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 27, + "end_line": 29, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " from BackOrder", + "start_line": 33, + "end_line": 33, + "start_column": 30, + "end_column": 46, + "is_javadoc": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "ShoppingItem()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ShoppingItem()", - "parameters": [], - "code": "{\r\n\r\n\t}", + { + "content": " from BackOrder", + "start_line": 34, + "end_line": 34, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 35, + "end_line": 35, + "start_column": 25, + "end_column": 41, + "is_javadoc": false + }, + { + "content": " from BackOrder", "start_line": 36, + "end_line": 36, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 37, + "end_line": 37, + "start_column": 26, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " from BackOrder", + "start_line": 38, "end_line": 38, - "code_start_line": 36, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "start_column": 34, + "end_column": 50, + "is_javadoc": false }, - "getName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getName()", - "comments": [ - { - "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", - "start_line": 170, - "end_line": 173, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getName()", - "parameters": [], - "code": "{\r\n\t\treturn item.getName();\r\n\t}", - "start_line": 174, - "end_line": 176, - "code_start_line": 174, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getName", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 175, - "start_column": 10, - "end_line": 175, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " from BackOrder", + "start_line": 39, + "end_line": 39, + "start_column": 31, + "end_column": 47, + "is_javadoc": false }, - "setQuantity(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setQuantity(int)", - "comments": [ - { - "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", - "start_line": 246, - "end_line": 249, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 250, - "end_line": 250, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\titem.setQuantity(quantity);\r\n\t}", - "start_line": 250, - "end_line": 252, - "code_start_line": 250, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setQuantity", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 251, - "start_column": 3, - "end_line": 251, - "end_column": 28 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " Default constructor. ", + "start_line": 44, + "end_line": 44, + "start_column": 2, + "end_column": 28, + "is_javadoc": true }, - "setPkginfo(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setPkginfo(String)", - "comments": [ - { - "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", - "start_line": 210, - "end_line": 213, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPkginfo(String pkginfo)", - "parameters": [ - { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 214, - "end_line": 214, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\titem.setPkginfo(pkginfo);\r\n\t}", - "start_line": 214, - "end_line": 216, - "code_start_line": 214, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setPkginfo", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setPkginfo(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 215, - "start_column": 3, - "end_line": 215, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", + "start_line": 48, + "end_line": 56, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getCost()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getCost()", - "comments": [ - { - "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", - "start_line": 106, - "end_line": 109, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public float getCost()", - "parameters": [], - "code": "{\r\n\t\treturn item.getCost();\r\n\t}", - "start_line": 110, - "end_line": 112, - "code_start_line": 110, - "return_type": "float", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getCost", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getCost()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 111, - "start_column": 10, - "end_line": 111, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", + "start_line": 65, + "end_line": 69, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setID(String)", - "comments": [ - { - "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", - "start_line": 310, - "end_line": 313, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setID(String id)", - "parameters": [ - { - "type": "java.lang.String", - "name": "id", - "annotations": [], - "modifiers": [], - "start_line": 314, - "end_line": 314, - "start_column": 20, - "end_column": 28 - } - ], - "code": "{\r\n\t\titem.setID(id);\r\n\t}", - "start_line": 314, - "end_line": 316, - "code_start_line": 314, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setID", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setID(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 315, - "start_column": 3, - "end_line": 315, - "end_column": 16 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 84, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 93, + "end_line": 97, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 102, + "end_line": 106, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", + "start_line": 111, + "end_line": 115, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 120, + "end_line": 124, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 129, + "end_line": 133, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 138, + "end_line": 142, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", + "start_line": 147, + "end_line": 151, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 156, + "end_line": 160, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 165, + "end_line": 169, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 174, + "end_line": 178, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 183, + "end_line": 187, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setCategory(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setCategory(int)", - "comments": [ - { - "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", - "start_line": 98, - "end_line": 101, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCategory(int category)", - "parameters": [ - { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 102, - "end_line": 102, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\r\n\t\titem.setCategory(category);\r\n\t}", - "start_line": 102, - "end_line": 104, - "code_start_line": 102, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setCategory", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setCategory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 3, - "end_line": 103, - "end_column": 28 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 192, + "end_line": 196, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getHeading()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getHeading()", + { + "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 201, + "end_line": 205, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * A class to hold a back order item's data.\r\n ", + "start_line": 23, + "end_line": 25, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getQuantity()", "comments": [ { - "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", - "start_line": 138, - "end_line": 141, + "content": "\r\n\t * Method getQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 156, + "end_line": 160, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -57199,118 +69201,72 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getHeading()", + "declaration": "public int getQuantity()", "parameters": [], - "code": "{\r\n\t\treturn item.getHeading();\r\n\t}", - "start_line": 142, - "end_line": 144, - "code_start_line": 142, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn quantity;\r\n\t}", + "start_line": 161, + "end_line": 163, + "code_start_line": 161, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getHeading", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getHeading()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 10, - "end_line": 143, - "end_column": 26 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getQuantity()", + "getInventory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getInventory()", "comments": [ { - "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", - "start_line": 234, - "end_line": 240, + "content": "\r\n\t * Method getInventoryID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 129, + "end_line": 133, "start_column": 2, "end_column": 4, "is_javadoc": true } ], - "annotations": [ - "@Min(value = 0, message = \"Quantity must be a number greater than or equal to zero.\")" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getQuantity()", + "declaration": "public Inventory getInventory()", "parameters": [], - "code": "{\r\n\t\treturn item.getQuantity();\r\n\t}", - "start_line": 241, - "end_line": 244, - "code_start_line": 242, - "return_type": "int", + "code": "{\r\n\t\treturn inventory;\r\n\t}", + "start_line": 134, + "end_line": 136, + "code_start_line": 134, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 243, - "start_column": 10, - "end_line": 243, - "end_column": 27 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "equals(Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "equals(Object)", + "(java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, int, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "(java.lang.String, com.ibm.websphere.samples.pbw.jpa.Inventory, java.lang.String, int, java.lang.String)", "comments": [ { - "content": "\r\n\t * @param o\r\n\t * @return boolean true if object equals this\r\n\t * @see java.lang.Object#equals(java.lang.Object)\r\n\t ", - "start_line": 57, - "end_line": 61, + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param inventoryID\r\n\t * @param name\r\n\t * @param quantity\r\n\t * @param status\r\n\t ", + "start_line": 48, + "end_line": 56, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -57321,249 +69277,92 @@ "public" ], "thrown_exceptions": [], - "declaration": "public boolean equals(Object o)", + "declaration": "public BackOrderItem(String backOrderID, Inventory inventoryID, String name, int quantity, String status)", "parameters": [ { - "type": "java.lang.Object", - "name": "o", + "type": "java.lang.String", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 62, - "end_line": 62, - "start_column": 24, - "end_column": 31 - } - ], - "code": "{\r\n\t\treturn item.equals(o);\r\n\t}", - "start_line": 62, - "end_line": 64, - "code_start_line": 62, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ + "start_line": 57, + "end_line": 57, + "start_column": 23, + "end_column": 40 + }, { - "method_name": "equals", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.Object" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 10, - "end_line": 63, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getBackOrder()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getBackOrder()", - "comments": [ + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 43, + "end_column": 63 + }, { - "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", - "start_line": 358, - "end_line": 361, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BackOrder getBackOrder()", - "parameters": [], - "code": "{\r\n\t\treturn item.getBackOrder();\r\n\t}", - "start_line": 362, - "end_line": 364, - "code_start_line": 362, - "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 66, + "end_column": 76 + }, { - "method_name": "getBackOrder", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "callee_signature": "getBackOrder()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 363, - "start_column": 10, - "end_line": 363, - "end_column": 28 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getImage()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getImage()", - "comments": [ + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 79, + "end_column": 90 + }, { - "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", - "start_line": 154, - "end_line": 157, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "java.lang.String", + "name": "status", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 93, + "end_column": 105 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getImage()", - "parameters": [], - "code": "{\r\n\t\treturn item.getImage();\r\n\t}", - "start_line": 158, - "end_line": 160, - "code_start_line": 158, - "return_type": "java.lang.String", + "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t\tthis.inventory = inventoryID;\r\n\t\tthis.name = name;\r\n\t\tthis.quantity = quantity;\r\n\t\tthis.status = status;\r\n\t}", + "start_line": 57, + "end_line": 63, + "code_start_line": 57, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getImage", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getImage()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 159, - "start_column": 10, - "end_line": 159, - "end_column": 24 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "toString()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "toString()", - "comments": [ - { - "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", - "start_line": 74, - "end_line": 77, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" + "is_constructor": true, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.lang.String" ], - "thrown_exceptions": [], - "declaration": "public String toString()", - "parameters": [], - "code": "{\r\n\t\treturn item.toString();\r\n\t}", - "start_line": 78, - "end_line": 80, - "code_start_line": 78, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "toString", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 79, - "start_column": 10, - "end_line": 79, - "end_column": 24 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.name", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.status", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "isPublic()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "isPublic()", + "getOrderDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getOrderDate()", "comments": [ { - "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", - "start_line": 318, - "end_line": 321, + "content": "\r\n\t * Method getOrderDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 201, + "end_line": 205, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -57574,56 +69373,34 @@ "public" ], "thrown_exceptions": [], - "declaration": "public boolean isPublic()", - "parameters": [], - "code": "{\r\n\t\treturn item.isPublic();\r\n\t}", - "start_line": 322, - "end_line": 324, - "code_start_line": 322, - "return_type": "boolean", + "declaration": "public long getOrderDate()", + "parameters": [], + "code": "{\r\n\t\treturn orderDate;\r\n\t}", + "start_line": 206, + "end_line": 208, + "code_start_line": 206, + "return_type": "long", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "isPublic", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "isPublic()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 323, - "start_column": 10, - "end_line": 323, - "end_column": 24 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.orderDate" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setIsPublic(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setIsPublic(boolean)", + "getLowDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getLowDate()", "comments": [ { - "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", - "start_line": 326, - "end_line": 329, + "content": "\r\n\t * Method getLowDate.\r\n\t * \r\n\t * @return long\r\n\t ", + "start_line": 192, + "end_line": 196, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -57634,93 +69411,56 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setIsPublic(boolean isPublic)", - "parameters": [ - { - "type": "boolean", - "name": "isPublic", - "annotations": [], - "modifiers": [], - "start_line": 330, - "end_line": 330, - "start_column": 26, - "end_column": 41 - } - ], - "code": "{\r\n\t\titem.setIsPublic(isPublic);\r\n\t}", - "start_line": 330, - "end_line": 332, - "code_start_line": 330, - "return_type": "void", + "declaration": "public long getLowDate()", + "parameters": [], + "code": "{\r\n\t\treturn lowDate;\r\n\t}", + "start_line": 197, + "end_line": 199, + "code_start_line": 197, + "return_type": "long", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setIsPublic", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setIsPublic(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 331, - "start_column": 3, - "end_line": 331, - "end_column": 28 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.lowDate" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "ShoppingItem(Inventory)", - "comments": [], + "getInventoryQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getInventoryQuantity()", + "comments": [ + { + "content": "\r\n\t * Method getInventoryQuantity.\r\n\t * \r\n\t * @return int\r\n\t ", + "start_line": 165, + "end_line": 169, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public ShoppingItem(Inventory i)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "i", - "annotations": [], - "modifiers": [], - "start_line": 40, - "end_line": 40, - "start_column": 22, - "end_column": 32 - } - ], - "code": "{\r\n\t\titem = i;\r\n\t}", - "start_line": 40, - "end_line": 42, - "code_start_line": 40, - "return_type": null, + "declaration": "public int getInventoryQuantity()", + "parameters": [], + "code": "{\r\n\t\treturn inventoryQuantity;\r\n\t}", + "start_line": 170, + "end_line": 172, + "code_start_line": 170, + "return_type": "int", "is_implicit": false, - "is_constructor": true, + "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventoryQuantity" ], "call_sites": [], "variable_declarations": [], @@ -57729,14 +69469,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPrice(float)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setPrice(float)", + "setBackOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "setBackOrderID(java.lang.String)", "comments": [ { - "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", - "start_line": 226, - "end_line": 229, + "content": "\r\n\t * Method setBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 93, + "end_line": 97, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -57747,254 +69487,97 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setPrice(float price)", + "declaration": "public void setBackOrderID(String backOrderID)", "parameters": [ { - "type": "float", - "name": "price", + "type": "java.lang.String", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 230, - "end_line": 230, - "start_column": 23, - "end_column": 33 + "start_line": 98, + "end_line": 98, + "start_column": 29, + "end_column": 46 } ], - "code": "{\r\n\t\titem.setPrice(price);\r\n\t}", - "start_line": 230, - "end_line": 232, - "code_start_line": 230, + "code": "{\r\n\t\tthis.backOrderID = backOrderID;\r\n\t}", + "start_line": 98, + "end_line": 100, + "code_start_line": 98, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "referenced_types": [ + "java.lang.String" ], - "call_sites": [ - { - "method_name": "setPrice", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setPrice(float)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 231, - "start_column": 3, - "end_line": 231, - "end_column": 22 - } + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, String, String, String, String, float, float, int, int, String, boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "ShoppingItem(String, String, String, String, String, String, float, float, int, int, String, boolean)", - "comments": [], + "setInventoryQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "setInventoryQuantity(int)", + "comments": [ + { + "content": "\r\n\t * Method setInventoryQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 174, + "end_line": 178, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public ShoppingItem(String key, String name, String heading, String desc, String pkginfo, String image, float price, float cost, int quantity, int category, String notes, boolean isPublic)", + "declaration": "public void setInventoryQuantity(int quantity)", "parameters": [ - { - "type": "java.lang.String", - "name": "key", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 22, - "end_column": 31 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 34, - "end_column": 44 - }, - { - "type": "java.lang.String", - "name": "heading", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 47, - "end_column": 60 - }, - { - "type": "java.lang.String", - "name": "desc", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 63, - "end_column": 73 - }, - { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 76, - "end_column": 89 - }, - { - "type": "java.lang.String", - "name": "image", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 92, - "end_column": 103 - }, - { - "type": "float", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 106, - "end_column": 116 - }, - { - "type": "float", - "name": "cost", - "annotations": [], - "modifiers": [], - "start_line": 45, - "end_line": 45, - "start_column": 4, - "end_column": 13 - }, { "type": "int", "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 45, - "end_line": 45, - "start_column": 16, - "end_column": 27 - }, - { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 45, - "end_line": 45, - "start_column": 30, - "end_column": 41 - }, - { - "type": "java.lang.String", - "name": "notes", - "annotations": [], - "modifiers": [], - "start_line": 45, - "end_line": 45, - "start_column": 44, - "end_column": 55 - }, - { - "type": "boolean", - "name": "isPublic", - "annotations": [], - "modifiers": [], - "start_line": 45, - "end_line": 45, - "start_column": 58, - "end_column": 73 + "start_line": 179, + "end_line": 179, + "start_column": 35, + "end_column": 46 } ], - "code": "{\r\n\t\titem = new Inventory(key, name, heading, desc, pkginfo, image, price, cost, quantity, category, notes,\r\n\t\t\t\tisPublic);\r\n\t}", - "start_line": 44, - "end_line": 48, - "code_start_line": 45, - "return_type": null, + "code": "{\r\n\t\tthis.inventoryQuantity = quantity;\r\n\t}", + "start_line": 179, + "end_line": 181, + "code_start_line": 179, + "return_type": "void", "is_implicit": false, - "is_constructor": true, + "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "", - "", - "", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 46, - "start_column": 10, - "end_line": 47, - "end_column": 13 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventoryQuantity" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getID()", + "setSupplierOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "setSupplierOrderID(java.lang.String)", "comments": [ { - "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", - "start_line": 302, - "end_line": 305, + "content": "\r\n\t * Method setSupplierOrderID.\r\n\t * \r\n\t * @param supplierOrderID\r\n\t ", + "start_line": 111, + "end_line": 115, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58005,58 +69588,49 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getID()", - "parameters": [], - "code": "{\r\n\t\treturn item.getID();\r\n\t}", - "start_line": 306, - "end_line": 308, - "code_start_line": 306, - "return_type": "java.lang.String", + "declaration": "public void setSupplierOrderID(String supplierOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "supplierOrderID", + "annotations": [], + "modifiers": [], + "start_line": 116, + "end_line": 116, + "start_column": 33, + "end_column": 54 + } + ], + "code": "{\r\n\t\tthis.supplierOrderID = supplierOrderID;\r\n\t}", + "start_line": 116, + "end_line": 118, + "code_start_line": 116, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "referenced_types": [ + "java.lang.String" ], - "call_sites": [ - { - "method_name": "getID", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 307, - "start_column": 10, - "end_line": 307, - "end_column": 21 - } + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getImgbytes()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getImgbytes()", + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "()", "comments": [ { - "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", - "start_line": 342, - "end_line": 345, + "content": " Default constructor. ", + "start_line": 44, + "end_line": 44, "start_column": 2, - "end_column": 4, + "end_column": 28, "is_javadoc": true } ], @@ -58065,56 +69639,32 @@ "public" ], "thrown_exceptions": [], - "declaration": "public byte[] getImgbytes()", + "declaration": "public BackOrderItem()", "parameters": [], - "code": "{\r\n\t\treturn item.getImgbytes();\r\n\t}", - "start_line": 346, - "end_line": 348, - "code_start_line": 346, - "return_type": "byte[]", + "code": "{\r\n\t}", + "start_line": 45, + "end_line": 46, + "code_start_line": 45, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getImgbytes", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getImgbytes()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 347, - "start_column": 10, - "end_line": 347, - "end_column": 27 - } - ], + "accessed_fields": [], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getSubtotalPrice()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getSubtotalPrice()", + "getSupplierOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getSupplierOrderID()", "comments": [ { - "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", - "start_line": 50, - "end_line": 52, + "content": "\r\n\t * Method getSupplierOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 102, + "end_line": 106, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58125,75 +69675,34 @@ "public" ], "thrown_exceptions": [], - "declaration": "public float getSubtotalPrice()", + "declaration": "public String getSupplierOrderID()", "parameters": [], - "code": "{\r\n\t\treturn getPrice() * getQuantity();\r\n\t}", - "start_line": 53, - "end_line": 55, - "code_start_line": 53, - "return_type": "float", + "code": "{\r\n\t\treturn supplierOrderID;\r\n\t}", + "start_line": 107, + "end_line": 109, + "code_start_line": 107, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 10, - "end_line": 54, - "end_column": 19 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 23, - "end_line": 54, - "end_column": 35 - } + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setDescription(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setDescription(String)", + "getName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getName()", "comments": [ { - "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", - "start_line": 130, - "end_line": 133, + "content": "\r\n\t * Method getName.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 138, + "end_line": 142, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58204,69 +69713,34 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setDescription(String description)", - "parameters": [ - { - "type": "java.lang.String", - "name": "description", - "annotations": [], - "modifiers": [], - "start_line": 134, - "end_line": 134, - "start_column": 29, - "end_column": 46 - } - ], - "code": "{\r\n\t\titem.setDescription(description);\r\n\t}", - "start_line": 134, - "end_line": 136, - "code_start_line": 134, - "return_type": "void", + "declaration": "public String getName()", + "parameters": [], + "code": "{\r\n\t\treturn name;\r\n\t}", + "start_line": 143, + "end_line": 145, + "code_start_line": 143, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setDescription", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setDescription(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 135, - "start_column": 3, - "end_line": 135, - "end_column": 34 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.name" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHeading(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setHeading(String)", + "setQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "setQuantity(int)", "comments": [ { - "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", - "start_line": 146, - "end_line": 149, + "content": "\r\n\t * Method setQuantity.\r\n\t * \r\n\t * @param quantity\r\n\t ", + "start_line": 120, + "end_line": 124, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58277,69 +69751,45 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setHeading(String heading)", + "declaration": "public void setQuantity(int quantity)", "parameters": [ { - "type": "java.lang.String", - "name": "heading", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 150, - "end_line": 150, - "start_column": 25, - "end_column": 38 + "start_line": 125, + "end_line": 125, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\titem.setHeading(heading);\r\n\t}", - "start_line": 150, - "end_line": 152, - "code_start_line": 150, + "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", + "start_line": 125, + "end_line": 127, + "code_start_line": 125, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setHeading", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setHeading(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 151, - "start_column": 3, - "end_line": 151, - "end_column": 26 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getNotes()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getNotes()", + "getStatus()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getStatus()", "comments": [ { - "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", - "start_line": 186, - "end_line": 189, + "content": "\r\n\t * Method getStatus.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 183, + "end_line": 187, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58350,56 +69800,34 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getNotes()", + "declaration": "public String getStatus()", "parameters": [], - "code": "{\r\n\t\treturn item.getNotes();\r\n\t}", - "start_line": 190, - "end_line": 192, - "code_start_line": 190, + "code": "{\r\n\t\treturn status;\r\n\t}", + "start_line": 188, + "end_line": 190, + "code_start_line": 188, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "getNotes", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getNotes()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 191, - "start_column": 10, - "end_line": 191, - "end_column": 24 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.status" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCategory()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "getCategory()", + "(com.ibm.websphere.samples.pbw.jpa.BackOrder)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.BackOrder)", "comments": [ { - "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", - "start_line": 90, - "end_line": 93, + "content": "\r\n\t * Method BackOrderItem.\r\n\t * \r\n\t * @param backOrder\r\n\t ", + "start_line": 65, + "end_line": 69, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58410,28 +69838,93 @@ "public" ], "thrown_exceptions": [], - "declaration": "public int getCategory()", - "parameters": [], - "code": "{\r\n\t\treturn item.getCategory();\r\n\t}", - "start_line": 94, - "end_line": 96, - "code_start_line": 94, - "return_type": "int", + "declaration": "public BackOrderItem(BackOrder backOrder)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "name": "backOrder", + "annotations": [], + "modifiers": [], + "start_line": 70, + "end_line": 70, + "start_column": 23, + "end_column": 41 + } + ], + "code": "{\r\n\t\ttry {\r\n\t\t\tthis.backOrderID = backOrder.getBackOrderID();\r\n\t\t\tthis.inventory = backOrder.getInventory();\r\n\t\t\tthis.quantity = backOrder.getQuantity();\r\n\t\t\tthis.status = backOrder.getStatus();\r\n\t\t\tthis.lowDate = backOrder.getLowDate();\r\n\t\t\tthis.orderDate = backOrder.getOrderDate();\r\n\t\t\tthis.supplierOrderID = backOrder.getSupplierOrderID();\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"BackOrderItem - Exception: \" + e);\r\n\t\t}\r\n\t}", + "start_line": 70, + "end_line": 82, + "code_start_line": 70, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [], + "is_constructor": true, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + "com.ibm.websphere.samples.pbw.war.BackOrderItem.quantity", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.supplierOrderID", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.inventory", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.status", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.lowDate", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.orderDate", + "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" ], "call_sites": [ { - "method_name": "getCategory", + "method_name": "getBackOrderID", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getBackOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 72, + "start_column": 23, + "end_line": 72, + "end_column": 48 + }, + { + "method_name": "getInventory", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInventory()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 21, + "end_line": 73, + "end_column": 44 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getCategory()", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -58440,26 +69933,140 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 10, - "end_line": 95, - "end_column": 27 + "start_line": 74, + "start_column": 20, + "end_line": 74, + "end_column": 42 + }, + { + "method_name": "getStatus", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getStatus()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 75, + "start_column": 18, + "end_line": 75, + "end_column": 38 + }, + { + "method_name": "getLowDate", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getLowDate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 19, + "end_line": 76, + "end_column": 40 + }, + { + "method_name": "getOrderDate", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getOrderDate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 77, + "start_column": 21, + "end_line": 77, + "end_column": 44 + }, + { + "method_name": "getSupplierOrderID", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSupplierOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 78, + "start_column": 27, + "end_line": 78, + "end_column": 56 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderItem - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 80, + "start_column": 4, + "end_line": 80, + "end_column": 48 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setCost(float)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", - "signature": "setCost(float)", + "setName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "setName(java.lang.String)", "comments": [ { - "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", - "start_line": 114, - "end_line": 117, + "content": "\r\n\t * Method setName.\r\n\t * \r\n\t * @param name\r\n\t ", + "start_line": 147, + "end_line": 151, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58470,55 +70077,71 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setCost(float cost)", + "declaration": "public void setName(String name)", "parameters": [ { - "type": "float", - "name": "cost", + "type": "java.lang.String", + "name": "name", "annotations": [], "modifiers": [], - "start_line": 118, - "end_line": 118, + "start_line": 152, + "end_line": 152, "start_column": 22, - "end_column": 31 + "end_column": 32 + } + ], + "code": "{\r\n\t\tthis.name = name;\r\n\t}", + "start_line": 152, + "end_line": 154, + "code_start_line": 152, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.BackOrderItem.name" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBackOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/BackOrderItem.java", + "signature": "getBackOrderID()", + "comments": [ + { + "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @return String\r\n\t ", + "start_line": 84, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], - "code": "{\r\n\t\titem.setCost(cost);\r\n\t}", - "start_line": 118, - "end_line": 120, - "code_start_line": 118, - "return_type": "void", + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getBackOrderID()", + "parameters": [], + "code": "{\r\n\t\treturn backOrderID;\r\n\t}", + "start_line": 89, + "end_line": 91, + "code_start_line": 89, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" - ], - "call_sites": [ - { - "method_name": "setCost", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setCost(float)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 3, - "end_line": 119, - "end_column": 20 - } + "com.ibm.websphere.samples.pbw.war.BackOrderItem.backOrderID" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -58529,17 +70152,17 @@ "field_declarations": [ { "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, + "content": "\r\n\t * \r\n\t ", + "start_line": 27, + "end_line": 29, + "start_column": 2, + "end_column": 4, "is_javadoc": false }, "name": null, "type": "long", - "start_line": 33, - "end_line": 33, + "start_line": 30, + "end_line": 30, "variables": [ "serialVersionUID" ], @@ -58560,11 +70183,179 @@ "is_javadoc": false }, "name": null, - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "type": "java.lang.String", + "start_line": 31, + "end_line": 31, + "variables": [ + "name" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 32, + "end_line": 32, + "variables": [ + "inventoryQuantity" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 33, + "end_line": 33, + "start_column": 30, + "end_column": 46, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 33, + "end_line": 33, + "variables": [ + "backOrderID" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 34, + "end_line": 34, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + "name": null, + "type": "int", "start_line": 34, "end_line": 34, "variables": [ - "item" + "quantity" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 35, + "end_line": 35, + "start_column": 25, + "end_column": 41, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 35, + "end_line": 35, + "variables": [ + "status" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 36, + "end_line": 36, + "start_column": 24, + "end_column": 40, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 36, + "end_line": 36, + "variables": [ + "lowDate" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 37, + "end_line": 37, + "start_column": 26, + "end_column": 42, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 37, + "end_line": 37, + "variables": [ + "orderDate" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 38, + "end_line": 38, + "start_column": 34, + "end_column": 50, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 38, + "end_line": 38, + "variables": [ + "supplierOrderID" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": " from BackOrder", + "start_line": 39, + "end_line": 39, + "start_column": 31, + "end_column": 47, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "start_line": 39, + "end_line": 39, + "variables": [ + "inventory" ], "modifiers": [ "private" @@ -58580,9 +70371,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -58681,7 +70472,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -58705,65 +70496,329 @@ "is_javadoc": false }, { - "content": "\r\n * A class to hold a shopping cart's contents.\r\n ", - "start_line": 24, - "end_line": 26, + "content": "\r\n * ShoppingItem wraps the JPA Inventory entity class to provide additional methods needed by the web\r\n * app.\r\n ", + "start_line": 27, + "end_line": 30, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * \r\n\t ", - "start_line": 28, - "end_line": 30, + "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", + "start_line": 50, + "end_line": 52, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param o\r\n\t * @return boolean true if object equals this\r\n\t * @see java.lang.Object#equals(java.lang.Object)\r\n\t ", + "start_line": 57, + "end_line": 61, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", + "start_line": 66, + "end_line": 69, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", + "start_line": 74, + "end_line": 77, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", + "start_line": 82, + "end_line": 85, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", + "start_line": 90, + "end_line": 93, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", + "start_line": 98, + "end_line": 101, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", + "start_line": 106, + "end_line": 109, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", + "start_line": 114, + "end_line": 117, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", + "start_line": 122, + "end_line": 125, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", + "start_line": 130, + "end_line": 133, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", + "start_line": 138, + "end_line": 141, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", + "start_line": 146, + "end_line": 149, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", + "start_line": 154, + "end_line": 157, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", + "start_line": 162, + "end_line": 165, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", + "start_line": 170, + "end_line": 173, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", + "start_line": 178, + "end_line": 181, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", + "start_line": 186, + "end_line": 189, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", + "start_line": 194, + "end_line": 197, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", + "start_line": 202, + "end_line": 205, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", + "start_line": 210, + "end_line": 213, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", + "start_line": 218, + "end_line": 221, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", + "start_line": 234, + "end_line": 240, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", + "start_line": 246, + "end_line": 249, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", + "start_line": 254, + "end_line": 257, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", + "start_line": 262, + "end_line": 265, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", + "start_line": 270, + "end_line": 273, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", + "start_line": 278, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", + "start_line": 294, + "end_line": 297, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", + "start_line": 302, + "end_line": 305, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", + "start_line": 310, + "end_line": 313, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", + "start_line": 318, + "end_line": 321, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Add the item to the shopping cart. ", - "start_line": 38, - "end_line": 38, + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", + "start_line": 326, + "end_line": 329, "start_column": 2, - "end_column": 42, + "end_column": 4, "is_javadoc": true }, { - "content": " Update the item in the shopping cart. ", - "start_line": 43, - "end_line": 43, + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", + "start_line": 334, + "end_line": 337, "start_column": 2, - "end_column": 45, + "end_column": 4, "is_javadoc": true }, { - "content": " Remove the item from the shopping cart. ", - "start_line": 48, - "end_line": 48, + "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", + "start_line": 342, + "end_line": 345, "start_column": 2, - "end_column": 47, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", - "start_line": 53, - "end_line": 57, + "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", + "start_line": 350, + "end_line": 353, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", - "start_line": 62, - "end_line": 67, + "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", + "start_line": 358, + "end_line": 361, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", - "start_line": 82, - "end_line": 87, + "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", + "start_line": 366, + "end_line": 369, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -58778,12 +70833,13 @@ } ], "imports": [ - "java.util.Enumeration", - "java.util.Hashtable", + "java.io.Serializable", + "javax.validation.constraints.Min", + "com.ibm.websphere.samples.pbw.jpa.BackOrder", "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent": { + "com.ibm.websphere.samples.pbw.war.ShoppingItem": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -58795,392 +70851,353 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * \r\n\t ", - "start_line": 28, - "end_line": 30, + "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", + "start_line": 50, + "end_line": 52, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Add the item to the shopping cart. ", - "start_line": 38, - "end_line": 38, + "content": "\r\n\t * @param o\r\n\t * @return boolean true if object equals this\r\n\t * @see java.lang.Object#equals(java.lang.Object)\r\n\t ", + "start_line": 57, + "end_line": 61, "start_column": 2, - "end_column": 42, + "end_column": 4, "is_javadoc": true }, { - "content": " Update the item in the shopping cart. ", - "start_line": 43, - "end_line": 43, + "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", + "start_line": 66, + "end_line": 69, "start_column": 2, - "end_column": 45, + "end_column": 4, "is_javadoc": true }, { - "content": " Remove the item from the shopping cart. ", - "start_line": 48, - "end_line": 48, + "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", + "start_line": 74, + "end_line": 77, "start_column": 2, - "end_column": 47, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", - "start_line": 53, - "end_line": 57, + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", + "start_line": 82, + "end_line": 85, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", - "start_line": 62, - "end_line": 67, + "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", + "start_line": 90, + "end_line": 93, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", - "start_line": 82, - "end_line": 87, + "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", + "start_line": 98, + "end_line": 101, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * A class to hold a shopping cart's contents.\r\n ", - "start_line": 24, - "end_line": 26, - "start_column": 1, - "end_column": 3, + "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", + "start_line": 106, + "end_line": 109, + "start_column": 2, + "end_column": 4, "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getQuantity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "getQuantity(String)", - "comments": [ - { - "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", - "start_line": 82, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getQuantity(String inventoryID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 88, - "end_line": 88, - "start_column": 25, - "end_column": 42 - } - ], - "code": "{\r\n\t\tInteger quantity = (Integer) table.get(inventoryID);\r\n\r\n\t\tif (quantity == null)\r\n\t\t\treturn 0;\r\n\t\telse\r\n\t\t\treturn quantity.intValue();\r\n\t}", - "start_line": 88, - "end_line": 95, - "code_start_line": 88, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "get(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 89, - "start_column": 32, - "end_line": 89, - "end_column": 53 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "quantity", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 94, - "start_column": 11, - "end_line": 94, - "end_column": 29 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "java.lang.Integer", - "initializer": "(Integer) table.get(inventoryID)", - "start_line": 89, - "start_column": 11, - "end_line": 89, - "end_column": 53 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false }, - "addItem(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "addItem(Inventory)", - "comments": [ - { - "content": " Add the item to the shopping cart. ", - "start_line": 38, - "end_line": 38, - "start_column": 2, - "end_column": 42, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void addItem(Inventory si)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "si", - "annotations": [], - "modifiers": [], - "start_line": 39, - "end_line": 39, - "start_column": 22, - "end_column": 33 - } - ], - "code": "{\r\n\t\ttable.put(si.getID(), new Integer(si.getQuantity()));\r\n\t}", - "start_line": 39, - "end_line": 41, - "code_start_line": 39, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" - ], - "call_sites": [ - { - "method_name": "put", - "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", - "argument_types": [ - "java.lang.String", - "java.lang.Integer" - ], - "return_type": "java.lang.Integer", - "callee_signature": "put(K, V)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 3, - "end_line": 40, - "end_column": 54 - }, - { - "method_name": "getID", - "comment": null, - "receiver_expr": "si", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 13, - "end_line": 40, - "end_column": 22 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "si", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 37, - "end_line": 40, - "end_column": 52 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 25, - "end_line": 40, - "end_column": 53 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", + "start_line": 114, + "end_line": 117, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", + "start_line": 122, + "end_line": 125, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", + "start_line": 130, + "end_line": 133, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", + "start_line": 138, + "end_line": 141, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", + "start_line": 146, + "end_line": 149, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", + "start_line": 154, + "end_line": 157, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", + "start_line": 162, + "end_line": 165, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", + "start_line": 170, + "end_line": 173, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", + "start_line": 178, + "end_line": 181, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", + "start_line": 186, + "end_line": 189, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", + "start_line": 194, + "end_line": 197, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", + "start_line": 202, + "end_line": 205, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", + "start_line": 210, + "end_line": 213, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", + "start_line": 218, + "end_line": 221, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", + "start_line": 234, + "end_line": 240, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", + "start_line": 246, + "end_line": 249, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", + "start_line": 254, + "end_line": 257, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "ShoppingCartContent()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ShoppingCartContent()", - "parameters": [], - "code": "{\r\n\t\ttable = new Hashtable();\r\n\t}", - "start_line": 34, - "end_line": 36, - "code_start_line": 34, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" - ], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Hashtable", - "argument_types": [], - "return_type": "java.util.Hashtable", - "callee_signature": "Hashtable()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 35, - "start_column": 11, - "end_line": 35, - "end_column": 42 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", + "start_line": 262, + "end_line": 265, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "getInventoryID(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "getInventoryID(int)", + { + "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", + "start_line": 270, + "end_line": 273, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", + "start_line": 278, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", + "start_line": 294, + "end_line": 297, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", + "start_line": 302, + "end_line": 305, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", + "start_line": 310, + "end_line": 313, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", + "start_line": 318, + "end_line": 321, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", + "start_line": 326, + "end_line": 329, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", + "start_line": 334, + "end_line": 337, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", + "start_line": 342, + "end_line": 345, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", + "start_line": 350, + "end_line": 353, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", + "start_line": 358, + "end_line": 361, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", + "start_line": 366, + "end_line": 369, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * ShoppingItem wraps the JPA Inventory entity class to provide additional methods needed by the web\r\n * app.\r\n ", + "start_line": 27, + "end_line": 30, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.lang.Cloneable", + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "setHeading(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setHeading(java.lang.String)", "comments": [ { - "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", - "start_line": 62, - "end_line": 67, + "content": "\r\n\t * @param heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setHeading(java.lang.String)\r\n\t ", + "start_line": 146, + "end_line": 149, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -59191,226 +71208,44 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getInventoryID(int index)", + "declaration": "public void setHeading(String heading)", "parameters": [ { - "type": "int", - "name": "index", - "annotations": [], - "modifiers": [], - "start_line": 68, - "end_line": 68, - "start_column": 31, - "end_column": 39 - } - ], - "code": "{\r\n\t\tString retval = null;\r\n\t\tString inventoryID;\r\n\t\tint cnt = 0;\r\n\t\tfor (Enumeration myEnum = table.keys(); myEnum.hasMoreElements(); cnt++) {\r\n\t\t\tinventoryID = (String) myEnum.nextElement();\r\n\t\t\tif (index == cnt) {\r\n\t\t\t\tretval = inventoryID;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retval;\r\n\t}", - "start_line": 68, - "end_line": 80, - "code_start_line": 68, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Enumeration", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" - ], - "call_sites": [ - { - "method_name": "keys", - "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", - "argument_types": [], - "return_type": "java.util.Enumeration", - "callee_signature": "keys()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 37, - "end_line": 72, - "end_column": 48 - }, - { - "method_name": "hasMoreElements", - "comment": null, - "receiver_expr": "myEnum", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "", - "callee_signature": "hasMoreElements()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 51, - "end_line": 72, - "end_column": 74 - }, - { - "method_name": "nextElement", - "comment": null, - "receiver_expr": "myEnum", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "nextElement()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 27, - "end_line": 73, - "end_column": 46 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "retval", - "type": "java.lang.String", - "initializer": "null", - "start_line": 69, - "start_column": 10, - "end_line": 69, - "end_column": 22 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inventoryID", "type": "java.lang.String", - "initializer": "", - "start_line": 70, - "start_column": 10, - "end_line": 70, - "end_column": 20 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cnt", - "type": "int", - "initializer": "0", - "start_line": 71, - "start_column": 7, - "end_line": 71, - "end_column": 13 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "myEnum", - "type": "java.util.Enumeration", - "initializer": "table.keys()", - "start_line": 72, - "start_column": 28, - "end_line": 72, - "end_column": 48 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "removeItem(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "removeItem(Inventory)", - "comments": [ - { - "content": " Remove the item from the shopping cart. ", - "start_line": 48, - "end_line": 48, - "start_column": 2, - "end_column": 47, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void removeItem(Inventory si)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "si", + "name": "heading", "annotations": [], "modifiers": [], - "start_line": 49, - "end_line": 49, + "start_line": 150, + "end_line": 150, "start_column": 25, - "end_column": 36 + "end_column": 38 } ], - "code": "{\r\n\t\ttable.remove(si.getID());\r\n\t}", - "start_line": 49, - "end_line": 51, - "code_start_line": 49, + "code": "{\r\n\t\titem.setHeading(heading);\r\n\t}", + "start_line": 150, + "end_line": 152, + "code_start_line": 150, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], "call_sites": [ { - "method_name": "remove", + "method_name": "setHeading", "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.Integer", - "callee_signature": "remove(java.lang.Object)", + "argument_expr": [ + "heading" + ], + "return_type": "", + "callee_signature": "setHeading(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -59419,31 +71254,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 50, + "start_line": 151, "start_column": 3, - "end_line": 50, + "end_line": 151, "end_column": 26 - }, - { - "method_name": "getID", - "comment": null, - "receiver_expr": "si", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 50, - "start_column": 16, - "end_line": 50, - "end_column": 25 } ], "variable_declarations": [], @@ -59452,16 +71266,16 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "updateItem(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "updateItem(Inventory)", + "setImage(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setImage(java.lang.String)", "comments": [ { - "content": " Update the item in the shopping cart. ", - "start_line": 43, - "end_line": 43, + "content": "\r\n\t * @param image\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImage(java.lang.String)\r\n\t ", + "start_line": 162, + "end_line": 165, "start_column": 2, - "end_column": 45, + "end_column": 4, "is_javadoc": true } ], @@ -59470,84 +71284,44 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void updateItem(Inventory si)", + "declaration": "public void setImage(String image)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "si", + "type": "java.lang.String", + "name": "image", "annotations": [], "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 25, - "end_column": 36 + "start_line": 166, + "end_line": 166, + "start_column": 23, + "end_column": 34 } ], - "code": "{\r\n\t\ttable.put(si.getID(), new Integer(si.getQuantity()));\r\n\t}", - "start_line": 44, - "end_line": 46, - "code_start_line": 44, + "code": "{\r\n\t\titem.setImage(image);\r\n\t}", + "start_line": 166, + "end_line": 168, + "code_start_line": 166, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" - ], - "call_sites": [ - { - "method_name": "put", - "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", - "argument_types": [ - "java.lang.String", - "java.lang.Integer" - ], - "return_type": "java.lang.Integer", - "callee_signature": "put(K, V)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 3, - "end_line": 45, - "end_column": 54 - }, - { - "method_name": "getID", - "comment": null, - "receiver_expr": "si", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 13, - "end_line": 45, - "end_column": 22 - }, + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ { - "method_name": "getQuantity", + "method_name": "setImage", "comment": null, - "receiver_expr": "si", + "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "image" + ], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "setImage(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -59556,33 +71330,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 45, - "start_column": 37, - "end_line": 45, - "end_column": 52 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 25, - "end_line": 45, - "end_column": 53 + "start_line": 167, + "start_column": 3, + "end_line": 167, + "end_column": 22 } ], "variable_declarations": [], @@ -59591,14 +71342,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "size()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", - "signature": "size()", + "getDescription()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getDescription()", "comments": [ { - "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", - "start_line": 53, - "end_line": 57, + "content": "\r\n\t * @return String description of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getDescription()\r\n\t ", + "start_line": 122, + "end_line": 125, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -59609,28 +71360,29 @@ "public" ], "thrown_exceptions": [], - "declaration": "public int size()", + "declaration": "public String getDescription()", "parameters": [], - "code": "{\r\n\t\treturn table.size();\r\n\t}", - "start_line": 58, - "end_line": 60, - "code_start_line": 58, - "return_type": "int", + "code": "{\r\n\t\treturn item.getDescription();\r\n\t}", + "start_line": 126, + "end_line": 128, + "code_start_line": 126, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], "call_sites": [ { - "method_name": "size", + "method_name": "getDescription", "comment": null, - "receiver_expr": "table", - "receiver_type": "java.util.Hashtable", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "", - "callee_signature": "size()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getDescription()", "is_public": true, "is_protected": false, "is_private": false, @@ -59639,10 +71391,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 59, + "start_line": 127, "start_column": 10, - "end_line": 59, - "end_column": 21 + "end_line": 127, + "end_column": 30 } ], "variable_declarations": [], @@ -59650,1530 +71402,1829 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 28, - "end_line": 30, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 31, - "end_line": 31, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.util.Hashtable", - "start_line": 32, - "end_line": 32, - "variables": [ - "table" - ], - "modifiers": [ - "private" + "increaseInventory(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "increaseInventory(int)", + "comments": [ + { + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#increaseInventory(int)\r\n\t ", + "start_line": 82, + "end_line": 85, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", - "package_name": "com.ibm.websphere.samples.pbw.war", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Simple helper class for JSF validators to handle error messages.\r\n *\r\n ", - "start_line": 25, - "end_line": 28, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.faces.application.FacesMessage", - "javax.faces.component.UIComponent", - "javax.faces.context.FacesContext", - "javax.faces.validator.ValidatorException" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.war.ValidatorUtils": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n * Simple helper class for JSF validators to handle error messages.\r\n *\r\n ", - "start_line": 25, - "end_line": 28, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "addErrorMessage(FacesContext, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", - "signature": "addErrorMessage(FacesContext, String)", - "comments": [], "annotations": [], "modifiers": [ - "protected", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "protected static void addErrorMessage(FacesContext context, String message)", + "declaration": "public void increaseInventory(int quantity)", "parameters": [ { - "type": "FacesContext", - "name": "context", - "annotations": [], - "modifiers": [], - "start_line": 30, - "end_line": 30, - "start_column": 40, - "end_column": 59 - }, - { - "type": "java.lang.String", - "name": "message", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 30, - "end_line": 30, - "start_column": 62, - "end_column": 75 + "start_line": 86, + "end_line": 86, + "start_column": 32, + "end_column": 43 } ], - "code": "{\r\n\t\tFacesMessage facesMessage = new FacesMessage();\r\n\t\tfacesMessage.setDetail(message);\r\n\t\tfacesMessage.setSummary(message);\r\n\t\tfacesMessage.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\tthrow new ValidatorException(facesMessage);\r\n\t}", - "start_line": 30, - "end_line": 36, - "code_start_line": 30, + "code": "{\r\n\t\titem.increaseInventory(quantity);\r\n\t}", + "start_line": 86, + "end_line": 88, + "code_start_line": 86, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "FacesMessage" - ], + "referenced_types": [], "accessed_fields": [ - "SEVERITY_ERROR" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], "call_sites": [ { - "method_name": "setDetail", + "method_name": "increaseInventory", "comment": null, - "receiver_expr": "facesMessage", - "receiver_type": "", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 32, - "start_column": 3, - "end_line": 32, - "end_column": 33 - }, - { - "method_name": "setSummary", - "comment": null, - "receiver_expr": "facesMessage", - "receiver_type": "", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "quantity" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "increaseInventory(int)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 33, + "start_line": 87, "start_column": 3, - "end_line": 33, + "end_line": 87, "end_column": 34 - }, + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setImgbytes(byte[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setImgbytes(byte[])", + "comments": [ { - "method_name": "setSeverity", + "content": "\r\n\t * @param imgbytes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setImgbytes(byte[])\r\n\t ", + "start_line": 350, + "end_line": 353, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setImgbytes(byte[] imgbytes)", + "parameters": [ + { + "type": "byte[]", + "name": "imgbytes", + "annotations": [], + "modifiers": [], + "start_line": 354, + "end_line": 354, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\titem.setImgbytes(imgbytes);\r\n\t}", + "start_line": 354, + "end_line": 356, + "code_start_line": 354, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setImgbytes", "comment": null, - "receiver_expr": "facesMessage", - "receiver_type": "", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "" ], + "argument_expr": [ + "imgbytes" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setImgbytes(byte[])", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 34, + "start_line": 355, "start_column": 3, - "end_line": 34, - "end_column": 55 - }, + "end_line": 355, + "end_column": 28 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getMaxThreshold()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getMaxThreshold()", + "comments": [ + { + "content": "\r\n\t * @return int maximum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMaxThreshold()\r\n\t ", + "start_line": 254, + "end_line": 257, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getMaxThreshold()", + "parameters": [], + "code": "{\r\n\t\treturn item.getMaxThreshold();\r\n\t}", + "start_line": 258, + "end_line": 260, + "code_start_line": 258, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ { - "method_name": "", + "method_name": "getMaxThreshold", "comment": null, - "receiver_expr": "", - "receiver_type": "FacesMessage", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "FacesMessage", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 31, - "start_column": 31, - "end_line": 31, - "end_column": 48 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "ValidatorException", - "argument_types": [ - "" - ], - "return_type": "ValidatorException", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "getMaxThreshold()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 35, - "start_column": 9, - "end_line": 35, - "end_column": 44 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "facesMessage", - "type": "FacesMessage", - "initializer": "new FacesMessage()", - "start_line": 31, - "start_column": 16, - "end_line": 31, - "end_column": 48 + "start_line": 259, + "start_column": 10, + "end_line": 259, + "end_column": 31 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "addErrorMessage(FacesContext, UIComponent)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", - "signature": "addErrorMessage(FacesContext, UIComponent)", - "comments": [], + "getInventoryId()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getInventoryId()", + "comments": [ + { + "content": "\r\n\t * @return String item ID in the inventory\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getInventoryId()\r\n\t ", + "start_line": 286, + "end_line": 289, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ - "protected", - "static" + "public" ], "thrown_exceptions": [], - "declaration": "protected static void addErrorMessage(FacesContext context, UIComponent component)", - "parameters": [ - { - "type": "FacesContext", - "name": "context", - "annotations": [], - "modifiers": [], - "start_line": 38, - "end_line": 38, - "start_column": 40, - "end_column": 59 - }, - { - "type": "UIComponent", - "name": "component", - "annotations": [], - "modifiers": [], - "start_line": 38, - "end_line": 38, - "start_column": 62, - "end_column": 82 - } - ], - "code": "{\r\n\t\tString errorMessage = (String) component.getAttributes().get(\"errorMessage\");\r\n\r\n\t\taddErrorMessage(context, errorMessage);\r\n\t}", - "start_line": 38, - "end_line": 42, - "code_start_line": 38, - "return_type": "void", + "declaration": "public String getInventoryId()", + "parameters": [], + "code": "{\r\n\t\treturn item.getInventoryId();\r\n\t}", + "start_line": 290, + "end_line": 292, + "code_start_line": 290, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "get", + "method_name": "getInventoryId", "comment": null, - "receiver_expr": "component.getAttributes()", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "", - "is_public": false, + "callee_signature": "getInventoryId()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 39, - "start_column": 34, - "end_line": 39, - "end_column": 78 - }, + "start_line": 291, + "start_column": 10, + "end_line": 291, + "end_column": 30 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPkginfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getPkginfo()", + "comments": [ { - "method_name": "getAttributes", + "content": "\r\n\t * @return String package information\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPkginfo()\r\n\t ", + "start_line": 202, + "end_line": 205, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getPkginfo()", + "parameters": [], + "code": "{\r\n\t\treturn item.getPkginfo();\r\n\t}", + "start_line": 206, + "end_line": 208, + "code_start_line": 206, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getPkginfo", "comment": null, - "receiver_expr": "component", - "receiver_type": "", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPkginfo()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 39, - "start_column": 34, - "end_line": 39, - "end_column": 58 - }, + "start_line": 207, + "start_column": 10, + "end_line": 207, + "end_column": 26 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getMinThreshold()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getMinThreshold()", + "comments": [ { - "method_name": "addErrorMessage", + "content": "\r\n\t * @return int minimum threshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getMinThreshold()\r\n\t ", + "start_line": 270, + "end_line": 273, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getMinThreshold()", + "parameters": [], + "code": "{\r\n\t\treturn item.getMinThreshold();\r\n\t}", + "start_line": 274, + "end_line": 276, + "code_start_line": 274, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getMinThreshold", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "", - "java.lang.String" - ], + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "getMinThreshold()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 41, - "start_column": 3, - "end_line": 41, - "end_column": 40 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "errorMessage", - "type": "java.lang.String", - "initializer": "(String) component.getAttributes().get(\"errorMessage\")", - "start_line": 39, + "start_line": 275, "start_column": 10, - "end_line": 39, - "end_column": 78 + "end_line": 275, + "end_column": 31 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - } - }, - "field_declarations": [], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * Customer is the bean mapping for the CUSTOMER table.\r\n * \r\n * @see Customer\r\n ", - "start_line": 28, - "end_line": 32, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", - "start_line": 66, - "end_line": 89, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", - "start_line": 104, - "end_line": 110, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", - "start_line": 115, - "end_line": 119, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "javax.persistence.Entity", - "javax.persistence.Id", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.Table", - "javax.validation.constraints.NotNull", - "javax.validation.constraints.Pattern", - "javax.validation.constraints.Size" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.Customer": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", - "start_line": 66, - "end_line": 89, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", - "start_line": 104, - "end_line": 110, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", - "start_line": 115, - "end_line": 119, - "start_column": 2, - "end_column": 4, - "is_javadoc": true }, - { - "content": "\r\n * Customer is the bean mapping for the CUSTOMER table.\r\n * \r\n * @see Customer\r\n ", - "start_line": 28, - "end_line": 32, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Entity(name = \"Customer\")", - "@Table(name = \"CUSTOMER\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"removeAllCustomers\", query = \"delete from Customer\") })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setAddrZip(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setAddrZip(String)", - "comments": [], + "hashCode()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "hashCode()", + "comments": [ + { + "content": "\r\n\t * @return int hashcode for this object\r\n\t * @see java.lang.Object#hashCode()\r\n\t ", + "start_line": 66, + "end_line": 69, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAddrZip(String addrZip)", + "declaration": "public int hashCode()", + "parameters": [], + "code": "{\r\n\t\treturn item.hashCode();\r\n\t}", + "start_line": 70, + "end_line": 72, + "code_start_line": 70, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "hashCode", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hashCode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 71, + "start_column": 10, + "end_line": 71, + "end_column": 24 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setMinThreshold(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setMinThreshold(int)", + "comments": [ + { + "content": "\r\n\t * @param minThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMinThreshold(int)\r\n\t ", + "start_line": 278, + "end_line": 281, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setMinThreshold(int minThreshold)", "parameters": [ { - "type": "java.lang.String", - "name": "addrZip", + "type": "int", + "name": "minThreshold", "annotations": [], "modifiers": [], - "start_line": 160, - "end_line": 160, - "start_column": 25, - "end_column": 38 + "start_line": 282, + "end_line": 282, + "start_column": 30, + "end_column": 45 } ], - "code": "{\r\n\t\tthis.addrZip = addrZip;\r\n\t}", - "start_line": 160, - "end_line": 162, - "code_start_line": 160, + "code": "{\r\n\t\titem.setMinThreshold(minThreshold);\r\n\t}", + "start_line": 282, + "end_line": 284, + "code_start_line": 282, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setMinThreshold", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "minThreshold" + ], + "return_type": "", + "callee_signature": "setMinThreshold(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 283, + "start_column": 3, + "end_line": 283, + "end_column": 36 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCustomerID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getCustomerID()", - "comments": [], + "getPrice()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getPrice()", + "comments": [ + { + "content": "\r\n\t * @return float Price of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getPrice()\r\n\t ", + "start_line": 218, + "end_line": 221, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCustomerID()", + "declaration": "public float getPrice()", "parameters": [], - "code": "{\r\n\t\treturn customerID;\r\n\t}", - "start_line": 164, - "end_line": 166, - "code_start_line": 164, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn item.getPrice();\r\n\t}", + "start_line": 222, + "end_line": 224, + "code_start_line": 222, + "return_type": "float", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.customerID" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getPrice", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getPrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 223, + "start_column": 10, + "end_line": 223, + "end_column": 24 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setFirstName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setFirstName(String)", - "comments": [], + "setPrivacy(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setPrivacy(boolean)", + "comments": [ + { + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrivacy(boolean)\r\n\t ", + "start_line": 334, + "end_line": 337, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setFirstName(String firstName)", + "declaration": "public void setPrivacy(boolean isPublic)", "parameters": [ { - "type": "java.lang.String", - "name": "firstName", + "type": "boolean", + "name": "isPublic", "annotations": [], "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 27, - "end_column": 42 + "start_line": 338, + "end_line": 338, + "start_column": 25, + "end_column": 40 } ], - "code": "{\r\n\t\tthis.firstName = firstName;\r\n\t}", - "start_line": 176, - "end_line": 178, - "code_start_line": 176, + "code": "{\r\n\t\titem.setPrivacy(isPublic);\r\n\t}", + "start_line": 338, + "end_line": 340, + "code_start_line": 338, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setPrivacy", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "isPublic" + ], + "return_type": "", + "callee_signature": "setPrivacy(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 339, + "start_column": 3, + "end_line": 339, + "end_column": 27 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setMaxThreshold(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setMaxThreshold(int)", + "comments": [ + { + "content": "\r\n\t * @param maxThreshold\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setMaxThreshold(int)\r\n\t ", + "start_line": 262, + "end_line": 265, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setMaxThreshold(int maxThreshold)", + "parameters": [ + { + "type": "int", + "name": "maxThreshold", + "annotations": [], + "modifiers": [], + "start_line": 266, + "end_line": 266, + "start_column": 30, + "end_column": 45 + } ], + "code": "{\r\n\t\titem.setMaxThreshold(maxThreshold);\r\n\t}", + "start_line": 266, + "end_line": 268, + "code_start_line": 266, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setMaxThreshold", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "maxThreshold" + ], + "return_type": "", + "callee_signature": "setMaxThreshold(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 267, + "start_column": 3, + "end_line": 267, + "end_column": 36 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAddr2()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getAddr2()", + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getAddr2()", + "declaration": "public ShoppingItem()", "parameters": [], - "code": "{\r\n\t\treturn addr2;\r\n\t}", - "start_line": 132, - "end_line": 134, - "code_start_line": 132, + "code": "{\r\n\r\n\t}", + "start_line": 36, + "end_line": 38, + "code_start_line": 36, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getName()", + "comments": [ + { + "content": "\r\n\t * @return String name of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getName()\r\n\t ", + "start_line": 170, + "end_line": 173, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getName()", + "parameters": [], + "code": "{\r\n\t\treturn item.getName();\r\n\t}", + "start_line": 174, + "end_line": 176, + "code_start_line": 174, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addr2" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getName", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 175, + "start_column": 10, + "end_line": 175, + "end_column": 23 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAddr2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setAddr2(String)", - "comments": [], + "setQuantity(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setQuantity(int)", + "comments": [ + { + "content": "\r\n\t * @param quantity\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setQuantity(int)\r\n\t ", + "start_line": 246, + "end_line": 249, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAddr2(String addr2)", + "declaration": "public void setQuantity(int quantity)", "parameters": [ { - "type": "java.lang.String", - "name": "addr2", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 136, - "end_line": 136, - "start_column": 23, - "end_column": 34 + "start_line": 250, + "end_line": 250, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\tthis.addr2 = addr2;\r\n\t}", - "start_line": 136, - "end_line": 138, - "code_start_line": 136, + "code": "{\r\n\t\titem.setQuantity(quantity);\r\n\t}", + "start_line": 250, + "end_line": 252, + "code_start_line": 250, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addr2" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setQuantity", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 251, + "start_column": 3, + "end_line": 251, + "end_column": 28 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCost()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getCost()", + "comments": [ + { + "content": "\r\n\t * @return float cost of the item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCost()\r\n\t ", + "start_line": 106, + "end_line": 109, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getFirstName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getFirstName()", - "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getFirstName()", + "declaration": "public float getCost()", "parameters": [], - "code": "{\r\n\t\treturn firstName;\r\n\t}", - "start_line": 172, - "end_line": 174, - "code_start_line": 172, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn item.getCost();\r\n\t}", + "start_line": 110, + "end_line": 112, + "code_start_line": 110, + "return_type": "float", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getCost", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getCost()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 111, + "start_column": 10, + "end_line": 111, + "end_column": 23 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAddrState(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setAddrState(String)", - "comments": [], + "setCategory(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setCategory(int)", + "comments": [ + { + "content": "\r\n\t * @param category\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCategory(int)\r\n\t ", + "start_line": 98, + "end_line": 101, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAddrState(String addrState)", + "declaration": "public void setCategory(int category)", "parameters": [ { - "type": "java.lang.String", - "name": "addrState", + "type": "int", + "name": "category", "annotations": [], "modifiers": [], - "start_line": 152, - "end_line": 152, - "start_column": 27, - "end_column": 42 + "start_line": 102, + "end_line": 102, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\tthis.addrState = addrState;\r\n\t}", - "start_line": 152, - "end_line": 154, - "code_start_line": 152, + "code": "{\r\n\t\titem.setCategory(category);\r\n\t}", + "start_line": 102, + "end_line": 104, + "code_start_line": 102, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrState" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getAddrCity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getAddrCity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getAddrCity()", - "parameters": [], - "code": "{\r\n\t\treturn addrCity;\r\n\t}", - "start_line": 140, - "end_line": 142, - "code_start_line": 140, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setCategory", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "category" + ], + "return_type": "", + "callee_signature": "setCategory(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 3, + "end_line": 103, + "end_column": 28 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCustomerID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setCustomerID(String)", - "comments": [], + "setInventoryId(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setInventoryId(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setInventoryId(java.lang.String)\r\n\t ", + "start_line": 294, + "end_line": 297, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCustomerID(String customerID)", + "declaration": "public void setInventoryId(String id)", "parameters": [ { "type": "java.lang.String", - "name": "customerID", + "name": "id", "annotations": [], "modifiers": [], - "start_line": 168, - "end_line": 168, - "start_column": 28, - "end_column": 44 + "start_line": 298, + "end_line": 298, + "start_column": 29, + "end_column": 37 } ], - "code": "{\r\n\t\tthis.customerID = customerID;\r\n\t}", - "start_line": 168, - "end_line": 170, - "code_start_line": 168, + "code": "{\r\n\t\titem.setInventoryId(id);\r\n\t}", + "start_line": 298, + "end_line": 300, + "code_start_line": 298, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.customerID" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setInventoryId", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "id" + ], + "return_type": "", + "callee_signature": "setInventoryId(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 299, + "start_column": 3, + "end_line": 299, + "end_column": 25 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAddr1()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getAddr1()", - "comments": [], + "getHeading()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getHeading()", + "comments": [ + { + "content": "\r\n\t * @return String item heading\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getHeading()\r\n\t ", + "start_line": 138, + "end_line": 141, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getAddr1()", + "declaration": "public String getHeading()", "parameters": [], - "code": "{\r\n\t\treturn addr1;\r\n\t}", - "start_line": 124, - "end_line": 126, - "code_start_line": 124, + "code": "{\r\n\t\treturn item.getHeading();\r\n\t}", + "start_line": 142, + "end_line": 144, + "code_start_line": 142, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addr1" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getHeading", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getHeading()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 10, + "end_line": 143, + "end_column": 26 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAddr1(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setAddr1(String)", - "comments": [], - "annotations": [], + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getQuantity()", + "comments": [ + { + "content": "\r\n\t * Property accessor for quantity of items ordered. Quantity may not be less than zero. Bean\r\n\t * Validation will ensure this is true.\r\n\t * \r\n\t * @return int quantity of items\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getQuantity()\r\n\t ", + "start_line": 234, + "end_line": 240, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [ + "@Min(value = 0, message = \"Quantity must be a number greater than or equal to zero.\")" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAddr1(String addr1)", - "parameters": [ - { - "type": "java.lang.String", - "name": "addr1", - "annotations": [], - "modifiers": [], - "start_line": 128, - "end_line": 128, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.addr1 = addr1;\r\n\t}", - "start_line": 128, - "end_line": 130, - "code_start_line": 128, - "return_type": "void", + "declaration": "public int getQuantity()", + "parameters": [], + "code": "{\r\n\t\treturn item.getQuantity();\r\n\t}", + "start_line": 241, + "end_line": 244, + "code_start_line": 242, + "return_type": "int", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addr1" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 243, + "start_column": 10, + "end_line": 243, + "end_column": 27 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getLastName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getLastName()", - "comments": [], + "getBackOrder()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getBackOrder()", + "comments": [ + { + "content": "\r\n\t * @return BackOrder item is on back order\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getBackOrder()\r\n\t ", + "start_line": 358, + "end_line": 361, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getLastName()", + "declaration": "public BackOrder getBackOrder()", "parameters": [], - "code": "{\r\n\t\treturn lastName;\r\n\t}", - "start_line": 180, - "end_line": 182, - "code_start_line": 180, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn item.getBackOrder();\r\n\t}", + "start_line": 362, + "end_line": 364, + "code_start_line": 362, + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.lastName" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getBackOrder", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "getBackOrder()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 363, + "start_column": 10, + "end_line": 363, + "end_column": 28 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "Customer()", - "comments": [], + "getImage()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getImage()", + "comments": [ + { + "content": "\r\n\t * @return String image URI\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImage()\r\n\t ", + "start_line": 154, + "end_line": 157, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Customer()", + "declaration": "public String getImage()", "parameters": [], - "code": "{\r\n\t}", - "start_line": 63, - "end_line": 64, - "code_start_line": 63, - "return_type": null, + "code": "{\r\n\t\treturn item.getImage();\r\n\t}", + "start_line": 158, + "end_line": 160, + "code_start_line": 158, + "return_type": "java.lang.String", "is_implicit": false, - "is_constructor": true, + "is_constructor": false, "referenced_types": [], - "accessed_fields": [], - "call_sites": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getImage", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getImage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 159, + "start_column": 10, + "end_line": 159, + "end_column": 24 + } + ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getPassword()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getPassword()", - "comments": [], + "setPkginfo(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setPkginfo(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param pkginfo\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPkginfo(java.lang.String)\r\n\t ", + "start_line": 210, + "end_line": 213, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getPassword()", - "parameters": [], - "code": "{\r\n\t\treturn password;\r\n\t}", - "start_line": 188, - "end_line": 190, - "code_start_line": 188, - "return_type": "java.lang.String", + "declaration": "public void setPkginfo(String pkginfo)", + "parameters": [ + { + "type": "java.lang.String", + "name": "pkginfo", + "annotations": [], + "modifiers": [], + "start_line": 214, + "end_line": 214, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\titem.setPkginfo(pkginfo);\r\n\t}", + "start_line": 214, + "end_line": 216, + "code_start_line": 214, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.password" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setPkginfo", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "pkginfo" + ], + "return_type": "", + "callee_signature": "setPkginfo(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 215, + "start_column": 3, + "end_line": 215, + "end_column": 26 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAddrZip()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getAddrZip()", - "comments": [], + "toString()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "toString()", + "comments": [ + { + "content": "\r\n\t * @return String String representation of this object\r\n\t * @see java.lang.Object#toString()\r\n\t ", + "start_line": 74, + "end_line": 77, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getAddrZip()", + "declaration": "public String toString()", "parameters": [], - "code": "{\r\n\t\treturn addrZip;\r\n\t}", - "start_line": 156, - "end_line": 158, - "code_start_line": 156, + "code": "{\r\n\t\treturn item.toString();\r\n\t}", + "start_line": 78, + "end_line": 80, + "code_start_line": 78, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "toString", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 79, + "start_column": 10, + "end_line": 79, + "end_column": 24 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPhone(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setPhone(String)", - "comments": [], + "isPublic()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "isPublic()", + "comments": [ + { + "content": "\r\n\t * @return boolean true if this is a public item\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#isPublic()\r\n\t ", + "start_line": 318, + "end_line": 321, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPhone(String phone)", - "parameters": [ - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 200, - "end_line": 200, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.phone = phone;\r\n\t}", - "start_line": 200, - "end_line": 202, - "code_start_line": 200, - "return_type": "void", + "declaration": "public boolean isPublic()", + "parameters": [], + "code": "{\r\n\t\treturn item.isPublic();\r\n\t}", + "start_line": 322, + "end_line": 324, + "code_start_line": 322, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.phone" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "isPublic", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "isPublic()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 323, + "start_column": 10, + "end_line": 323, + "end_column": 24 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "Customer(String, String, String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", - "start_line": 66, - "end_line": 89, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Customer(String key, String password, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", + "declaration": "public ShoppingItem(String key, String name, String heading, String desc, String pkginfo, String image, float price, float cost, int quantity, int category, String notes, boolean isPublic)", "parameters": [ { "type": "java.lang.String", "name": "key", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 18, - "end_column": 27 + "start_line": 44, + "end_line": 44, + "start_column": 22, + "end_column": 31 }, { "type": "java.lang.String", - "name": "password", + "name": "name", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 30, + "start_line": 44, + "end_line": 44, + "start_column": 34, "end_column": 44 }, { "type": "java.lang.String", - "name": "firstName", + "name": "heading", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, + "start_line": 44, + "end_line": 44, "start_column": 47, - "end_column": 62 + "end_column": 60 }, { "type": "java.lang.String", - "name": "lastName", + "name": "desc", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 65, - "end_column": 79 + "start_line": 44, + "end_line": 44, + "start_column": 63, + "end_column": 73 }, { "type": "java.lang.String", - "name": "addr1", + "name": "pkginfo", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 82, - "end_column": 93 + "start_line": 44, + "end_line": 44, + "start_column": 76, + "end_column": 89 }, { "type": "java.lang.String", - "name": "addr2", + "name": "image", "annotations": [], "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 96, - "end_column": 107 + "start_line": 44, + "end_line": 44, + "start_column": 92, + "end_column": 103 }, { - "type": "java.lang.String", - "name": "addrCity", + "type": "float", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, + "start_line": 44, + "end_line": 44, + "start_column": 106, + "end_column": 116 + }, + { + "type": "float", + "name": "cost", + "annotations": [], + "modifiers": [], + "start_line": 45, + "end_line": 45, "start_column": 4, - "end_column": 18 + "end_column": 13 }, { - "type": "java.lang.String", - "name": "addrState", + "type": "int", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 21, - "end_column": 36 + "start_line": 45, + "end_line": 45, + "start_column": 16, + "end_column": 27 }, { - "type": "java.lang.String", - "name": "addrZip", + "type": "int", + "name": "category", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 39, - "end_column": 52 + "start_line": 45, + "end_line": 45, + "start_column": 30, + "end_column": 41 }, { "type": "java.lang.String", - "name": "phone", + "name": "notes", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 55, - "end_column": 66 + "start_line": 45, + "end_line": 45, + "start_column": 44, + "end_column": 55 + }, + { + "type": "boolean", + "name": "isPublic", + "annotations": [], + "modifiers": [], + "start_line": 45, + "end_line": 45, + "start_column": 58, + "end_column": 73 } ], - "code": "{\r\n\t\tthis.setCustomerID(key);\r\n\t\tthis.setPassword(password);\r\n\t\tthis.setFirstName(firstName);\r\n\t\tthis.setLastName(lastName);\r\n\t\tthis.setAddr1(addr1);\r\n\t\tthis.setAddr2(addr2);\r\n\t\tthis.setAddrCity(addrCity);\r\n\t\tthis.setAddrState(addrState);\r\n\t\tthis.setAddrZip(addrZip);\r\n\t\tthis.setPhone(phone);\r\n\t}", - "start_line": 90, - "end_line": 102, - "code_start_line": 91, + "code": "{\r\n\t\titem = new Inventory(key, name, heading, desc, pkginfo, image, price, cost, quantity, category, notes,\r\n\t\t\t\tisPublic);\r\n\t}", + "start_line": 44, + "end_line": 48, + "code_start_line": 45, "return_type": null, "is_implicit": false, "is_constructor": true, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity", - "com.ibm.websphere.samples.pbw.jpa.Customer.addrState", - "com.ibm.websphere.samples.pbw.jpa.Customer.password", - "com.ibm.websphere.samples.pbw.jpa.Customer.addr2", - "com.ibm.websphere.samples.pbw.jpa.Customer.lastName", - "com.ibm.websphere.samples.pbw.jpa.Customer.addr1", - "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip", - "com.ibm.websphere.samples.pbw.jpa.Customer.phone", - "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], "call_sites": [ { - "method_name": "setCustomerID", + "method_name": "", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "", + "", + "", + "java.lang.String", + "" ], - "return_type": "", - "callee_signature": "setCustomerID(java.lang.String)", - "is_public": true, + "argument_expr": [ + "key", + "name", + "heading", + "desc", + "pkginfo", + "image", + "price", + "cost", + "quantity", + "category", + "notes", + "isPublic" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "Inventory(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 92, - "start_column": 3, - "end_line": 92, - "end_column": 25 - }, + "start_line": 46, + "start_column": 10, + "end_line": 47, + "end_column": 13 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setIsPublic(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setIsPublic(boolean)", + "comments": [ { - "method_name": "setPassword", + "content": "\r\n\t * @param isPublic\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setIsPublic(boolean)\r\n\t ", + "start_line": 326, + "end_line": 329, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setIsPublic(boolean isPublic)", + "parameters": [ + { + "type": "boolean", + "name": "isPublic", + "annotations": [], + "modifiers": [], + "start_line": 330, + "end_line": 330, + "start_column": 26, + "end_column": 41 + } + ], + "code": "{\r\n\t\titem.setIsPublic(isPublic);\r\n\t}", + "start_line": 330, + "end_line": 332, + "code_start_line": 330, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setIsPublic", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ - "java.lang.String" + "" + ], + "argument_expr": [ + "isPublic" ], "return_type": "", - "callee_signature": "setPassword(java.lang.String)", + "callee_signature": "setIsPublic(boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -61182,21 +73233,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, + "start_line": 331, "start_column": 3, - "end_line": 93, + "end_line": 331, "end_column": 28 - }, + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPrice(float)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setPrice(float)", + "comments": [ { - "method_name": "setFirstName", + "content": "\r\n\t * @param price\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setPrice(float)\r\n\t ", + "start_line": 226, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPrice(float price)", + "parameters": [ + { + "type": "float", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 23, + "end_column": 33 + } + ], + "code": "{\r\n\t\titem.setPrice(price);\r\n\t}", + "start_line": 230, + "end_line": 232, + "code_start_line": 230, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setPrice", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ - "java.lang.String" + "" + ], + "argument_expr": [ + "price" ], "return_type": "", - "callee_signature": "setFirstName(java.lang.String)", + "callee_signature": "setPrice(float)", "is_public": true, "is_protected": false, "is_private": false, @@ -61205,21 +73309,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, + "start_line": 231, "start_column": 3, - "end_line": 94, - "end_column": 30 - }, + "end_line": 231, + "end_column": 22 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setID(java.lang.String)", + "comments": [ { - "method_name": "setLastName", + "content": "\r\n\t * @param id\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setID(java.lang.String)\r\n\t ", + "start_line": 310, + "end_line": 313, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setID(String id)", + "parameters": [ + { + "type": "java.lang.String", + "name": "id", + "annotations": [], + "modifiers": [], + "start_line": 314, + "end_line": 314, + "start_column": 20, + "end_column": 28 + } + ], + "code": "{\r\n\t\titem.setID(id);\r\n\t}", + "start_line": 314, + "end_line": 316, + "code_start_line": 314, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setID", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "id" + ], "return_type": "", - "callee_signature": "setLastName(java.lang.String)", + "callee_signature": "setID(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -61228,21 +73385,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, + "start_line": 315, "start_column": 3, - "end_line": 95, - "end_column": 28 - }, + "end_line": 315, + "end_column": 16 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "comments": [ { - "method_name": "setAddr1", + "content": "\r\n\t * @param backOrder\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)\r\n\t ", + "start_line": 366, + "end_line": 369, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBackOrder(BackOrder backOrder)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "name": "backOrder", + "annotations": [], + "modifiers": [], + "start_line": 370, + "end_line": 370, + "start_column": 27, + "end_column": 45 + } + ], + "code": "{\r\n\t\titem.setBackOrder(backOrder);\r\n\t}", + "start_line": 370, + "end_line": 372, + "code_start_line": 370, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setBackOrder", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "backOrder" ], "return_type": "", - "callee_signature": "setAddr1(java.lang.String)", + "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", "is_public": true, "is_protected": false, "is_private": false, @@ -61251,21 +73461,59 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 371, "start_column": 3, - "end_line": 96, - "end_column": 22 - }, + "end_line": 371, + "end_column": 30 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getID()", + "comments": [ { - "method_name": "setAddr2", + "content": "\r\n\t * @return String item ID\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getID()\r\n\t ", + "start_line": 302, + "end_line": 305, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getID()", + "parameters": [], + "code": "{\r\n\t\treturn item.getID();\r\n\t}", + "start_line": 306, + "end_line": 308, + "code_start_line": 306, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getID", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAddr2(java.lang.String)", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", "is_public": true, "is_protected": false, "is_private": false, @@ -61274,21 +73522,99 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 97, - "start_column": 3, - "end_line": 97, - "end_column": 22 - }, + "start_line": 307, + "start_column": 10, + "end_line": 307, + "end_column": 21 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public ShoppingItem(Inventory i)", + "parameters": [ { - "method_name": "setAddrCity", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "i", + "annotations": [], + "modifiers": [], + "start_line": 40, + "end_line": 40, + "start_column": 22, + "end_column": 32 + } + ], + "code": "{\r\n\t\titem = i;\r\n\t}", + "start_line": 40, + "end_line": 42, + "code_start_line": 40, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getImgbytes()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getImgbytes()", + "comments": [ + { + "content": "\r\n\t * @return byte[] item image as a byte array\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getImgbytes()\r\n\t ", + "start_line": 342, + "end_line": 345, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public byte[] getImgbytes()", + "parameters": [], + "code": "{\r\n\t\treturn item.getImgbytes();\r\n\t}", + "start_line": 346, + "end_line": 348, + "code_start_line": 346, + "return_type": "byte[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "getImgbytes", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAddrCity(java.lang.String)", + "callee_signature": "getImgbytes()", "is_public": true, "is_protected": false, "is_private": false, @@ -61297,21 +73623,57 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 98, - "start_column": 3, - "end_line": 98, - "end_column": 28 - }, + "start_line": 347, + "start_column": 10, + "end_line": 347, + "end_column": 27 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getSubtotalPrice()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getSubtotalPrice()", + "comments": [ { - "method_name": "setAddrState", + "content": "\r\n\t * Subtotal price calculates a cost based on price and quantity.\r\n\t ", + "start_line": 50, + "end_line": 52, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public float getSubtotalPrice()", + "parameters": [], + "code": "{\r\n\t\treturn getPrice() * getQuantity();\r\n\t}", + "start_line": 53, + "end_line": 55, + "code_start_line": 53, + "return_type": "float", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getPrice", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAddrState(java.lang.String)", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -61320,21 +73682,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 99, - "start_column": 3, - "end_line": 99, - "end_column": 30 + "start_line": 54, + "start_column": 10, + "end_line": 54, + "end_column": 19 }, { - "method_name": "setAddrZip", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAddrZip(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -61343,21 +73704,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, - "start_column": 3, - "end_line": 100, - "end_column": 26 - }, + "start_line": 54, + "start_column": 23, + "end_line": 54, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setNotes(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setNotes(java.lang.String)", + "comments": [ { - "method_name": "setPhone", + "content": "\r\n\t * @param notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setNotes(java.lang.String)\r\n\t ", + "start_line": 194, + "end_line": 197, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setNotes(String notes)", + "parameters": [ + { + "type": "java.lang.String", + "name": "notes", + "annotations": [], + "modifiers": [], + "start_line": 198, + "end_line": 198, + "start_column": 23, + "end_column": 34 + } + ], + "code": "{\r\n\t\titem.setNotes(notes);\r\n\t}", + "start_line": 198, + "end_line": 200, + "code_start_line": 198, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setNotes", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "notes" + ], "return_type": "", - "callee_signature": "setPhone(java.lang.String)", + "callee_signature": "setNotes(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -61366,9 +73780,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 101, + "start_line": 199, "start_column": 3, - "end_line": 101, + "end_line": 199, "end_column": 22 } ], @@ -61378,127 +73792,151 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getPhone()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getPhone()", - "comments": [], + "getNotes()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getNotes()", + "comments": [ + { + "content": "\r\n\t * @return String item notes\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getNotes()\r\n\t ", + "start_line": 186, + "end_line": 189, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getPhone()", + "declaration": "public String getNotes()", "parameters": [], - "code": "{\r\n\t\treturn phone;\r\n\t}", - "start_line": 196, - "end_line": 198, - "code_start_line": 196, + "code": "{\r\n\t\treturn item.getNotes();\r\n\t}", + "start_line": 190, + "end_line": 192, + "code_start_line": 190, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.phone" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setAddrCity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setAddrCity(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], - "thrown_exceptions": [], - "declaration": "public void setAddrCity(String addrCity)", - "parameters": [ + "call_sites": [ { - "type": "java.lang.String", - "name": "addrCity", - "annotations": [], - "modifiers": [], - "start_line": 144, - "end_line": 144, - "start_column": 26, - "end_column": 40 + "method_name": "getNotes", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getNotes()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 191, + "start_column": 10, + "end_line": 191, + "end_column": 24 } ], - "code": "{\r\n\t\tthis.addrCity = addrCity;\r\n\t}", - "start_line": 144, - "end_line": 146, - "code_start_line": 144, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLastName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setLastName(String)", - "comments": [], + "equals(java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "equals(java.lang.Object)", + "comments": [ + { + "content": "\r\n\t * @param o\r\n\t * @return boolean true if object equals this\r\n\t * @see java.lang.Object#equals(java.lang.Object)\r\n\t ", + "start_line": 57, + "end_line": 61, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setLastName(String lastName)", + "declaration": "public boolean equals(Object o)", "parameters": [ { - "type": "java.lang.String", - "name": "lastName", + "type": "java.lang.Object", + "name": "o", "annotations": [], "modifiers": [], - "start_line": 184, - "end_line": 184, - "start_column": 26, - "end_column": 40 + "start_line": 62, + "end_line": 62, + "start_column": 24, + "end_column": 31 } ], - "code": "{\r\n\t\tthis.lastName = lastName;\r\n\t}", - "start_line": 184, - "end_line": 186, - "code_start_line": 184, - "return_type": "void", + "code": "{\r\n\t\treturn item.equals(o);\r\n\t}", + "start_line": 62, + "end_line": 64, + "code_start_line": 62, + "return_type": "boolean", "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.lastName" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.Object" + ], + "argument_expr": [ + "o" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 10, + "end_line": 63, + "end_column": 23 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "verifyPassword(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "verifyPassword(String)", + "setName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setName(java.lang.String)", "comments": [ { - "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", - "start_line": 104, - "end_line": 110, + "content": "\r\n\t * @param name\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setName(java.lang.String)\r\n\t ", + "start_line": 178, + "end_line": 181, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -61509,62 +73947,44 @@ "public" ], "thrown_exceptions": [], - "declaration": "public boolean verifyPassword(String password)", + "declaration": "public void setName(String name)", "parameters": [ { "type": "java.lang.String", - "name": "password", + "name": "name", "annotations": [], "modifiers": [], - "start_line": 111, - "end_line": 111, - "start_column": 32, - "end_column": 46 + "start_line": 182, + "end_line": 182, + "start_column": 22, + "end_column": 32 } ], - "code": "{\r\n\t\treturn this.getPassword().equals(password);\r\n\t}", - "start_line": 111, - "end_line": 113, - "code_start_line": 111, - "return_type": "boolean", + "code": "{\r\n\t\titem.setName(name);\r\n\t}", + "start_line": 182, + "end_line": 184, + "code_start_line": 182, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.password" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" ], "call_sites": [ { - "method_name": "equals", + "method_name": "setName", "comment": null, - "receiver_expr": "this.getPassword()", - "receiver_type": "java.lang.String", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "name" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 10, - "end_line": 112, - "end_column": 44 - }, - { - "method_name": "getPassword", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", + "callee_signature": "setName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -61573,10 +73993,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 112, - "start_column": 10, - "end_line": 112, - "end_column": 27 + "start_line": 183, + "start_column": 3, + "end_line": 183, + "end_column": 20 } ], "variable_declarations": [], @@ -61585,14 +74005,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getFullName()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getFullName()", + "getCategory()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "getCategory()", "comments": [ { - "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", - "start_line": 115, - "end_line": 119, + "content": "\r\n\t * @return int category enum int value\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#getCategory()\r\n\t ", + "start_line": 90, + "end_line": 93, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -61603,26 +74023,29 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getFullName()", + "declaration": "public int getCategory()", "parameters": [], - "code": "{\r\n\t\treturn this.getFirstName() + \" \" + this.getLastName();\r\n\t}", - "start_line": 120, - "end_line": 122, - "code_start_line": 120, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn item.getCategory();\r\n\t}", + "start_line": 94, + "end_line": 96, + "code_start_line": 94, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], "call_sites": [ { - "method_name": "getFirstName", + "method_name": "getCategory", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFirstName()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getCategory()", "is_public": true, "is_protected": false, "is_private": false, @@ -61631,31 +74054,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, + "start_line": 95, "start_column": 10, - "end_line": 121, - "end_column": 28 - }, - { - "method_name": "getLastName", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getLastName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 38, - "end_line": 121, - "end_column": 55 + "end_line": 95, + "end_column": 27 } ], "variable_declarations": [], @@ -61664,71 +74066,152 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAddrState()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "getAddrState()", - "comments": [], + "setDescription(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setDescription(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * @param description\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setDescription(java.lang.String)\r\n\t ", + "start_line": 130, + "end_line": 133, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getAddrState()", - "parameters": [], - "code": "{\r\n\t\treturn addrState;\r\n\t}", - "start_line": 148, - "end_line": 150, - "code_start_line": 148, - "return_type": "java.lang.String", + "declaration": "public void setDescription(String description)", + "parameters": [ + { + "type": "java.lang.String", + "name": "description", + "annotations": [], + "modifiers": [], + "start_line": 134, + "end_line": 134, + "start_column": 29, + "end_column": 46 + } + ], + "code": "{\r\n\t\titem.setDescription(description);\r\n\t}", + "start_line": 134, + "end_line": 136, + "code_start_line": 134, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.addrState" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setDescription", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "description" + ], + "return_type": "", + "callee_signature": "setDescription(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 3, + "end_line": 135, + "end_column": 34 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPassword(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", - "signature": "setPassword(String)", - "comments": [], + "setCost(float)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingItem.java", + "signature": "setCost(float)", + "comments": [ + { + "content": "\r\n\t * @param cost\r\n\t * @see com.ibm.websphere.samples.pbw.jpa.Inventory#setCost(float)\r\n\t ", + "start_line": 114, + "end_line": 117, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPassword(String password)", + "declaration": "public void setCost(float cost)", "parameters": [ { - "type": "java.lang.String", - "name": "password", + "type": "float", + "name": "cost", "annotations": [], "modifiers": [], - "start_line": 192, - "end_line": 192, - "start_column": 26, - "end_column": 40 + "start_line": 118, + "end_line": 118, + "start_column": 22, + "end_column": 31 } ], - "code": "{\r\n\t\tthis.password = password;\r\n\t}", - "start_line": 192, - "end_line": 194, - "code_start_line": 192, + "code": "{\r\n\t\titem.setCost(cost);\r\n\t}", + "start_line": 118, + "end_line": 120, + "code_start_line": 118, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Customer.password" + "com.ibm.websphere.samples.pbw.war.ShoppingItem.item" + ], + "call_sites": [ + { + "method_name": "setCost", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "cost" + ], + "return_type": "", + "callee_signature": "setCost(float)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 3, + "end_line": 119, + "end_column": 20 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -61747,130 +74230,16 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 37, - "end_line": 38, - "variables": [ - "customerID" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Id" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 39, - "end_line": 39, - "variables": [ - "password" - ], - "modifiers": [ - "private" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 41, - "end_line": 43, - "variables": [ - "firstName" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"First name must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 44, - "end_line": 46, - "variables": [ - "lastName" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Last name must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 47, - "end_line": 49, - "variables": [ - "addr1" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"Address must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 50, - "end_line": 50, + "type": "long", + "start_line": 33, + "end_line": 33, "variables": [ - "addr2" + "serialVersionUID" ], "modifiers": [ - "private" + "private", + "static", + "final" ], "annotations": [] }, @@ -61884,90 +74253,16 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 51, - "end_line": 53, - "variables": [ - "addrCity" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 1, message = \"City name must include at least one letter.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 54, - "end_line": 56, - "variables": [ - "addrState" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@NotNull", - "@Size(min = 2, message = \"State must include at least two letters.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 57, - "end_line": 58, - "variables": [ - "addrZip" - ], - "modifiers": [ - "private" - ], - "annotations": [ - "@Pattern(regexp = \"\\\\d{5}\", message = \"Zip code does not have 5 digits.\")" - ] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 59, - "end_line": 61, + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "start_line": 34, + "end_line": 34, "variables": [ - "phone" + "item" ], "modifiers": [ "private" ], - "annotations": [ - "@NotNull", - "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Phone number does not match xxx-xxx-xxxx.\")" - ] + "annotations": [] } ], "enum_constants": [], @@ -61978,8 +74273,8 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", "package_name": "com.ibm.websphere.samples.pbw.bean", "comments": [ { @@ -62103,76 +74398,68 @@ "is_javadoc": false }, { - "content": "\r\n * The CustomerMgr provides a transactional facade for access to a user DB as well as simple\r\n * authentication support for those users.\r\n * \r\n ", - "start_line": 30, - "end_line": 34, + "content": "\r\n * A class to hold a shopping cart's contents.\r\n ", + "start_line": 24, + "end_line": 26, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 41, - "end_line": 65, + "content": "\r\n\t * \r\n\t ", + "start_line": 28, + "end_line": 30, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", - "start_line": 83, - "end_line": 89, + "content": " Add the item to the shopping cart. ", + "start_line": 38, + "end_line": 38, "start_column": 2, - "end_column": 4, + "end_column": 42, "is_javadoc": true }, { - "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 96, - "end_line": 118, + "content": " Update the item in the shopping cart. ", + "start_line": 43, + "end_line": 43, "start_column": 2, - "end_column": 4, + "end_column": 45, "is_javadoc": true }, { - "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", - "start_line": 144, - "end_line": 152, + "content": " Remove the item from the shopping cart. ", + "start_line": 48, + "end_line": 48, "start_column": 2, - "end_column": 4, + "end_column": 47, "is_javadoc": true }, { - "content": " Try to get customer.", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Does customer exist?", - "start_line": 160, - "end_line": 160, - "start_column": 3, - "end_column": 25, - "is_javadoc": false + "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", + "start_line": 53, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Is password correct?", - "start_line": 162, - "end_line": 162, - "start_column": 44, - "end_column": 66, - "is_javadoc": false + "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", + "start_line": 62, + "end_line": 67, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Customer was not found.", - "start_line": 167, - "end_line": 167, - "start_column": 10, - "end_column": 35, - "is_javadoc": false + "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", + "start_line": 82, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { "content": "", @@ -62184,17 +74471,12 @@ } ], "imports": [ - "java.io.Serializable", - "javax.enterprise.context.Dependent", - "javax.persistence.EntityManager", - "javax.persistence.LockModeType", - "javax.persistence.PersistenceContext", - "javax.transaction.Transactional", - "com.ibm.websphere.samples.pbw.jpa.Customer", - "com.ibm.websphere.samples.pbw.utils.Util" + "java.util.Enumeration", + "java.util.Hashtable", + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.CustomerMgr": { + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -62206,73 +74488,65 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 41, - "end_line": 65, + "content": "\r\n\t * \r\n\t ", + "start_line": 28, + "end_line": 30, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", - "start_line": 83, - "end_line": 89, + "content": " Add the item to the shopping cart. ", + "start_line": 38, + "end_line": 38, "start_column": 2, - "end_column": 4, + "end_column": 42, "is_javadoc": true }, { - "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 96, - "end_line": 118, + "content": " Update the item in the shopping cart. ", + "start_line": 43, + "end_line": 43, "start_column": 2, - "end_column": 4, + "end_column": 45, "is_javadoc": true }, { - "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", - "start_line": 144, - "end_line": 152, + "content": " Remove the item from the shopping cart. ", + "start_line": 48, + "end_line": 48, "start_column": 2, - "end_column": 4, + "end_column": 47, "is_javadoc": true }, { - "content": " Try to get customer.", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Does customer exist?", - "start_line": 160, - "end_line": 160, - "start_column": 3, - "end_column": 25, - "is_javadoc": false + "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", + "start_line": 53, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Is password correct?", - "start_line": 162, - "end_line": 162, - "start_column": 44, - "end_column": 66, - "is_javadoc": false + "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", + "start_line": 62, + "end_line": 67, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": " Customer was not found.", - "start_line": 167, - "end_line": 167, - "start_column": 10, - "end_column": 35, - "is_javadoc": false + "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", + "start_line": 82, + "end_line": 87, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "\r\n * The CustomerMgr provides a transactional facade for access to a user DB as well as simple\r\n * authentication support for those users.\r\n * \r\n ", - "start_line": 30, - "end_line": 34, + "content": "\r\n * A class to hold a shopping cart's contents.\r\n ", + "start_line": 24, + "end_line": 26, "start_column": 1, "end_column": 3, "is_javadoc": true @@ -62284,385 +74558,20 @@ "modifiers": [ "public" ], - "annotations": [ - "@Transactional", - "@Dependent" - ], + "annotations": [], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "createCustomer(String, String, String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", - "signature": "createCustomer(String, String, String, String, String, String, String, String, String, String)", - "comments": [ - { - "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 41, - "end_line": 65, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Customer createCustomer(String customerID, String password, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", - "parameters": [ - { - "type": "java.lang.String", - "name": "customerID", - "annotations": [], - "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 33, - "end_column": 49 - }, - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 67, - "end_line": 67, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "firstName", - "annotations": [], - "modifiers": [], - "start_line": 68, - "end_line": 68, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "lastName", - "annotations": [], - "modifiers": [], - "start_line": 69, - "end_line": 69, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "addr1", - "annotations": [], - "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "addr2", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "addrCity", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "addrState", - "annotations": [], - "modifiers": [], - "start_line": 73, - "end_line": 73, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "addrZip", - "annotations": [], - "modifiers": [], - "start_line": 74, - "end_line": 74, - "start_column": 4, - "end_column": 17 - }, - { - "type": "java.lang.String", - "name": "phone", - "annotations": [], - "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 4, - "end_column": 15 - } - ], - "code": "{\r\n\t\tCustomer c = new Customer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip,\r\n\t\t\t\tphone);\r\n\t\tem.persist(c);\r\n\t\tem.flush();\r\n\t\treturn c;\r\n\t}", - "start_line": 66, - "end_line": 81, - "code_start_line": 75, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" - ], - "call_sites": [ - { - "method_name": "persist", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 78, - "start_column": 3, - "end_line": 78, - "end_column": 15 - }, - { - "method_name": "flush", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 79, - "start_column": 3, - "end_line": 79, - "end_column": 12 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "callee_signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 76, - "start_column": 16, - "end_line": 77, - "end_column": 10 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "c", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "new Customer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone)", - "start_line": 76, - "start_column": 12, - "end_line": 77, - "end_column": 10 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCustomer(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", - "signature": "getCustomer(String)", - "comments": [ - { - "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", - "start_line": 83, - "end_line": 89, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Customer getCustomer(String customerID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "customerID", - "annotations": [], - "modifiers": [], - "start_line": 90, - "end_line": 90, - "start_column": 30, - "end_column": 46 - } - ], - "code": "{\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\treturn c;\r\n\r\n\t}", - "start_line": 90, - "end_line": 94, - "code_start_line": 90, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" - ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 91, - "start_column": 16, - "end_line": 91, - "end_column": 50 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "c", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "em.find(Customer.class, customerID)", - "start_line": 91, - "start_column": 12, - "end_line": 91, - "end_column": 50 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "verifyUserAndPassword(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", - "signature": "verifyUserAndPassword(String, String)", + "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [ { - "content": " Try to get customer.", - "start_line": 154, - "end_line": 154, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Does customer exist?", - "start_line": 160, - "end_line": 160, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Is password correct?", - "start_line": 162, - "end_line": 162, - "start_column": 44, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Customer was not found.", - "start_line": 167, - "end_line": 167, - "start_column": 10, - "end_column": 35, - "is_javadoc": false - }, - { - "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", - "start_line": 144, - "end_line": 152, + "content": " Add the item to the shopping cart. ", + "start_line": 38, + "end_line": 38, "start_column": 2, - "end_column": 4, + "end_column": 42, "is_javadoc": true } ], @@ -62671,85 +74580,68 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String verifyUserAndPassword(String customerID, String password)", + "declaration": "public void addItem(Inventory si)", "parameters": [ { - "type": "java.lang.String", - "name": "customerID", - "annotations": [], - "modifiers": [], - "start_line": 153, - "end_line": 153, - "start_column": 38, - "end_column": 54 - }, - { - "type": "java.lang.String", - "name": "password", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "si", "annotations": [], "modifiers": [], - "start_line": 153, - "end_line": 153, - "start_column": 57, - "end_column": 71 + "start_line": 39, + "end_line": 39, + "start_column": 22, + "end_column": 33 } ], - "code": "{\r\n\t\t// Try to get customer.\r\n\t\tString results = null;\r\n\t\tCustomer customer = null;\r\n\r\n\t\tcustomer = em.find(Customer.class, customerID);\r\n\r\n\t\t// Does customer exist?\r\n\t\tif (customer != null) {\r\n\t\t\tif (!customer.verifyPassword(password)) // Is password correct?\r\n\t\t\t{\r\n\t\t\t\tresults = \"\\nPassword does not match for : \" + customerID;\r\n\t\t\t\tUtil.debug(\"Password given does not match for userid=\" + customerID);\r\n\t\t\t}\r\n\t\t} else // Customer was not found.\r\n\t\t{\r\n\t\t\tresults = \"\\nCould not find account for : \" + customerID;\r\n\t\t\tUtil.debug(\"customer \" + customerID + \" NOT found\");\r\n\t\t}\r\n\r\n\t\treturn results;\r\n\t}", - "start_line": 153, - "end_line": 174, - "code_start_line": 153, - "return_type": "java.lang.String", + "code": "{\r\n\t\ttable.put(si.getID(), new Integer(si.getQuantity()));\r\n\t}", + "start_line": 39, + "end_line": 41, + "code_start_line": 39, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.pbw.jpa.Customer" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" ], "call_sites": [ { - "method_name": "find", + "method_name": "put", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", "argument_types": [ - "java.lang.Class", - "java.lang.String" + "java.lang.String", + "java.lang.Integer" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "si.getID()", + "new Integer(si.getQuantity())" + ], + "return_type": "java.lang.Integer", + "callee_signature": "put(java.lang.Object, java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 158, - "start_column": 14, - "end_line": 158, - "end_column": 48 + "start_line": 40, + "start_column": 3, + "end_line": 40, + "end_column": 54 }, { - "method_name": "verifyPassword", - "comment": { - "content": " Is password correct?", - "start_line": 162, - "end_line": 162, - "start_column": 44, - "end_column": 66, - "is_javadoc": false - }, - "receiver_expr": "customer", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "verifyPassword(java.lang.String)", + "method_name": "getID", + "comment": null, + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", "is_public": true, "is_protected": false, "is_private": false, @@ -62758,107 +74650,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 162, - "start_column": 9, - "end_line": 162, - "end_column": 41 + "start_line": 40, + "start_column": 13, + "end_line": 40, + "end_column": 22 }, { - "method_name": "debug", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 165, - "start_column": 5, - "end_line": 165, - "end_column": 72 + "start_line": 40, + "start_column": 37, + "end_line": 40, + "end_column": 52 }, { - "method_name": "debug", + "method_name": "", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "argument_expr": [ + "si.getQuantity()" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 170, - "start_column": 4, - "end_line": 170, - "end_column": 54 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "results", - "type": "java.lang.String", - "initializer": "null", - "start_line": 155, - "start_column": 10, - "end_line": 155, - "end_column": 23 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "customer", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "null", - "start_line": 156, - "start_column": 12, - "end_line": 156, - "end_column": 26 + "start_line": 40, + "start_column": 25, + "end_line": 40, + "end_column": 53 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "updateUser(String, String, String, String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", - "signature": "updateUser(String, String, String, String, String, String, String, String, String)", + "getQuantity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "getQuantity(java.lang.String)", "comments": [ { - "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", - "start_line": 96, - "end_line": 118, + "content": "\r\n\t * Return the quantity for the inventory ID given.\r\n\t *\r\n\t * @return The quantity for the inventory ID given..\r\n\t *\r\n\t ", + "start_line": 82, + "end_line": 87, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -62869,195 +74728,236 @@ "public" ], "thrown_exceptions": [], - "declaration": "public Customer updateUser(String customerID, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", + "declaration": "public int getQuantity(String inventoryID)", "parameters": [ { "type": "java.lang.String", - "name": "customerID", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 29, - "end_column": 45 - }, - { - "type": "java.lang.String", - "name": "firstName", - "annotations": [], - "modifiers": [], - "start_line": 120, - "end_line": 120, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "lastName", - "annotations": [], - "modifiers": [], - "start_line": 121, - "end_line": 121, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "addr1", - "annotations": [], - "modifiers": [], - "start_line": 122, - "end_line": 122, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "addr2", - "annotations": [], - "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "addrCity", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "addrState", - "annotations": [], - "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "addrZip", - "annotations": [], - "modifiers": [], - "start_line": 126, - "end_line": 126, - "start_column": 4, - "end_column": 17 - }, - { - "type": "java.lang.String", - "name": "phone", + "name": "inventoryID", "annotations": [], "modifiers": [], - "start_line": 127, - "end_line": 127, - "start_column": 4, - "end_column": 15 + "start_line": 88, + "end_line": 88, + "start_column": 25, + "end_column": 42 } ], - "code": "{\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\tem.lock(c, LockModeType.WRITE);\r\n\t\tem.refresh(c);\r\n\r\n\t\tc.setFirstName(firstName);\r\n\t\tc.setLastName(lastName);\r\n\t\tc.setAddr1(addr1);\r\n\t\tc.setAddr2(addr2);\r\n\t\tc.setAddrCity(addrCity);\r\n\t\tc.setAddrState(addrState);\r\n\t\tc.setAddrZip(addrZip);\r\n\t\tc.setPhone(phone);\r\n\r\n\t\treturn c;\r\n\t}", - "start_line": 119, - "end_line": 142, - "code_start_line": 127, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "code": "{\r\n\t\tInteger quantity = (Integer) table.get(inventoryID);\r\n\r\n\t\tif (quantity == null)\r\n\t\t\treturn 0;\r\n\t\telse\r\n\t\t\treturn quantity.intValue();\r\n\t}", + "start_line": 88, + "end_line": 95, + "code_start_line": 88, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em", - "WRITE" + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" ], "call_sites": [ { - "method_name": "find", + "method_name": "get", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", "argument_types": [ - "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "inventoryID" + ], + "return_type": "java.lang.Integer", + "callee_signature": "get(java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 16, - "end_line": 128, - "end_column": 50 + "start_line": 89, + "start_column": 32, + "end_line": 89, + "end_column": 53 }, { - "method_name": "lock", + "method_name": "intValue", "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer", - "" - ], + "receiver_expr": "quantity", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 11, + "end_line": 94, + "end_column": 29 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "java.lang.Integer", + "initializer": "(Integer) table.get(inventoryID)", + "start_line": 89, + "start_column": 11, + "end_line": 89, + "end_column": 53 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public ShoppingCartContent()", + "parameters": [], + "code": "{\r\n\t\ttable = new Hashtable();\r\n\t}", + "start_line": 34, + "end_line": 36, + "code_start_line": 34, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + ], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Hashtable", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Hashtable", + "callee_signature": "Hashtable()", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 129, - "start_column": 3, - "end_line": 129, - "end_column": 32 - }, + "start_line": 35, + "start_column": 11, + "end_line": 35, + "end_column": 42 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [ { - "method_name": "refresh", + "content": " Remove the item from the shopping cart. ", + "start_line": 48, + "end_line": 48, + "start_column": 2, + "end_column": 47, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void removeItem(Inventory si)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "si", + "annotations": [], + "modifiers": [], + "start_line": 49, + "end_line": 49, + "start_column": 25, + "end_column": 36 + } + ], + "code": "{\r\n\t\ttable.remove(si.getID());\r\n\t}", + "start_line": 49, + "end_line": 51, + "code_start_line": 49, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + ], + "call_sites": [ + { + "method_name": "remove", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer" + "java.lang.String" + ], + "argument_expr": [ + "si.getID()" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "return_type": "java.lang.Integer", + "callee_signature": "remove(java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 50, "start_column": 3, - "end_line": 130, - "end_column": 15 + "end_line": 50, + "end_column": 26 }, { - "method_name": "setFirstName", + "method_name": "getID", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setFirstName(java.lang.String)", + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", "is_public": true, "is_protected": false, "is_private": false, @@ -63066,21 +74966,73 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 3, - "end_line": 132, - "end_column": 27 - }, + "start_line": 50, + "start_column": 16, + "end_line": 50, + "end_column": 25 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getInventoryID(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "getInventoryID(int)", + "comments": [ { - "method_name": "setLastName", + "content": "\r\n\t * Return the inventory ID at the index given. The first element is at index 0, the second at\r\n\t * index 1, and so on.\r\n\t *\r\n\t * @return The inventory ID at the index, or NULL if not present.\r\n\t ", + "start_line": 62, + "end_line": 67, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getInventoryID(int index)", + "parameters": [ + { + "type": "int", + "name": "index", + "annotations": [], + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 31, + "end_column": 39 + } + ], + "code": "{\r\n\t\tString retval = null;\r\n\t\tString inventoryID;\r\n\t\tint cnt = 0;\r\n\t\tfor (Enumeration myEnum = table.keys(); myEnum.hasMoreElements(); cnt++) {\r\n\t\t\tinventoryID = (String) myEnum.nextElement();\r\n\t\t\tif (index == cnt) {\r\n\t\t\t\tretval = inventoryID;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retval;\r\n\t}", + "start_line": 68, + "end_line": 80, + "code_start_line": 68, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Enumeration", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + ], + "call_sites": [ + { + "method_name": "keys", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setLastName(java.lang.String)", + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Enumeration", + "callee_signature": "keys()", "is_public": true, "is_protected": false, "is_private": false, @@ -63089,21 +75041,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 133, - "start_column": 3, - "end_line": 133, - "end_column": 25 + "start_line": 72, + "start_column": 37, + "end_line": 72, + "end_column": 48 }, { - "method_name": "setAddr1", + "method_name": "hasMoreElements", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "myEnum", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAddr1(java.lang.String)", + "callee_signature": "hasMoreElements()", "is_public": true, "is_protected": false, "is_private": false, @@ -63112,21 +75063,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, - "start_column": 3, - "end_line": 134, - "end_column": 19 + "start_line": 72, + "start_column": 51, + "end_line": 72, + "end_column": 74 }, { - "method_name": "setAddr2", + "method_name": "nextElement", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAddr2(java.lang.String)", + "receiver_expr": "myEnum", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "nextElement()", "is_public": true, "is_protected": false, "is_private": false, @@ -63135,21 +75085,145 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, - "start_column": 3, - "end_line": 135, - "end_column": 19 + "start_line": 73, + "start_column": 27, + "end_line": 73, + "end_column": 46 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "retval", + "type": "java.lang.String", + "initializer": "null", + "start_line": 69, + "start_column": 10, + "end_line": 69, + "end_column": 22 }, { - "method_name": "setAddrCity", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inventoryID", + "type": "java.lang.String", + "initializer": "", + "start_line": 70, + "start_column": 10, + "end_line": 70, + "end_column": 20 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cnt", + "type": "int", + "initializer": "0", + "start_line": 71, + "start_column": 7, + "end_line": 71, + "end_column": 13 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "myEnum", + "type": "java.util.Enumeration", + "initializer": "table.keys()", + "start_line": 72, + "start_column": 28, + "end_line": 72, + "end_column": 48 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "updateItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [ + { + "content": " Update the item in the shopping cart. ", + "start_line": 43, + "end_line": 43, + "start_column": 2, + "end_column": 45, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void updateItem(Inventory si)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "si", + "annotations": [], + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 25, + "end_column": 36 + } + ], + "code": "{\r\n\t\ttable.put(si.getID(), new Integer(si.getQuantity()));\r\n\t}", + "start_line": 44, + "end_line": 46, + "code_start_line": 44, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + ], + "call_sites": [ + { + "method_name": "put", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Integer" ], - "return_type": "", - "callee_signature": "setAddrCity(java.lang.String)", + "argument_expr": [ + "si.getID()", + "new Integer(si.getQuantity())" + ], + "return_type": "java.lang.Integer", + "callee_signature": "put(java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -63158,21 +75232,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 136, + "start_line": 45, "start_column": 3, - "end_line": 136, - "end_column": 25 + "end_line": 45, + "end_column": 54 }, { - "method_name": "setAddrState", + "method_name": "getID", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAddrState(java.lang.String)", + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", "is_public": true, "is_protected": false, "is_private": false, @@ -63181,21 +75254,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 137, - "start_column": 3, - "end_line": 137, - "end_column": 27 + "start_line": 45, + "start_column": 13, + "end_line": 45, + "end_column": 22 }, { - "method_name": "setAddrZip", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAddrZip(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -63204,21 +75276,85 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 138, - "start_column": 3, - "end_line": 138, - "end_column": 23 + "start_line": 45, + "start_column": 37, + "end_line": 45, + "end_column": 52 }, { - "method_name": "setPhone", + "method_name": "", "comment": null, - "receiver_expr": "c", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "receiver_expr": "", + "receiver_type": "java.lang.Integer", "argument_types": [ - "java.lang.String" + "" ], + "argument_expr": [ + "si.getQuantity()" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 25, + "end_line": 45, + "end_column": 53 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "size()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartContent.java", + "signature": "size()", + "comments": [ + { + "content": "\r\n\t * Return the number of items in the cart.\r\n\t *\r\n\t * @return The number of items in the cart.\r\n\t ", + "start_line": 53, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int size()", + "parameters": [], + "code": "{\r\n\t\treturn table.size();\r\n\t}", + "start_line": 58, + "end_line": 60, + "code_start_line": 58, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartContent.table" + ], + "call_sites": [ + { + "method_name": "size", + "comment": null, + "receiver_expr": "table", + "receiver_type": "java.util.Hashtable", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setPhone(java.lang.String)", + "callee_signature": "size()", "is_public": true, "is_protected": false, "is_private": false, @@ -63227,31 +75363,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, - "start_column": 3, - "end_line": 139, - "end_column": 19 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "c", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "em.find(Customer.class, customerID)", - "start_line": 128, - "start_column": 12, - "end_line": 128, - "end_column": 50 + "start_line": 59, + "start_column": 10, + "end_line": 59, + "end_column": 21 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, @@ -63259,6 +75377,29 @@ } }, "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 28, + "end_line": 30, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 31, + "end_line": 31, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, { "comment": { "content": null, @@ -63269,16 +75410,16 @@ "is_javadoc": false }, "name": null, - "type": "EntityManager", - "start_line": 38, - "end_line": 39, + "type": "java.util.Hashtable", + "start_line": 32, + "end_line": 32, "variables": [ - "em" + "table" ], - "modifiers": [], - "annotations": [ - "@PersistenceContext(unitName = \"PBW\")" - ] + "modifiers": [ + "private" + ], + "annotations": [] } ], "enum_constants": [], @@ -63289,9 +75430,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "package_name": "com.ibm.websphere.samples.pbw.war", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -63390,7 +75531,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -63414,21 +75555,13 @@ "is_javadoc": false }, { - "content": "\r\n * MailerAppException extends the standard Exception. This is thrown by the mailer component when\r\n * there is some failure sending the mail.\r\n ", - "start_line": 19, - "end_line": 22, + "content": "\r\n * Simple helper class for JSF validators to handle error messages.\r\n *\r\n ", + "start_line": 25, + "end_line": 28, "start_column": 1, "end_column": 3, "is_javadoc": true }, - { - "content": "\r\n\t * \r\n\t ", - "start_line": 25, - "end_line": 27, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, { "content": "", "start_line": 1, @@ -63438,9 +75571,14 @@ "is_javadoc": false } ], - "imports": [], + "imports": [ + "javax.faces.application.FacesMessage", + "javax.faces.component.UIComponent", + "javax.faces.context.FacesContext", + "javax.faces.validator.ValidatorException" + ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.MailerAppException": { + "com.ibm.websphere.samples.pbw.war.ValidatorUtils": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -63449,22 +75587,12 @@ "is_interface": false, "is_inner_class": false, "is_local_class": false, - "extends_list": [ - "java.lang.Exception" - ], - "comments": [ - { - "content": "\r\n\t * \r\n\t ", - "start_line": 25, - "end_line": 27, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, + "extends_list": [], + "comments": [ { - "content": "\r\n * MailerAppException extends the standard Exception. This is thrown by the mailer component when\r\n * there is some failure sending the mail.\r\n ", - "start_line": 19, - "end_line": 22, + "content": "\r\n * Simple helper class for JSF validators to handle error messages.\r\n *\r\n ", + "start_line": 25, + "end_line": 28, "start_column": 1, "end_column": 3, "is_javadoc": true @@ -63478,195 +75606,239 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "signature": "MailerAppException(String)", + "addErrorMessage(javax.faces.context.FacesContext, javax.faces.component.UIComponent)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "signature": "addErrorMessage(javax.faces.context.FacesContext, javax.faces.component.UIComponent)", "comments": [], "annotations": [], "modifiers": [ - "public" + "protected", + "static" ], "thrown_exceptions": [], - "declaration": "public MailerAppException(String str)", + "declaration": "protected static void addErrorMessage(FacesContext context, UIComponent component)", "parameters": [ { - "type": "java.lang.String", - "name": "str", + "type": "javax.faces.context.FacesContext", + "name": "context", "annotations": [], "modifiers": [], - "start_line": 33, - "end_line": 33, - "start_column": 28, - "end_column": 37 + "start_line": 38, + "end_line": 38, + "start_column": 40, + "end_column": 59 + }, + { + "type": "javax.faces.component.UIComponent", + "name": "component", + "annotations": [], + "modifiers": [], + "start_line": 38, + "end_line": 38, + "start_column": 62, + "end_column": 82 } ], - "code": "{\r\n\t\tsuper(str);\r\n\t}", - "start_line": 33, - "end_line": 35, - "code_start_line": 33, - "return_type": null, + "code": "{\r\n\t\tString errorMessage = (String) component.getAttributes().get(\"errorMessage\");\r\n\r\n\t\taddErrorMessage(context, errorMessage);\r\n\t}", + "start_line": 38, + "end_line": 42, + "code_start_line": 38, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "component.getAttributes()", + "receiver_type": "java.util.Map", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"errorMessage\"" + ], + "return_type": "java.lang.String", + "callee_signature": "get(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 39, + "start_column": 34, + "end_line": 39, + "end_column": 78 + }, + { + "method_name": "getAttributes", + "comment": null, + "receiver_expr": "component", + "receiver_type": "javax.faces.component.UIComponent", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Map", + "callee_signature": "getAttributes()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 39, + "start_column": 34, + "end_line": 39, + "end_column": 58 + }, + { + "method_name": "addErrorMessage", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.faces.context.FacesContext", + "java.lang.String" + ], + "argument_expr": [ + "context", + "errorMessage" + ], + "return_type": "", + "callee_signature": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)", + "is_public": false, + "is_protected": true, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 41, + "start_column": 3, + "end_line": 41, + "end_column": 40 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "errorMessage", + "type": "java.lang.String", + "initializer": "(String) component.getAttributes().get(\"errorMessage\")", + "start_line": 39, + "start_column": 10, + "end_line": 39, + "end_column": 78 + } + ], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", - "signature": "MailerAppException()", + "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ValidatorUtils.java", + "signature": "addErrorMessage(javax.faces.context.FacesContext, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ - "public" + "protected", + "static" ], "thrown_exceptions": [], - "declaration": "public MailerAppException()", - "parameters": [], - "code": "{\r\n\t}", + "declaration": "protected static void addErrorMessage(FacesContext context, String message)", + "parameters": [ + { + "type": "javax.faces.context.FacesContext", + "name": "context", + "annotations": [], + "modifiers": [], + "start_line": 30, + "end_line": 30, + "start_column": 40, + "end_column": 59 + }, + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 30, + "end_line": 30, + "start_column": 62, + "end_column": 75 + } + ], + "code": "{\r\n\t\tFacesMessage facesMessage = new FacesMessage();\r\n\t\tfacesMessage.setDetail(message);\r\n\t\tfacesMessage.setSummary(message);\r\n\t\tfacesMessage.setSeverity(FacesMessage.SEVERITY_ERROR);\r\n\t\tthrow new ValidatorException(facesMessage);\r\n\t}", "start_line": 30, - "end_line": 31, + "end_line": 36, "code_start_line": 30, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\r\n\t * \r\n\t ", - "start_line": 25, - "end_line": 27, - "start_column": 2, - "end_column": 4, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 28, - "end_line": 28, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", - "comments": [], - "imports": [ - "javax.annotation.PostConstruct", - "javax.ejb.Singleton", - "javax.ejb.Startup", - "javax.inject.Inject", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.PopulateDBBean": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@Singleton", - "@Startup" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "initDB()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", - "signature": "initDB()", - "comments": [], - "annotations": [ - "@PostConstruct" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void initDB()", - "parameters": [], - "code": "{\n Util.debug(\"Initializing database...\");\n dbBean.populateDB();\n }", - "start_line": 17, - "end_line": 21, - "code_start_line": 18, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "javax.faces.application.FacesMessage", + "javax.faces.application.FacesMessage.Severity" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.PopulateDBBean.dbBean" + "javax.faces.application.FacesMessage.SEVERITY_ERROR" ], "call_sites": [ { - "method_name": "debug", + "method_name": "setDetail", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "facesMessage", + "receiver_type": "javax.faces.application.FacesMessage", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setDetail(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 19, - "start_column": 9, - "end_line": 19, - "end_column": 46 + "start_line": 32, + "start_column": 3, + "end_line": 32, + "end_column": 33 }, { - "method_name": "populateDB", + "method_name": "setSummary", "comment": null, - "receiver_expr": "dbBean", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "argument_types": [], + "receiver_expr": "facesMessage", + "receiver_type": "javax.faces.application.FacesMessage", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "message" + ], "return_type": "", - "callee_signature": "populateDB()", + "callee_signature": "setSummary(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -63675,42 +75847,112 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 20, + "start_line": 33, + "start_column": 3, + "end_line": 33, + "end_column": 34 + }, + { + "method_name": "setSeverity", + "comment": null, + "receiver_expr": "facesMessage", + "receiver_type": "javax.faces.application.FacesMessage", + "argument_types": [ + "javax.faces.application.FacesMessage.Severity" + ], + "argument_expr": [ + "FacesMessage.SEVERITY_ERROR" + ], + "return_type": "", + "callee_signature": "setSeverity(javax.faces.application.FacesMessage.Severity)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 34, + "start_column": 3, + "end_line": 34, + "end_column": 55 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "javax.faces.application.FacesMessage", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.faces.application.FacesMessage", + "callee_signature": "FacesMessage()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 31, + "start_column": 31, + "end_line": 31, + "end_column": 48 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "javax.faces.validator.ValidatorException", + "argument_types": [ + "javax.faces.application.FacesMessage" + ], + "argument_expr": [ + "facesMessage" + ], + "return_type": "javax.faces.validator.ValidatorException", + "callee_signature": "ValidatorException(javax.faces.application.FacesMessage)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 35, "start_column": 9, - "end_line": 20, - "end_column": 27 + "end_line": 35, + "end_column": 44 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "facesMessage", + "type": "javax.faces.application.FacesMessage", + "initializer": "new FacesMessage()", + "start_line": 31, + "start_column": 16, + "end_line": 31, + "end_column": 48 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false } }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", - "start_line": 14, - "end_line": 15, - "variables": [ - "dbBean" - ], - "modifiers": [], - "annotations": [ - "@Inject" - ] - } - ], + "field_declarations": [], "enum_constants": [], "record_components": [], "initialization_blocks": [], @@ -63719,9 +75961,9 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "package_name": "com.ibm.websphere.samples.pbw.bean", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", "comments": [ { "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", @@ -63841,124 +76083,36 @@ "end_line": 16, "start_column": 1, "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * The CatalogMgr provides transactional access to the catalog of items the store is willing to sell\r\n * to customers.\r\n * \r\n * @see com.ibm.websphere.samples.pbw.jpa.Inventory\r\n ", - "start_line": 31, - "end_line": 36, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get all inventory items.\r\n\t *\r\n\t * @return Vector of Inventorys. / public Vector getItems() { Vector items\r\n\t * = new Vector(); int count = Util.getCategoryStrings().length; for (int i =\r\n\t * 0; i < count; i++) { items.addAll(getItemsByCategory(i)); } return items; }\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get inventory items that contain a given String within their names.\r\n\t *\r\n\t * @param name\r\n\t * String to search names for.\r\n\t * @return A Vector of Inventorys that match. / public Vector getItemsLikeName(String\r\n\t * name) { Query q = em.createNamedQuery(\"getItemsLikeName\"); q.setParameter(\"name\", '%'\r\n\t * + name + '%'); //The return type must be Vector because the PBW client ActiveX sample\r\n\t * requires Vector return new Vector(q.getResultList()); }\r\n\t ", - "start_line": 65, - "end_line": 74, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the StoreItem for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return StoreItem / public StoreItem getItem(String inventoryID) { return new\r\n\t * StoreItem(getItemInventory(inventoryID)); }\r\n\t ", - "start_line": 76, - "end_line": 83, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Add an StoreItem item (same as Inventory item).\r\n\t *\r\n\t * @param item\r\n\t * The StoreItem to add.\r\n\t * @return True, if item added. / public boolean addItem(StoreItem item) { return addItem(new\r\n\t * Inventory(item)); }\r\n\t ", - "start_line": 114, - "end_line": 121, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Delete an inventory item.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The ID of the inventory item to delete.\r\n\t * @return True, if item deleted. / public boolean deleteItem(String inventoryID) { boolean\r\n\t * retval = true; em.remove(em.find(Inventory.class, inventoryID)); return retval; }\r\n\t ", - "start_line": 123, - "end_line": 130, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", - "start_line": 51, - "end_line": 57, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", - "start_line": 61, - "end_line": 61, - "start_column": 3, - "end_column": 89, - "is_javadoc": false - }, - { - "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", - "start_line": 85, - "end_line": 91, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", - "start_line": 99, - "end_line": 105, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", - "start_line": 132, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", - "start_line": 149, - "end_line": 156, - "start_column": 2, - "end_column": 4, + "is_javadoc": false + }, + { + "content": "\r\n * Customer is the bean mapping for the CUSTOMER table.\r\n * \r\n * @see Customer\r\n ", + "start_line": 28, + "end_line": 32, + "start_column": 1, + "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", - "start_line": 164, - "end_line": 171, + "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", + "start_line": 66, + "end_line": 89, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 179, - "end_line": 185, + "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", + "start_line": 104, + "end_line": 110, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 190, - "end_line": 196, + "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", + "start_line": 115, + "end_line": 119, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -63973,18 +76127,17 @@ } ], "imports": [ - "java.io.Serializable", - "java.util.Vector", - "javax.enterprise.context.Dependent", - "javax.persistence.EntityManager", - "javax.persistence.LockModeType", - "javax.persistence.PersistenceContext", - "javax.persistence.Query", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.utils.Util" + "javax.persistence.Entity", + "javax.persistence.Id", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.Table", + "javax.validation.constraints.NotNull", + "javax.validation.constraints.Pattern", + "javax.validation.constraints.Size" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.CatalogMgr": { + "com.ibm.websphere.samples.pbw.jpa.Customer": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -63996,345 +76149,452 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * Get all inventory items.\r\n\t *\r\n\t * @return Vector of Inventorys. / public Vector getItems() { Vector items\r\n\t * = new Vector(); int count = Util.getCategoryStrings().length; for (int i =\r\n\t * 0; i < count; i++) { items.addAll(getItemsByCategory(i)); } return items; }\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get inventory items that contain a given String within their names.\r\n\t *\r\n\t * @param name\r\n\t * String to search names for.\r\n\t * @return A Vector of Inventorys that match. / public Vector getItemsLikeName(String\r\n\t * name) { Query q = em.createNamedQuery(\"getItemsLikeName\"); q.setParameter(\"name\", '%'\r\n\t * + name + '%'); //The return type must be Vector because the PBW client ActiveX sample\r\n\t * requires Vector return new Vector(q.getResultList()); }\r\n\t ", - "start_line": 65, - "end_line": 74, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the StoreItem for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return StoreItem / public StoreItem getItem(String inventoryID) { return new\r\n\t * StoreItem(getItemInventory(inventoryID)); }\r\n\t ", - "start_line": 76, - "end_line": 83, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Add an StoreItem item (same as Inventory item).\r\n\t *\r\n\t * @param item\r\n\t * The StoreItem to add.\r\n\t * @return True, if item added. / public boolean addItem(StoreItem item) { return addItem(new\r\n\t * Inventory(item)); }\r\n\t ", - "start_line": 114, - "end_line": 121, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Delete an inventory item.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The ID of the inventory item to delete.\r\n\t * @return True, if item deleted. / public boolean deleteItem(String inventoryID) { boolean\r\n\t * retval = true; em.remove(em.find(Inventory.class, inventoryID)); return retval; }\r\n\t ", - "start_line": 123, - "end_line": 130, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", - "start_line": 51, - "end_line": 57, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", - "start_line": 61, - "end_line": 61, - "start_column": 3, - "end_column": 89, - "is_javadoc": false - }, - { - "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", - "start_line": 85, - "end_line": 91, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", - "start_line": 99, - "end_line": 105, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", - "start_line": 132, - "end_line": 138, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", - "start_line": 149, - "end_line": 156, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", - "start_line": 164, - "end_line": 171, + "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", + "start_line": 66, + "end_line": 89, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 179, - "end_line": 185, + "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", + "start_line": 104, + "end_line": 110, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 190, - "end_line": 196, + "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", + "start_line": 115, + "end_line": 119, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n * The CatalogMgr provides transactional access to the catalog of items the store is willing to sell\r\n * to customers.\r\n * \r\n * @see com.ibm.websphere.samples.pbw.jpa.Inventory\r\n ", - "start_line": 31, - "end_line": 36, + "content": "\r\n * Customer is the bean mapping for the CUSTOMER table.\r\n * \r\n * @see Customer\r\n ", + "start_line": 28, + "end_line": 32, "start_column": 1, "end_column": 3, "is_javadoc": true } ], - "implements_list": [ - "java.io.Serializable" - ], + "implements_list": [], "modifiers": [ "public" ], "annotations": [ - "@Dependent", - "@SuppressWarnings(\"unchecked\")" + "@Entity(name = \"Customer\")", + "@Table(name = \"CUSTOMER\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"removeAllCustomers\", query = \"delete from Customer\") })" ], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getInv(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "getInv(String)", - "comments": [ + "setAddr1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setAddr1(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAddr1(String addr1)", + "parameters": [ { - "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 179, - "end_line": 185, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "java.lang.String", + "name": "addr1", + "annotations": [], + "modifiers": [], + "start_line": 128, + "end_line": 128, + "start_column": 23, + "end_column": 34 } ], + "code": "{\r\n\t\tthis.addr1 = addr1;\r\n\t}", + "start_line": 128, + "end_line": 130, + "code_start_line": 128, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setAddrState(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setAddrState(java.lang.String)", + "comments": [], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [], - "declaration": "private Inventory getInv(String inventoryID)", + "declaration": "public void setAddrState(String addrState)", "parameters": [ { "type": "java.lang.String", - "name": "inventoryID", + "name": "addrState", "annotations": [], "modifiers": [], - "start_line": 186, - "end_line": 186, + "start_line": 152, + "end_line": 152, "start_column": 27, + "end_column": 42 + } + ], + "code": "{\r\n\t\tthis.addrState = addrState;\r\n\t}", + "start_line": 152, + "end_line": 154, + "code_start_line": 152, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setPassword(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPassword(String password)", + "parameters": [ + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 192, + "end_line": 192, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.password = password;\r\n\t}", + "start_line": 192, + "end_line": 194, + "code_start_line": 192, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.password" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setLastName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setLastName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setLastName(String lastName)", + "parameters": [ + { + "type": "java.lang.String", + "name": "lastName", + "annotations": [], + "modifiers": [], + "start_line": 184, + "end_line": 184, + "start_column": 26, + "end_column": 40 + } + ], + "code": "{\r\n\t\tthis.lastName = lastName;\r\n\t}", + "start_line": 184, + "end_line": 186, + "code_start_line": 184, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.lastName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setCustomerID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setCustomerID(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCustomerID(String customerID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "customerID", + "annotations": [], + "modifiers": [], + "start_line": 168, + "end_line": 168, + "start_column": 28, "end_column": 44 } ], - "code": "{\r\n\t\treturn em.find(Inventory.class, inventoryID);\r\n\t}", - "start_line": 186, - "end_line": 188, - "code_start_line": 186, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "code": "{\r\n\t\tthis.customerID = customerID;\r\n\t}", + "start_line": 168, + "end_line": 170, + "code_start_line": 168, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" + "com.ibm.websphere.samples.pbw.jpa.Customer.customerID" ], - "call_sites": [ + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setAddrZip(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setAddrZip(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAddrZip(String addrZip)", + "parameters": [ { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 187, - "start_column": 10, - "end_line": 187, - "end_column": 46 + "type": "java.lang.String", + "name": "addrZip", + "annotations": [], + "modifiers": [], + "start_line": 160, + "end_line": 160, + "start_column": 25, + "end_column": 38 } ], + "code": "{\r\n\t\tthis.addrZip = addrZip;\r\n\t}", + "start_line": 160, + "end_line": 162, + "code_start_line": 160, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setItemQuantity(String, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "setItemQuantity(String, int)", - "comments": [ + "getCustomerID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getCustomerID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getCustomerID()", + "parameters": [], + "code": "{\r\n\t\treturn customerID;\r\n\t}", + "start_line": 164, + "end_line": 166, + "code_start_line": 164, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.customerID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setFirstName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setFirstName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setFirstName(String firstName)", + "parameters": [ { - "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", - "start_line": 164, - "end_line": 171, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "type": "java.lang.String", + "name": "firstName", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 27, + "end_column": 42 } ], + "code": "{\r\n\t\tthis.firstName = firstName;\r\n\t}", + "start_line": 176, + "end_line": 178, + "code_start_line": 176, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAddr2()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getAddr2()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getAddr2()", + "parameters": [], + "code": "{\r\n\t\treturn addr2;\r\n\t}", + "start_line": 132, + "end_line": 134, + "code_start_line": 132, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addr2" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPhone(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setPhone(java.lang.String)", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setItemQuantity(String inventoryID, int quantity)", + "declaration": "public void setPhone(String phone)", "parameters": [ { "type": "java.lang.String", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 172, - "end_line": 172, - "start_column": 30, - "end_column": 47 - }, - { - "type": "int", - "name": "quantity", + "name": "phone", "annotations": [], "modifiers": [], - "start_line": 172, - "end_line": 172, - "start_column": 50, - "end_column": 61 + "start_line": 200, + "end_line": 200, + "start_column": 23, + "end_column": 34 } ], - "code": "{\r\n\t\tInventory inv = getInvUpdate(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tinv.setQuantity(quantity);\r\n\t\t}\r\n\t}", - "start_line": 172, - "end_line": 177, - "code_start_line": 172, + "code": "{\r\n\t\tthis.phone = phone;\r\n\t}", + "start_line": 200, + "end_line": 202, + "code_start_line": 200, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getInvUpdate", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInvUpdate(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 173, - "start_column": 19, - "end_line": 173, - "end_column": 43 - }, - { - "method_name": "setQuantity", - "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 175, - "start_column": 4, - "end_line": 175, - "end_column": 28 - } + "java.lang.String" ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "getInvUpdate(inventoryID)", - "start_line": 173, - "start_column": 13, - "end_line": 173, - "end_column": 43 - } + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.phone" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "addItem(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "addItem(Inventory)", + "verifyPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "verifyPassword(java.lang.String)", "comments": [ { - "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", - "start_line": 99, - "end_line": 105, + "content": "\r\n\t * Verify password.\r\n\t *\r\n\t * @param password\r\n\t * value to be checked.\r\n\t * @return True, if password matches one stored.\r\n\t ", + "start_line": 104, + "end_line": 110, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -64345,62 +76605,66 @@ "public" ], "thrown_exceptions": [], - "declaration": "public boolean addItem(Inventory item)", + "declaration": "public boolean verifyPassword(String password)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "item", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 106, - "end_line": 106, - "start_column": 25, - "end_column": 38 + "start_line": 111, + "end_line": 111, + "start_column": 32, + "end_column": 46 } ], - "code": "{\r\n\t\tboolean retval = true;\r\n\t\tUtil.debug(\"addItem \" + item.getInventoryId());\r\n\t\tem.persist(item);\r\n\t\tem.flush();\r\n\t\treturn retval;\r\n\t}", - "start_line": 106, - "end_line": 112, - "code_start_line": 106, + "code": "{\r\n\t\treturn this.getPassword().equals(password);\r\n\t}", + "start_line": 111, + "end_line": 113, + "code_start_line": 111, "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" + "com.ibm.websphere.samples.pbw.jpa.Customer.password" ], "call_sites": [ { - "method_name": "debug", + "method_name": "equals", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this.getPassword()", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "password" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, - "start_column": 3, - "end_line": 108, - "end_column": 48 + "start_line": 112, + "start_column": 10, + "end_line": 112, + "end_column": 44 }, { - "method_name": "getInventoryId", + "method_name": "getPassword", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "getPassword()", "is_public": true, "is_protected": false, "is_private": false, @@ -64409,88 +76673,142 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, - "start_column": 27, - "end_line": 108, - "end_column": 47 - }, - { - "method_name": "persist", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 109, - "start_column": 3, - "end_line": 109, - "end_column": 18 - }, - { - "method_name": "flush", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 3, - "end_line": 110, - "end_column": 12 + "start_line": 112, + "start_column": 10, + "end_line": 112, + "end_column": 27 } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "retval", - "type": "boolean", - "initializer": "true", - "start_line": 107, - "start_column": 11, - "end_line": 107, - "end_column": 23 - } + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getFirstName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getFirstName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getFirstName()", + "parameters": [], + "code": "{\r\n\t\treturn firstName;\r\n\t}", + "start_line": 172, + "end_line": 174, + "code_start_line": 172, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getItemImageBytes(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "getItemImageBytes(String)", + "getAddrCity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getAddrCity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getAddrCity()", + "parameters": [], + "code": "{\r\n\t\treturn addrCity;\r\n\t}", + "start_line": 140, + "end_line": 142, + "code_start_line": 140, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAddr1()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getAddr1()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getAddr1()", + "parameters": [], + "code": "{\r\n\t\treturn addr1;\r\n\t}", + "start_line": 124, + "end_line": 126, + "code_start_line": 124, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addr1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getLastName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getLastName()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getLastName()", + "parameters": [], + "code": "{\r\n\t\treturn lastName;\r\n\t}", + "start_line": 180, + "end_line": 182, + "code_start_line": 180, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.lastName" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "comments": [ { - "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", - "start_line": 132, - "end_line": 138, + "content": "\r\n\t * Create a new Customer.\r\n\t *\r\n\t * @param key\r\n\t * CustomerKey\r\n\t * @param password\r\n\t * Password used for this customer account.\r\n\t * @param firstName\r\n\t * First name of the customer.\r\n\t * @param lastName\r\n\t * Last name of the customer\r\n\t * @param addr1\r\n\t * Street address of the customer\r\n\t * @param addr2\r\n\t * Street address of the customer\r\n\t * @param addrCity\r\n\t * City\r\n\t * @param addrState\r\n\t * State\r\n\t * @param addrZip\r\n\t * Zip code\r\n\t * @param phone\r\n\t * Phone number\r\n\t ", + "start_line": 66, + "end_line": 89, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -64501,62 +76819,194 @@ "public" ], "thrown_exceptions": [], - "declaration": "public byte[] getItemImageBytes(String inventoryID)", + "declaration": "public Customer(String key, String password, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", "parameters": [ { "type": "java.lang.String", - "name": "inventoryID", + "name": "key", "annotations": [], "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 34, - "end_column": 51 + "start_line": 90, + "end_line": 90, + "start_column": 18, + "end_column": 27 + }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 30, + "end_column": 44 + }, + { + "type": "java.lang.String", + "name": "firstName", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 47, + "end_column": 62 + }, + { + "type": "java.lang.String", + "name": "lastName", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 65, + "end_column": 79 + }, + { + "type": "java.lang.String", + "name": "addr1", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 82, + "end_column": 93 + }, + { + "type": "java.lang.String", + "name": "addr2", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 96, + "end_column": 107 + }, + { + "type": "java.lang.String", + "name": "addrCity", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "addrState", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 21, + "end_column": 36 + }, + { + "type": "java.lang.String", + "name": "addrZip", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 39, + "end_column": 52 + }, + { + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 55, + "end_column": 66 } ], - "code": "{\r\n\t\tbyte[] retval = null;\r\n\t\tInventory inv = getInv(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tretval = inv.getImgbytes();\r\n\t\t}\r\n\r\n\t\treturn retval;\r\n\t}", - "start_line": 139, - "end_line": 147, - "code_start_line": 139, - "return_type": "byte[]", + "code": "{\r\n\t\tthis.setCustomerID(key);\r\n\t\tthis.setPassword(password);\r\n\t\tthis.setFirstName(firstName);\r\n\t\tthis.setLastName(lastName);\r\n\t\tthis.setAddr1(addr1);\r\n\t\tthis.setAddr2(addr2);\r\n\t\tthis.setAddrCity(addrCity);\r\n\t\tthis.setAddrState(addrState);\r\n\t\tthis.setAddrZip(addrZip);\r\n\t\tthis.setPhone(phone);\r\n\t}", + "start_line": 90, + "end_line": 102, + "code_start_line": 91, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity", + "com.ibm.websphere.samples.pbw.jpa.Customer.addrState", + "com.ibm.websphere.samples.pbw.jpa.Customer.password", + "com.ibm.websphere.samples.pbw.jpa.Customer.addr2", + "com.ibm.websphere.samples.pbw.jpa.Customer.lastName", + "com.ibm.websphere.samples.pbw.jpa.Customer.addr1", + "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip", + "com.ibm.websphere.samples.pbw.jpa.Customer.phone", + "com.ibm.websphere.samples.pbw.jpa.Customer.firstName" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "getInv", + "method_name": "setCustomerID", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "key" + ], + "return_type": "", + "callee_signature": "setCustomerID(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 92, + "start_column": 3, + "end_line": 92, + "end_column": 25 + }, + { + "method_name": "setPassword", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInv(java.lang.String)", - "is_public": false, + "argument_expr": [ + "password" + ], + "return_type": "", + "callee_signature": "setPassword(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, - "start_column": 19, - "end_line": 141, - "end_column": 37 + "start_line": 93, + "start_column": 3, + "end_line": 93, + "end_column": 28 }, { - "method_name": "getImgbytes", + "method_name": "setFirstName", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "firstName" + ], "return_type": "", - "callee_signature": "getImgbytes()", + "callee_signature": "setFirstName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -64565,354 +77015,364 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, - "start_column": 13, - "end_line": 143, - "end_column": 29 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "retval", - "type": "byte[]", - "initializer": "null", - "start_line": 140, - "start_column": 10, - "end_line": 140, - "end_column": 22 + "start_line": 94, + "start_column": 3, + "end_line": 94, + "end_column": 30 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "getInv(inventoryID)", - "start_line": 141, - "start_column": 13, - "end_line": 141, - "end_column": 37 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "getItemsByCategory(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "getItemsByCategory(int)", - "comments": [ - { - "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", - "start_line": 61, - "end_line": 61, + "method_name": "setLastName", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "lastName" + ], + "return_type": "", + "callee_signature": "setLastName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 95, "start_column": 3, - "end_column": 89, - "is_javadoc": false + "end_line": 95, + "end_column": 28 }, { - "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", - "start_line": 51, - "end_line": 57, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Vector getItemsByCategory(int category)", - "parameters": [ - { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 46, - "end_column": 57 - } - ], - "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"getItemsByCategory\");\r\n\t\tq.setParameter(\"category\", category);\r\n\t\t// The return type must be Vector because the PBW client ActiveX sample requires Vector\r\n\t\treturn new Vector(q.getResultList());\r\n\t}", - "start_line": 58, - "end_line": 63, - "code_start_line": 58, - "return_type": "java.util.Vector", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "Query" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" - ], - "call_sites": [ - { - "method_name": "createNamedQuery", + "method_name": "setAddr1", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "addr1" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setAddr1(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 59, - "start_column": 13, - "end_line": 59, - "end_column": 53 + "start_line": 96, + "start_column": 3, + "end_line": 96, + "end_column": 22 }, { - "method_name": "setParameter", + "method_name": "setAddr2", "comment": null, - "receiver_expr": "q", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ - "java.lang.String", - "" + "java.lang.String" + ], + "argument_expr": [ + "addr2" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setAddr2(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 60, + "start_line": 97, "start_column": 3, - "end_line": 60, - "end_column": 38 + "end_line": 97, + "end_column": 22 }, { - "method_name": "getResultList", + "method_name": "setAddrCity", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrCity" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setAddrCity(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 62, - "start_column": 32, - "end_line": 62, - "end_column": 48 + "start_line": 98, + "start_column": 3, + "end_line": 98, + "end_column": 28 }, { - "method_name": "", - "comment": { - "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", - "start_line": 61, - "end_line": 61, - "start_column": 3, - "end_column": 89, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "java.util.Vector", + "method_name": "setAddrState", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "java.util.Vector", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "addrState" + ], + "return_type": "", + "callee_signature": "setAddrState(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 62, - "start_column": 10, - "end_line": 62, - "end_column": 49 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "q", - "type": "Query", - "initializer": "em.createNamedQuery(\"getItemsByCategory\")", - "start_line": 59, - "start_column": 9, - "end_line": 59, - "end_column": 53 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getItemInventory(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "getItemInventory(String)", - "comments": [ - { - "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", - "start_line": 85, - "end_line": 91, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Inventory getItemInventory(String inventoryID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 36, - "end_column": 53 - } - ], - "code": "{\r\n\t\tInventory si = null;\r\n\t\tUtil.debug(\"getItemInventory id=\" + inventoryID);\r\n\t\tsi = em.find(Inventory.class, inventoryID);\r\n\t\treturn si;\r\n\t}", - "start_line": 92, - "end_line": 97, - "code_start_line": 92, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" - ], - "call_sites": [ + "start_line": 99, + "start_column": 3, + "end_line": 99, + "end_column": 30 + }, { - "method_name": "debug", + "method_name": "setAddrZip", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "addrZip" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setAddrZip(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, + "start_line": 100, "start_column": 3, - "end_line": 94, - "end_column": 50 + "end_line": 100, + "end_column": 26 }, { - "method_name": "find", + "method_name": "setPhone", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ - "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "phone" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setPhone(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 95, - "start_column": 8, - "end_line": 95, - "end_column": 44 + "start_line": 101, + "start_column": 3, + "end_line": 101, + "end_column": 22 } ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "si", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "null", - "start_line": 93, - "start_column": 13, - "end_line": 93, - "end_column": 21 + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Customer()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 63, + "end_line": 64, + "code_start_line": 63, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPassword()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getPassword()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getPassword()", + "parameters": [], + "code": "{\r\n\t\treturn password;\r\n\t}", + "start_line": 188, + "end_line": 190, + "code_start_line": 188, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.password" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAddrZip()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getAddrZip()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getAddrZip()", + "parameters": [], + "code": "{\r\n\t\treturn addrZip;\r\n\t}", + "start_line": 156, + "end_line": 158, + "code_start_line": 156, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrZip" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPhone()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getPhone()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getPhone()", + "parameters": [], + "code": "{\r\n\t\treturn phone;\r\n\t}", + "start_line": 196, + "end_line": 198, + "code_start_line": 196, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.phone" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setAddrCity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setAddrCity(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAddrCity(String addrCity)", + "parameters": [ + { + "type": "java.lang.String", + "name": "addrCity", + "annotations": [], + "modifiers": [], + "start_line": 144, + "end_line": 144, + "start_column": 26, + "end_column": 40 } ], + "code": "{\r\n\t\tthis.addrCity = addrCity;\r\n\t}", + "start_line": 144, + "end_line": 146, + "code_start_line": 144, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrCity" + ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setItemImageBytes(String, byte[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "setItemImageBytes(String, byte[])", + "getFullName()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getFullName()", "comments": [ { - "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", - "start_line": 149, - "end_line": 156, + "content": "\r\n\t * Get the customer's full name.\r\n\t * \r\n\t * @return String of customer's full name.\r\n\t ", + "start_line": 115, + "end_line": 119, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -64923,74 +77383,49 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setItemImageBytes(String inventoryID, byte[] imgbytes)", - "parameters": [ - { - "type": "java.lang.String", - "name": "inventoryID", - "annotations": [], - "modifiers": [], - "start_line": 157, - "end_line": 157, - "start_column": 32, - "end_column": 49 - }, - { - "type": "byte[]", - "name": "imgbytes", - "annotations": [], - "modifiers": [], - "start_line": 157, - "end_line": 157, - "start_column": 52, - "end_column": 66 - } - ], - "code": "{\r\n\t\tInventory inv = getInvUpdate(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tinv.setImgbytes(imgbytes);\r\n\t\t}\r\n\t}", - "start_line": 157, - "end_line": 162, - "code_start_line": 157, - "return_type": "void", + "declaration": "public String getFullName()", + "parameters": [], + "code": "{\r\n\t\treturn this.getFirstName() + \" \" + this.getLastName();\r\n\t}", + "start_line": 120, + "end_line": 122, + "code_start_line": 120, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], + "referenced_types": [], "accessed_fields": [], "call_sites": [ { - "method_name": "getInvUpdate", + "method_name": "getFirstName", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInvUpdate(java.lang.String)", - "is_public": false, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getFirstName()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 158, - "start_column": 19, - "end_line": 158, - "end_column": 43 + "start_line": 121, + "start_column": 10, + "end_line": 121, + "end_column": 28 }, { - "method_name": "setImgbytes", + "method_name": "getLastName", "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setImgbytes(byte[])", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getLastName()", "is_public": true, "is_protected": false, "is_private": false, @@ -64999,180 +77434,299 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 160, - "start_column": 4, - "end_line": 160, - "end_column": 28 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "getInvUpdate(inventoryID)", - "start_line": 158, - "start_column": 13, - "end_line": 158, - "end_column": 43 + "start_line": 121, + "start_column": 38, + "end_line": 121, + "end_column": 55 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getInvUpdate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", - "signature": "getInvUpdate(String)", - "comments": [ - { - "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", - "start_line": 190, - "end_line": 196, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "setAddr2(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "setAddr2(java.lang.String)", + "comments": [], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [], - "declaration": "private Inventory getInvUpdate(String inventoryID)", + "declaration": "public void setAddr2(String addr2)", "parameters": [ { "type": "java.lang.String", - "name": "inventoryID", + "name": "addr2", "annotations": [], "modifiers": [], - "start_line": 197, - "end_line": 197, - "start_column": 33, - "end_column": 50 + "start_line": 136, + "end_line": 136, + "start_column": 23, + "end_column": 34 } ], - "code": "{\r\n\t\tInventory inv = null;\r\n\t\tinv = em.find(Inventory.class, inventoryID);\r\n\t\tem.lock(inv, LockModeType.OPTIMISTIC_FORCE_INCREMENT);\r\n\t\tem.refresh(inv);\r\n\t\treturn inv;\r\n\t}", - "start_line": 197, - "end_line": 203, - "code_start_line": 197, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "code": "{\r\n\t\tthis.addr2 = addr2;\r\n\t}", + "start_line": 136, + "end_line": 138, + "code_start_line": 136, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em", - "OPTIMISTIC_FORCE_INCREMENT" + "com.ibm.websphere.samples.pbw.jpa.Customer.addr2" ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 199, - "start_column": 9, - "end_line": 199, - "end_column": 45 - }, - { - "method_name": "lock", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 200, - "start_column": 3, - "end_line": 200, - "end_column": 55 - }, - { - "method_name": "refresh", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 201, - "start_column": 3, - "end_line": 201, - "end_column": 17 - } + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAddrState()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Customer.java", + "signature": "getAddrState()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "null", - "start_line": 198, - "start_column": 13, - "end_line": 198, - "end_column": 22 - } + "thrown_exceptions": [], + "declaration": "public String getAddrState()", + "parameters": [], + "code": "{\r\n\t\treturn addrState;\r\n\t}", + "start_line": 148, + "end_line": 150, + "code_start_line": 148, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Customer.addrState" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 37, + "end_line": 38, + "variables": [ + "customerID" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@Id" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 39, + "end_line": 39, + "variables": [ + "password" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 41, + "end_line": 43, + "variables": [ + "firstName" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"First name must include at least one letter.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 44, + "end_line": 46, + "variables": [ + "lastName" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Last name must include at least one letter.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 47, + "end_line": 49, + "variables": [ + "addr1" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"Address must include at least one letter.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 50, + "end_line": 50, + "variables": [ + "addr2" + ], + "modifiers": [ + "private" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 51, + "end_line": 53, + "variables": [ + "addrCity" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@NotNull", + "@Size(min = 1, message = \"City name must include at least one letter.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 54, + "end_line": 56, + "variables": [ + "addrState" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@NotNull", + "@Size(min = 2, message = \"State must include at least two letters.\")" + ] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 57, + "end_line": 58, + "variables": [ + "addrZip" ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [ + "modifiers": [ + "private" + ], + "annotations": [ + "@Pattern(regexp = \"\\\\d{5}\", message = \"Zip code does not have 5 digits.\")" + ] + }, { "comment": { "content": null, @@ -65183,15 +77737,18 @@ "is_javadoc": false }, "name": null, - "type": "EntityManager", - "start_line": 40, - "end_line": 41, + "type": "java.lang.String", + "start_line": 59, + "end_line": 61, "variables": [ - "em" + "phone" + ], + "modifiers": [ + "private" ], - "modifiers": [], "annotations": [ - "@PersistenceContext(unitName = \"PBW\")" + "@NotNull", + "@Pattern(regexp = \"\\\\d{3}-\\\\d{3}-\\\\d{4}\", message = \"Phone number does not match xxx-xxx-xxxx.\")" ] } ], @@ -65203,8 +77760,8 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", "package_name": "com.ibm.websphere.samples.pbw.bean", "comments": [ { @@ -65304,7 +77861,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -65328,291 +77885,75 @@ "is_javadoc": false }, { - "content": "\r\n * The BackOrderMgr provides a transactional and secured facade to access back order information.\r\n * This bean no longer requires an interface as there is one and only one implementation.\r\n ", - "start_line": 33, - "end_line": 36, + "content": "\r\n * The CustomerMgr provides a transactional facade for access to a user DB as well as simple\r\n * authentication support for those users.\r\n * \r\n ", + "start_line": 30, + "end_line": 34, "start_column": 1, "end_column": 3, "is_javadoc": true }, { - "content": "\r\n\t * Method receiveConfirmation.\r\n\t * \r\n\t * @param backOrderID\r\n\t * / public int receiveConfirmation(String backOrderID) { int rc = 0; BackOrder\r\n\t * backOrder; Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Finding Back Order for backOrderID=\" +\r\n\t * backOrderID); backOrder = em.find(BackOrder.class, backOrderID);\r\n\t * backOrder.setStatus(Util.STATUS_RECEIVEDSTOCK); Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Updating status(\" +\r\n\t * Util.STATUS_RECEIVEDSTOCK + \") of backOrderID(\" + backOrderID + \")\"); return (rc);\r\n\t * }\r\n\t ", - "start_line": 107, - "end_line": 119, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method orderStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t * / public void orderStock(String backOrderID, int quantity) {\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDEREDSTOCK);\r\n\t * this.setBackOrderQuantity(backOrderID, quantity);\r\n\t * this.setBackOrderOrderDate(backOrderID); }\r\n\t ", - "start_line": 121, - "end_line": 130, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param backOrderID\r\n\t * / public void abortorderStock(String backOrderID) { Util.debug(\r\n\t * \"backOrderStockBean.abortorderStock() - Aborting orderStock transation for backorderID: \"\r\n\t * + backOrderID); // Reset the back order status since the order failed.\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDERSTOCK); }\r\n\t ", - "start_line": 142, - "end_line": 148, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String / public String getBackOrderID(String backOrderID) { String retbackOrderID =\r\n\t * \"\"; Util.debug( \"BackOrderMgr.getBackOrderID() - Entered\"); // BackOrderLocal\r\n\t * backOrder = getBackOrderLocalHome().findByPrimaryKey(new BackOrderKey(backOrderID));\r\n\t * BackOrder backOrder = em.find(BackOrder.class, backOrderID); retbackOrderID =\r\n\t * backOrder.getBackOrderID(); return retbackOrderID; }\r\n\t ", - "start_line": 150, - "end_line": 159, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " See if there is already an existing backorder and increase", - "start_line": 55, - "end_line": 55, - "start_column": 5, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " the order quantity", - "start_line": 56, - "end_line": 56, - "start_column": 5, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " but only if it has not been sent to the supplier.", - "start_line": 57, - "end_line": 57, - "start_column": 5, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " throw new FinderException();", - "start_line": 63, - "end_line": 63, - "start_column": 6, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 65, + "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 41, "end_line": 65, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Order enough stock from the supplier to reach the maximum", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " threshold and to", - "start_line": 71, - "end_line": 71, - "start_column": 5, - "end_column": 23, - "is_javadoc": false - }, - { - "content": " satisfy the back order.", - "start_line": 72, - "end_line": 72, - "start_column": 5, - "end_column": 30, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", - "start_line": 83, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 94, - "end_line": 98, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " BackOrderLocal backOrder =", - "start_line": 101, - "end_line": 101, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 102, - "end_line": 102, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 132, - "end_line": 137, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", - "start_line": 161, - "end_line": 166, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 171, - "end_line": 171, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 172, - "end_line": 172, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 173, - "end_line": 173, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", - "start_line": 180, - "end_line": 185, + "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", + "start_line": 83, + "end_line": 89, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 189, - "end_line": 189, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 190, - "end_line": 190, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 191, - "end_line": 191, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 197, - "end_line": 202, + "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 96, + "end_line": 118, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 205, - "end_line": 205, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 206, - "end_line": 206, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", - "start_line": 211, - "end_line": 216, + "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", + "start_line": 144, + "end_line": 152, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 219, - "end_line": 219, + "content": " Try to get customer.", + "start_line": 154, + "end_line": 154, "start_column": 3, - "end_column": 31, + "end_column": 25, "is_javadoc": false }, { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 220, - "end_line": 220, + "content": " Does customer exist?", + "start_line": 160, + "end_line": 160, "start_column": 3, - "end_column": 65, + "end_column": 25, "is_javadoc": false }, { - "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 225, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " BackOrderLocal backOrder =", - "start_line": 232, - "end_line": 232, - "start_column": 3, - "end_column": 31, + "content": " Is password correct?", + "start_line": 162, + "end_line": 162, + "start_column": 44, + "end_column": 66, "is_javadoc": false }, { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 233, - "end_line": 233, - "start_column": 3, - "end_column": 65, + "content": " Customer was not found.", + "start_line": 167, + "end_line": 167, + "start_column": 10, + "end_column": 35, "is_javadoc": false }, { @@ -65626,313 +77967,94 @@ ], "imports": [ "java.io.Serializable", - "java.util.Collection", - "javax.annotation.security.RolesAllowed", "javax.enterprise.context.Dependent", "javax.persistence.EntityManager", - "javax.persistence.NoResultException", - "javax.persistence.PersistenceContext", - "javax.persistence.Query", - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.utils.Util" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * Method receiveConfirmation.\r\n\t * \r\n\t * @param backOrderID\r\n\t * / public int receiveConfirmation(String backOrderID) { int rc = 0; BackOrder\r\n\t * backOrder; Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Finding Back Order for backOrderID=\" +\r\n\t * backOrderID); backOrder = em.find(BackOrder.class, backOrderID);\r\n\t * backOrder.setStatus(Util.STATUS_RECEIVEDSTOCK); Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Updating status(\" +\r\n\t * Util.STATUS_RECEIVEDSTOCK + \") of backOrderID(\" + backOrderID + \")\"); return (rc);\r\n\t * }\r\n\t ", - "start_line": 107, - "end_line": 119, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method orderStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t * / public void orderStock(String backOrderID, int quantity) {\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDEREDSTOCK);\r\n\t * this.setBackOrderQuantity(backOrderID, quantity);\r\n\t * this.setBackOrderOrderDate(backOrderID); }\r\n\t ", - "start_line": 121, - "end_line": 130, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * @param backOrderID\r\n\t * / public void abortorderStock(String backOrderID) { Util.debug(\r\n\t * \"backOrderStockBean.abortorderStock() - Aborting orderStock transation for backorderID: \"\r\n\t * + backOrderID); // Reset the back order status since the order failed.\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDERSTOCK); }\r\n\t ", - "start_line": 142, - "end_line": 148, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String / public String getBackOrderID(String backOrderID) { String retbackOrderID =\r\n\t * \"\"; Util.debug( \"BackOrderMgr.getBackOrderID() - Entered\"); // BackOrderLocal\r\n\t * backOrder = getBackOrderLocalHome().findByPrimaryKey(new BackOrderKey(backOrderID));\r\n\t * BackOrder backOrder = em.find(BackOrder.class, backOrderID); retbackOrderID =\r\n\t * backOrder.getBackOrderID(); return retbackOrderID; }\r\n\t ", - "start_line": 150, - "end_line": 159, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " See if there is already an existing backorder and increase", - "start_line": 55, - "end_line": 55, - "start_column": 5, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " the order quantity", - "start_line": 56, - "end_line": 56, - "start_column": 5, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " but only if it has not been sent to the supplier.", - "start_line": 57, - "end_line": 57, - "start_column": 5, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " throw new FinderException();", - "start_line": 63, - "end_line": 63, - "start_column": 6, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 65, - "end_line": 65, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Order enough stock from the supplier to reach the maximum", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " threshold and to", - "start_line": 71, - "end_line": 71, - "start_column": 5, - "end_column": 23, - "is_javadoc": false - }, - { - "content": " satisfy the back order.", - "start_line": 72, - "end_line": 72, - "start_column": 5, - "end_column": 30, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", - "start_line": 83, - "end_line": 87, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 94, - "end_line": 98, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " BackOrderLocal backOrder =", - "start_line": 101, - "end_line": 101, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 102, - "end_line": 102, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 132, - "end_line": 137, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", - "start_line": 161, - "end_line": 166, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " BackOrderLocal backOrder =", - "start_line": 171, - "end_line": 171, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 172, - "end_line": 172, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 173, - "end_line": 173, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, + "javax.persistence.LockModeType", + "javax.persistence.PersistenceContext", + "javax.transaction.Transactional", + "com.ibm.websphere.samples.pbw.jpa.Customer", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.CustomerMgr": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ { - "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", - "start_line": 180, - "end_line": 185, + "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 41, + "end_line": 65, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 189, - "end_line": 189, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 190, - "end_line": 190, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 191, - "end_line": 191, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 197, - "end_line": 202, + "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", + "start_line": 83, + "end_line": 89, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 205, - "end_line": 205, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 206, - "end_line": 206, - "start_column": 3, - "end_column": 65, - "is_javadoc": false + "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 96, + "end_line": 118, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, { - "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", - "start_line": 211, - "end_line": 216, + "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", + "start_line": 144, + "end_line": 152, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " BackOrderLocal backOrder =", - "start_line": 219, - "end_line": 219, + "content": " Try to get customer.", + "start_line": 154, + "end_line": 154, "start_column": 3, - "end_column": 31, + "end_column": 25, "is_javadoc": false }, { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 220, - "end_line": 220, + "content": " Does customer exist?", + "start_line": 160, + "end_line": 160, "start_column": 3, - "end_column": 65, + "end_column": 25, "is_javadoc": false }, { - "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 225, - "end_line": 229, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " BackOrderLocal backOrder =", - "start_line": 232, - "end_line": 232, - "start_column": 3, - "end_column": 31, + "content": " Is password correct?", + "start_line": 162, + "end_line": 162, + "start_column": 44, + "end_column": 66, "is_javadoc": false }, { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 233, - "end_line": 233, - "start_column": 3, - "end_column": 65, + "content": " Customer was not found.", + "start_line": 167, + "end_line": 167, + "start_column": 10, + "end_column": 35, "is_javadoc": false }, { - "content": "\r\n * The BackOrderMgr provides a transactional and secured facade to access back order information.\r\n * This bean no longer requires an interface as there is one and only one implementation.\r\n ", - "start_line": 33, - "end_line": 36, + "content": "\r\n * The CustomerMgr provides a transactional facade for access to a user DB as well as simple\r\n * authentication support for those users.\r\n * \r\n ", + "start_line": 30, + "end_line": 34, "start_column": 1, "end_column": 3, "is_javadoc": true @@ -65945,36 +78067,592 @@ "public" ], "annotations": [ - "@Dependent", - "@RolesAllowed(\"SampAdmin\")" + "@Transactional", + "@Dependent" ], "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "setBackOrderOrderDate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "setBackOrderOrderDate(String)", + "getCustomer(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "signature": "getCustomer(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Retrieve an existing user.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @return Customer\r\n\t ", + "start_line": 83, + "end_line": 89, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Customer getCustomer(String customerID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "customerID", + "annotations": [], + "modifiers": [], + "start_line": 90, + "end_line": 90, + "start_column": 30, + "end_column": 46 + } + ], + "code": "{\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\treturn c;\r\n\r\n\t}", + "start_line": 90, + "end_line": 94, + "code_start_line": 90, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Customer.class", + "customerID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 91, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 91, + "start_column": 16, + "end_line": 91, + "end_column": 50 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "c", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "em.find(Customer.class, customerID)", + "start_line": 91, + "start_column": 12, + "end_line": 91, + "end_column": 50 + } + ], + "crud_operations": [ + { + "line_number": 91, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "signature": "updateUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "comments": [ { - "content": " BackOrderLocal backOrder =", - "start_line": 232, - "end_line": 232, + "content": "\r\n\t * Update an existing user.\r\n\t *\r\n\t * @param customerID\r\n\t * The customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 96, + "end_line": 118, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Customer updateUser(String customerID, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", + "parameters": [ + { + "type": "java.lang.String", + "name": "customerID", + "annotations": [], + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 29, + "end_column": 45 + }, + { + "type": "java.lang.String", + "name": "firstName", + "annotations": [], + "modifiers": [], + "start_line": 120, + "end_line": 120, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "lastName", + "annotations": [], + "modifiers": [], + "start_line": 121, + "end_line": 121, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "addr1", + "annotations": [], + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "addr2", + "annotations": [], + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "addrCity", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "addrState", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "addrZip", + "annotations": [], + "modifiers": [], + "start_line": 126, + "end_line": 126, + "start_column": 4, + "end_column": 17 + }, + { + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 127, + "end_line": 127, + "start_column": 4, + "end_column": 15 + } + ], + "code": "{\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\tem.lock(c, LockModeType.WRITE);\r\n\t\tem.refresh(c);\r\n\r\n\t\tc.setFirstName(firstName);\r\n\t\tc.setLastName(lastName);\r\n\t\tc.setAddr1(addr1);\r\n\t\tc.setAddr2(addr2);\r\n\t\tc.setAddrCity(addrCity);\r\n\t\tc.setAddrState(addrState);\r\n\t\tc.setAddrZip(addrZip);\r\n\t\tc.setPhone(phone);\r\n\r\n\t\treturn c;\r\n\t}", + "start_line": 119, + "end_line": 142, + "code_start_line": 127, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.LockModeType", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "accessed_fields": [ + "javax.persistence.LockModeType.WRITE", + "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Customer.class", + "customerID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 128, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 128, + "start_column": 16, + "end_line": 128, + "end_column": 50 + }, + { + "method_name": "lock", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer", + "javax.persistence.LockModeType" + ], + "argument_expr": [ + "c", + "LockModeType.WRITE" + ], + "return_type": "", + "callee_signature": "lock(java.lang.Object, javax.persistence.LockModeType)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 129, + "start_column": 3, + "end_line": 129, + "end_column": 32 + }, + { + "method_name": "refresh", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "c" + ], + "return_type": "", + "callee_signature": "refresh(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 130, + "start_column": 3, + "end_line": 130, + "end_column": 15 + }, + { + "method_name": "setFirstName", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "firstName" + ], + "return_type": "", + "callee_signature": "setFirstName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 132, + "start_column": 3, + "end_line": 132, + "end_column": 27 + }, + { + "method_name": "setLastName", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "lastName" + ], + "return_type": "", + "callee_signature": "setLastName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 3, + "end_line": 133, + "end_column": 25 + }, + { + "method_name": "setAddr1", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addr1" + ], + "return_type": "", + "callee_signature": "setAddr1(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 134, + "start_column": 3, + "end_line": 134, + "end_column": 19 + }, + { + "method_name": "setAddr2", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addr2" + ], + "return_type": "", + "callee_signature": "setAddr2(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 3, + "end_line": 135, + "end_column": 19 + }, + { + "method_name": "setAddrCity", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrCity" + ], + "return_type": "", + "callee_signature": "setAddrCity(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 136, "start_column": 3, - "end_column": 31, - "is_javadoc": false + "end_line": 136, + "end_column": 25 }, { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 233, - "end_line": 233, + "method_name": "setAddrState", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrState" + ], + "return_type": "", + "callee_signature": "setAddrState(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 137, "start_column": 3, - "end_column": 65, - "is_javadoc": false + "end_line": 137, + "end_column": 27 }, { - "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 225, - "end_line": 229, + "method_name": "setAddrZip", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "addrZip" + ], + "return_type": "", + "callee_signature": "setAddrZip(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 138, + "start_column": 3, + "end_line": 138, + "end_column": 23 + }, + { + "method_name": "setPhone", + "comment": null, + "receiver_expr": "c", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "phone" + ], + "return_type": "", + "callee_signature": "setPhone(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 139, + "start_column": 3, + "end_line": 139, + "end_column": 19 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "c", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "em.find(Customer.class, customerID)", + "start_line": 128, + "start_column": 12, + "end_line": 128, + "end_column": 50 + } + ], + "crud_operations": [ + { + "line_number": 128, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "signature": "createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Create a new user.\r\n\t *\r\n\t * @param customerID\r\n\t * The new customer ID.\r\n\t * @param password\r\n\t * The password for the customer ID.\r\n\t * @param firstName\r\n\t * First name.\r\n\t * @param lastName\r\n\t * Last name.\r\n\t * @param addr1\r\n\t * Address line 1.\r\n\t * @param addr2\r\n\t * Address line 2.\r\n\t * @param addrCity\r\n\t * City address information.\r\n\t * @param addrState\r\n\t * State address information.\r\n\t * @param addrZip\r\n\t * Zip code address information.\r\n\t * @param phone\r\n\t * User's phone number.\r\n\t * @return Customer\r\n\t ", + "start_line": 41, + "end_line": 65, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -65985,111 +78663,451 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setBackOrderOrderDate(String backOrderID)", + "declaration": "public Customer createCustomer(String customerID, String password, String firstName, String lastName, String addr1, String addr2, String addrCity, String addrState, String addrZip, String phone)", "parameters": [ { "type": "java.lang.String", - "name": "backOrderID", + "name": "customerID", "annotations": [], "modifiers": [], - "start_line": 230, - "end_line": 230, - "start_column": 36, - "end_column": 53 + "start_line": 66, + "end_line": 66, + "start_column": 33, + "end_column": 49 + }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 67, + "end_line": 67, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "firstName", + "annotations": [], + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "lastName", + "annotations": [], + "modifiers": [], + "start_line": 69, + "end_line": 69, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "addr1", + "annotations": [], + "modifiers": [], + "start_line": 70, + "end_line": 70, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "addr2", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "addrCity", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "addrState", + "annotations": [], + "modifiers": [], + "start_line": 73, + "end_line": 73, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "addrZip", + "annotations": [], + "modifiers": [], + "start_line": 74, + "end_line": 74, + "start_column": 4, + "end_column": 17 + }, + { + "type": "java.lang.String", + "name": "phone", + "annotations": [], + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 4, + "end_column": 15 } ], - "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setOrderDate(System.currentTimeMillis());\r\n\t}", - "start_line": 230, - "end_line": 236, - "code_start_line": 230, - "return_type": "void", + "code": "{\r\n\t\tCustomer c = new Customer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip,\r\n\t\t\t\tphone);\r\n\t\tem.persist(c);\r\n\t\tem.flush();\r\n\t\treturn c;\r\n\t}", + "start_line": 66, + "end_line": 81, + "code_start_line": 75, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "com.ibm.websphere.samples.pbw.jpa.Customer" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" ], "call_sites": [ { - "method_name": "debug", + "method_name": "persist", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "argument_expr": [ + "c" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "persist(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 78, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 78, + "start_column": 3, + "end_line": 78, + "end_column": 15 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 231, + "start_line": 79, "start_column": 3, - "end_line": 231, - "end_column": 61 + "end_line": 79, + "end_column": 12 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "customerID", + "password", + "firstName", + "lastName", + "addr1", + "addr2", + "addrCity", + "addrState", + "addrZip", + "phone" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "Customer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 16, + "end_line": 77, + "end_column": 10 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "c", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "new Customer(customerID, password, firstName, lastName, addr1, addr2, addrCity, addrState, addrZip, phone)", + "start_line": 76, + "start_column": 12, + "end_line": 77, + "end_column": 10 + } + ], + "crud_operations": [ + { + "line_number": 78, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "verifyUserAndPassword(java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CustomerMgr.java", + "signature": "verifyUserAndPassword(java.lang.String, java.lang.String)", + "comments": [ + { + "content": " Try to get customer.", + "start_line": 154, + "end_line": 154, + "start_column": 3, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " Does customer exist?", + "start_line": 160, + "end_line": 160, + "start_column": 3, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " Is password correct?", + "start_line": 162, + "end_line": 162, + "start_column": 44, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Customer was not found.", + "start_line": 167, + "end_line": 167, + "start_column": 10, + "end_column": 35, + "is_javadoc": false + }, + { + "content": "\r\n\t * Verify that the user exists and the password is value.\r\n\t * \r\n\t * @param customerID\r\n\t * The customer ID\r\n\t * @param password\r\n\t * The password for the customer ID\r\n\t * @return String with a results message.\r\n\t ", + "start_line": 144, + "end_line": 152, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String verifyUserAndPassword(String customerID, String password)", + "parameters": [ + { + "type": "java.lang.String", + "name": "customerID", + "annotations": [], + "modifiers": [], + "start_line": 153, + "end_line": 153, + "start_column": 38, + "end_column": 54 }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 153, + "end_line": 153, + "start_column": 57, + "end_column": 71 + } + ], + "code": "{\r\n\t\t// Try to get customer.\r\n\t\tString results = null;\r\n\t\tCustomer customer = null;\r\n\r\n\t\tcustomer = em.find(Customer.class, customerID);\r\n\r\n\t\t// Does customer exist?\r\n\t\tif (customer != null) {\r\n\t\t\tif (!customer.verifyPassword(password)) // Is password correct?\r\n\t\t\t{\r\n\t\t\t\tresults = \"\\nPassword does not match for : \" + customerID;\r\n\t\t\t\tUtil.debug(\"Password given does not match for userid=\" + customerID);\r\n\t\t\t}\r\n\t\t} else // Customer was not found.\r\n\t\t{\r\n\t\t\tresults = \"\\nCould not find account for : \" + customerID;\r\n\t\t\tUtil.debug(\"customer \" + customerID + \" NOT found\");\r\n\t\t}\r\n\r\n\t\treturn results;\r\n\t}", + "start_line": 153, + "end_line": 174, + "code_start_line": 153, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String", + "com.ibm.websphere.samples.pbw.jpa.Customer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.CustomerMgr.em" + ], + "call_sites": [ { "method_name": "find", "comment": null, "receiver_expr": "em", - "receiver_type": "", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Customer.class", + "customerID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 158, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 158, + "start_column": 14, + "end_line": 158, + "end_column": 48 + }, + { + "method_name": "verifyPassword", + "comment": { + "content": " Is password correct?", + "start_line": 162, + "end_line": 162, + "start_column": 44, + "end_column": 66, + "is_javadoc": false + }, + "receiver_expr": "customer", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Customer", "argument_types": [ - "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "password" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "verifyPassword(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 234, - "start_column": 25, - "end_line": 234, - "end_column": 61 + "start_line": 162, + "start_column": 9, + "end_line": 162, + "end_column": 41 }, { - "method_name": "setOrderDate", + "method_name": "debug", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "\"Password given does not match for userid=\" + customerID" ], "return_type": "", - "callee_signature": "setOrderDate(long)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 235, - "start_column": 3, - "end_line": 235, - "end_column": 52 + "start_line": 165, + "start_column": 5, + "end_line": 165, + "end_column": 72 }, { - "method_name": "currentTimeMillis", + "method_name": "debug", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"customer \" + customerID + \" NOT found\"" + ], "return_type": "", - "callee_signature": "currentTimeMillis()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -66098,10 +79116,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 235, - "start_column": 26, - "end_line": 235, - "end_column": 51 + "start_line": 170, + "start_column": 4, + "end_line": 170, + "end_column": 54 } ], "variable_declarations": [ @@ -66114,174 +79132,423 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 234, - "start_column": 13, - "end_line": 234, - "end_column": 61 + "name": "results", + "type": "java.lang.String", + "initializer": "null", + "start_line": 155, + "start_column": 10, + "end_line": 155, + "end_column": 23 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "customer", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "null", + "start_line": 156, + "start_column": 12, + "end_line": 156, + "end_column": 26 } ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "updateStock(String, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "updateStock(String, int)", - "comments": [ + "crud_operations": [ { - "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 132, - "end_line": 137, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "line_number": 158, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "javax.persistence.EntityManager", + "start_line": 38, + "end_line": 39, + "variables": [ + "em" + ], + "modifiers": [], + "annotations": [ + "@PersistenceContext(unitName = \"PBW\")" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * MailerAppException extends the standard Exception. This is thrown by the mailer component when\r\n * there is some failure sending the mail.\r\n ", + "start_line": 19, + "end_line": 22, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * \r\n\t ", + "start_line": 25, + "end_line": 27, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.MailerAppException": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "java.lang.Exception" + ], + "comments": [ + { + "content": "\r\n\t * \r\n\t ", + "start_line": 25, + "end_line": 27, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * MailerAppException extends the standard Exception. This is thrown by the mailer component when\r\n * there is some failure sending the mail.\r\n ", + "start_line": 19, + "end_line": 22, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", + "signature": "()", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void updateStock(String backOrderID, int quantity)", - "parameters": [ - { - "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 26, - "end_column": 43 - }, - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 46, - "end_column": 57 - } - ], - "code": "{\r\n\t\tthis.setBackOrderStatus(backOrderID, Util.STATUS_ADDEDSTOCK);\r\n\t}", - "start_line": 138, - "end_line": 140, - "code_start_line": 138, - "return_type": "void", + "declaration": "public MailerAppException()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 30, + "end_line": 31, + "code_start_line": 30, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ADDEDSTOCK" - ], - "call_sites": [ - { - "method_name": "setBackOrderStatus", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setBackOrderStatus(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 139, - "start_column": 3, - "end_line": 139, - "end_column": 62 - } - ], + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getBackOrderInventoryID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "getBackOrderInventoryID(String)", - "comments": [ - { - "content": " BackOrderLocal backOrder =", - "start_line": 171, - "end_line": 171, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 172, - "end_line": 172, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 173, - "end_line": 173, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", - "start_line": 161, - "end_line": 166, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/MailerAppException.java", + "signature": "(java.lang.String)", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getBackOrderInventoryID(String backOrderID)", + "declaration": "public MailerAppException(String str)", "parameters": [ { "type": "java.lang.String", - "name": "backOrderID", + "name": "str", "annotations": [], "modifiers": [], - "start_line": 167, - "end_line": 167, - "start_column": 40, - "end_column": 57 + "start_line": 33, + "end_line": 33, + "start_column": 28, + "end_column": 37 } ], - "code": "{\r\n\t\tString retinventoryID = \"\";\r\n\r\n\t\tUtil.debug(\"BackOrderMgr.getBackOrderID() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKey(new\r\n\t\t// BackOrderKey(backOrderID));\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tretinventoryID = backOrder.getInventory().getInventoryId();\r\n\r\n\t\treturn retinventoryID;\r\n\t}", - "start_line": 167, - "end_line": 178, - "code_start_line": 167, - "return_type": "java.lang.String", + "code": "{\r\n\t\tsuper(str);\r\n\t}", + "start_line": 33, + "end_line": 35, + "code_start_line": 33, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "java.lang.String" + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\r\n\t * \r\n\t ", + "start_line": 25, + "end_line": 27, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 28, + "end_line": 28, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [], + "imports": [ + "javax.annotation.PostConstruct", + "javax.ejb.Singleton", + "javax.ejb.Startup", + "javax.inject.Inject", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.PopulateDBBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@Singleton", + "@Startup" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "initDB()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/PopulateDBBean.java", + "signature": "initDB()", + "comments": [], + "annotations": [ + "@PostConstruct" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void initDB()", + "parameters": [], + "code": "{\n Util.debug(\"Initializing database...\");\n dbBean.populateDB();\n }", + "start_line": 17, + "end_line": 21, + "code_start_line": 18, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.bean.PopulateDBBean.dbBean" ], "call_sites": [ { @@ -66292,6 +79559,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Initializing database...\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -66302,64 +79572,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 170, - "start_column": 3, - "end_line": 170, - "end_column": 55 - }, - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 174, - "start_column": 25, - "end_line": 174, - "end_column": 61 - }, - { - "method_name": "getInventoryId", - "comment": null, - "receiver_expr": "backOrder.getInventory()", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 175, - "start_column": 20, - "end_line": 175, - "end_column": 60 + "start_line": 19, + "start_column": 9, + "end_line": 19, + "end_column": 46 }, { - "method_name": "getInventory", + "method_name": "populateDB", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "dbBean", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "callee_signature": "getInventory()", + "argument_expr": [], + "return_type": "", + "callee_signature": "populateDB()", "is_public": true, "is_protected": false, "is_private": false, @@ -66368,77 +79594,468 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 175, - "start_column": 20, - "end_line": 175, - "end_column": 43 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "retinventoryID", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 168, - "start_column": 10, - "end_line": 168, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 174, - "start_column": 13, - "end_line": 174, - "end_column": 61 + "start_line": 20, + "start_column": 9, + "end_line": 20, + "end_column": 27 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "com.ibm.websphere.samples.pbw.bean.ResetDBBean", + "start_line": 14, + "end_line": 15, + "variables": [ + "dbBean" + ], + "modifiers": [], + "annotations": [ + "@Inject" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * The CatalogMgr provides transactional access to the catalog of items the store is willing to sell\r\n * to customers.\r\n * \r\n * @see com.ibm.websphere.samples.pbw.jpa.Inventory\r\n ", + "start_line": 31, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get all inventory items.\r\n\t *\r\n\t * @return Vector of Inventorys. / public Vector getItems() { Vector items\r\n\t * = new Vector(); int count = Util.getCategoryStrings().length; for (int i =\r\n\t * 0; i < count; i++) { items.addAll(getItemsByCategory(i)); } return items; }\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get inventory items that contain a given String within their names.\r\n\t *\r\n\t * @param name\r\n\t * String to search names for.\r\n\t * @return A Vector of Inventorys that match. / public Vector getItemsLikeName(String\r\n\t * name) { Query q = em.createNamedQuery(\"getItemsLikeName\"); q.setParameter(\"name\", '%'\r\n\t * + name + '%'); //The return type must be Vector because the PBW client ActiveX sample\r\n\t * requires Vector return new Vector(q.getResultList()); }\r\n\t ", + "start_line": 65, + "end_line": 74, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the StoreItem for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return StoreItem / public StoreItem getItem(String inventoryID) { return new\r\n\t * StoreItem(getItemInventory(inventoryID)); }\r\n\t ", + "start_line": 76, + "end_line": 83, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an StoreItem item (same as Inventory item).\r\n\t *\r\n\t * @param item\r\n\t * The StoreItem to add.\r\n\t * @return True, if item added. / public boolean addItem(StoreItem item) { return addItem(new\r\n\t * Inventory(item)); }\r\n\t ", + "start_line": 114, + "end_line": 121, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Delete an inventory item.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The ID of the inventory item to delete.\r\n\t * @return True, if item deleted. / public boolean deleteItem(String inventoryID) { boolean\r\n\t * retval = true; em.remove(em.find(Inventory.class, inventoryID)); return retval; }\r\n\t ", + "start_line": 123, + "end_line": 130, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", + "start_line": 51, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", + "start_line": 61, + "end_line": 61, + "start_column": 3, + "end_column": 89, + "is_javadoc": false + }, + { + "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", + "start_line": 85, + "end_line": 91, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", + "start_line": 99, + "end_line": 105, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", + "start_line": 132, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", + "start_line": 149, + "end_line": 156, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", + "start_line": 164, + "end_line": 171, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 179, + "end_line": 185, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 190, + "end_line": 196, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "java.util.Vector", + "javax.enterprise.context.Dependent", + "javax.persistence.EntityManager", + "javax.persistence.LockModeType", + "javax.persistence.PersistenceContext", + "javax.persistence.Query", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.CatalogMgr": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * Get all inventory items.\r\n\t *\r\n\t * @return Vector of Inventorys. / public Vector getItems() { Vector items\r\n\t * = new Vector(); int count = Util.getCategoryStrings().length; for (int i =\r\n\t * 0; i < count; i++) { items.addAll(getItemsByCategory(i)); } return items; }\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get inventory items that contain a given String within their names.\r\n\t *\r\n\t * @param name\r\n\t * String to search names for.\r\n\t * @return A Vector of Inventorys that match. / public Vector getItemsLikeName(String\r\n\t * name) { Query q = em.createNamedQuery(\"getItemsLikeName\"); q.setParameter(\"name\", '%'\r\n\t * + name + '%'); //The return type must be Vector because the PBW client ActiveX sample\r\n\t * requires Vector return new Vector(q.getResultList()); }\r\n\t ", + "start_line": 65, + "end_line": 74, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the StoreItem for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return StoreItem / public StoreItem getItem(String inventoryID) { return new\r\n\t * StoreItem(getItemInventory(inventoryID)); }\r\n\t ", + "start_line": 76, + "end_line": 83, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an StoreItem item (same as Inventory item).\r\n\t *\r\n\t * @param item\r\n\t * The StoreItem to add.\r\n\t * @return True, if item added. / public boolean addItem(StoreItem item) { return addItem(new\r\n\t * Inventory(item)); }\r\n\t ", + "start_line": 114, + "end_line": 121, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Delete an inventory item.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The ID of the inventory item to delete.\r\n\t * @return True, if item deleted. / public boolean deleteItem(String inventoryID) { boolean\r\n\t * retval = true; em.remove(em.find(Inventory.class, inventoryID)); return retval; }\r\n\t ", + "start_line": 123, + "end_line": 130, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", + "start_line": 51, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", + "start_line": 61, + "end_line": 61, + "start_column": 3, + "end_column": 89, + "is_javadoc": false + }, + { + "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", + "start_line": 85, + "end_line": 91, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", + "start_line": 99, + "end_line": 105, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", + "start_line": 132, + "end_line": 138, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", + "start_line": 149, + "end_line": 156, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", + "start_line": 164, + "end_line": 171, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "deleteBackOrder(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "deleteBackOrder(String)", + { + "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 179, + "end_line": 185, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 190, + "end_line": 196, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n * The CatalogMgr provides transactional access to the catalog of items the store is willing to sell\r\n * to customers.\r\n * \r\n * @see com.ibm.websphere.samples.pbw.jpa.Inventory\r\n ", + "start_line": 31, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Dependent", + "@SuppressWarnings(\"unchecked\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [ { - "content": " BackOrderLocal backOrder =", - "start_line": 101, - "end_line": 101, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 102, - "end_line": 102, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", - "start_line": 94, - "end_line": 98, + "content": "\r\n\t * Add an inventory item.\r\n\t *\r\n\t * @param item\r\n\t * The Inventory to add.\r\n\t * @return True, if item added.\r\n\t ", + "start_line": 99, + "end_line": 105, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -66449,31 +80066,29 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void deleteBackOrder(String backOrderID)", + "declaration": "public boolean addItem(Inventory item)", "parameters": [ { - "type": "java.lang.String", - "name": "backOrderID", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "item", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 30, - "end_column": 47 + "start_line": 106, + "end_line": 106, + "start_column": 25, + "end_column": 38 } ], - "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.deleteBackOrder() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tem.remove(backOrder);\r\n\t}", - "start_line": 99, - "end_line": 105, - "code_start_line": 99, - "return_type": "void", + "code": "{\r\n\t\tboolean retval = true;\r\n\t\tUtil.debug(\"addItem \" + item.getInventoryId());\r\n\t\tem.persist(item);\r\n\t\tem.flush();\r\n\t\treturn retval;\r\n\t}", + "start_line": 106, + "end_line": 112, + "code_start_line": 106, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" ], "call_sites": [ { @@ -66484,6 +80099,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"addItem \" + item.getInventoryId()" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -66494,57 +80112,87 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, + "start_line": 108, "start_column": 3, - "end_line": 100, - "end_column": 56 + "end_line": 108, + "end_column": 48 }, { - "method_name": "find", + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 27, + "end_line": 108, + "end_column": 47 + }, + { + "method_name": "persist", "comment": null, "receiver_expr": "em", - "receiver_type": "", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.Class", - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "item" ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "persist(java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 109, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 103, - "start_column": 25, - "end_line": 103, - "end_column": 61 + "start_line": 109, + "start_column": 3, + "end_line": 109, + "end_column": 18 }, { - "method_name": "remove", + "method_name": "flush", "comment": null, "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "flush()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, + "start_line": 110, "start_column": 3, - "end_line": 104, - "end_column": 22 + "end_line": 110, + "end_column": 12 } ], "variable_declarations": [ @@ -66557,44 +80205,37 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 103, - "start_column": 13, - "end_line": 103, - "end_column": 61 + "name": "retval", + "type": "boolean", + "initializer": "true", + "start_line": 107, + "start_column": 11, + "end_line": 107, + "end_column": 23 + } + ], + "crud_operations": [ + { + "line_number": 109, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setBackOrderStatus(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "setBackOrderStatus(String, String)", + "getItemInventory(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "getItemInventory(java.lang.String)", "comments": [ { - "content": " BackOrderLocal backOrder =", - "start_line": 219, - "end_line": 219, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 220, - "end_line": 220, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", - "start_line": 211, - "end_line": 216, + "content": "\r\n\t * Get the Inventory item for the given ID.\r\n\t *\r\n\t * @param inventoryID\r\n\t * - ID of the Inventory item desired.\r\n\t * @return Inventory\r\n\t ", + "start_line": 85, + "end_line": 91, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -66605,41 +80246,31 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setBackOrderStatus(String backOrderID, String Status)", + "declaration": "public Inventory getItemInventory(String inventoryID)", "parameters": [ { "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 217, - "end_line": 217, - "start_column": 33, - "end_column": 50 - }, - { - "type": "java.lang.String", - "name": "Status", + "name": "inventoryID", "annotations": [], "modifiers": [], - "start_line": 217, - "end_line": 217, - "start_column": 53, - "end_column": 65 + "start_line": 92, + "end_line": 92, + "start_column": 36, + "end_column": 53 } ], - "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderStatus() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setStatus(Status);\r\n\t}", - "start_line": 217, - "end_line": 223, - "code_start_line": 217, - "return_type": "void", + "code": "{\r\n\t\tInventory si = null;\r\n\t\tUtil.debug(\"getItemInventory id=\" + inventoryID);\r\n\t\tsi = em.find(Inventory.class, inventoryID);\r\n\t\treturn si;\r\n\t}", + "start_line": 92, + "end_line": 97, + "code_start_line": 92, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" ], "call_sites": [ { @@ -66650,6 +80281,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"getItemInventory id=\" + inventoryID" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -66660,57 +80294,45 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 218, + "start_line": 94, "start_column": 3, - "end_line": 218, - "end_column": 59 + "end_line": 94, + "end_column": 50 }, { "method_name": "find", "comment": null, "receiver_expr": "em", - "receiver_type": "", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.Class", + "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 221, - "start_column": 25, - "end_line": 221, - "end_column": 61 - }, - { - "method_name": "setStatus", - "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "Inventory.class", + "inventoryID" ], - "return_type": "", - "callee_signature": "setStatus(java.lang.String)", + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 95, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 222, - "start_column": 3, - "end_line": 222, - "end_column": 29 + "start_line": 95, + "start_column": 8, + "end_line": 95, + "end_column": 44 } ], "variable_declarations": [ @@ -66723,92 +80345,37 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 221, + "name": "si", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "null", + "start_line": 93, "start_column": 13, - "end_line": 221, - "end_column": 61 + "end_line": 93, + "end_column": 21 + } + ], + "crud_operations": [ + { + "line_number": 95, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "createBackOrder(String, int, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "createBackOrder(String, int, int)", + "getInvUpdate(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "getInvUpdate(java.lang.String)", "comments": [ { - "content": " See if there is already an existing backorder and increase", - "start_line": 55, - "end_line": 55, - "start_column": 5, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " the order quantity", - "start_line": 56, - "end_line": 56, - "start_column": 5, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " but only if it has not been sent to the supplier.", - "start_line": 57, - "end_line": 57, - "start_column": 5, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " throw new FinderException();", - "start_line": 63, - "end_line": 63, - "start_column": 6, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 65, - "end_line": 65, - "start_column": 5, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " Order enough stock from the supplier to reach the maximum", - "start_line": 70, - "end_line": 70, - "start_column": 5, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " threshold and to", - "start_line": 71, - "end_line": 71, - "start_column": 5, - "end_column": 23, - "is_javadoc": false - }, - { - "content": " satisfy the back order.", - "start_line": 72, - "end_line": 72, - "start_column": 5, - "end_column": 30, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", - "start_line": 43, - "end_line": 49, + "content": "\r\n\t * Get a remote Inventory object to Update.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 190, + "end_line": 196, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -66816,182 +80383,88 @@ ], "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [], - "declaration": "public void createBackOrder(String inventoryID, int amountToOrder, int maximumItems)", + "declaration": "private Inventory getInvUpdate(String inventoryID)", "parameters": [ { "type": "java.lang.String", "name": "inventoryID", "annotations": [], "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 30, - "end_column": 47 - }, - { - "type": "int", - "name": "amountToOrder", - "annotations": [], - "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 50, - "end_column": 66 - }, - { - "type": "int", - "name": "maximumItems", - "annotations": [], - "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 69, - "end_column": 84 + "start_line": 197, + "end_line": 197, + "start_column": 33, + "end_column": 50 } ], - "code": "{\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Entered\");\r\n\t\t\tBackOrder backOrder = null;\r\n\t\t\ttry {\r\n\t\t\t\t// See if there is already an existing backorder and increase\r\n\t\t\t\t// the order quantity\r\n\t\t\t\t// but only if it has not been sent to the supplier.\r\n\t\t\t\tQuery q = em.createNamedQuery(\"findByInventoryID\");\r\n\t\t\t\tq.setParameter(\"id\", inventoryID);\r\n\t\t\t\tbackOrder = (BackOrder) q.getSingleResult();\r\n\t\t\t\tif (!(backOrder.getStatus().equals(Util.STATUS_ORDERSTOCK))) {\r\n\t\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\r\n\t\t\t\t\t// throw new FinderException();\r\n\t\t\t\t}\r\n\t\t\t\t// Increase the BackOrder quantity for an existing Back Order.\r\n\t\t\t\tbackOrder.setQuantity(backOrder.getQuantity() + amountToOrder);\r\n\t\t\t} catch (NoResultException e) {\r\n\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - BackOrder doesn't exist.\" + e);\r\n\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Creating BackOrder for InventoryID: \" + inventoryID);\r\n\t\t\t\t// Order enough stock from the supplier to reach the maximum\r\n\t\t\t\t// threshold and to\r\n\t\t\t\t// satisfy the back order.\r\n\t\t\t\tamountToOrder = maximumItems + amountToOrder;\r\n\t\t\t\tInventory inv = em.find(Inventory.class, inventoryID);\r\n\t\t\t\tBackOrder b = new BackOrder(inv, amountToOrder);\r\n\t\t\t\tem.persist(b);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Exception: \" + e);\r\n\t\t}\r\n\t}", - "start_line": 50, - "end_line": 81, - "code_start_line": 50, - "return_type": "void", + "code": "{\r\n\t\tInventory inv = null;\r\n\t\tinv = em.find(Inventory.class, inventoryID);\r\n\t\tem.lock(inv, LockModeType.OPTIMISTIC_FORCE_INCREMENT);\r\n\t\tem.refresh(inv);\r\n\t\treturn inv;\r\n\t}", + "start_line": 197, + "end_line": 203, + "code_start_line": 197, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "is_implicit": false, "is_constructor": false, "referenced_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory", - "Query", - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em", - "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK" - ], - "call_sites": [ - { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 4, - "end_line": 52, - "end_column": 57 - }, - { - "method_name": "createNamedQuery", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 15, - "end_line": 58, - "end_column": 54 - }, - { - "method_name": "setParameter", - "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 59, - "start_column": 5, - "end_line": 59, - "end_column": 37 - }, - { - "method_name": "getSingleResult", - "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 29, - "end_line": 60, - "end_column": 47 - }, + "javax.persistence.LockModeType" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em", + "javax.persistence.LockModeType.OPTIMISTIC_FORCE_INCREMENT" + ], + "call_sites": [ { - "method_name": "equals", + "method_name": "find", "comment": null, - "receiver_expr": "backOrder.getStatus()", - "receiver_type": "java.lang.String", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ + "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "argument_expr": [ + "Inventory.class", + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 199, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 61, - "start_column": 11, - "end_line": 61, - "end_column": 62 + "start_line": 199, + "start_column": 9, + "end_line": 199, + "end_column": 45 }, { - "method_name": "getStatus", + "method_name": "lock", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getStatus()", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "javax.persistence.LockModeType" + ], + "argument_expr": [ + "inv", + "LockModeType.OPTIMISTIC_FORCE_INCREMENT" + ], + "return_type": "", + "callee_signature": "lock(java.lang.Object, javax.persistence.LockModeType)", "is_public": true, "is_protected": false, "is_private": false, @@ -67000,212 +80473,233 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 61, - "start_column": 11, - "end_line": 61, - "end_column": 31 + "start_line": 200, + "start_column": 3, + "end_line": 200, + "end_column": 55 }, { - "method_name": "debug", + "method_name": "refresh", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "inv" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "refresh(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 62, - "start_column": 6, - "end_line": 62, - "end_column": 116 - }, + "start_line": 201, + "start_column": 3, + "end_line": 201, + "end_column": 17 + } + ], + "variable_declarations": [ { - "method_name": "setQuantity", "comment": { - "content": " Increase the BackOrder quantity for an existing Back Order.", - "start_line": 65, - "end_line": 65, - "start_column": 5, - "end_column": 66, + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, "is_javadoc": false }, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 5, - "end_line": 66, - "end_column": 66 - }, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "null", + "start_line": 198, + "start_column": 13, + "end_line": 198, + "end_column": 22 + } + ], + "crud_operations": [ { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 27, - "end_line": 66, - "end_column": 49 - }, + "line_number": 199, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getItemsByCategory(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "getItemsByCategory(int)", + "comments": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 5, - "end_line": 68, - "end_column": 79 + "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", + "start_line": 61, + "end_line": 61, + "start_column": 3, + "end_column": 89, + "is_javadoc": false }, { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 5, - "end_line": 69, - "end_column": 101 - }, + "content": "\r\n\t * Get all inventory items for the given category.\r\n\t *\r\n\t * @param category\r\n\t * of items desired.\r\n\t * @return Vector of Inventory.\r\n\t ", + "start_line": 51, + "end_line": 57, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Vector getItemsByCategory(int category)", + "parameters": [ { - "method_name": "find", + "type": "int", + "name": "category", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 46, + "end_column": 57 + } + ], + "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"getItemsByCategory\");\r\n\t\tq.setParameter(\"category\", category);\r\n\t\t// The return type must be Vector because the PBW client ActiveX sample requires Vector\r\n\t\treturn new Vector(q.getResultList());\r\n\t}", + "start_line": 58, + "end_line": 63, + "code_start_line": 58, + "return_type": "java.util.Vector", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.Query" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" + ], + "call_sites": [ + { + "method_name": "createNamedQuery", "comment": null, "receiver_expr": "em", - "receiver_type": "", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\"getItemsByCategory\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 21, - "end_line": 74, - "end_column": 57 + "crud_query": { + "line_number": 59, + "query_arguments": [ + "\"getItemsByCategory\"" + ], + "query_type": "NAMED" + }, + "start_line": 59, + "start_column": 13, + "end_line": 59, + "end_column": 53 }, { - "method_name": "persist", + "method_name": "setParameter", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "java.lang.String", + "" ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [ + "\"category\"", + "category" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "setParameter(java.lang.String, java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 76, - "start_column": 5, - "end_line": 76, - "end_column": 17 + "start_line": 60, + "start_column": 3, + "end_line": 60, + "end_column": 38 }, { - "method_name": "debug", + "method_name": "getResultList", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 62, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 79, - "start_column": 4, - "end_line": 79, - "end_column": 65 + "start_line": 62, + "start_column": 32, + "end_line": 62, + "end_column": 48 }, { "method_name": "", - "comment": null, + "comment": { + "content": " The return type must be Vector because the PBW client ActiveX sample requires Vector", + "start_line": 61, + "end_line": 61, + "start_column": 3, + "end_column": 89, + "is_javadoc": false + }, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_type": "java.util.Vector", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "" + "java.util.List" ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "callee_signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "argument_expr": [ + "q.getResultList()" + ], + "return_type": "java.util.Vector", + "callee_signature": "Vector(java.util.Collection)", "is_public": false, "is_protected": false, "is_private": false, @@ -67214,30 +80708,13 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 75, - "start_column": 19, - "end_line": 75, - "end_column": 51 + "start_line": 62, + "start_column": 10, + "end_line": 62, + "end_column": 49 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "null", - "start_line": 53, - "start_column": 14, - "end_line": 53, - "end_column": 29 - }, { "comment": { "content": null, @@ -67248,132 +80725,234 @@ "is_javadoc": false }, "name": "q", - "type": "Query", - "initializer": "em.createNamedQuery(\"findByInventoryID\")", - "start_line": 58, - "start_column": 11, - "end_line": 58, - "end_column": 54 - }, + "type": "javax.persistence.Query", + "initializer": "em.createNamedQuery(\"getItemsByCategory\")", + "start_line": 59, + "start_column": 9, + "end_line": 59, + "end_column": 53 + } + ], + "crud_operations": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "em.find(Inventory.class, inventoryID)", - "start_line": 74, - "start_column": 15, - "end_line": 74, - "end_column": 57 - }, + "line_number": 62, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false + "line_number": 59, + "query_arguments": [ + "\"getItemsByCategory\"" + ], + "query_type": "NAMED" + } + ], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getInv(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "getInv(java.lang.String)", + "comments": [ + { + "content": "\r\n\t * Get a remote Inventory object.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Reference to the remote Inventory object.\r\n\t ", + "start_line": 179, + "end_line": 185, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private Inventory getInv(String inventoryID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 186, + "end_line": 186, + "start_column": 27, + "end_column": 44 + } + ], + "code": "{\r\n\t\treturn em.find(Inventory.class, inventoryID);\r\n\t}", + "start_line": 186, + "end_line": 188, + "code_start_line": 186, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.CatalogMgr.em" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Inventory.class", + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 187, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null }, - "name": "b", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "new BackOrder(inv, amountToOrder)", - "start_line": 75, - "start_column": 15, - "end_line": 75, - "end_column": 51 + "crud_query": null, + "start_line": 187, + "start_column": 10, + "end_line": 187, + "end_column": 46 + } + ], + "variable_declarations": [], + "crud_operations": [ + { + "line_number": 187, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "findBackOrders()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "findBackOrders()", + "setItemImageBytes(java.lang.String, byte[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "setItemImageBytes(java.lang.String, byte[])", "comments": [ { - "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", - "start_line": 83, - "end_line": 87, + "content": "\r\n\t * Set the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @param imgbytes\r\n\t * Buffer containing the image.\r\n\t ", + "start_line": 149, + "end_line": 156, "start_column": 2, "end_column": 4, "is_javadoc": true } ], - "annotations": [ - "@SuppressWarnings(\"unchecked\")" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Collection findBackOrders()", - "parameters": [], - "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"findAllBackOrders\");\r\n\t\treturn q.getResultList();\r\n\t}", - "start_line": 88, - "end_line": 92, - "code_start_line": 89, - "return_type": "java.util.Collection", + "declaration": "public void setItemImageBytes(String inventoryID, byte[] imgbytes)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 32, + "end_column": 49 + }, + { + "type": "byte[]", + "name": "imgbytes", + "annotations": [], + "modifiers": [], + "start_line": 157, + "end_line": 157, + "start_column": 52, + "end_column": 66 + } + ], + "code": "{\r\n\t\tInventory inv = getInvUpdate(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tinv.setImgbytes(imgbytes);\r\n\t\t}\r\n\t}", + "start_line": 157, + "end_line": 162, + "code_start_line": 157, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "Query" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "accessed_fields": [], "call_sites": [ { - "method_name": "createNamedQuery", + "method_name": "getInvUpdate", "comment": null, - "receiver_expr": "em", + "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInvUpdate(java.lang.String)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 90, - "start_column": 13, - "end_line": 90, - "end_column": 52 + "start_line": 158, + "start_column": 19, + "end_line": 158, + "end_column": 43 }, { - "method_name": "getResultList", + "method_name": "setImgbytes", "comment": null, - "receiver_expr": "q", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "imgbytes" + ], "return_type": "", - "callee_signature": "", - "is_public": false, + "callee_signature": "setImgbytes(byte[])", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 91, - "start_column": 10, - "end_line": 91, - "end_column": 26 + "start_line": 160, + "start_column": 4, + "end_line": 160, + "end_column": 28 } ], "variable_declarations": [ @@ -67386,44 +80965,28 @@ "end_column": -1, "is_javadoc": false }, - "name": "q", - "type": "Query", - "initializer": "em.createNamedQuery(\"findAllBackOrders\")", - "start_line": 90, - "start_column": 9, - "end_line": 90, - "end_column": 52 + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "getInvUpdate(inventoryID)", + "start_line": 158, + "start_column": 13, + "end_line": 158, + "end_column": 43 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setBackOrderQuantity(String, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "setBackOrderQuantity(String, int)", + "getItemImageBytes(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "getItemImageBytes(java.lang.String)", "comments": [ { - "content": " BackOrderLocal backOrder =", - "start_line": 205, - "end_line": 205, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", - "start_line": 206, - "end_line": 206, - "start_column": 3, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", - "start_line": 197, - "end_line": 202, + "content": "\r\n\t * Get the image for the inventory item.\r\n\t * \r\n\t * @param inventoryID\r\n\t * The id of the inventory item wanted.\r\n\t * @return Buffer containing the image.\r\n\t ", + "start_line": 132, + "end_line": 138, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -67434,100 +80997,66 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setBackOrderQuantity(String backOrderID, int quantity)", + "declaration": "public byte[] getItemImageBytes(String inventoryID)", "parameters": [ { "type": "java.lang.String", - "name": "backOrderID", - "annotations": [], - "modifiers": [], - "start_line": 203, - "end_line": 203, - "start_column": 35, - "end_column": 52 - }, - { - "type": "int", - "name": "quantity", + "name": "inventoryID", "annotations": [], "modifiers": [], - "start_line": 203, - "end_line": 203, - "start_column": 55, - "end_column": 66 + "start_line": 139, + "end_line": 139, + "start_column": 34, + "end_column": 51 } ], - "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setQuantity(quantity);\r\n\t}", - "start_line": 203, - "end_line": 209, - "code_start_line": 203, - "return_type": "void", + "code": "{\r\n\t\tbyte[] retval = null;\r\n\t\tInventory inv = getInv(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tretval = inv.getImgbytes();\r\n\t\t}\r\n\r\n\t\treturn retval;\r\n\t}", + "start_line": 139, + "end_line": 147, + "code_start_line": 139, + "return_type": "byte[]", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "accessed_fields": [], "call_sites": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 204, - "start_column": 3, - "end_line": 204, - "end_column": 61 - }, - { - "method_name": "find", + "method_name": "getInv", "comment": null, - "receiver_expr": "em", + "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInv(java.lang.String)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 207, - "start_column": 25, - "end_line": 207, - "end_column": 61 + "start_line": 141, + "start_column": 19, + "end_line": 141, + "end_column": 37 }, { - "method_name": "setQuantity", + "method_name": "getImgbytes", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "" - ], + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setQuantity(int)", + "callee_signature": "getImgbytes()", "is_public": true, "is_protected": false, "is_private": false, @@ -67536,10 +81065,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 208, - "start_column": 3, - "end_line": 208, - "end_column": 33 + "start_line": 143, + "start_column": 13, + "end_line": 143, + "end_column": 29 } ], "variable_declarations": [ @@ -67552,52 +81081,45 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 207, + "name": "retval", + "type": "byte[]", + "initializer": "null", + "start_line": 140, + "start_column": 10, + "end_line": 140, + "end_column": 22 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "getInv(inventoryID)", + "start_line": 141, "start_column": 13, - "end_line": 207, - "end_column": 61 + "end_line": 141, + "end_column": 37 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getBackOrderQuantity(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", - "signature": "getBackOrderQuantity(String)", + "setItemQuantity(java.lang.String, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/CatalogMgr.java", + "signature": "setItemQuantity(java.lang.String, int)", "comments": [ { - "content": " BackOrderLocal backOrder =", - "start_line": 189, - "end_line": 189, - "start_column": 3, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " getBackOrderLocalHome().findByPrimaryKey(new", - "start_line": 190, - "end_line": 190, - "start_column": 3, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " BackOrderKey(backOrderID));", - "start_line": 191, - "end_line": 191, - "start_column": 3, - "end_column": 32, - "is_javadoc": false - }, - { - "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", - "start_line": 180, - "end_line": 185, + "content": "\r\n\t * Set the inventory item's quantity.\r\n\t *\r\n\t * @param inventoryID\r\n\t * The inventory item's ID.\r\n\t * @param quantity\r\n\t * The inventory item's new quantity.\r\n\t ", + "start_line": 164, + "end_line": 171, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -67608,88 +81130,80 @@ "public" ], "thrown_exceptions": [], - "declaration": "public int getBackOrderQuantity(String backOrderID)", + "declaration": "public void setItemQuantity(String inventoryID, int quantity)", "parameters": [ { "type": "java.lang.String", - "name": "backOrderID", + "name": "inventoryID", "annotations": [], "modifiers": [], - "start_line": 186, - "end_line": 186, - "start_column": 34, - "end_column": 51 + "start_line": 172, + "end_line": 172, + "start_column": 30, + "end_column": 47 + }, + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 172, + "end_line": 172, + "start_column": 50, + "end_column": 61 } ], - "code": "{\r\n\t\tint backOrderQuantity = -1;\r\n\t\tUtil.debug(\"BackOrderMgr.getBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKey(new\r\n\t\t// BackOrderKey(backOrderID));\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrderQuantity = backOrder.getQuantity();\r\n\t\treturn backOrderQuantity;\r\n\t}", - "start_line": 186, - "end_line": 195, - "code_start_line": 186, - "return_type": "int", + "code": "{\r\n\t\tInventory inv = getInvUpdate(inventoryID);\r\n\t\tif (inv != null) {\r\n\t\t\tinv.setQuantity(quantity);\r\n\t\t}\r\n\t}", + "start_line": 172, + "end_line": 177, + "code_start_line": 172, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "accessed_fields": [], "call_sites": [ { - "method_name": "debug", - "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 188, - "start_column": 3, - "end_line": 188, - "end_column": 61 - }, - { - "method_name": "find", + "method_name": "getInvUpdate", "comment": null, - "receiver_expr": "em", + "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.Class", "java.lang.String" ], - "return_type": "", - "callee_signature": "", + "argument_expr": [ + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInvUpdate(java.lang.String)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 192, - "start_column": 25, - "end_line": 192, - "end_column": 61 + "start_line": 173, + "start_column": 19, + "end_line": 173, + "end_column": 43 }, { - "method_name": "getQuantity", + "method_name": "setQuantity", "comment": null, - "receiver_expr": "backOrder", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "setQuantity(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -67698,10 +81212,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 193, - "start_column": 23, - "end_line": 193, - "end_column": 45 + "start_line": 175, + "start_column": 4, + "end_line": 175, + "end_column": 28 } ], "variable_declarations": [ @@ -67714,35 +81228,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "backOrderQuantity", - "type": "int", - "initializer": "-1", - "start_line": 187, - "start_column": 7, - "end_line": 187, - "end_column": 28 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "backOrder", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, backOrderID)", - "start_line": 192, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "getInvUpdate(inventoryID)", + "start_line": 173, "start_column": 13, - "end_line": 192, - "end_column": 61 + "end_line": 173, + "end_column": 43 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false } }, @@ -67757,15 +81254,13 @@ "is_javadoc": false }, "name": null, - "type": "EntityManager", + "type": "javax.persistence.EntityManager", "start_line": 40, "end_line": 41, "variables": [ "em" ], - "modifiers": [ - "private" - ], + "modifiers": [], "annotations": [ "@PersistenceContext(unitName = \"PBW\")" ] @@ -67779,8 +81274,8 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", "package_name": "com.ibm.websphere.samples.pbw.bean", "comments": [ { @@ -67880,7 +81375,7 @@ "is_javadoc": false }, { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "content": " (C) COPYRIGHT International Business Machines Corp., 2003,2011", "start_line": 14, "end_line": 14, "start_column": 1, @@ -67895,14 +81390,6 @@ "end_column": 61, "is_javadoc": false }, - { - "content": "\r\n * ShopingCartBean provides a transactional facade for order collection and processing.\r\n * \r\n ", - "start_line": 36, - "end_line": 39, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, { "content": "", "start_line": 16, @@ -67912,203 +81399,291 @@ "is_javadoc": false }, { - "content": "\r\n\t * Get the contents of the shopping cart.\r\n\t *\r\n\t * @return The contents of the shopping cart. / public ShoppingCartContents getCartContents() {\r\n\t * ShoppingCartContents cartContents = new ShoppingCartContents(); // Fill it with data.\r\n\t * for (int i = 0; i < items.size(); i++) { cartContents.addItem((ShoppingCartItem)\r\n\t * items.get(i)); } return cartContents; }\r\n\t ", - "start_line": 127, - "end_line": 134, + "content": "\r\n * The BackOrderMgr provides a transactional and secured facade to access back order information.\r\n * This bean no longer requires an interface as there is one and only one implementation.\r\n ", + "start_line": 33, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method receiveConfirmation.\r\n\t * \r\n\t * @param backOrderID\r\n\t * / public int receiveConfirmation(String backOrderID) { int rc = 0; BackOrder\r\n\t * backOrder; Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Finding Back Order for backOrderID=\" +\r\n\t * backOrderID); backOrder = em.find(BackOrder.class, backOrderID);\r\n\t * backOrder.setStatus(Util.STATUS_RECEIVEDSTOCK); Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Updating status(\" +\r\n\t * Util.STATUS_RECEIVEDSTOCK + \") of backOrderID(\" + backOrderID + \")\"); return (rc);\r\n\t * }\r\n\t ", + "start_line": 107, + "end_line": 119, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Create a shopping cart.\r\n\t *\r\n\t * @param cartContents\r\n\t * Contents to populate cart with. / public void setCartContents(ShoppingCartContents\r\n\t * cartContents) { items = new ArrayList(); int qty; String\r\n\t * inventoryID; ShoppingCartItem si; Inventory inv; for (int i = 0; i <\r\n\t * cartContents.size(); i++) { inventoryID = cartContents.getInventoryID(i); qty =\r\n\t * cartContents.getQuantity(inventoryID); inv = em.find(Inventory.class,\r\n\t * inventoryID); // clone so we can use Qty as qty to purchase, not inventory in\r\n\t * stock si = new ShoppingCartItem(inv); si.setQuantity(qty); addItem(si); } }\r\n\t ", - "start_line": 136, - "end_line": 147, + "content": "\r\n\t * Method orderStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t * / public void orderStock(String backOrderID, int quantity) {\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDEREDSTOCK);\r\n\t * this.setBackOrderQuantity(backOrderID, quantity);\r\n\t * this.setBackOrderOrderDate(backOrderID); }\r\n\t ", + "start_line": 121, + "end_line": 130, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", - "start_line": 50, - "end_line": 55, + "content": "\r\n\t * @param backOrderID\r\n\t * / public void abortorderStock(String backOrderID) { Util.debug(\r\n\t * \"backOrderStockBean.abortorderStock() - Aborting orderStock transation for backorderID: \"\r\n\t * + backOrderID); // Reset the back order status since the order failed.\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDERSTOCK); }\r\n\t ", + "start_line": 142, + "end_line": 148, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " If the same item is already in the cart, just increase the quantity.", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 73, + "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String / public String getBackOrderID(String backOrderID) { String retbackOrderID =\r\n\t * \"\"; Util.debug( \"BackOrderMgr.getBackOrderID() - Entered\"); // BackOrderLocal\r\n\t * backOrder = getBackOrderLocalHome().findByPrimaryKey(new BackOrderKey(backOrderID));\r\n\t * BackOrder backOrder = em.find(BackOrder.class, backOrderID); retbackOrderID =\r\n\t * backOrder.getBackOrderID(); return retbackOrderID; }\r\n\t ", + "start_line": 150, + "end_line": 159, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " See if there is already an existing backorder and increase", + "start_line": 55, + "end_line": 55, + "start_column": 5, + "end_column": 65, "is_javadoc": false }, { - "content": " Add this item to shopping cart, if it is a brand new item.", - "start_line": 66, - "end_line": 66, - "start_column": 3, - "end_column": 63, + "content": " the order quantity", + "start_line": 56, + "end_line": 56, + "start_column": 5, + "end_column": 25, "is_javadoc": false }, { - "content": "\r\n\t * Remove an item from the cart.\r\n\t *\r\n\t * @param item\r\n\t * Item to remove from cart.\r\n\t ", + "content": " but only if it has not been sent to the supplier.", + "start_line": 57, + "end_line": 57, + "start_column": 5, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " throw new FinderException();", + "start_line": 63, + "end_line": 63, + "start_column": 6, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 65, + "end_line": 65, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Order enough stock from the supplier to reach the maximum", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " threshold and to", "start_line": 71, - "end_line": 76, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "end_line": 71, + "start_column": 5, + "end_column": 23, + "is_javadoc": false }, { - "content": "\r\n\t * Remove all items from the cart.\r\n\t ", - "start_line": 86, - "end_line": 88, + "content": " satisfy the back order.", + "start_line": 72, + "end_line": 72, + "start_column": 5, + "end_column": 30, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", + "start_line": 83, + "end_line": 87, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Remove zero quantity items.\r\n\t ", - "start_line": 93, - "end_line": 95, + "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 94, + "end_line": 98, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", - "start_line": 108, - "end_line": 112, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " BackOrderLocal backOrder =", + "start_line": 101, + "end_line": 101, + "start_column": 3, + "end_column": 31, + "is_javadoc": false }, { - "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", - "start_line": 117, - "end_line": 122, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 102, + "end_line": 102, + "start_column": 3, + "end_column": 65, + "is_javadoc": false }, { - "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", - "start_line": 149, - "end_line": 153, + "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 132, + "end_line": 137, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Method checkInventory. Check the inventory level of a store item. Order additional inventory\r\n\t * when necessary.\r\n\t *\r\n\t * @param si\r\n\t * - Store item\r\n\t ", - "start_line": 163, - "end_line": 169, + "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", + "start_line": 161, + "end_line": 166, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " When quantity becomes < 0, this will be to determine the", - "start_line": 193, - "end_line": 193, + "content": " BackOrderLocal backOrder =", + "start_line": 171, + "end_line": 171, "start_column": 3, - "end_column": 61, + "end_column": 31, "is_javadoc": false }, { - "content": " Check to see if more inventory needs to be ordered from the supplier", - "start_line": 197, - "end_line": 197, + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 172, + "end_line": 172, "start_column": 3, - "end_column": 73, + "end_column": 49, "is_javadoc": false }, { - "content": "\r\n\t\t * Decrease the quantity of this inventory item.\r\n\t\t * \r\n\t\t * @param quantity\r\n\t\t * The number to decrease the inventory by.\r\n\t\t * @return The number of inventory items removed.\r\n\t\t ", - "start_line": 174, - "end_line": 180, + "content": " BackOrderKey(backOrderID));", + "start_line": 173, + "end_line": 173, "start_column": 3, - "end_column": 5, + "end_column": 32, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", + "start_line": 180, + "end_line": 185, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " quantity of unfilled orders due to insufficient stock.", - "start_line": 194, - "end_line": 194, + "content": " BackOrderLocal backOrder =", + "start_line": 189, + "end_line": 189, "start_column": 3, - "end_column": 59, + "end_column": 31, "is_javadoc": false }, { - "content": " based on a set minimum Threshold", - "start_line": 198, - "end_line": 198, + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 190, + "end_line": 190, "start_column": 3, - "end_column": 37, + "end_column": 49, "is_javadoc": false }, { - "content": " Calculate the amount of stock to order from the supplier", - "start_line": 200, - "end_line": 200, - "start_column": 4, - "end_column": 62, + "content": " BackOrderKey(backOrderID));", + "start_line": 191, + "end_line": 191, + "start_column": 3, + "end_column": 32, "is_javadoc": false }, { - "content": " to get the inventory up to the maximum.", - "start_line": 201, - "end_line": 201, - "start_column": 4, - "end_column": 45, + "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 197, + "end_line": 202, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " BackOrderLocal backOrder =", + "start_line": 205, + "end_line": 205, + "start_column": 3, + "end_column": 31, "is_javadoc": false }, { - "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", - "start_line": 208, - "end_line": 256, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 206, + "end_line": 206, + "start_column": 3, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", + "start_line": 211, + "end_line": 216, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " store the order items", - "start_line": 294, - "end_line": 294, + "content": " BackOrderLocal backOrder =", + "start_line": 219, + "end_line": 219, "start_column": 3, - "end_column": 26, + "end_column": 31, "is_javadoc": false }, { - "content": "\r\n\t * Get the inventory item.\r\n\t *\r\n\t * @param id of inventory item.\r\n\t * \r\n\t * @return an inventory bean.\r\n\t ", - "start_line": 309, - "end_line": 315, - "start_column": 2, - "end_column": 4, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 220, + "end_line": 220, + "start_column": 3, + "end_column": 65, "is_javadoc": false }, { - "content": "\r\n\t * Create a BackOrder of this inventory item.\r\n\t * \r\n\t * @param quantity The number of the inventory item to be backordered\r\n\t ", - "start_line": 322, - "end_line": 326, + "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 225, + "end_line": 229, "start_column": 2, "end_column": 4, - "is_javadoc": false + "is_javadoc": true }, { - "content": " create a new backorder if none exists", - "start_line": 330, - "end_line": 330, - "start_column": 4, - "end_column": 43, + "content": " BackOrderLocal backOrder =", + "start_line": 232, + "end_line": 232, + "start_column": 3, + "end_column": 31, "is_javadoc": false }, { - "content": " update the backorder with the new quantity", - "start_line": 336, - "end_line": 336, - "start_column": 4, - "end_column": 48, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 233, + "end_line": 233, + "start_column": 3, + "end_column": 65, "is_javadoc": false }, { @@ -68122,22 +81697,19 @@ ], "imports": [ "java.io.Serializable", - "java.util.ArrayList", "java.util.Collection", - "javax.enterprise.context.SessionScoped", + "javax.annotation.security.RolesAllowed", + "javax.enterprise.context.Dependent", "javax.persistence.EntityManager", - "javax.persistence.LockModeType", + "javax.persistence.NoResultException", "javax.persistence.PersistenceContext", - "javax.transaction.Transactional", + "javax.persistence.Query", "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "com.ibm.websphere.samples.pbw.jpa.Customer", "com.ibm.websphere.samples.pbw.jpa.Inventory", - "com.ibm.websphere.samples.pbw.jpa.Order", - "com.ibm.websphere.samples.pbw.jpa.OrderItem", "com.ibm.websphere.samples.pbw.utils.Util" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean": { + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -68149,278 +81721,1542 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * Get the contents of the shopping cart.\r\n\t *\r\n\t * @return The contents of the shopping cart. / public ShoppingCartContents getCartContents() {\r\n\t * ShoppingCartContents cartContents = new ShoppingCartContents(); // Fill it with data.\r\n\t * for (int i = 0; i < items.size(); i++) { cartContents.addItem((ShoppingCartItem)\r\n\t * items.get(i)); } return cartContents; }\r\n\t ", - "start_line": 127, - "end_line": 134, + "content": "\r\n\t * Method receiveConfirmation.\r\n\t * \r\n\t * @param backOrderID\r\n\t * / public int receiveConfirmation(String backOrderID) { int rc = 0; BackOrder\r\n\t * backOrder; Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Finding Back Order for backOrderID=\" +\r\n\t * backOrderID); backOrder = em.find(BackOrder.class, backOrderID);\r\n\t * backOrder.setStatus(Util.STATUS_RECEIVEDSTOCK); Util.debug(\r\n\t * \"BackOrderMgr.receiveConfirmation() - Updating status(\" +\r\n\t * Util.STATUS_RECEIVEDSTOCK + \") of backOrderID(\" + backOrderID + \")\"); return (rc);\r\n\t * }\r\n\t ", + "start_line": 107, + "end_line": 119, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Create a shopping cart.\r\n\t *\r\n\t * @param cartContents\r\n\t * Contents to populate cart with. / public void setCartContents(ShoppingCartContents\r\n\t * cartContents) { items = new ArrayList(); int qty; String\r\n\t * inventoryID; ShoppingCartItem si; Inventory inv; for (int i = 0; i <\r\n\t * cartContents.size(); i++) { inventoryID = cartContents.getInventoryID(i); qty =\r\n\t * cartContents.getQuantity(inventoryID); inv = em.find(Inventory.class,\r\n\t * inventoryID); // clone so we can use Qty as qty to purchase, not inventory in\r\n\t * stock si = new ShoppingCartItem(inv); si.setQuantity(qty); addItem(si); } }\r\n\t ", - "start_line": 136, - "end_line": 147, + "content": "\r\n\t * Method orderStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t * / public void orderStock(String backOrderID, int quantity) {\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDEREDSTOCK);\r\n\t * this.setBackOrderQuantity(backOrderID, quantity);\r\n\t * this.setBackOrderOrderDate(backOrderID); }\r\n\t ", + "start_line": 121, + "end_line": 130, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", - "start_line": 50, - "end_line": 55, + "content": "\r\n\t * @param backOrderID\r\n\t * / public void abortorderStock(String backOrderID) { Util.debug(\r\n\t * \"backOrderStockBean.abortorderStock() - Aborting orderStock transation for backorderID: \"\r\n\t * + backOrderID); // Reset the back order status since the order failed.\r\n\t * this.setBackOrderStatus(backOrderID, Util.STATUS_ORDERSTOCK); }\r\n\t ", + "start_line": 142, + "end_line": 148, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " If the same item is already in the cart, just increase the quantity.", - "start_line": 58, - "end_line": 58, - "start_column": 3, - "end_column": 73, + "content": "\r\n\t * Method getBackOrderID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String / public String getBackOrderID(String backOrderID) { String retbackOrderID =\r\n\t * \"\"; Util.debug( \"BackOrderMgr.getBackOrderID() - Entered\"); // BackOrderLocal\r\n\t * backOrder = getBackOrderLocalHome().findByPrimaryKey(new BackOrderKey(backOrderID));\r\n\t * BackOrder backOrder = em.find(BackOrder.class, backOrderID); retbackOrderID =\r\n\t * backOrder.getBackOrderID(); return retbackOrderID; }\r\n\t ", + "start_line": 150, + "end_line": 159, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " See if there is already an existing backorder and increase", + "start_line": 55, + "end_line": 55, + "start_column": 5, + "end_column": 65, "is_javadoc": false }, { - "content": " Add this item to shopping cart, if it is a brand new item.", - "start_line": 66, - "end_line": 66, - "start_column": 3, - "end_column": 63, + "content": " the order quantity", + "start_line": 56, + "end_line": 56, + "start_column": 5, + "end_column": 25, "is_javadoc": false }, { - "content": "\r\n\t * Remove an item from the cart.\r\n\t *\r\n\t * @param item\r\n\t * Item to remove from cart.\r\n\t ", + "content": " but only if it has not been sent to the supplier.", + "start_line": 57, + "end_line": 57, + "start_column": 5, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " throw new FinderException();", + "start_line": 63, + "end_line": 63, + "start_column": 6, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 65, + "end_line": 65, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Order enough stock from the supplier to reach the maximum", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " threshold and to", "start_line": 71, - "end_line": 76, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "end_line": 71, + "start_column": 5, + "end_column": 23, + "is_javadoc": false }, { - "content": "\r\n\t * Remove all items from the cart.\r\n\t ", - "start_line": 86, - "end_line": 88, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "content": " satisfy the back order.", + "start_line": 72, + "end_line": 72, + "start_column": 5, + "end_column": 30, + "is_javadoc": false }, { - "content": "\r\n\t * Remove zero quantity items.\r\n\t ", - "start_line": 93, - "end_line": 95, + "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", + "start_line": 83, + "end_line": 87, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", - "start_line": 108, - "end_line": 112, + "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 94, + "end_line": 98, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", - "start_line": 117, - "end_line": 122, + "content": " BackOrderLocal backOrder =", + "start_line": 101, + "end_line": 101, + "start_column": 3, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 102, + "end_line": 102, + "start_column": 3, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 132, + "end_line": 137, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", - "start_line": 149, - "end_line": 153, + "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", + "start_line": 161, + "end_line": 166, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Method checkInventory. Check the inventory level of a store item. Order additional inventory\r\n\t * when necessary.\r\n\t *\r\n\t * @param si\r\n\t * - Store item\r\n\t ", - "start_line": 163, - "end_line": 169, + "content": " BackOrderLocal backOrder =", + "start_line": 171, + "end_line": 171, + "start_column": 3, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 172, + "end_line": 172, + "start_column": 3, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " BackOrderKey(backOrderID));", + "start_line": 173, + "end_line": 173, + "start_column": 3, + "end_column": 32, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", + "start_line": 180, + "end_line": 185, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " When quantity becomes < 0, this will be to determine the", - "start_line": 193, - "end_line": 193, + "content": " BackOrderLocal backOrder =", + "start_line": 189, + "end_line": 189, "start_column": 3, - "end_column": 61, + "end_column": 31, "is_javadoc": false }, { - "content": " Check to see if more inventory needs to be ordered from the supplier", - "start_line": 197, - "end_line": 197, + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 190, + "end_line": 190, "start_column": 3, - "end_column": 73, + "end_column": 49, "is_javadoc": false }, { - "content": "\r\n\t\t * Decrease the quantity of this inventory item.\r\n\t\t * \r\n\t\t * @param quantity\r\n\t\t * The number to decrease the inventory by.\r\n\t\t * @return The number of inventory items removed.\r\n\t\t ", - "start_line": 174, - "end_line": 180, + "content": " BackOrderKey(backOrderID));", + "start_line": 191, + "end_line": 191, "start_column": 3, - "end_column": 5, + "end_column": 32, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 197, + "end_line": 202, + "start_column": 2, + "end_column": 4, "is_javadoc": true }, { - "content": " quantity of unfilled orders due to insufficient stock.", - "start_line": 194, - "end_line": 194, + "content": " BackOrderLocal backOrder =", + "start_line": 205, + "end_line": 205, "start_column": 3, - "end_column": 59, + "end_column": 31, "is_javadoc": false }, { - "content": " based on a set minimum Threshold", - "start_line": 198, - "end_line": 198, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 206, + "end_line": 206, "start_column": 3, - "end_column": 37, + "end_column": 65, "is_javadoc": false }, { - "content": " Calculate the amount of stock to order from the supplier", - "start_line": 200, - "end_line": 200, - "start_column": 4, - "end_column": 62, + "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", + "start_line": 211, + "end_line": 216, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " BackOrderLocal backOrder =", + "start_line": 219, + "end_line": 219, + "start_column": 3, + "end_column": 31, "is_javadoc": false }, { - "content": " to get the inventory up to the maximum.", - "start_line": 201, - "end_line": 201, - "start_column": 4, - "end_column": 45, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 220, + "end_line": 220, + "start_column": 3, + "end_column": 65, "is_javadoc": false }, { - "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", - "start_line": 208, - "end_line": 256, + "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 225, + "end_line": 229, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " store the order items", - "start_line": 294, - "end_line": 294, + "content": " BackOrderLocal backOrder =", + "start_line": 232, + "end_line": 232, "start_column": 3, - "end_column": 26, + "end_column": 31, "is_javadoc": false }, { - "content": "\r\n\t * Get the inventory item.\r\n\t *\r\n\t * @param id of inventory item.\r\n\t * \r\n\t * @return an inventory bean.\r\n\t ", - "start_line": 309, - "end_line": 315, - "start_column": 2, - "end_column": 4, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 233, + "end_line": 233, + "start_column": 3, + "end_column": 65, "is_javadoc": false }, - { - "content": "\r\n\t * Create a BackOrder of this inventory item.\r\n\t * \r\n\t * @param quantity The number of the inventory item to be backordered\r\n\t ", - "start_line": 322, - "end_line": 326, - "start_column": 2, - "end_column": 4, - "is_javadoc": false + { + "content": "\r\n * The BackOrderMgr provides a transactional and secured facade to access back order information.\r\n * This bean no longer requires an interface as there is one and only one implementation.\r\n ", + "start_line": 33, + "end_line": 36, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Dependent", + "@RolesAllowed(\"SampAdmin\")" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "deleteBackOrder(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "deleteBackOrder(java.lang.String)", + "comments": [ + { + "content": " BackOrderLocal backOrder =", + "start_line": 101, + "end_line": 101, + "start_column": 3, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 102, + "end_line": 102, + "start_column": 3, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method deleteBackOrder.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 94, + "end_line": 98, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void deleteBackOrder(String backOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "backOrderID", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 30, + "end_column": 47 + } + ], + "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.deleteBackOrder() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tem.remove(backOrder);\r\n\t}", + "start_line": 99, + "end_line": 105, + "code_start_line": 99, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + ], + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.deleteBackOrder() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 3, + "end_line": 100, + "end_column": 56 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "BackOrder.class", + "backOrderID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 103, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 103, + "start_column": 25, + "end_line": 103, + "end_column": 61 + }, + { + "method_name": "remove", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "backOrder" + ], + "return_type": "", + "callee_signature": "remove(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 104, + "operation_type": "DELETE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 104, + "start_column": 3, + "end_line": 104, + "end_column": 22 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 103, + "start_column": 13, + "end_line": 103, + "end_column": 61 + } + ], + "crud_operations": [ + { + "line_number": 103, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 104, + "operation_type": "DELETE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "createBackOrder(java.lang.String, int, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "createBackOrder(java.lang.String, int, int)", + "comments": [ + { + "content": " See if there is already an existing backorder and increase", + "start_line": 55, + "end_line": 55, + "start_column": 5, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " the order quantity", + "start_line": 56, + "end_line": 56, + "start_column": 5, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " but only if it has not been sent to the supplier.", + "start_line": 57, + "end_line": 57, + "start_column": 5, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " throw new FinderException();", + "start_line": 63, + "end_line": 63, + "start_column": 6, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 65, + "end_line": 65, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " Order enough stock from the supplier to reach the maximum", + "start_line": 70, + "end_line": 70, + "start_column": 5, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " threshold and to", + "start_line": 71, + "end_line": 71, + "start_column": 5, + "end_column": 23, + "is_javadoc": false + }, + { + "content": " satisfy the back order.", + "start_line": 72, + "end_line": 72, + "start_column": 5, + "end_column": 30, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method createBackOrder.\r\n\t * \r\n\t * @param inventoryID\r\n\t * @param amountToOrder\r\n\t * @param maximumItems\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void createBackOrder(String inventoryID, int amountToOrder, int maximumItems)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 30, + "end_column": 47 + }, + { + "type": "int", + "name": "amountToOrder", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 50, + "end_column": 66 + }, + { + "type": "int", + "name": "maximumItems", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 69, + "end_column": 84 + } + ], + "code": "{\r\n\t\ttry {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Entered\");\r\n\t\t\tBackOrder backOrder = null;\r\n\t\t\ttry {\r\n\t\t\t\t// See if there is already an existing backorder and increase\r\n\t\t\t\t// the order quantity\r\n\t\t\t\t// but only if it has not been sent to the supplier.\r\n\t\t\t\tQuery q = em.createNamedQuery(\"findByInventoryID\");\r\n\t\t\t\tq.setParameter(\"id\", inventoryID);\r\n\t\t\t\tbackOrder = (BackOrder) q.getSingleResult();\r\n\t\t\t\tif (!(backOrder.getStatus().equals(Util.STATUS_ORDERSTOCK))) {\r\n\t\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\");\r\n\t\t\t\t\t// throw new FinderException();\r\n\t\t\t\t}\r\n\t\t\t\t// Increase the BackOrder quantity for an existing Back Order.\r\n\t\t\t\tbackOrder.setQuantity(backOrder.getQuantity() + amountToOrder);\r\n\t\t\t} catch (NoResultException e) {\r\n\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - BackOrder doesn't exist.\" + e);\r\n\t\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Creating BackOrder for InventoryID: \" + inventoryID);\r\n\t\t\t\t// Order enough stock from the supplier to reach the maximum\r\n\t\t\t\t// threshold and to\r\n\t\t\t\t// satisfy the back order.\r\n\t\t\t\tamountToOrder = maximumItems + amountToOrder;\r\n\t\t\t\tInventory inv = em.find(Inventory.class, inventoryID);\r\n\t\t\t\tBackOrder b = new BackOrder(inv, amountToOrder);\r\n\t\t\t\tem.persist(b);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtil.debug(\"BackOrderMgr.createBackOrder() - Exception: \" + e);\r\n\t\t}\r\n\t}", + "start_line": 50, + "end_line": 81, + "code_start_line": 50, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "javax.persistence.Query", + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em", + "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ORDERSTOCK" + ], + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 4, + "end_line": 52, + "end_column": 57 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"findByInventoryID\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 58, + "query_arguments": [ + "\"findByInventoryID\"" + ], + "query_type": "NAMED" + }, + "start_line": 58, + "start_column": 15, + "end_line": 58, + "end_column": 54 + }, + { + "method_name": "setParameter", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"id\"", + "inventoryID" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "setParameter(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 59, + "start_column": 5, + "end_line": 59, + "end_column": 37 + }, + { + "method_name": "getSingleResult", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "getSingleResult()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 60, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 60, + "start_column": 29, + "end_line": 60, + "end_column": 47 + }, + { + "method_name": "equals", + "comment": null, + "receiver_expr": "backOrder.getStatus()", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Util.STATUS_ORDERSTOCK" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 11, + "end_line": 61, + "end_column": 62 + }, + { + "method_name": "getStatus", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getStatus()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 11, + "end_line": 61, + "end_column": 31 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - Backorders found but have already been ordered from the supplier\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 62, + "start_column": 6, + "end_line": 62, + "end_column": 116 + }, + { + "method_name": "setQuantity", + "comment": { + "content": " Increase the BackOrder quantity for an existing Back Order.", + "start_line": 65, + "end_line": 65, + "start_column": 5, + "end_column": 66, + "is_javadoc": false + }, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "" + ], + "argument_expr": [ + "backOrder.getQuantity() + amountToOrder" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 5, + "end_line": 66, + "end_column": 66 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 27, + "end_line": 66, + "end_column": 49 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - BackOrder doesn't exist.\" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 5, + "end_line": 68, + "end_column": 79 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - Creating BackOrder for InventoryID: \" + inventoryID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 5, + "end_line": 69, + "end_column": 101 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Inventory.class", + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 74, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 74, + "start_column": 21, + "end_line": 74, + "end_column": 57 + }, + { + "method_name": "persist", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "b" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 76, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 76, + "start_column": 5, + "end_line": 76, + "end_column": 17 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.createBackOrder() - Exception: \" + e" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 79, + "start_column": 4, + "end_line": 79, + "end_column": 65 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "" + ], + "argument_expr": [ + "inv", + "amountToOrder" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 75, + "start_column": 19, + "end_line": 75, + "end_column": 51 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "null", + "start_line": 53, + "start_column": 14, + "end_line": 53, + "end_column": 29 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "q", + "type": "javax.persistence.Query", + "initializer": "em.createNamedQuery(\"findByInventoryID\")", + "start_line": 58, + "start_column": 11, + "end_line": 58, + "end_column": 54 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "em.find(Inventory.class, inventoryID)", + "start_line": 74, + "start_column": 15, + "end_line": 74, + "end_column": 57 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "b", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "new BackOrder(inv, amountToOrder)", + "start_line": 75, + "start_column": 15, + "end_line": 75, + "end_column": 51 + } + ], + "crud_operations": [ + { + "line_number": 60, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 74, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 76, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [ + { + "line_number": 58, + "query_arguments": [ + "\"findByInventoryID\"" + ], + "query_type": "NAMED" + } + ], + "cyclomatic_complexity": 4, + "is_entrypoint": false }, - { - "content": " create a new backorder if none exists", - "start_line": 330, - "end_line": 330, - "start_column": 4, - "end_column": 43, - "is_javadoc": false + "setBackOrderOrderDate(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "setBackOrderOrderDate(java.lang.String)", + "comments": [ + { + "content": " BackOrderLocal backOrder =", + "start_line": 232, + "end_line": 232, + "start_column": 3, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 233, + "end_line": 233, + "start_column": 3, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method setBackOrderOrderDate.\r\n\t * \r\n\t * @param backOrderID\r\n\t ", + "start_line": 225, + "end_line": 229, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBackOrderOrderDate(String backOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "backOrderID", + "annotations": [], + "modifiers": [], + "start_line": 230, + "end_line": 230, + "start_column": 36, + "end_column": 53 + } + ], + "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setOrderDate(System.currentTimeMillis());\r\n\t}", + "start_line": 230, + "end_line": 236, + "code_start_line": 230, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + ], + "call_sites": [ + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.setBackOrderQuantity() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 231, + "start_column": 3, + "end_line": 231, + "end_column": 61 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "BackOrder.class", + "backOrderID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 234, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 234, + "start_column": 25, + "end_line": 234, + "end_column": 61 + }, + { + "method_name": "setOrderDate", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "", + "callee_signature": "setOrderDate(long)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 235, + "start_column": 3, + "end_line": 235, + "end_column": 52 + }, + { + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 235, + "start_column": 26, + "end_line": 235, + "end_column": 51 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 234, + "start_column": 13, + "end_line": 234, + "end_column": 61 + } + ], + "crud_operations": [ + { + "line_number": 234, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": " update the backorder with the new quantity", - "start_line": 336, - "end_line": 336, - "start_column": 4, - "end_column": 48, - "is_javadoc": false - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Transactional", - "@SessionScoped" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getInventoryItem(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "getInventoryItem(String)", - "comments": [], + "getBackOrderInventoryID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "getBackOrderInventoryID(java.lang.String)", + "comments": [ + { + "content": " BackOrderLocal backOrder =", + "start_line": 171, + "end_line": 171, + "start_column": 3, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 172, + "end_line": 172, + "start_column": 3, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " BackOrderKey(backOrderID));", + "start_line": 173, + "end_line": 173, + "start_column": 3, + "end_column": 32, + "is_javadoc": false + }, + { + "content": "\r\n\t * Method getBackOrderInventoryID.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return String\r\n\t ", + "start_line": 161, + "end_line": 166, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [], - "declaration": "private Inventory getInventoryItem(String inventoryID)", + "declaration": "public String getBackOrderInventoryID(String backOrderID)", "parameters": [ { "type": "java.lang.String", - "name": "inventoryID", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 316, - "end_line": 316, - "start_column": 37, - "end_column": 54 + "start_line": 167, + "end_line": 167, + "start_column": 40, + "end_column": 57 } ], - "code": "{\r\n\t\tInventory inv = null;\r\n\t\tinv = em.find(Inventory.class, inventoryID);\r\n\t\treturn inv;\r\n\t}", - "start_line": 316, - "end_line": 320, - "code_start_line": 316, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "code": "{\r\n\t\tString retinventoryID = \"\";\r\n\r\n\t\tUtil.debug(\"BackOrderMgr.getBackOrderID() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKey(new\r\n\t\t// BackOrderKey(backOrderID));\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tretinventoryID = backOrder.getInventory().getInventoryId();\r\n\r\n\t\treturn retinventoryID;\r\n\t}", + "start_line": 167, + "end_line": 178, + "code_start_line": 167, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em" + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" ], "call_sites": [ { - "method_name": "find", + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.getBackOrderID() - Entered\"" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 170, + "start_column": 3, + "end_line": 170, + "end_column": 55 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "BackOrder.class", + "backOrderID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 174, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 174, + "start_column": 25, + "end_line": 174, + "end_column": 61 + }, + { + "method_name": "getInventoryId", "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "receiver_expr": "backOrder.getInventory()", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, - "start_column": 9, - "end_line": 318, - "end_column": 45 + "start_line": 175, + "start_column": 20, + "end_line": 175, + "end_column": 60 + }, + { + "method_name": "getInventory", + "comment": null, + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "getInventory()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 175, + "start_column": 20, + "end_line": 175, + "end_column": 43 } ], "variable_declarations": [ @@ -68433,73 +83269,107 @@ "end_column": -1, "is_javadoc": false }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "null", - "start_line": 317, + "name": "retinventoryID", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 168, + "start_column": 10, + "end_line": 168, + "end_column": 28 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 174, "start_column": 13, - "end_line": 317, - "end_column": 22 + "end_line": 174, + "end_column": 61 + } + ], + "crud_operations": [ + { + "line_number": 174, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "backOrder(Inventory, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "backOrder(Inventory, int)", + "setBackOrderStatus(java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "setBackOrderStatus(java.lang.String, java.lang.String)", "comments": [ { - "content": " create a new backorder if none exists", - "start_line": 330, - "end_line": 330, - "start_column": 4, - "end_column": 43, + "content": " BackOrderLocal backOrder =", + "start_line": 219, + "end_line": 219, + "start_column": 3, + "end_column": 31, "is_javadoc": false }, { - "content": " update the backorder with the new quantity", - "start_line": 336, - "end_line": 336, - "start_column": 4, - "end_column": 48, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 220, + "end_line": 220, + "start_column": 3, + "end_column": 65, "is_javadoc": false + }, + { + "content": "\r\n\t * Method setBackOrderStatus.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param Status\r\n\t ", + "start_line": 211, + "end_line": 216, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [], - "declaration": "private void backOrder(Inventory inv, int amountToOrder)", + "declaration": "public void setBackOrderStatus(String backOrderID, String Status)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "inv", + "type": "java.lang.String", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 327, - "end_line": 327, - "start_column": 25, - "end_column": 37 + "start_line": 217, + "end_line": 217, + "start_column": 33, + "end_column": 50 }, { - "type": "int", - "name": "amountToOrder", + "type": "java.lang.String", + "name": "Status", "annotations": [], "modifiers": [], - "start_line": 327, - "end_line": 327, - "start_column": 40, - "end_column": 56 + "start_line": 217, + "end_line": 217, + "start_column": 53, + "end_column": 65 } ], - "code": "{\r\n\t\tBackOrder b = em.find(BackOrder.class, inv.getInventoryId());\r\n\t\tif (b == null) {\r\n\t\t\t// create a new backorder if none exists\r\n\t\t\tBackOrder newBO = new BackOrder(inv, amountToOrder);\r\n\t\t\tem.persist(newBO);\r\n\t\t\tem.flush();\r\n\t\t\tinv.setBackOrder(newBO);\r\n\t\t} else {\r\n\t\t\t// update the backorder with the new quantity\r\n\t\t\tint quantity = b.getQuantity();\r\n\t\t\tquantity += amountToOrder;\r\n\t\t\tem.lock(b, LockModeType.WRITE);\r\n\t\t\tem.refresh(b);\r\n\t\t\tb.setQuantity(quantity);\r\n\t\t\tem.flush();\r\n\t\t\tinv.setBackOrder(b);\r\n\t\t}\r\n\t}", - "start_line": 327, - "end_line": 345, - "code_start_line": 327, + "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderStatus() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setStatus(Status);\r\n\t}", + "start_line": 217, + "end_line": 223, + "code_start_line": 217, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -68507,130 +83377,83 @@ "com.ibm.websphere.samples.pbw.jpa.BackOrder" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em", - "WRITE" + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" ], "call_sites": [ { - "method_name": "find", + "method_name": "debug", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "\"BackOrderMgr.setBackOrderStatus() - Entered\"" + ], "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 328, - "start_column": 17, - "end_line": 328, - "end_column": 62 - }, - { - "method_name": "getInventoryId", - "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 328, - "start_column": 42, - "end_line": 328, - "end_column": 61 + "start_line": 218, + "start_column": 3, + "end_line": 218, + "end_column": 59 }, { - "method_name": "persist", + "method_name": "find", "comment": null, "receiver_expr": "em", - "receiver_type": "", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "java.lang.Class", + "java.lang.String" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 332, - "start_column": 4, - "end_line": 332, - "end_column": 20 - }, - { - "method_name": "flush", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 333, - "start_column": 4, - "end_line": 333, - "end_column": 13 - }, - { - "method_name": "setBackOrder", - "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "argument_expr": [ + "BackOrder.class", + "backOrderID" ], - "return_type": "", - "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 221, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 334, - "start_column": 4, - "end_line": 334, - "end_column": 26 + "start_line": 221, + "start_column": 25, + "end_line": 221, + "end_column": 61 }, { - "method_name": "getQuantity", + "method_name": "setStatus", "comment": null, - "receiver_expr": "b", + "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [], + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "Status" + ], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "setStatus(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -68639,148 +83462,196 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 337, - "start_column": 19, - "end_line": 337, - "end_column": 33 + "start_line": 222, + "start_column": 3, + "end_line": 222, + "end_column": 29 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 221, + "start_column": 13, + "end_line": 221, + "end_column": 61 + } + ], + "crud_operations": [ + { + "line_number": 221, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getBackOrderQuantity(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "getBackOrderQuantity(java.lang.String)", + "comments": [ + { + "content": " BackOrderLocal backOrder =", + "start_line": 189, + "end_line": 189, + "start_column": 3, + "end_column": 31, + "is_javadoc": false }, { - "method_name": "lock", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 339, - "start_column": 4, - "end_line": 339, - "end_column": 33 + "content": " getBackOrderLocalHome().findByPrimaryKey(new", + "start_line": 190, + "end_line": 190, + "start_column": 3, + "end_column": 49, + "is_javadoc": false }, { - "method_name": "refresh", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 340, - "start_column": 4, - "end_line": 340, - "end_column": 16 + "content": " BackOrderKey(backOrderID));", + "start_line": 191, + "end_line": 191, + "start_column": 3, + "end_column": 32, + "is_javadoc": false }, { - "method_name": "setQuantity", + "content": "\r\n\t * Method getBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @return int\r\n\t ", + "start_line": 180, + "end_line": 185, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getBackOrderQuantity(String backOrderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "backOrderID", + "annotations": [], + "modifiers": [], + "start_line": 186, + "end_line": 186, + "start_column": 34, + "end_column": 51 + } + ], + "code": "{\r\n\t\tint backOrderQuantity = -1;\r\n\t\tUtil.debug(\"BackOrderMgr.getBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKey(new\r\n\t\t// BackOrderKey(backOrderID));\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrderQuantity = backOrder.getQuantity();\r\n\t\treturn backOrderQuantity;\r\n\t}", + "start_line": 186, + "end_line": 195, + "code_start_line": 186, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" + ], + "call_sites": [ + { + "method_name": "debug", "comment": null, - "receiver_expr": "b", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "\"BackOrderMgr.getBackOrderQuantity() - Entered\"" ], "return_type": "", - "callee_signature": "setQuantity(int)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 341, - "start_column": 4, - "end_line": 341, - "end_column": 26 + "start_line": 188, + "start_column": 3, + "end_line": 188, + "end_column": 61 }, { - "method_name": "flush", + "method_name": "find", "comment": null, "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 342, - "start_column": 4, - "end_line": 342, - "end_column": 13 - }, - { - "method_name": "setBackOrder", - "comment": null, - "receiver_expr": "inv", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" + "java.lang.Class", + "java.lang.String" ], - "return_type": "", - "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "argument_expr": [ + "BackOrder.class", + "backOrderID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 192, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 343, - "start_column": 4, - "end_line": 343, - "end_column": 22 + "start_line": 192, + "start_column": 25, + "end_line": 192, + "end_column": 61 }, { - "method_name": "", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "", + "receiver_expr": "backOrder", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "callee_signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", - "is_public": false, + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 331, - "start_column": 22, - "end_line": 331, - "end_column": 54 + "start_line": 193, + "start_column": 23, + "end_line": 193, + "end_column": 45 } ], "variable_declarations": [ @@ -68792,31 +83663,14 @@ "start_column": -1, "end_column": -1, "is_javadoc": false - }, - "name": "b", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "em.find(BackOrder.class, inv.getInventoryId())", - "start_line": 328, - "start_column": 13, - "end_line": 328, - "end_column": 62 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "newBO", - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "initializer": "new BackOrder(inv, amountToOrder)", - "start_line": 331, - "start_column": 14, - "end_line": 331, - "end_column": 54 + }, + "name": "backOrderQuantity", + "type": "int", + "initializer": "-1", + "start_line": 187, + "start_column": 7, + "end_line": 187, + "end_column": 28 }, { "comment": { @@ -68827,44 +83681,53 @@ "end_column": -1, "is_javadoc": false }, - "name": "quantity", - "type": "int", - "initializer": "b.getQuantity()", - "start_line": 337, - "start_column": 8, - "end_line": 337, - "end_column": 33 + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 192, + "start_column": 13, + "end_line": 192, + "end_column": 61 + } + ], + "crud_operations": [ + { + "line_number": 192, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "addItem(Inventory)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "addItem(Inventory)", + "setBackOrderQuantity(java.lang.String, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "setBackOrderQuantity(java.lang.String, int)", "comments": [ { - "content": " If the same item is already in the cart, just increase the quantity.", - "start_line": 58, - "end_line": 58, + "content": " BackOrderLocal backOrder =", + "start_line": 205, + "end_line": 205, "start_column": 3, - "end_column": 73, + "end_column": 31, "is_javadoc": false }, { - "content": " Add this item to shopping cart, if it is a brand new item.", - "start_line": 66, - "end_line": 66, + "content": " getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);", + "start_line": 206, + "end_line": 206, "start_column": 3, - "end_column": 63, + "end_column": 65, "is_javadoc": false }, { - "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", - "start_line": 50, - "end_line": 55, + "content": "\r\n\t * Method setBackOrderQuantity.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 197, + "end_line": 202, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -68875,173 +83738,117 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void addItem(Inventory new_item)", + "declaration": "public void setBackOrderQuantity(String backOrderID, int quantity)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "new_item", + "type": "java.lang.String", + "name": "backOrderID", "annotations": [], "modifiers": [], - "start_line": 56, - "end_line": 56, - "start_column": 22, - "end_column": 39 + "start_line": 203, + "end_line": 203, + "start_column": 35, + "end_column": 52 + }, + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 203, + "end_line": 203, + "start_column": 55, + "end_column": 66 } ], - "code": "{\r\n\t\tboolean added = false;\r\n\t\t// If the same item is already in the cart, just increase the quantity.\r\n\t\tfor (Inventory old_item : items) {\r\n\t\t\tif (old_item.getID().equals(new_item.getID())) {\r\n\t\t\t\told_item.setQuantity(old_item.getQuantity() + new_item.getQuantity());\r\n\t\t\t\tadded = true;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Add this item to shopping cart, if it is a brand new item.\r\n\t\tif (!added)\r\n\t\t\titems.add(new_item);\r\n\t}", - "start_line": 56, - "end_line": 69, - "code_start_line": 56, + "code": "{\r\n\t\tUtil.debug(\"BackOrderMgr.setBackOrderQuantity() - Entered\");\r\n\t\t// BackOrderLocal backOrder =\r\n\t\t// getBackOrderLocalHome().findByPrimaryKeyUpdate(backOrderID);\r\n\t\tBackOrder backOrder = em.find(BackOrder.class, backOrderID);\r\n\t\tbackOrder.setQuantity(quantity);\r\n\t}", + "start_line": 203, + "end_line": 209, + "code_start_line": 203, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "com.ibm.websphere.samples.pbw.jpa.BackOrder" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" ], "call_sites": [ { - "method_name": "equals", + "method_name": "debug", "comment": null, - "receiver_expr": "old_item.getID()", - "receiver_type": "java.lang.String", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"BackOrderMgr.setBackOrderQuantity() - Entered\"" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 8, - "end_line": 60, - "end_column": 48 - }, - { - "method_name": "getID", - "comment": null, - "receiver_expr": "old_item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 60, - "start_column": 8, - "end_line": 60, - "end_column": 23 + "start_line": 204, + "start_column": 3, + "end_line": 204, + "end_column": 61 }, { - "method_name": "getID", + "method_name": "find", "comment": null, - "receiver_expr": "new_item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getID()", + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "BackOrder.class", + "backOrderID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 207, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 60, - "start_column": 32, - "end_line": 60, - "end_column": 47 + "start_line": 207, + "start_column": 25, + "end_line": 207, + "end_column": 61 }, { "method_name": "setQuantity", "comment": null, - "receiver_expr": "old_item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "backOrder", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", "argument_types": [ "" ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 5, - "end_line": 61, - "end_column": 73 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "old_item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 26, - "end_line": 61, - "end_column": 47 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "new_item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 51, - "end_line": 61, - "end_column": 72 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "items", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "argument_expr": [ + "quantity" ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "setQuantity(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -69050,10 +83857,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 68, - "start_column": 4, - "end_line": 68, - "end_column": 22 + "start_line": 208, + "start_column": 3, + "end_line": 208, + "end_column": 33 } ], "variable_declarations": [ @@ -69066,105 +83873,176 @@ "end_column": -1, "is_javadoc": false }, - "name": "added", - "type": "boolean", - "initializer": "false", - "start_line": 57, - "start_column": 11, - "end_line": 57, - "end_column": 23 - }, + "name": "backOrder", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, backOrderID)", + "start_line": 207, + "start_column": 13, + "end_line": 207, + "end_column": 61 + } + ], + "crud_operations": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "old_item", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "", - "start_line": 59, - "start_column": 18, - "end_line": 59, - "end_column": 25 + "line_number": 207, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "removeAllItems()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "removeAllItems()", + "findBackOrders()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "findBackOrders()", "comments": [ { - "content": "\r\n\t * Remove all items from the cart.\r\n\t ", - "start_line": 86, - "end_line": 88, + "content": "\r\n\t * Method findBackOrderItems.\r\n\t * \r\n\t * @return Collection\r\n\t ", + "start_line": 83, + "end_line": 87, "start_column": 2, "end_column": 4, "is_javadoc": true } ], - "annotations": [], + "annotations": [ + "@SuppressWarnings(\"unchecked\")" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void removeAllItems()", + "declaration": "public Collection findBackOrders()", "parameters": [], - "code": "{\r\n\t\titems = new ArrayList();\r\n\t}", - "start_line": 89, - "end_line": 91, + "code": "{\r\n\t\tQuery q = em.createNamedQuery(\"findAllBackOrders\");\r\n\t\treturn q.getResultList();\r\n\t}", + "start_line": 88, + "end_line": 92, "code_start_line": 89, - "return_type": "void", + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "javax.persistence.Query" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + "com.ibm.websphere.samples.pbw.bean.BackOrderMgr.em" ], "call_sites": [ { - "method_name": "", + "method_name": "createNamedQuery", "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"findAllBackOrders\"" + ], + "return_type": "javax.persistence.Query", + "callee_signature": "createNamedQuery(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, + "crud_query": { + "line_number": 90, + "query_arguments": [ + "\"findAllBackOrders\"" + ], + "query_type": "NAMED" + }, + "start_line": 90, + "start_column": 13, + "end_line": 90, + "end_column": 52 + }, + { + "method_name": "getResultList", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.Query", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 91, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, + "start_line": 91, + "start_column": 10, + "end_line": 91, + "end_column": 26 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "q", + "type": "javax.persistence.Query", + "initializer": "em.createNamedQuery(\"findAllBackOrders\")", "start_line": 90, - "start_column": 11, + "start_column": 9, "end_line": 90, - "end_column": 36 + "end_column": 52 + } + ], + "crud_operations": [ + { + "line_number": 91, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [ + { + "line_number": 90, + "query_arguments": [ + "\"findAllBackOrders\"" + ], + "query_type": "NAMED" } ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "removeZeroQuantityItems()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "removeZeroQuantityItems()", + "updateStock(java.lang.String, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/BackOrderMgr.java", + "signature": "updateStock(java.lang.String, int)", "comments": [ { - "content": "\r\n\t * Remove zero quantity items.\r\n\t ", - "start_line": 93, - "end_line": 95, + "content": "\r\n\t * Method updateStock.\r\n\t * \r\n\t * @param backOrderID\r\n\t * @param quantity\r\n\t ", + "start_line": 132, + "end_line": 137, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -69175,644 +84053,811 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void removeZeroQuantityItems()", - "parameters": [], - "code": "{\r\n\t\tArrayList newItems = new ArrayList();\r\n\r\n\t\tfor (Inventory i : items) {\r\n\t\t\tif (i.getQuantity() > 0) {\r\n\t\t\t\tnewItems.add(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\titems = newItems;\r\n\t}", - "start_line": 96, - "end_line": 106, - "code_start_line": 96, + "declaration": "public void updateStock(String backOrderID, int quantity)", + "parameters": [ + { + "type": "java.lang.String", + "name": "backOrderID", + "annotations": [], + "modifiers": [], + "start_line": 138, + "end_line": 138, + "start_column": 26, + "end_column": 43 + }, + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 138, + "end_line": 138, + "start_column": 46, + "end_column": 57 + } + ], + "code": "{\r\n\t\tthis.setBackOrderStatus(backOrderID, Util.STATUS_ADDEDSTOCK);\r\n\t}", + "start_line": 138, + "end_line": 140, + "code_start_line": 138, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.ArrayList" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + "com.ibm.websphere.samples.pbw.utils.Util.STATUS_ADDEDSTOCK" ], "call_sites": [ { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "i", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 8, - "end_line": 100, - "end_column": 22 - }, - { - "method_name": "add", + "method_name": "setBackOrderStatus", "comment": null, - "receiver_expr": "newItems", - "receiver_type": "java.util.ArrayList", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.bean.BackOrderMgr", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" + "java.lang.String", + "java.lang.String" ], - "return_type": "", - "callee_signature": "add(E)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 5, - "end_line": 101, - "end_column": 19 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 97, - "start_column": 35, - "end_line": 97, - "end_column": 60 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "newItems", - "type": "java.util.ArrayList", - "initializer": "new ArrayList()", - "start_line": 97, - "start_column": 24, - "end_line": 97, - "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "", - "start_line": 99, - "start_column": 18, - "end_line": 99, - "end_column": 18 + "argument_expr": [ + "backOrderID", + "Util.STATUS_ADDEDSTOCK" + ], + "return_type": "", + "callee_signature": "setBackOrderStatus(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 139, + "start_column": 3, + "end_line": 139, + "end_column": 62 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "javax.persistence.EntityManager", + "start_line": 40, + "end_line": 41, + "variables": [ + "em" + ], + "modifiers": [ + "private" + ], + "annotations": [ + "@PersistenceContext(unitName = \"PBW\")" + ] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "package_name": "com.ibm.websphere.samples.pbw.bean", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "\r\n * ShopingCartBean provides a transactional facade for order collection and processing.\r\n * \r\n ", + "start_line": 36, + "end_line": 39, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n\t * Get the contents of the shopping cart.\r\n\t *\r\n\t * @return The contents of the shopping cart. / public ShoppingCartContents getCartContents() {\r\n\t * ShoppingCartContents cartContents = new ShoppingCartContents(); // Fill it with data.\r\n\t * for (int i = 0; i < items.size(); i++) { cartContents.addItem((ShoppingCartItem)\r\n\t * items.get(i)); } return cartContents; }\r\n\t ", + "start_line": 127, + "end_line": 134, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a shopping cart.\r\n\t *\r\n\t * @param cartContents\r\n\t * Contents to populate cart with. / public void setCartContents(ShoppingCartContents\r\n\t * cartContents) { items = new ArrayList(); int qty; String\r\n\t * inventoryID; ShoppingCartItem si; Inventory inv; for (int i = 0; i <\r\n\t * cartContents.size(); i++) { inventoryID = cartContents.getInventoryID(i); qty =\r\n\t * cartContents.getQuantity(inventoryID); inv = em.find(Inventory.class,\r\n\t * inventoryID); // clone so we can use Qty as qty to purchase, not inventory in\r\n\t * stock si = new ShoppingCartItem(inv); si.setQuantity(qty); addItem(si); } }\r\n\t ", + "start_line": 136, + "end_line": 147, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", + "start_line": 50, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " If the same item is already in the cart, just increase the quantity.", + "start_line": 58, + "end_line": 58, + "start_column": 3, + "end_column": 73, + "is_javadoc": false + }, + { + "content": " Add this item to shopping cart, if it is a brand new item.", + "start_line": 66, + "end_line": 66, + "start_column": 3, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n\t * Remove an item from the cart.\r\n\t *\r\n\t * @param item\r\n\t * Item to remove from cart.\r\n\t ", + "start_line": 71, + "end_line": 76, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Remove all items from the cart.\r\n\t ", + "start_line": 86, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Remove zero quantity items.\r\n\t ", + "start_line": 93, + "end_line": 95, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", + "start_line": 108, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", + "start_line": 117, + "end_line": 122, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", + "start_line": 149, + "end_line": 153, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method checkInventory. Check the inventory level of a store item. Order additional inventory\r\n\t * when necessary.\r\n\t *\r\n\t * @param si\r\n\t * - Store item\r\n\t ", + "start_line": 163, + "end_line": 169, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " When quantity becomes < 0, this will be to determine the", + "start_line": 193, + "end_line": 193, + "start_column": 3, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " Check to see if more inventory needs to be ordered from the supplier", + "start_line": 197, + "end_line": 197, + "start_column": 3, + "end_column": 73, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Decrease the quantity of this inventory item.\r\n\t\t * \r\n\t\t * @param quantity\r\n\t\t * The number to decrease the inventory by.\r\n\t\t * @return The number of inventory items removed.\r\n\t\t ", + "start_line": 174, + "end_line": 180, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " quantity of unfilled orders due to insufficient stock.", + "start_line": 194, + "end_line": 194, + "start_column": 3, + "end_column": 59, + "is_javadoc": false + }, + { + "content": " based on a set minimum Threshold", + "start_line": 198, + "end_line": 198, + "start_column": 3, + "end_column": 37, + "is_javadoc": false + }, + { + "content": " Calculate the amount of stock to order from the supplier", + "start_line": 200, + "end_line": 200, + "start_column": 4, + "end_column": 62, + "is_javadoc": false + }, + { + "content": " to get the inventory up to the maximum.", + "start_line": 201, + "end_line": 201, + "start_column": 4, + "end_column": 45, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", + "start_line": 208, + "end_line": 256, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " store the order items", + "start_line": 294, + "end_line": 294, + "start_column": 3, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t * Get the inventory item.\r\n\t *\r\n\t * @param id of inventory item.\r\n\t * \r\n\t * @return an inventory bean.\r\n\t ", + "start_line": 309, + "end_line": 315, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create a BackOrder of this inventory item.\r\n\t * \r\n\t * @param quantity The number of the inventory item to be backordered\r\n\t ", + "start_line": 322, + "end_line": 326, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": " create a new backorder if none exists", + "start_line": 330, + "end_line": 330, + "start_column": 4, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " update the backorder with the new quantity", + "start_line": 336, + "end_line": 336, + "start_column": 4, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "java.io.Serializable", + "java.util.ArrayList", + "java.util.Collection", + "javax.enterprise.context.SessionScoped", + "javax.persistence.EntityManager", + "javax.persistence.LockModeType", + "javax.persistence.PersistenceContext", + "javax.transaction.Transactional", + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "com.ibm.websphere.samples.pbw.jpa.Customer", + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "com.ibm.websphere.samples.pbw.jpa.Order", + "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * Get the contents of the shopping cart.\r\n\t *\r\n\t * @return The contents of the shopping cart. / public ShoppingCartContents getCartContents() {\r\n\t * ShoppingCartContents cartContents = new ShoppingCartContents(); // Fill it with data.\r\n\t * for (int i = 0; i < items.size(); i++) { cartContents.addItem((ShoppingCartItem)\r\n\t * items.get(i)); } return cartContents; }\r\n\t ", + "start_line": 127, + "end_line": 134, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a shopping cart.\r\n\t *\r\n\t * @param cartContents\r\n\t * Contents to populate cart with. / public void setCartContents(ShoppingCartContents\r\n\t * cartContents) { items = new ArrayList(); int qty; String\r\n\t * inventoryID; ShoppingCartItem si; Inventory inv; for (int i = 0; i <\r\n\t * cartContents.size(); i++) { inventoryID = cartContents.getInventoryID(i); qty =\r\n\t * cartContents.getQuantity(inventoryID); inv = em.find(Inventory.class,\r\n\t * inventoryID); // clone so we can use Qty as qty to purchase, not inventory in\r\n\t * stock si = new ShoppingCartItem(inv); si.setQuantity(qty); addItem(si); } }\r\n\t ", + "start_line": 136, + "end_line": 147, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", + "start_line": 50, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " If the same item is already in the cart, just increase the quantity.", + "start_line": 58, + "end_line": 58, + "start_column": 3, + "end_column": 73, + "is_javadoc": false + }, + { + "content": " Add this item to shopping cart, if it is a brand new item.", + "start_line": 66, + "end_line": 66, + "start_column": 3, + "end_column": 63, + "is_javadoc": false + }, + { + "content": "\r\n\t * Remove an item from the cart.\r\n\t *\r\n\t * @param item\r\n\t * Item to remove from cart.\r\n\t ", + "start_line": 71, + "end_line": 76, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Remove all items from the cart.\r\n\t ", + "start_line": 86, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Remove zero quantity items.\r\n\t ", + "start_line": 93, + "end_line": 95, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", + "start_line": 108, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", + "start_line": 117, + "end_line": 122, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", + "start_line": 149, + "end_line": 153, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Method checkInventory. Check the inventory level of a store item. Order additional inventory\r\n\t * when necessary.\r\n\t *\r\n\t * @param si\r\n\t * - Store item\r\n\t ", + "start_line": 163, + "end_line": 169, + "start_column": 2, + "end_column": 4, + "is_javadoc": true }, - "setItems(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "setItems(Collection)", - "comments": [ - { - "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", - "start_line": 117, - "end_line": 122, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setItems(Collection items)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "items", - "annotations": [], - "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 23, - "end_column": 49 - } - ], - "code": "{\r\n\t\tthis.items = new ArrayList(items);\r\n\t}", - "start_line": 123, - "end_line": 125, - "code_start_line": 123, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.ArrayList" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" - ], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "java.util.Collection" - ], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList(java.util.Collection)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 16, - "end_line": 124, - "end_column": 46 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + { + "content": " When quantity becomes < 0, this will be to determine the", + "start_line": 193, + "end_line": 193, + "start_column": 3, + "end_column": 61, + "is_javadoc": false }, - "getSubtotalCost()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "getSubtotalCost()", - "comments": [ - { - "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", - "start_line": 149, - "end_line": 153, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public float getSubtotalCost()", - "parameters": [], - "code": "{\r\n\t\tfloat f = 0.0F;\r\n\r\n\t\tfor (Inventory item : items) {\r\n\t\t\tf += item.getPrice() * (float) item.getQuantity();\r\n\t\t}\r\n\t\treturn f;\r\n\t}", - "start_line": 154, - "end_line": 161, - "code_start_line": 154, - "return_type": "float", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" - ], - "call_sites": [ - { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 158, - "start_column": 9, - "end_line": 158, - "end_column": 23 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "float", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 158, - "start_column": 35, - "end_line": 158, - "end_column": 52 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "f", - "type": "float", - "initializer": "0.0F", - "start_line": 155, - "start_column": 9, - "end_line": 155, - "end_column": 16 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "item", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "", - "start_line": 157, - "start_column": 18, - "end_line": 157, - "end_column": 21 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false + { + "content": " Check to see if more inventory needs to be ordered from the supplier", + "start_line": 197, + "end_line": 197, + "start_column": 3, + "end_column": 73, + "is_javadoc": false + }, + { + "content": "\r\n\t\t * Decrease the quantity of this inventory item.\r\n\t\t * \r\n\t\t * @param quantity\r\n\t\t * The number to decrease the inventory by.\r\n\t\t * @return The number of inventory items removed.\r\n\t\t ", + "start_line": 174, + "end_line": 180, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " quantity of unfilled orders due to insufficient stock.", + "start_line": 194, + "end_line": 194, + "start_column": 3, + "end_column": 59, + "is_javadoc": false + }, + { + "content": " based on a set minimum Threshold", + "start_line": 198, + "end_line": 198, + "start_column": 3, + "end_column": 37, + "is_javadoc": false + }, + { + "content": " Calculate the amount of stock to order from the supplier", + "start_line": 200, + "end_line": 200, + "start_column": 4, + "end_column": 62, + "is_javadoc": false + }, + { + "content": " to get the inventory up to the maximum.", + "start_line": 201, + "end_line": 201, + "start_column": 4, + "end_column": 45, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", + "start_line": 208, + "end_line": 256, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " store the order items", + "start_line": 294, + "end_line": 294, + "start_column": 3, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t * Get the inventory item.\r\n\t *\r\n\t * @param id of inventory item.\r\n\t * \r\n\t * @return an inventory bean.\r\n\t ", + "start_line": 309, + "end_line": 315, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create a BackOrder of this inventory item.\r\n\t * \r\n\t * @param quantity The number of the inventory item to be backordered\r\n\t ", + "start_line": 322, + "end_line": 326, + "start_column": 2, + "end_column": 4, + "is_javadoc": false + }, + { + "content": " create a new backorder if none exists", + "start_line": 330, + "end_line": 330, + "start_column": 4, + "end_column": 43, + "is_javadoc": false }, - "createOrder(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)": { + { + "content": " update the backorder with the new quantity", + "start_line": 336, + "end_line": 336, + "start_column": 4, + "end_column": 48, + "is_javadoc": false + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Transactional", + "@SessionScoped" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "createOrder(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, int, Collection)", - "comments": [ - { - "content": " store the order items", - "start_line": 294, - "end_line": 294, - "start_column": 3, - "end_column": 26, - "is_javadoc": false - }, - { - "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", - "start_line": 208, - "end_line": 256, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Order createOrder(String customerID, String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, String creditCard, String ccNum, String ccExpireMonth, String ccExpireYear, String cardHolder, int shippingMethod, Collection items)", - "parameters": [ - { - "type": "java.lang.String", - "name": "customerID", - "annotations": [], - "modifiers": [], - "start_line": 257, - "end_line": 257, - "start_column": 27, - "end_column": 43 - }, - { - "type": "java.lang.String", - "name": "billName", - "annotations": [], - "modifiers": [], - "start_line": 258, - "end_line": 258, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "billAddr1", - "annotations": [], - "modifiers": [], - "start_line": 259, - "end_line": 259, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "billAddr2", - "annotations": [], - "modifiers": [], - "start_line": 260, - "end_line": 260, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "billCity", - "annotations": [], - "modifiers": [], - "start_line": 261, - "end_line": 261, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "billState", - "annotations": [], - "modifiers": [], - "start_line": 262, - "end_line": 262, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "billZip", - "annotations": [], - "modifiers": [], - "start_line": 263, - "end_line": 263, - "start_column": 4, - "end_column": 17 - }, - { - "type": "java.lang.String", - "name": "billPhone", - "annotations": [], - "modifiers": [], - "start_line": 264, - "end_line": 264, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "shipName", - "annotations": [], - "modifiers": [], - "start_line": 265, - "end_line": 265, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "shipAddr1", - "annotations": [], - "modifiers": [], - "start_line": 266, - "end_line": 266, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "shipAddr2", - "annotations": [], - "modifiers": [], - "start_line": 267, - "end_line": 267, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "shipCity", - "annotations": [], - "modifiers": [], - "start_line": 268, - "end_line": 268, - "start_column": 4, - "end_column": 18 - }, - { - "type": "java.lang.String", - "name": "shipState", - "annotations": [], - "modifiers": [], - "start_line": 269, - "end_line": 269, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "shipZip", - "annotations": [], - "modifiers": [], - "start_line": 270, - "end_line": 270, - "start_column": 4, - "end_column": 17 - }, - { - "type": "java.lang.String", - "name": "shipPhone", - "annotations": [], - "modifiers": [], - "start_line": 271, - "end_line": 271, - "start_column": 4, - "end_column": 19 - }, - { - "type": "java.lang.String", - "name": "creditCard", - "annotations": [], - "modifiers": [], - "start_line": 272, - "end_line": 272, - "start_column": 4, - "end_column": 20 - }, - { - "type": "java.lang.String", - "name": "ccNum", - "annotations": [], - "modifiers": [], - "start_line": 273, - "end_line": 273, - "start_column": 4, - "end_column": 15 - }, - { - "type": "java.lang.String", - "name": "ccExpireMonth", - "annotations": [], - "modifiers": [], - "start_line": 274, - "end_line": 274, - "start_column": 4, - "end_column": 23 - }, + "signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [ { - "type": "java.lang.String", - "name": "ccExpireYear", - "annotations": [], - "modifiers": [], - "start_line": 275, - "end_line": 275, - "start_column": 4, - "end_column": 22 + "content": " If the same item is already in the cart, just increase the quantity.", + "start_line": 58, + "end_line": 58, + "start_column": 3, + "end_column": 73, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "cardHolder", - "annotations": [], - "modifiers": [], - "start_line": 276, - "end_line": 276, - "start_column": 4, - "end_column": 20 + "content": " Add this item to shopping cart, if it is a brand new item.", + "start_line": 66, + "end_line": 66, + "start_column": 3, + "end_column": 63, + "is_javadoc": false }, { - "type": "int", - "name": "shippingMethod", - "annotations": [], - "modifiers": [], - "start_line": 277, - "end_line": 277, - "start_column": 4, - "end_column": 21 - }, + "content": "\r\n\t * Add an item to the cart.\r\n\t *\r\n\t * @param new_item\r\n\t * Item to add to the cart.\r\n\t ", + "start_line": 50, + "end_line": 55, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void addItem(Inventory new_item)", + "parameters": [ { - "type": "java.util.Collection", - "name": "items", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "new_item", "annotations": [], "modifiers": [], - "start_line": 278, - "end_line": 278, - "start_column": 4, - "end_column": 30 + "start_line": 56, + "end_line": 56, + "start_column": 22, + "end_column": 39 } ], - "code": "{\r\n\t\tOrder order = null;\r\n\t\tUtil.debug(\"ShoppingCartBean.createOrder: Creating Order\");\r\n\t\tCollection orderitems = new ArrayList();\r\n\t\tfor (Inventory si : items) {\r\n\t\t\tInventory inv = em.find(Inventory.class, si.getID());\r\n\t\t\tOrderItem oi = new OrderItem(inv);\r\n\t\t\toi.setQuantity(si.getQuantity());\r\n\t\t\torderitems.add(oi);\r\n\t\t}\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\torder = new Order(c, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName,\r\n\t\t\t\tshipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth,\r\n\t\t\t\tccExpireYear, cardHolder, shippingMethod, orderitems);\r\n\t\tem.persist(order);\r\n\t\tem.flush();\r\n\t\t// store the order items\r\n\t\tfor (OrderItem o : orderitems) {\r\n\t\t\to.setOrder(order);\r\n\t\t\to.updatePK();\r\n\t\t\tem.persist(o);\r\n\t\t}\r\n\t\tem.flush();\r\n\r\n\t\treturn order;\r\n\t}", - "start_line": 257, - "end_line": 303, - "code_start_line": 278, - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "code": "{\r\n\t\tboolean added = false;\r\n\t\t// If the same item is already in the cart, just increase the quantity.\r\n\t\tfor (Inventory old_item : items) {\r\n\t\t\tif (old_item.getID().equals(new_item.getID())) {\r\n\t\t\t\told_item.setQuantity(old_item.getQuantity() + new_item.getQuantity());\r\n\t\t\t\tadded = true;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Add this item to shopping cart, if it is a brand new item.\r\n\t\tif (!added)\r\n\t\t\titems.add(new_item);\r\n\t}", + "start_line": 56, + "end_line": 69, + "code_start_line": 56, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.Collection", - "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "com.ibm.websphere.samples.pbw.jpa.Order", - "com.ibm.websphere.samples.pbw.jpa.Customer" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items", - "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em" + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" ], "call_sites": [ { - "method_name": "debug", + "method_name": "equals", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "old_item.getID()", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "new_item.getID()" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 280, - "start_column": 3, - "end_line": 280, - "end_column": 61 + "start_line": 60, + "start_column": 8, + "end_line": 60, + "end_column": 48 }, { - "method_name": "find", + "method_name": "getID", "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, + "receiver_expr": "old_item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 283, - "start_column": 20, - "end_line": 283, - "end_column": 55 + "start_line": 60, + "start_column": 8, + "end_line": 60, + "end_column": 23 }, { "method_name": "getID", "comment": null, - "receiver_expr": "si", + "receiver_expr": "new_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getID()", "is_public": true, @@ -69823,19 +84868,22 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 283, - "start_column": 45, - "end_line": 283, - "end_column": 54 + "start_line": 60, + "start_column": 32, + "end_line": 60, + "end_column": 47 }, { "method_name": "setQuantity", "comment": null, - "receiver_expr": "oi", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "receiver_expr": "old_item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "" ], + "argument_expr": [ + "old_item.getQuantity() + new_item.getQuantity()" + ], "return_type": "", "callee_signature": "setQuantity(int)", "is_public": true, @@ -69846,17 +84894,18 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 285, - "start_column": 4, - "end_line": 285, - "end_column": 35 + "start_line": 61, + "start_column": 5, + "end_line": 61, + "end_column": 73 }, { "method_name": "getQuantity", "comment": null, - "receiver_expr": "si", + "receiver_expr": "old_item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -69867,21 +84916,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 285, - "start_column": 19, - "end_line": 285, - "end_column": 34 + "start_line": 61, + "start_column": 26, + "end_line": 61, + "end_column": 47 }, { - "method_name": "add", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "orderitems", - "receiver_type": "java.util.Collection", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem" - ], + "receiver_expr": "new_item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -69890,110 +84938,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 286, - "start_column": 4, - "end_line": 286, - "end_column": 21 - }, - { - "method_name": "find", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 288, - "start_column": 16, - "end_line": 288, - "end_column": 50 + "start_line": 61, + "start_column": 51, + "end_line": 61, + "end_column": 72 }, { - "method_name": "persist", + "method_name": "add", "comment": null, - "receiver_expr": "em", - "receiver_type": "", + "receiver_expr": "items", + "receiver_type": "java.util.ArrayList", "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Order" + "com.ibm.websphere.samples.pbw.jpa.Inventory" ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 292, - "start_column": 3, - "end_line": 292, - "end_column": 19 - }, - { - "method_name": "flush", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 293, - "start_column": 3, - "end_line": 293, - "end_column": 12 - }, - { - "method_name": "setOrder", - "comment": null, - "receiver_expr": "o", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Order" + "argument_expr": [ + "new_item" ], "return_type": "", - "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 296, - "start_column": 4, - "end_line": 296, - "end_column": 20 - }, - { - "method_name": "updatePK", - "comment": null, - "receiver_expr": "o", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [], - "return_type": "", - "callee_signature": "updatePK()", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -70002,142 +84964,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 297, - "start_column": 4, - "end_line": 297, - "end_column": 15 - }, - { - "method_name": "persist", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.OrderItem" - ], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 298, + "start_line": 68, "start_column": 4, - "end_line": 298, - "end_column": 16 - }, - { - "method_name": "flush", - "comment": null, - "receiver_expr": "em", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 300, - "start_column": 3, - "end_line": 300, - "end_column": 12 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 281, - "start_column": 38, - "end_line": 281, - "end_column": 63 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "callee_signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 284, - "start_column": 19, - "end_line": 284, - "end_column": 36 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Customer", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "", - "java.util.Collection" - ], - "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", - "callee_signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 289, - "start_column": 11, - "end_line": 291, - "end_column": 57 + "end_line": 68, + "end_column": 22 } ], "variable_declarations": [ @@ -70150,98 +84980,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.pbw.jpa.Order", - "initializer": "null", - "start_line": 279, - "start_column": 9, - "end_line": 279, - "end_column": 20 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderitems", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 281, - "start_column": 25, - "end_line": 281, - "end_column": 63 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "si", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "", - "start_line": 282, - "start_column": 18, - "end_line": 282, - "end_column": 19 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "inv", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "em.find(Inventory.class, si.getID())", - "start_line": 283, - "start_column": 14, - "end_line": 283, - "end_column": 55 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "oi", - "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", - "initializer": "new OrderItem(inv)", - "start_line": 284, - "start_column": 14, - "end_line": 284, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "c", - "type": "com.ibm.websphere.samples.pbw.jpa.Customer", - "initializer": "em.find(Customer.class, customerID)", - "start_line": 288, - "start_column": 12, - "end_line": 288, - "end_column": 50 + "name": "added", + "type": "boolean", + "initializer": "false", + "start_line": 57, + "start_column": 11, + "end_line": 57, + "end_column": 23 }, { "comment": { @@ -70252,28 +84997,28 @@ "end_column": -1, "is_javadoc": false }, - "name": "o", - "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "name": "old_item", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "initializer": "", - "start_line": 295, + "start_line": 59, "start_column": 18, - "end_line": 295, - "end_column": 18 + "end_line": 59, + "end_column": 25 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "getItems()": { + "setItems(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "getItems()", + "signature": "setItems(java.util.Collection)", "comments": [ { - "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", - "start_line": 108, - "end_line": 112, + "content": "\r\n\t * Set the items in the shopping cart.\r\n\t *\r\n\t * @param items\r\n\t * A Vector of ShoppingCartItem's.\r\n\t ", + "start_line": 117, + "end_line": 122, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -70284,29 +85029,69 @@ "public" ], "thrown_exceptions": [], - "declaration": "public ArrayList getItems()", - "parameters": [], - "code": "{\r\n\t\treturn items;\r\n\t}", - "start_line": 113, - "end_line": 115, - "code_start_line": 113, - "return_type": "java.util.ArrayList", + "declaration": "public void setItems(Collection items)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "items", + "annotations": [], + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 23, + "end_column": 49 + } + ], + "code": "{\r\n\t\tthis.items = new ArrayList(items);\r\n\t}", + "start_line": 123, + "end_line": 125, + "code_start_line": 123, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.ArrayList" + ], "accessed_fields": [ "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" ], - "call_sites": [], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [ + "java.util.Collection" + ], + "argument_expr": [ + "items" + ], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList(java.util.Collection)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 16, + "end_line": 124, + "end_column": 46 + } + ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "checkInventory(Inventory)": { + "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "checkInventory(Inventory)", + "signature": "checkInventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [ { "content": " When quantity becomes < 0, this will be to determine the", @@ -70411,6 +85196,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ShoppingCart.checkInventory() - checking Inventory quantity of item: \" + si.getID()" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -70432,6 +85220,7 @@ "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getID()", "is_public": true, @@ -70455,6 +85244,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "si.getID()" + ], "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "callee_signature": "getInventoryItem(java.lang.String)", "is_public": false, @@ -70476,6 +85268,7 @@ "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getID()", "is_public": true, @@ -70497,6 +85290,7 @@ "receiver_expr": "si", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70518,6 +85312,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMinThreshold()", "is_public": true, @@ -70541,6 +85336,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ShoppingCartBean:checkInventory() - Decreasing inventory item \" + inv.getInventoryId()" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -70562,6 +85360,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getInventoryId()", "is_public": true, @@ -70583,6 +85382,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70604,6 +85404,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70625,6 +85426,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70655,6 +85457,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "inv.getQuantity() - quantity" + ], "return_type": "", "callee_signature": "setQuantity(int)", "is_public": true, @@ -70676,6 +85481,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70697,6 +85503,7 @@ "receiver_expr": "inv", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -70721,6 +85528,10 @@ "com.ibm.websphere.samples.pbw.jpa.Inventory", "" ], + "argument_expr": [ + "inv", + "amountToOrder" + ], "return_type": "", "callee_signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", "is_public": false, @@ -70798,13 +85609,514 @@ "end_column": -1, "is_javadoc": false }, - "name": "amountToOrder", - "type": "int", - "initializer": "0", - "start_line": 184, - "start_column": 7, - "end_line": 184, - "end_column": 23 + "name": "amountToOrder", + "type": "int", + "initializer": "0", + "start_line": 184, + "start_column": 7, + "end_line": 184, + "end_column": 23 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantityNotFilled", + "type": "int", + "initializer": "0", + "start_line": 186, + "start_column": 7, + "end_line": 186, + "end_column": 27 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "removeAllItems()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "removeAllItems()", + "comments": [ + { + "content": "\r\n\t * Remove all items from the cart.\r\n\t ", + "start_line": 86, + "end_line": 88, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void removeAllItems()", + "parameters": [], + "code": "{\r\n\t\titems = new ArrayList();\r\n\t}", + "start_line": 89, + "end_line": 91, + "code_start_line": 89, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + ], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 11, + "end_line": 90, + "end_column": 36 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "backOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "comments": [ + { + "content": " create a new backorder if none exists", + "start_line": 330, + "end_line": 330, + "start_column": 4, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " update the backorder with the new quantity", + "start_line": 336, + "end_line": 336, + "start_column": 4, + "end_column": 48, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private void backOrder(Inventory inv, int amountToOrder)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "inv", + "annotations": [], + "modifiers": [], + "start_line": 327, + "end_line": 327, + "start_column": 25, + "end_column": 37 + }, + { + "type": "int", + "name": "amountToOrder", + "annotations": [], + "modifiers": [], + "start_line": 327, + "end_line": 327, + "start_column": 40, + "end_column": 56 + } + ], + "code": "{\r\n\t\tBackOrder b = em.find(BackOrder.class, inv.getInventoryId());\r\n\t\tif (b == null) {\r\n\t\t\t// create a new backorder if none exists\r\n\t\t\tBackOrder newBO = new BackOrder(inv, amountToOrder);\r\n\t\t\tem.persist(newBO);\r\n\t\t\tem.flush();\r\n\t\t\tinv.setBackOrder(newBO);\r\n\t\t} else {\r\n\t\t\t// update the backorder with the new quantity\r\n\t\t\tint quantity = b.getQuantity();\r\n\t\t\tquantity += amountToOrder;\r\n\t\t\tem.lock(b, LockModeType.WRITE);\r\n\t\t\tem.refresh(b);\r\n\t\t\tb.setQuantity(quantity);\r\n\t\t\tem.flush();\r\n\t\t\tinv.setBackOrder(b);\r\n\t\t}\r\n\t}", + "start_line": 327, + "end_line": 345, + "code_start_line": 327, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "javax.persistence.LockModeType" + ], + "accessed_fields": [ + "javax.persistence.LockModeType.WRITE", + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "BackOrder.class", + "inv.getInventoryId()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 328, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 328, + "start_column": 17, + "end_line": 328, + "end_column": 62 + }, + { + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 328, + "start_column": 42, + "end_line": 328, + "end_column": 61 + }, + { + "method_name": "persist", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "newBO" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 332, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 332, + "start_column": 4, + "end_line": 332, + "end_column": 20 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 333, + "start_column": 4, + "end_line": 333, + "end_column": 13 + }, + { + "method_name": "setBackOrder", + "comment": null, + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "newBO" + ], + "return_type": "", + "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 334, + "start_column": 4, + "end_line": 334, + "end_column": 26 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "b", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 337, + "start_column": 19, + "end_line": 337, + "end_column": 33 + }, + { + "method_name": "lock", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "javax.persistence.LockModeType" + ], + "argument_expr": [ + "b", + "LockModeType.WRITE" + ], + "return_type": "", + "callee_signature": "lock(java.lang.Object, javax.persistence.LockModeType)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 339, + "start_column": 4, + "end_line": 339, + "end_column": 33 + }, + { + "method_name": "refresh", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "b" + ], + "return_type": "", + "callee_signature": "refresh(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 340, + "start_column": 4, + "end_line": 340, + "end_column": 16 + }, + { + "method_name": "setQuantity", + "comment": null, + "receiver_expr": "b", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 341, + "start_column": 4, + "end_line": 341, + "end_column": 26 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 342, + "start_column": 4, + "end_line": 342, + "end_column": 13 + }, + { + "method_name": "setBackOrder", + "comment": null, + "receiver_expr": "inv", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "argument_expr": [ + "b" + ], + "return_type": "", + "callee_signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 343, + "start_column": 4, + "end_line": 343, + "end_column": 22 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "" + ], + "argument_expr": [ + "inv", + "amountToOrder" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "callee_signature": "BackOrder(com.ibm.websphere.samples.pbw.jpa.Inventory, int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 331, + "start_column": 22, + "end_line": 331, + "end_column": 54 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "b", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "em.find(BackOrder.class, inv.getInventoryId())", + "start_line": 328, + "start_column": 13, + "end_line": 328, + "end_column": 62 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "newBO", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "initializer": "new BackOrder(inv, amountToOrder)", + "start_line": 331, + "start_column": 14, + "end_line": 331, + "end_column": 54 }, { "comment": { @@ -70815,23 +86127,40 @@ "end_column": -1, "is_javadoc": false }, - "name": "quantityNotFilled", + "name": "quantity", "type": "int", - "initializer": "0", - "start_line": 186, - "start_column": 7, - "end_line": 186, - "end_column": 27 + "initializer": "b.getQuantity()", + "start_line": 337, + "start_column": 8, + "end_line": 337, + "end_column": 33 + } + ], + "crud_operations": [ + { + "line_number": 328, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 332, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "removeItem(Inventory)": { + "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "removeItem(Inventory)", + "signature": "removeItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", "comments": [ { "content": "\r\n\t * Remove an item from the cart.\r\n\t *\r\n\t * @param item\r\n\t * Item to remove from cart.\r\n\t ", @@ -70882,6 +86211,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -70905,6 +86237,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "remove(java.lang.Object)", "is_public": true, @@ -70945,35 +86280,50 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getSize()": { + "removeZeroQuantityItems()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", - "signature": "getSize()", - "comments": [], + "signature": "removeZeroQuantityItems()", + "comments": [ + { + "content": "\r\n\t * Remove zero quantity items.\r\n\t ", + "start_line": 93, + "end_line": 95, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getSize()", + "declaration": "public void removeZeroQuantityItems()", "parameters": [], - "code": "{\r\n\t\treturn getItems().size();\r\n\t}", - "start_line": 305, - "end_line": 307, - "code_start_line": 305, - "return_type": "int", + "code": "{\r\n\t\tArrayList newItems = new ArrayList();\r\n\r\n\t\tfor (Inventory i : items) {\r\n\t\t\tif (i.getQuantity() > 0) {\r\n\t\t\t\tnewItems.add(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\titems = newItems;\r\n\t}", + "start_line": 96, + "end_line": 106, + "code_start_line": 96, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.ArrayList" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + ], "call_sites": [ { - "method_name": "size", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "getItems()", - "receiver_type": "java.util.ArrayList", + "receiver_expr": "i", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "size()", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -70982,19 +86332,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 306, - "start_column": 10, - "end_line": 306, - "end_column": 26 + "start_line": 100, + "start_column": 8, + "end_line": 100, + "end_column": 22 }, { - "method_name": "getItems", + "method_name": "add", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "getItems()", + "receiver_expr": "newItems", + "receiver_type": "java.util.ArrayList", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "i" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -71003,350 +86358,188 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 306, - "start_column": 10, - "end_line": 306, + "start_line": 101, + "start_column": 5, + "end_line": 101, "end_column": 19 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 97, + "start_column": 35, + "end_line": 97, + "end_column": 60 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "newItems", + "type": "java.util.ArrayList", + "initializer": "new ArrayList()", + "start_line": 97, + "start_column": 24, + "end_line": 97, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "", + "start_line": 99, + "start_column": 18, + "end_line": 99, + "end_column": 18 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "EntityManager", - "start_line": 45, - "end_line": 46, - "variables": [ - "em" - ], - "modifiers": [], - "annotations": [ - "@PersistenceContext(unitName = \"PBW\")" - ] }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.util.ArrayList", - "start_line": 48, - "end_line": 48, - "variables": [ - "items" - ], + "getInventoryItem(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "getInventoryItem(java.lang.String)", + "comments": [], + "annotations": [], "modifiers": [ "private" ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "package_name": "com.ibm.websphere.samples.pbw.jpa", - "comments": [ - { - "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", - "start_line": 2, - "end_line": 2, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", - "start_line": 3, - "end_line": 3, - "start_column": 1, - "end_column": 103, - "is_javadoc": false - }, - { - "content": " developing, using, marketing or distributing application programs conforming to the application ", - "start_line": 4, - "end_line": 4, - "start_column": 1, - "end_column": 99, - "is_javadoc": false - }, - { - "content": " programming interface for the operating platform for which the sample code is written. ", - "start_line": 5, - "end_line": 5, - "start_column": 1, - "end_column": 90, - "is_javadoc": false - }, - { - "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", - "start_line": 6, - "end_line": 6, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", - "start_line": 7, - "end_line": 7, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", - "start_line": 8, - "end_line": 8, - "start_column": 1, - "end_column": 104, - "is_javadoc": false - }, - { - "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", - "start_line": 9, - "end_line": 9, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", - "start_line": 10, - "end_line": 10, - "start_column": 1, - "end_column": 101, - "is_javadoc": false - }, - { - "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", - "start_line": 11, - "end_line": 11, - "start_column": 1, - "end_column": 100, - "is_javadoc": false - }, - { - "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", - "start_line": 12, - "end_line": 12, - "start_column": 1, - "end_column": 48, - "is_javadoc": false - }, - { - "content": "", - "start_line": 13, - "end_line": 13, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", - "start_line": 14, - "end_line": 14, - "start_column": 1, - "end_column": 65, - "is_javadoc": false - }, - { - "content": " All Rights Reserved * Licensed Materials - Property of IBM", - "start_line": 15, - "end_line": 15, - "start_column": 1, - "end_column": 61, - "is_javadoc": false - }, - { - "content": "", - "start_line": 16, - "end_line": 16, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - }, - { - "content": "\r\n * The key class of the Order entity bean.\r\n *", - "start_line": 21, - "end_line": 23, - "start_column": 1, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", - "start_line": 30, - "end_line": 32, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", - "start_line": 36, - "end_line": 38, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", - "start_line": 58, - "end_line": 62, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", - "start_line": 67, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", - "start_line": 74, - "end_line": 76, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 2, - "is_javadoc": false - } - ], - "imports": [ - "java.io.Serializable" - ], - "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.OrderKey": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", - "start_line": 30, - "end_line": 32, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", - "start_line": 36, - "end_line": 38, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", - "start_line": 58, - "end_line": 62, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", - "start_line": 67, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - }, - { - "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", - "start_line": 74, - "end_line": 76, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "thrown_exceptions": [], + "declaration": "private Inventory getInventoryItem(String inventoryID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "inventoryID", + "annotations": [], + "modifiers": [], + "start_line": 316, + "end_line": 316, + "start_column": 37, + "end_column": 54 + } + ], + "code": "{\r\n\t\tInventory inv = null;\r\n\t\tinv = em.find(Inventory.class, inventoryID);\r\n\t\treturn inv;\r\n\t}", + "start_line": 316, + "end_line": 320, + "code_start_line": 316, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Inventory.class", + "inventoryID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 318, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 318, + "start_column": 9, + "end_line": 318, + "end_column": 45 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "null", + "start_line": 317, + "start_column": 13, + "end_line": 317, + "end_column": 22 + } + ], + "crud_operations": [ + { + "line_number": 318, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\r\n * The key class of the Order entity bean.\r\n *", - "start_line": 21, - "end_line": 23, - "start_column": 1, - "end_column": 4, - "is_javadoc": true - } - ], - "implements_list": [ - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "OrderKey(String)", + "getSubtotalCost()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "getSubtotalCost()", "comments": [ { - "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", - "start_line": 36, - "end_line": 38, + "content": "\r\n\t * Get the cost of all items in the shopping cart.\r\n\t *\r\n\t * @return The total cost of all items in the shopping cart.\r\n\t ", + "start_line": 149, + "end_line": 153, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -71357,31 +86550,138 @@ "public" ], "thrown_exceptions": [], - "declaration": "public OrderKey(String orderID)", - "parameters": [ + "declaration": "public float getSubtotalCost()", + "parameters": [], + "code": "{\r\n\t\tfloat f = 0.0F;\r\n\r\n\t\tfor (Inventory item : items) {\r\n\t\t\tf += item.getPrice() * (float) item.getQuantity();\r\n\t\t}\r\n\t\treturn f;\r\n\t}", + "start_line": 154, + "end_line": 161, + "code_start_line": 154, + "return_type": "float", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" + ], + "call_sites": [ { - "type": "java.lang.String", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 39, - "end_line": 39, + "method_name": "getPrice", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getPrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 158, + "start_column": 9, + "end_line": 158, + "end_column": 23 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "float", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 158, + "start_column": 35, + "end_line": 158, + "end_column": 52 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "f", + "type": "float", + "initializer": "0.0F", + "start_line": 155, + "start_column": 9, + "end_line": 155, + "end_column": 16 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "item", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "", + "start_line": 157, "start_column": 18, - "end_column": 31 + "end_line": 157, + "end_column": 21 } ], - "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", - "start_line": 39, - "end_line": 41, - "code_start_line": 39, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.lang.String" + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getItems()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "getItems()", + "comments": [ + { + "content": "\r\n\t * Get the items in the shopping cart.\r\n\t *\r\n\t * @return A Collection of ShoppingCartItems.\r\n\t ", + "start_line": 108, + "end_line": 112, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" ], + "thrown_exceptions": [], + "declaration": "public ArrayList getItems()", + "parameters": [], + "code": "{\r\n\t\treturn items;\r\n\t}", + "start_line": 113, + "end_line": 115, + "code_start_line": 113, + "return_type": "java.util.ArrayList", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items" ], "call_sites": [], "variable_declarations": [], @@ -71390,62 +86690,416 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "equals(Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "equals(Object)", + "getSize()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "getSize()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getSize()", + "parameters": [], + "code": "{\r\n\t\treturn getItems().size();\r\n\t}", + "start_line": 305, + "end_line": 307, + "code_start_line": 305, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "size", + "comment": null, + "receiver_expr": "getItems()", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "size()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 306, + "start_column": 10, + "end_line": 306, + "end_column": 26 + }, + { + "method_name": "getItems", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "getItems()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 306, + "start_column": 10, + "end_line": 306, + "end_column": 19 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/bean/ShoppingCartBean.java", + "signature": "createOrder(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", "comments": [ { - "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", - "start_line": 43, - "end_line": 49, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean equals(Object obj)", - "parameters": [ + "content": " store the order items", + "start_line": 294, + "end_line": 294, + "start_column": 3, + "end_column": 26, + "is_javadoc": false + }, + { + "content": "\r\n\t * Create an order with contents of a shopping cart.\r\n\t *\r\n\t * @param customerID\r\n\t * customer's ID\r\n\t * @param billName\r\n\t * billing name\r\n\t * @param billAddr1\r\n\t * billing address line 1\r\n\t * @param billAddr2\r\n\t * billing address line 2\r\n\t * @param billCity\r\n\t * billing address city\r\n\t * @param billState\r\n\t * billing address state\r\n\t * @param billZip\r\n\t * billing address zip code\r\n\t * @param billPhone\r\n\t * billing phone\r\n\t * @param shipName\r\n\t * shippng name\r\n\t * @param shipAddr1\r\n\t * shippng address line 1\r\n\t * @param shipAddr2\r\n\t * shippng address line 2\r\n\t * @param shipCity\r\n\t * shippng address city\r\n\t * @param shipState\r\n\t * shippng address state\r\n\t * @param shipZip\r\n\t * shippng address zip code\r\n\t * @param shipPhone\r\n\t * shippng phone\r\n\t * @param creditCard\r\n\t * credit card\r\n\t * @param ccNum\r\n\t * credit card number\r\n\t * @param ccExpireMonth\r\n\t * credit card expiration month\r\n\t * @param ccExpireYear\r\n\t * credit card expiration year\r\n\t * @param cardHolder\r\n\t * credit card holder name\r\n\t * @param shippingMethod\r\n\t * int of shipping method used\r\n\t * @param items\r\n\t * vector of StoreItems ordered\r\n\t * @return OrderInfo\r\n\t ", + "start_line": 208, + "end_line": 256, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Order createOrder(String customerID, String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, String creditCard, String ccNum, String ccExpireMonth, String ccExpireYear, String cardHolder, int shippingMethod, Collection items)", + "parameters": [ + { + "type": "java.lang.String", + "name": "customerID", + "annotations": [], + "modifiers": [], + "start_line": 257, + "end_line": 257, + "start_column": 27, + "end_column": 43 + }, + { + "type": "java.lang.String", + "name": "billName", + "annotations": [], + "modifiers": [], + "start_line": 258, + "end_line": 258, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "billAddr1", + "annotations": [], + "modifiers": [], + "start_line": 259, + "end_line": 259, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "billAddr2", + "annotations": [], + "modifiers": [], + "start_line": 260, + "end_line": 260, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "billCity", + "annotations": [], + "modifiers": [], + "start_line": 261, + "end_line": 261, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "billState", + "annotations": [], + "modifiers": [], + "start_line": 262, + "end_line": 262, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "billZip", + "annotations": [], + "modifiers": [], + "start_line": 263, + "end_line": 263, + "start_column": 4, + "end_column": 17 + }, + { + "type": "java.lang.String", + "name": "billPhone", + "annotations": [], + "modifiers": [], + "start_line": 264, + "end_line": 264, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "shipName", + "annotations": [], + "modifiers": [], + "start_line": 265, + "end_line": 265, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "shipAddr1", + "annotations": [], + "modifiers": [], + "start_line": 266, + "end_line": 266, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "shipAddr2", + "annotations": [], + "modifiers": [], + "start_line": 267, + "end_line": 267, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "shipCity", + "annotations": [], + "modifiers": [], + "start_line": 268, + "end_line": 268, + "start_column": 4, + "end_column": 18 + }, + { + "type": "java.lang.String", + "name": "shipState", + "annotations": [], + "modifiers": [], + "start_line": 269, + "end_line": 269, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "shipZip", + "annotations": [], + "modifiers": [], + "start_line": 270, + "end_line": 270, + "start_column": 4, + "end_column": 17 + }, + { + "type": "java.lang.String", + "name": "shipPhone", + "annotations": [], + "modifiers": [], + "start_line": 271, + "end_line": 271, + "start_column": 4, + "end_column": 19 + }, + { + "type": "java.lang.String", + "name": "creditCard", + "annotations": [], + "modifiers": [], + "start_line": 272, + "end_line": 272, + "start_column": 4, + "end_column": 20 + }, + { + "type": "java.lang.String", + "name": "ccNum", + "annotations": [], + "modifiers": [], + "start_line": 273, + "end_line": 273, + "start_column": 4, + "end_column": 15 + }, + { + "type": "java.lang.String", + "name": "ccExpireMonth", + "annotations": [], + "modifiers": [], + "start_line": 274, + "end_line": 274, + "start_column": 4, + "end_column": 23 + }, + { + "type": "java.lang.String", + "name": "ccExpireYear", + "annotations": [], + "modifiers": [], + "start_line": 275, + "end_line": 275, + "start_column": 4, + "end_column": 22 + }, + { + "type": "java.lang.String", + "name": "cardHolder", + "annotations": [], + "modifiers": [], + "start_line": 276, + "end_line": 276, + "start_column": 4, + "end_column": 20 + }, + { + "type": "int", + "name": "shippingMethod", + "annotations": [], + "modifiers": [], + "start_line": 277, + "end_line": 277, + "start_column": 4, + "end_column": 21 + }, { - "type": "java.lang.Object", - "name": "obj", + "type": "java.util.Collection", + "name": "items", "annotations": [], "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 24, - "end_column": 33 + "start_line": 278, + "end_line": 278, + "start_column": 4, + "end_column": 30 } ], - "code": "{\r\n\t\tif (obj instanceof OrderKey) {\r\n\t\t\tOrderKey otherKey = (OrderKey) obj;\r\n\t\t\treturn (((orderID.equals(otherKey.orderID))));\r\n\t\t} else\r\n\t\t\treturn false;\r\n\t}", - "start_line": 50, - "end_line": 56, - "code_start_line": 50, - "return_type": "boolean", + "code": "{\r\n\t\tOrder order = null;\r\n\t\tUtil.debug(\"ShoppingCartBean.createOrder: Creating Order\");\r\n\t\tCollection orderitems = new ArrayList();\r\n\t\tfor (Inventory si : items) {\r\n\t\t\tInventory inv = em.find(Inventory.class, si.getID());\r\n\t\t\tOrderItem oi = new OrderItem(inv);\r\n\t\t\toi.setQuantity(si.getQuantity());\r\n\t\t\torderitems.add(oi);\r\n\t\t}\r\n\t\tCustomer c = em.find(Customer.class, customerID);\r\n\t\torder = new Order(c, billName, billAddr1, billAddr2, billCity, billState, billZip, billPhone, shipName,\r\n\t\t\t\tshipAddr1, shipAddr2, shipCity, shipState, shipZip, shipPhone, creditCard, ccNum, ccExpireMonth,\r\n\t\t\t\tccExpireYear, cardHolder, shippingMethod, orderitems);\r\n\t\tem.persist(order);\r\n\t\tem.flush();\r\n\t\t// store the order items\r\n\t\tfor (OrderItem o : orderitems) {\r\n\t\t\to.setOrder(order);\r\n\t\t\to.updatePK();\r\n\t\t\tem.persist(o);\r\n\t\t}\r\n\t\tem.flush();\r\n\r\n\t\treturn order;\r\n\t}", + "start_line": 257, + "end_line": 303, + "code_start_line": 278, + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey", - "java.lang.String" + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.Collection", + "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "com.ibm.websphere.samples.pbw.jpa.Order", + "com.ibm.websphere.samples.pbw.jpa.Customer" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.items", + "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean.em" ], "call_sites": [ { - "method_name": "equals", + "method_name": "debug", "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.String", + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ShoppingCartBean.createOrder: Creating Order\"" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 280, + "start_column": 3, + "end_line": 280, + "end_column": 61 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Inventory.class", + "si.getID()" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 283, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 283, + "start_column": 20, + "end_line": 283, + "end_column": 55 + }, + { + "method_name": "getID", + "comment": null, + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getID()", "is_public": true, "is_protected": false, "is_private": false, @@ -71454,10 +87108,393 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 53, - "start_column": 14, - "end_line": 53, - "end_column": 45 + "start_line": 283, + "start_column": 45, + "end_line": 283, + "end_column": 54 + }, + { + "method_name": "setQuantity", + "comment": null, + "receiver_expr": "oi", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [ + "" + ], + "argument_expr": [ + "si.getQuantity()" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 285, + "start_column": 4, + "end_line": 285, + "end_column": 35 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "si", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 285, + "start_column": 19, + "end_line": 285, + "end_column": 34 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "orderitems", + "receiver_type": "java.util.Collection", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem" + ], + "argument_expr": [ + "oi" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 286, + "start_column": 4, + "end_line": 286, + "end_column": 21 + }, + { + "method_name": "find", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "Customer.class", + "customerID" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 288, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 288, + "start_column": 16, + "end_line": 288, + "end_column": 50 + }, + { + "method_name": "persist", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "argument_expr": [ + "order" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 292, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 292, + "start_column": 3, + "end_line": 292, + "end_column": 19 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 293, + "start_column": 3, + "end_line": 293, + "end_column": 12 + }, + { + "method_name": "setOrder", + "comment": null, + "receiver_expr": "o", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Order" + ], + "argument_expr": [ + "order" + ], + "return_type": "", + "callee_signature": "setOrder(com.ibm.websphere.samples.pbw.jpa.Order)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 296, + "start_column": 4, + "end_line": 296, + "end_column": 20 + }, + { + "method_name": "updatePK", + "comment": null, + "receiver_expr": "o", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "updatePK()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 297, + "start_column": 4, + "end_line": 297, + "end_column": 15 + }, + { + "method_name": "persist", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.OrderItem" + ], + "argument_expr": [ + "o" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 298, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 298, + "start_column": 4, + "end_line": 298, + "end_column": 16 + }, + { + "method_name": "flush", + "comment": null, + "receiver_expr": "em", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "flush()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 300, + "start_column": 3, + "end_line": 300, + "end_column": 12 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 281, + "start_column": 38, + "end_line": 281, + "end_column": 63 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "inv" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "callee_signature": "OrderItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 284, + "start_column": 19, + "end_line": 284, + "end_column": 36 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Customer", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "", + "java.util.Collection" + ], + "argument_expr": [ + "c", + "billName", + "billAddr1", + "billAddr2", + "billCity", + "billState", + "billZip", + "billPhone", + "shipName", + "shipAddr1", + "shipAddr2", + "shipCity", + "shipState", + "shipZip", + "shipPhone", + "creditCard", + "ccNum", + "ccExpireMonth", + "ccExpireYear", + "cardHolder", + "shippingMethod", + "orderitems" + ], + "return_type": "com.ibm.websphere.samples.pbw.jpa.Order", + "callee_signature": "Order(com.ibm.websphere.samples.pbw.jpa.Customer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.util.Collection)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 289, + "start_column": 11, + "end_line": 291, + "end_column": 57 } ], "variable_declarations": [ @@ -71470,201 +87507,153 @@ "end_column": -1, "is_javadoc": false }, - "name": "otherKey", - "type": "com.ibm.websphere.samples.pbw.jpa.OrderKey", - "initializer": "(OrderKey) obj", - "start_line": 52, - "start_column": 13, - "end_line": 52, - "end_column": 37 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "setOrderID(java.lang.String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "setOrderID(java.lang.String)", - "comments": [ - { - "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", - "start_line": 74, - "end_line": 76, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderID(java.lang.String newOrderID)", - "parameters": [ + "name": "order", + "type": "com.ibm.websphere.samples.pbw.jpa.Order", + "initializer": "null", + "start_line": 279, + "start_column": 9, + "end_line": 279, + "end_column": 20 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderitems", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 281, + "start_column": 25, + "end_line": 281, + "end_column": 63 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "si", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "", + "start_line": 282, + "start_column": 18, + "end_line": 282, + "end_column": 19 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "inv", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "em.find(Inventory.class, si.getID())", + "start_line": 283, + "start_column": 14, + "end_line": 283, + "end_column": 55 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "oi", + "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "initializer": "new OrderItem(inv)", + "start_line": 284, + "start_column": 14, + "end_line": 284, + "end_column": 36 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "c", + "type": "com.ibm.websphere.samples.pbw.jpa.Customer", + "initializer": "em.find(Customer.class, customerID)", + "start_line": 288, + "start_column": 12, + "end_line": 288, + "end_column": 50 + }, { - "type": "java.lang.String", - "name": "newOrderID", - "annotations": [], - "modifiers": [], - "start_line": 77, - "end_line": 77, - "start_column": 25, - "end_column": 51 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "o", + "type": "com.ibm.websphere.samples.pbw.jpa.OrderItem", + "initializer": "", + "start_line": 295, + "start_column": 18, + "end_line": 295, + "end_column": 18 } ], - "code": "{\r\n\t\torderID = newOrderID;\r\n\t}", - "start_line": 77, - "end_line": 79, - "code_start_line": 77, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "OrderKey()", - "comments": [ + "crud_operations": [ { - "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", - "start_line": 30, - "end_line": 32, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrderKey()", - "parameters": [], - "code": "{\r\n\t}", - "start_line": 33, - "end_line": 34, - "code_start_line": 33, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "getOrderID()", - "comments": [ + "line_number": 283, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, { - "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", - "start_line": 67, - "end_line": 69, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public java.lang.String getOrderID()", - "parameters": [], - "code": "{\r\n\t\treturn orderID;\r\n\t}", - "start_line": 70, - "end_line": 72, - "code_start_line": 70, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "hashCode()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", - "signature": "hashCode()", - "comments": [ + "line_number": 288, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, { - "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", - "start_line": 58, - "end_line": 62, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int hashCode()", - "parameters": [], - "code": "{\r\n\t\treturn (orderID.hashCode());\r\n\t}", - "start_line": 63, - "end_line": 65, - "code_start_line": 63, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" - ], - "call_sites": [ + "line_number": 292, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, { - "method_name": "hashCode", - "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.String", - "argument_types": [], - "return_type": "", - "callee_signature": "hashCode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 64, - "start_column": 11, - "end_line": 64, - "end_column": 28 + "line_number": 298, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "variable_declarations": [], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false } }, @@ -71679,18 +87668,16 @@ "is_javadoc": false }, "name": null, - "type": "long", - "start_line": 26, - "end_line": 26, + "type": "javax.persistence.EntityManager", + "start_line": 45, + "end_line": 46, "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" + "em" ], - "annotations": [] + "modifiers": [], + "annotations": [ + "@PersistenceContext(unitName = \"PBW\")" + ] }, { "comment": { @@ -71702,14 +87689,14 @@ "is_javadoc": false }, "name": null, - "type": "java.lang.String", - "start_line": 28, - "end_line": 28, + "type": "java.util.ArrayList", + "start_line": 48, + "end_line": 48, "variables": [ - "orderID" + "items" ], "modifiers": [ - "public" + "private" ], "annotations": [] } @@ -71722,8 +87709,8 @@ }, "is_modified": false }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", "package_name": "com.ibm.websphere.samples.pbw.jpa", "comments": [ { @@ -71847,67 +87834,59 @@ "is_javadoc": false }, { - "content": "\r\n * Inventory is the bean mapping for the INVENTORY table. It provides information about products the\r\n * store has for sale.\r\n * \r\n * @see Inventory\r\n ", - "start_line": 29, - "end_line": 34, + "content": "\r\n * The key class of the Order entity bean.\r\n *", + "start_line": 21, + "end_line": 23, "start_column": 1, - "end_column": 3, + "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", - "start_line": 71, - "end_line": 98, + "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", + "start_line": 30, + "end_line": 32, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", - "start_line": 119, - "end_line": 124, + "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", + "start_line": 36, + "end_line": 38, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " does not clone BackOrder info", - "start_line": 142, - "end_line": 142, - "start_column": 3, - "end_column": 34, - "is_javadoc": false - }, - { - "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", - "start_line": 145, - "end_line": 150, + "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", + "start_line": 43, + "end_line": 49, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", - "start_line": 259, - "end_line": 264, + "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", + "start_line": 58, + "end_line": 62, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", - "start_line": 269, - "end_line": 273, + "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", + "start_line": 67, + "end_line": 69, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Set the inventory item's public availability. ", - "start_line": 286, - "end_line": 286, + "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", + "start_line": 74, + "end_line": 76, "start_column": 2, - "end_column": 53, + "end_column": 4, "is_javadoc": true }, { @@ -71920,17 +87899,10 @@ } ], "imports": [ - "javax.persistence.Entity", - "javax.persistence.Id", - "javax.persistence.NamedQueries", - "javax.persistence.NamedQuery", - "javax.persistence.Table", - "javax.persistence.Transient", - "javax.persistence.Version", - "com.ibm.websphere.samples.pbw.utils.Util" + "java.io.Serializable" ], "type_declarations": { - "com.ibm.websphere.samples.pbw.jpa.Inventory": { + "com.ibm.websphere.samples.pbw.jpa.OrderKey": { "is_nested_type": false, "is_class_or_interface_declaration": true, "is_enum_declaration": false, @@ -71942,284 +87914,113 @@ "extends_list": [], "comments": [ { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", - "start_line": 71, - "end_line": 98, + "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", + "start_line": 30, + "end_line": 32, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", - "start_line": 119, - "end_line": 124, + "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", + "start_line": 36, + "end_line": 38, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " does not clone BackOrder info", - "start_line": 142, - "end_line": 142, - "start_column": 3, - "end_column": 34, - "is_javadoc": false - }, - { - "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", - "start_line": 145, - "end_line": 150, + "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", + "start_line": 43, + "end_line": 49, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", - "start_line": 259, - "end_line": 264, + "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", + "start_line": 58, + "end_line": 62, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", - "start_line": 269, - "end_line": 273, + "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", + "start_line": 67, + "end_line": 69, "start_column": 2, "end_column": 4, "is_javadoc": true }, { - "content": " Set the inventory item's public availability. ", - "start_line": 286, - "end_line": 286, + "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", + "start_line": 74, + "end_line": 76, "start_column": 2, - "end_column": 53, - "is_javadoc": true - }, - { - "content": "\r\n * Inventory is the bean mapping for the INVENTORY table. It provides information about products the\r\n * store has for sale.\r\n * \r\n * @see Inventory\r\n ", - "start_line": 29, - "end_line": 34, - "start_column": 1, - "end_column": 3, + "end_column": 4, "is_javadoc": true - } - ], - "implements_list": [ - "java.lang.Cloneable", - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Entity(name = \"Inventory\")", - "@Table(name = \"INVENTORY\", schema = \"APP\")", - "@NamedQueries({ @NamedQuery(name = \"getItemsByCategory\", query = \"select i from Inventory i where i.category = :category ORDER BY i.inventoryId\"), @NamedQuery(name = \"getItemsLikeName\", query = \"select i from Inventory i where i.name like :name\"), @NamedQuery(name = \"removeAllInventory\", query = \"delete from Inventory\") })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "setImage(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setImage(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setImage(String image)", - "parameters": [ - { - "type": "java.lang.String", - "name": "image", - "annotations": [], - "modifiers": [], - "start_line": 191, - "end_line": 191, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.image = image;\r\n\t}", - "start_line": 191, - "end_line": 193, - "code_start_line": 191, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.image" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getDescription()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "getDescription()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getDescription()", - "parameters": [], - "code": "{\r\n\t\treturn description;\r\n\t}", - "start_line": 171, - "end_line": 173, - "code_start_line": 171, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.description" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false }, - "increaseInventory(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "increaseInventory(int)", - "comments": [ - { - "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", - "start_line": 145, - "end_line": 150, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void increaseInventory(int quantity)", - "parameters": [ - { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 151, - "end_line": 151, - "start_column": 32, - "end_column": 43 - } - ], - "code": "{\r\n\t\tthis.setQuantity(this.getQuantity() + quantity);\r\n\t}", - "start_line": 151, - "end_line": 153, - "code_start_line": 151, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity" - ], - "call_sites": [ - { - "method_name": "setQuantity", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setQuantity(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 3, - "end_line": 152, - "end_column": 49 - }, + { + "content": "\r\n * The key class of the Order entity bean.\r\n *", + "start_line": 21, + "end_line": 23, + "start_column": 1, + "end_column": 4, + "is_javadoc": true + } + ], + "implements_list": [ + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "setOrderID(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "setOrderID(java.lang.String)", + "comments": [ { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 20, - "end_line": 152, - "end_column": 37 + "content": "\r\n\t * Set accessor for persistent attribute: orderID\r\n\t ", + "start_line": 74, + "end_line": 76, + "start_column": 2, + "end_column": 4, + "is_javadoc": true } ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBackOrder(BackOrder)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setBackOrder(BackOrder)", - "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBackOrder(BackOrder backOrder)", + "declaration": "public void setOrderID(java.lang.String newOrderID)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", - "name": "backOrder", + "type": "java.lang.String", + "name": "newOrderID", "annotations": [], "modifiers": [], - "start_line": 303, - "end_line": 303, - "start_column": 27, - "end_column": 45 + "start_line": 77, + "end_line": 77, + "start_column": 25, + "end_column": 51 } ], - "code": "{\r\n\t\tthis.backOrder = backOrder;\r\n\t}", - "start_line": 303, - "end_line": 305, - "code_start_line": 303, + "code": "{\r\n\t\torderID = newOrderID;\r\n\t}", + "start_line": 77, + "end_line": 79, + "code_start_line": 77, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.BackOrder" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.backOrder" + "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" ], "call_sites": [], "variable_declarations": [], @@ -72228,41 +88029,35 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setName(String)", - "comments": [], + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "()", + "comments": [ + { + "content": "\r\n\t * Constructs an OrderKey object.\r\n\t ", + "start_line": 30, + "end_line": 32, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setName(String name)", - "parameters": [ - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 199, - "end_line": 199, - "start_column": 22, - "end_column": 32 - } - ], - "code": "{\r\n\t\tthis.name = name;\r\n\t}", - "start_line": 199, - "end_line": 201, - "code_start_line": 199, - "return_type": "void", + "declaration": "public OrderKey()", + "parameters": [], + "code": "{\r\n\t}", + "start_line": 33, + "end_line": 34, + "code_start_line": 33, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.name" - ], + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], @@ -72270,38 +88065,36 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setImgbytes(byte[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setImgbytes(byte[])", - "comments": [], + "getOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "getOrderID()", + "comments": [ + { + "content": "\r\n\t * Get accessor for persistent attribute: orderID\r\n\t ", + "start_line": 67, + "end_line": 69, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setImgbytes(byte[] imgbytes)", - "parameters": [ - { - "type": "byte[]", - "name": "imgbytes", - "annotations": [], - "modifiers": [], - "start_line": 295, - "end_line": 295, - "start_column": 26, - "end_column": 40 - } - ], - "code": "{\r\n\t\tthis.imgbytes = imgbytes;\r\n\t}", - "start_line": 295, - "end_line": 297, - "code_start_line": 295, - "return_type": "void", + "declaration": "public java.lang.String getOrderID()", + "parameters": [], + "code": "{\r\n\t\treturn orderID;\r\n\t}", + "start_line": 70, + "end_line": 72, + "code_start_line": 70, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.imgbytes" + "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" ], "call_sites": [], "variable_declarations": [], @@ -72310,22 +88103,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "Inventory(Inventory)", + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "(java.lang.String)", "comments": [ { - "content": " does not clone BackOrder info", - "start_line": 142, - "end_line": 142, - "start_column": 3, - "end_column": 34, - "is_javadoc": false - }, - { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", - "start_line": 119, - "end_line": 124, + "content": "\r\n\t * Constructs a newly allocated OrderKey object that represents the primitive long argument.\r\n\t ", + "start_line": 36, + "end_line": 38, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -72336,306 +88121,98 @@ "public" ], "thrown_exceptions": [], - "declaration": "public Inventory(Inventory item)", + "declaration": "public OrderKey(String orderID)", "parameters": [ { - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "name": "item", + "type": "java.lang.String", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 19, - "end_column": 32 + "start_line": 39, + "end_line": 39, + "start_column": 18, + "end_column": 31 } ], - "code": "{\r\n\t\tthis.setInventoryId(item.getInventoryId());\r\n\t\tthis.setName(item.getName());\r\n\t\tthis.setHeading(item.getHeading());\r\n\t\tthis.setDescription(item.getDescription());\r\n\t\tthis.setPkginfo(item.getPkginfo());\r\n\t\tthis.setImage(item.getImage());\r\n\t\tthis.setPrice(item.getPrice());\r\n\t\tthis.setCost(item.getCost());\r\n\t\tthis.setQuantity(item.getQuantity());\r\n\t\tthis.setCategory(item.getCategory());\r\n\t\tthis.setNotes(item.getNotes());\r\n\t\tthis.setMinThreshold(DEFAULT_MINTHRESHOLD);\r\n\t\tthis.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\r\n\r\n\t\tsetIsPublic(item.isPublic());\r\n\r\n\t\t// does not clone BackOrder info\r\n\t}", - "start_line": 125, - "end_line": 143, - "code_start_line": 125, + "code": "{\r\n\t\tthis.orderID = orderID;\r\n\t}", + "start_line": 39, + "end_line": 41, + "code_start_line": 39, "return_type": null, "is_implicit": false, "is_constructor": true, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MAXTHRESHOLD", - "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MINTHRESHOLD" + "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" ], - "call_sites": [ - { - "method_name": "setInventoryId", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setInventoryId(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 3, - "end_line": 126, - "end_column": 44 - }, - { - "method_name": "getInventoryId", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 23, - "end_line": 126, - "end_column": 43 - }, - { - "method_name": "setName", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 3, - "end_line": 127, - "end_column": 30 - }, - { - "method_name": "getName", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 16, - "end_line": 127, - "end_column": 29 - }, - { - "method_name": "setHeading", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setHeading(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 128, - "start_column": 3, - "end_line": 128, - "end_column": 36 - }, - { - "method_name": "getHeading", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getHeading()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 128, - "start_column": 19, - "end_line": 128, - "end_column": 35 - }, - { - "method_name": "setDescription", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setDescription(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 129, - "start_column": 3, - "end_line": 129, - "end_column": 44 - }, - { - "method_name": "getDescription", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getDescription()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 129, - "start_column": 23, - "end_line": 129, - "end_column": 43 - }, - { - "method_name": "setPkginfo", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setPkginfo(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 3, - "end_line": 130, - "end_column": 36 - }, - { - "method_name": "getPkginfo", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPkginfo()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 19, - "end_line": 130, - "end_column": 35 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "equals(java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "equals(java.lang.Object)", + "comments": [ { - "method_name": "setImage", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setImage(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 3, - "end_line": 131, - "end_column": 32 - }, + "content": "\r\n\t * Determines if the OrderKey object passed to the method matches this OrderKey object.\r\n\t * \r\n\t * @param obj\r\n\t * java.lang.Object The OrderKey object to compare to this OrderKey object.\r\n\t * @return boolean The pass object is either equal to this OrderKey object (true) or not.\r\n\t ", + "start_line": 43, + "end_line": 49, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public boolean equals(Object obj)", + "parameters": [ { - "method_name": "getImage", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getImage()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 17, - "end_line": 131, - "end_column": 31 - }, + "type": "java.lang.Object", + "name": "obj", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 24, + "end_column": 33 + } + ], + "code": "{\r\n\t\tif (obj instanceof OrderKey) {\r\n\t\t\tOrderKey otherKey = (OrderKey) obj;\r\n\t\t\treturn (((orderID.equals(otherKey.orderID))));\r\n\t\t} else\r\n\t\t\treturn false;\r\n\t}", + "start_line": 50, + "end_line": 56, + "code_start_line": 50, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.OrderKey", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" + ], + "call_sites": [ { - "method_name": "setPrice", + "method_name": "equals", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "orderID", + "receiver_type": "java.lang.String", "argument_types": [ - "" + "java.lang.String" + ], + "argument_expr": [ + "otherKey.orderID" ], "return_type": "", - "callee_signature": "setPrice(float)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -72644,19 +88221,77 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 3, - "end_line": 132, - "end_column": 32 - }, + "start_line": 53, + "start_column": 14, + "end_line": 53, + "end_column": 45 + } + ], + "variable_declarations": [ { - "method_name": "getPrice", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "otherKey", + "type": "com.ibm.websphere.samples.pbw.jpa.OrderKey", + "initializer": "(OrderKey) obj", + "start_line": 52, + "start_column": 13, + "end_line": 52, + "end_column": 37 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "hashCode()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/OrderKey.java", + "signature": "hashCode()", + "comments": [ + { + "content": "\r\n\t * Generates a hash code for this OrderKey object.\r\n\t * \r\n\t * @return int The hash code.\r\n\t ", + "start_line": 58, + "end_line": 62, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int hashCode()", + "parameters": [], + "code": "{\r\n\t\treturn (orderID.hashCode());\r\n\t}", + "start_line": 63, + "end_line": 65, + "code_start_line": 63, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.OrderKey.orderID" + ], + "call_sites": [ + { + "method_name": "hashCode", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "receiver_expr": "orderID", + "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getPrice()", + "callee_signature": "hashCode()", "is_public": true, "is_protected": false, "is_private": false, @@ -72665,55 +88300,528 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 17, - "end_line": 132, - "end_column": 31 - }, + "start_line": 64, + "start_column": 11, + "end_line": 64, + "end_column": 28 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 26, + "end_line": 26, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 28, + "end_line": 28, + "variables": [ + "orderID" + ], + "modifiers": [ + "public" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "package_name": "com.ibm.websphere.samples.pbw.jpa", + "comments": [ + { + "content": " COPYRIGHT LICENSE: This information contains sample code provided in source code form. You may copy, ", + "start_line": 2, + "end_line": 2, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " modify, and distribute these sample programs in any form without payment to IBM for the purposes of ", + "start_line": 3, + "end_line": 3, + "start_column": 1, + "end_column": 103, + "is_javadoc": false + }, + { + "content": " developing, using, marketing or distributing application programs conforming to the application ", + "start_line": 4, + "end_line": 4, + "start_column": 1, + "end_column": 99, + "is_javadoc": false + }, + { + "content": " programming interface for the operating platform for which the sample code is written. ", + "start_line": 5, + "end_line": 5, + "start_column": 1, + "end_column": 90, + "is_javadoc": false + }, + { + "content": " Notwithstanding anything to the contrary, IBM PROVIDES THE SAMPLE SOURCE CODE ON AN \"AS IS\" BASIS ", + "start_line": 6, + "end_line": 6, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " AND IBM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED ", + "start_line": 7, + "end_line": 7, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, ", + "start_line": 8, + "end_line": 8, + "start_column": 1, + "end_column": 104, + "is_javadoc": false + }, + { + "content": " TITLE, AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT. IBM SHALL NOT BE LIABLE FOR ANY DIRECT, ", + "start_line": 9, + "end_line": 9, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR OPERATION OF THE ", + "start_line": 10, + "end_line": 10, + "start_column": 1, + "end_column": 101, + "is_javadoc": false + }, + { + "content": " SAMPLE SOURCE CODE. IBM HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS ", + "start_line": 11, + "end_line": 11, + "start_column": 1, + "end_column": 100, + "is_javadoc": false + }, + { + "content": " OR MODIFICATIONS TO THE SAMPLE SOURCE CODE. ", + "start_line": 12, + "end_line": 12, + "start_column": 1, + "end_column": 48, + "is_javadoc": false + }, + { + "content": "", + "start_line": 13, + "end_line": 13, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": " (C) COPYRIGHT International Business Machines Corp., 2001,2011", + "start_line": 14, + "end_line": 14, + "start_column": 1, + "end_column": 65, + "is_javadoc": false + }, + { + "content": " All Rights Reserved * Licensed Materials - Property of IBM", + "start_line": 15, + "end_line": 15, + "start_column": 1, + "end_column": 61, + "is_javadoc": false + }, + { + "content": "", + "start_line": 16, + "end_line": 16, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + }, + { + "content": "\r\n * Inventory is the bean mapping for the INVENTORY table. It provides information about products the\r\n * store has for sale.\r\n * \r\n * @see Inventory\r\n ", + "start_line": 29, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", + "start_line": 71, + "end_line": 98, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", + "start_line": 119, + "end_line": 124, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " does not clone BackOrder info", + "start_line": 142, + "end_line": 142, + "start_column": 3, + "end_column": 34, + "is_javadoc": false + }, + { + "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", + "start_line": 145, + "end_line": 150, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", + "start_line": 259, + "end_line": 264, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", + "start_line": 269, + "end_line": 273, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Set the inventory item's public availability. ", + "start_line": 286, + "end_line": 286, + "start_column": 2, + "end_column": 53, + "is_javadoc": true + }, + { + "content": "", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 2, + "is_javadoc": false + } + ], + "imports": [ + "javax.persistence.Entity", + "javax.persistence.Id", + "javax.persistence.NamedQueries", + "javax.persistence.NamedQuery", + "javax.persistence.Table", + "javax.persistence.Transient", + "javax.persistence.Version", + "com.ibm.websphere.samples.pbw.utils.Util" + ], + "type_declarations": { + "com.ibm.websphere.samples.pbw.jpa.Inventory": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", + "start_line": 71, + "end_line": 98, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", + "start_line": 119, + "end_line": 124, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " does not clone BackOrder info", + "start_line": 142, + "end_line": 142, + "start_column": 3, + "end_column": 34, + "is_javadoc": false + }, + { + "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", + "start_line": 145, + "end_line": 150, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", + "start_line": 259, + "end_line": 264, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", + "start_line": 269, + "end_line": 273, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " Set the inventory item's public availability. ", + "start_line": 286, + "end_line": 286, + "start_column": 2, + "end_column": 53, + "is_javadoc": true + }, + { + "content": "\r\n * Inventory is the bean mapping for the INVENTORY table. It provides information about products the\r\n * store has for sale.\r\n * \r\n * @see Inventory\r\n ", + "start_line": 29, + "end_line": 34, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [ + "java.lang.Cloneable", + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Entity(name = \"Inventory\")", + "@Table(name = \"INVENTORY\", schema = \"APP\")", + "@NamedQueries({ @NamedQuery(name = \"getItemsByCategory\", query = \"select i from Inventory i where i.category = :category ORDER BY i.inventoryId\"), @NamedQuery(name = \"getItemsLikeName\", query = \"select i from Inventory i where i.name like :name\"), @NamedQuery(name = \"removeAllInventory\", query = \"delete from Inventory\") })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "setHeading(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "setHeading(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setHeading(String heading)", + "parameters": [ + { + "type": "java.lang.String", + "name": "heading", + "annotations": [], + "modifiers": [], + "start_line": 183, + "end_line": 183, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.heading = heading;\r\n\t}", + "start_line": 183, + "end_line": 185, + "code_start_line": 183, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.heading" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setImage(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "setImage(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setImage(String image)", + "parameters": [ { - "method_name": "setCost", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setCost(float)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 3, - "end_line": 133, - "end_column": 30 - }, + "type": "java.lang.String", + "name": "image", + "annotations": [], + "modifiers": [], + "start_line": 191, + "end_line": 191, + "start_column": 23, + "end_column": 34 + } + ], + "code": "{\r\n\t\tthis.image = image;\r\n\t}", + "start_line": 191, + "end_line": 193, + "code_start_line": 191, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.image" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getDescription()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "getDescription()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getDescription()", + "parameters": [], + "code": "{\r\n\t\treturn description;\r\n\t}", + "start_line": 171, + "end_line": 173, + "code_start_line": 171, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.description" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "increaseInventory(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "increaseInventory(int)", + "comments": [ { - "method_name": "getCost", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getCost()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 16, - "end_line": 133, - "end_column": 29 - }, + "content": "\r\n\t * Increase the quantity of this inventory item.\r\n\t * \r\n\t * @param quantity\r\n\t * The number to increase the inventory by.\r\n\t ", + "start_line": 145, + "end_line": 150, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void increaseInventory(int quantity)", + "parameters": [ + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 151, + "end_line": 151, + "start_column": 32, + "end_column": 43 + } + ], + "code": "{\r\n\t\tthis.setQuantity(this.getQuantity() + quantity);\r\n\t}", + "start_line": 151, + "end_line": 153, + "code_start_line": 151, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity" + ], + "call_sites": [ { "method_name": "setQuantity", "comment": null, @@ -72722,6 +88830,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "this.getQuantity() + quantity" + ], "return_type": "", "callee_signature": "setQuantity(int)", "is_public": true, @@ -72732,63 +88843,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, + "start_line": 152, "start_column": 3, - "end_line": 134, - "end_column": 38 + "end_line": 152, + "end_column": 49 }, { "method_name": "getQuantity", "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 134, - "start_column": 20, - "end_line": 134, - "end_column": 37 - }, - { - "method_name": "setCategory", - "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setCategory(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 135, - "start_column": 3, - "end_line": 135, - "end_column": 38 - }, - { - "method_name": "getCategory", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getCategory()", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -72797,146 +88865,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, + "start_line": 152, "start_column": 20, - "end_line": 135, + "end_line": 152, "end_column": 37 - }, - { - "method_name": "setNotes", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setNotes(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 136, - "start_column": 3, - "end_line": 136, - "end_column": 32 - }, - { - "method_name": "getNotes", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getNotes()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 136, - "start_column": 17, - "end_line": 136, - "end_column": 31 - }, - { - "method_name": "setMinThreshold", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setMinThreshold(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 137, - "start_column": 3, - "end_line": 137, - "end_column": 44 - }, - { - "method_name": "setMaxThreshold", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setMaxThreshold(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 3, - "end_line": 138, - "end_column": 44 - }, - { - "method_name": "setIsPublic", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setIsPublic(boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 3, - "end_line": 140, - "end_column": 30 - }, + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setImgbytes(byte[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "setImgbytes(byte[])", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setImgbytes(byte[] imgbytes)", + "parameters": [ { - "method_name": "isPublic", - "comment": null, - "receiver_expr": "item", - "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [], - "return_type": "", - "callee_signature": "isPublic()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 15, - "end_line": 140, - "end_column": 29 + "type": "byte[]", + "name": "imgbytes", + "annotations": [], + "modifiers": [], + "start_line": 295, + "end_line": 295, + "start_column": 26, + "end_column": 40 } ], + "code": "{\r\n\t\tthis.imgbytes = imgbytes;\r\n\t}", + "start_line": 295, + "end_line": 297, + "code_start_line": 295, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.imgbytes" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -73059,48 +89033,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setNotes(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setNotes(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setNotes(String notes)", - "parameters": [ - { - "type": "java.lang.String", - "name": "notes", - "annotations": [], - "modifiers": [], - "start_line": 207, - "end_line": 207, - "start_column": 23, - "end_column": 34 - } - ], - "code": "{\r\n\t\tthis.notes = notes;\r\n\t}", - "start_line": 207, - "end_line": 209, - "code_start_line": 207, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.notes" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "setMinThreshold(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", "signature": "setMinThreshold(int)", @@ -73170,46 +89102,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setInventoryId(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setInventoryId(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInventoryId(String id)", - "parameters": [ - { - "type": "java.lang.String", - "name": "id", - "annotations": [], - "modifiers": [], - "start_line": 255, - "end_line": 255, - "start_column": 29, - "end_column": 37 - } - ], - "code": "{\r\n\t\tinventoryId = id;\r\n\t}", - "start_line": 255, - "end_line": 257, - "code_start_line": 255, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "setPrivacy(boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", "signature": "setPrivacy(boolean)", @@ -73261,6 +89153,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "isPublic" + ], "return_type": "", "callee_signature": "setIsPublic(boolean)", "is_public": true, @@ -73325,7 +89220,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "Inventory()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -73400,59 +89295,17 @@ "start_column": 26, "end_column": 37 } - ], - "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", - "start_line": 231, - "end_line": 233, - "code_start_line": 231, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPkginfo(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setPkginfo(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPkginfo(String pkginfo)", - "parameters": [ - { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 215, - "end_line": 215, - "start_column": 25, - "end_column": 38 - } - ], - "code": "{\r\n\t\tthis.pkginfo = pkginfo;\r\n\t}", - "start_line": 215, - "end_line": 217, - "code_start_line": 215, + ], + "code": "{\r\n\t\tthis.quantity = quantity;\r\n\t}", + "start_line": 231, + "end_line": 233, + "code_start_line": 231, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.pkginfo" + "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity" ], "call_sites": [], "variable_declarations": [], @@ -73490,47 +89343,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setID(String)": { + "setCategory(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setID(String)", - "comments": [ - { - "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", - "start_line": 269, - "end_line": 273, - "start_column": 2, - "end_column": 4, - "is_javadoc": true - } - ], + "signature": "setCategory(int)", + "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setID(String id)", + "declaration": "public void setCategory(int category)", "parameters": [ { - "type": "java.lang.String", - "name": "id", + "type": "int", + "name": "category", "annotations": [], "modifiers": [], - "start_line": 274, - "end_line": 274, - "start_column": 20, - "end_column": 28 + "start_line": 159, + "end_line": 159, + "start_column": 26, + "end_column": 37 } ], - "code": "{\r\n\t\tinventoryId = id;\r\n\t}", - "start_line": 274, - "end_line": 276, - "code_start_line": 274, + "code": "{\r\n\t\tthis.category = category;\r\n\t}", + "start_line": 159, + "end_line": 161, + "code_start_line": 159, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" + "com.ibm.websphere.samples.pbw.jpa.Inventory.category" ], "call_sites": [], "variable_declarations": [], @@ -73539,38 +89383,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCategory(int)": { + "setInventoryId(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setCategory(int)", + "signature": "setInventoryId(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCategory(int category)", + "declaration": "public void setInventoryId(String id)", "parameters": [ { - "type": "int", - "name": "category", + "type": "java.lang.String", + "name": "id", "annotations": [], "modifiers": [], - "start_line": 159, - "end_line": 159, - "start_column": 26, + "start_line": 255, + "end_line": 255, + "start_column": 29, "end_column": 37 } ], - "code": "{\r\n\t\tthis.category = category;\r\n\t}", - "start_line": 159, - "end_line": 161, - "code_start_line": 159, + "code": "{\r\n\t\tinventoryId = id;\r\n\t}", + "start_line": 255, + "end_line": 257, + "code_start_line": 255, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.category" + "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" ], "call_sites": [], "variable_declarations": [], @@ -73695,6 +89539,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setPkginfo(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "setPkginfo(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPkginfo(String pkginfo)", + "parameters": [ + { + "type": "java.lang.String", + "name": "pkginfo", + "annotations": [], + "modifiers": [], + "start_line": 215, + "end_line": 215, + "start_column": 25, + "end_column": 38 + } + ], + "code": "{\r\n\t\tthis.pkginfo = pkginfo;\r\n\t}", + "start_line": 215, + "end_line": 217, + "code_start_line": 215, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.pkginfo" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "isPublic()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", "signature": "isPublic()", @@ -73750,13 +89636,437 @@ ], "call_sites": [ { - "method_name": "getSimpleName", + "method_name": "getSimpleName", + "comment": null, + "receiver_expr": "getClass()", + "receiver_type": "java.lang.Class", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSimpleName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 309, + "start_column": 13, + "end_line": 309, + "end_column": 38 + }, + { + "method_name": "getClass", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Class", + "callee_signature": "getClass()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 309, + "start_column": 13, + "end_line": 309, + "end_column": 22 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, float, float, int, int, java.lang.String, boolean)", + "comments": [ + { + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", + "start_line": 71, + "end_line": 98, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Inventory(String key, String name, String heading, String desc, String pkginfo, String image, float price, float cost, int quantity, int category, String notes, boolean isPublic)", + "parameters": [ + { + "type": "java.lang.String", + "name": "key", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 19, + "end_column": 28 + }, + { + "type": "java.lang.String", + "name": "name", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 31, + "end_column": 41 + }, + { + "type": "java.lang.String", + "name": "heading", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 44, + "end_column": 57 + }, + { + "type": "java.lang.String", + "name": "desc", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 60, + "end_column": 70 + }, + { + "type": "java.lang.String", + "name": "pkginfo", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 73, + "end_column": 86 + }, + { + "type": "java.lang.String", + "name": "image", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 89, + "end_column": 100 + }, + { + "type": "float", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 103, + "end_column": 113 + }, + { + "type": "float", + "name": "cost", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 4, + "end_column": 13 + }, + { + "type": "int", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 16, + "end_column": 27 + }, + { + "type": "int", + "name": "category", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 30, + "end_column": 41 + }, + { + "type": "java.lang.String", + "name": "notes", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 44, + "end_column": 55 + }, + { + "type": "boolean", + "name": "isPublic", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 58, + "end_column": 73 + } + ], + "code": "{\r\n\t\tthis.setInventoryId(key);\r\n\t\tUtil.debug(\"creating new Inventory, inventoryId=\" + this.getInventoryId());\r\n\t\tthis.setName(name);\r\n\t\tthis.setHeading(heading);\r\n\t\tthis.setDescription(desc);\r\n\t\tthis.setPkginfo(pkginfo);\r\n\t\tthis.setImage(image);\r\n\t\tthis.setPrice(price);\r\n\t\tthis.setCost(cost);\r\n\t\tthis.setQuantity(quantity);\r\n\t\tthis.setCategory(category);\r\n\t\tthis.setNotes(notes);\r\n\t\tthis.setIsPublic(isPublic);\r\n\t\tthis.setMinThreshold(DEFAULT_MINTHRESHOLD);\r\n\t\tthis.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\r\n\r\n\t}", + "start_line": 99, + "end_line": 117, + "code_start_line": 100, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.notes", + "com.ibm.websphere.samples.pbw.jpa.Inventory.pkginfo", + "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MAXTHRESHOLD", + "com.ibm.websphere.samples.pbw.jpa.Inventory.name", + "com.ibm.websphere.samples.pbw.jpa.Inventory.price", + "com.ibm.websphere.samples.pbw.jpa.Inventory.heading", + "com.ibm.websphere.samples.pbw.jpa.Inventory.image", + "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity", + "com.ibm.websphere.samples.pbw.jpa.Inventory.cost", + "com.ibm.websphere.samples.pbw.jpa.Inventory.category", + "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MINTHRESHOLD", + "com.ibm.websphere.samples.pbw.jpa.Inventory.isPublic" + ], + "call_sites": [ + { + "method_name": "setInventoryId", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "key" + ], + "return_type": "", + "callee_signature": "setInventoryId(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 3, + "end_line": 101, + "end_column": 26 + }, + { + "method_name": "debug", + "comment": null, + "receiver_expr": "Util", + "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"creating new Inventory, inventoryId=\" + this.getInventoryId()" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 3, + "end_line": 102, + "end_column": 76 + }, + { + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 55, + "end_line": 102, + "end_column": 75 + }, + { + "method_name": "setName", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "name" + ], + "return_type": "", + "callee_signature": "setName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 3, + "end_line": 103, + "end_column": 20 + }, + { + "method_name": "setHeading", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "heading" + ], + "return_type": "", + "callee_signature": "setHeading(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 104, + "start_column": 3, + "end_line": 104, + "end_column": 26 + }, + { + "method_name": "setDescription", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "desc" + ], + "return_type": "", + "callee_signature": "setDescription(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 3, + "end_line": 105, + "end_column": 27 + }, + { + "method_name": "setPkginfo", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "pkginfo" + ], + "return_type": "", + "callee_signature": "setPkginfo(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 106, + "start_column": 3, + "end_line": 106, + "end_column": 26 + }, + { + "method_name": "setImage", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "image" + ], + "return_type": "", + "callee_signature": "setImage(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 3, + "end_line": 107, + "end_column": 22 + }, + { + "method_name": "setPrice", "comment": null, - "receiver_expr": "getClass()", - "receiver_type": "java.lang.Class", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSimpleName()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "price" + ], + "return_type": "", + "callee_signature": "setPrice(float)", "is_public": true, "is_protected": false, "is_private": false, @@ -73765,19 +90075,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 309, - "start_column": 13, - "end_line": 309, - "end_column": 38 + "start_line": 108, + "start_column": 3, + "end_line": 108, + "end_column": 22 }, { - "method_name": "getClass", + "method_name": "setCost", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.Class", - "callee_signature": "getClass()", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "cost" + ], + "return_type": "", + "callee_signature": "setCost(float)", "is_public": true, "is_protected": false, "is_private": false, @@ -73786,10 +90101,166 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 309, - "start_column": 13, - "end_line": 309, + "start_line": 109, + "start_column": 3, + "end_line": 109, + "end_column": 20 + }, + { + "method_name": "setQuantity", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "", + "callee_signature": "setQuantity(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 3, + "end_line": 110, + "end_column": 28 + }, + { + "method_name": "setCategory", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "category" + ], + "return_type": "", + "callee_signature": "setCategory(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 111, + "start_column": 3, + "end_line": 111, + "end_column": 28 + }, + { + "method_name": "setNotes", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "notes" + ], + "return_type": "", + "callee_signature": "setNotes(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 3, + "end_line": 112, "end_column": 22 + }, + { + "method_name": "setIsPublic", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "isPublic" + ], + "return_type": "", + "callee_signature": "setIsPublic(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 3, + "end_line": 113, + "end_column": 28 + }, + { + "method_name": "setMinThreshold", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "DEFAULT_MINTHRESHOLD" + ], + "return_type": "", + "callee_signature": "setMinThreshold(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 3, + "end_line": 114, + "end_column": 44 + }, + { + "method_name": "setMaxThreshold", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "" + ], + "argument_expr": [ + "DEFAULT_MAXTHRESHOLD" + ], + "return_type": "", + "callee_signature": "setMaxThreshold(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 3, + "end_line": 115, + "end_column": 44 } ], "variable_declarations": [], @@ -73878,14 +90349,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, String, String, String, String, float, float, int, int, String, boolean)": { + "setID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "Inventory(String, String, String, String, String, String, float, float, int, int, String, boolean)", + "signature": "setID(java.lang.String)", "comments": [ { - "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param key\r\n\t * Inventory Key\r\n\t * @param name\r\n\t * Name of inventory item.\r\n\t * @param heading\r\n\t * Description heading of inventory item.\r\n\t * @param desc\r\n\t * Description of inventory item.\r\n\t * @param pkginfo\r\n\t * Package info of inventory item.\r\n\t * @param image\r\n\t * Image of inventory item.\r\n\t * @param price\r\n\t * Price of inventory item.\r\n\t * @param cost\r\n\t * Cost of inventory item.\r\n\t * @param quantity\r\n\t * Quantity of inventory items in stock.\r\n\t * @param category\r\n\t * Category of inventory item.\r\n\t * @param notes\r\n\t * Notes of inventory item.\r\n\t * @param isPublic\r\n\t * Access permission of inventory item.\r\n\t ", - "start_line": 71, - "end_line": 98, + "content": "\r\n\t * Same as setInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t ", + "start_line": 269, + "end_line": 273, "start_column": 2, "end_column": 4, "is_javadoc": true @@ -73896,150 +90367,167 @@ "public" ], "thrown_exceptions": [], - "declaration": "public Inventory(String key, String name, String heading, String desc, String pkginfo, String image, float price, float cost, int quantity, int category, String notes, boolean isPublic)", + "declaration": "public void setID(String id)", "parameters": [ { "type": "java.lang.String", - "name": "key", + "name": "id", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 19, + "start_line": 274, + "end_line": 274, + "start_column": 20, "end_column": 28 - }, - { - "type": "java.lang.String", - "name": "name", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 31, - "end_column": 41 - }, - { - "type": "java.lang.String", - "name": "heading", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 44, - "end_column": 57 - }, - { - "type": "java.lang.String", - "name": "desc", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 60, - "end_column": 70 - }, - { - "type": "java.lang.String", - "name": "pkginfo", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 73, - "end_column": 86 - }, - { - "type": "java.lang.String", - "name": "image", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 89, - "end_column": 100 - }, - { - "type": "float", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 103, - "end_column": 113 - }, + } + ], + "code": "{\r\n\t\tinventoryId = id;\r\n\t}", + "start_line": 274, + "end_line": 276, + "code_start_line": 274, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "setBackOrder(com.ibm.websphere.samples.pbw.jpa.BackOrder)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBackOrder(BackOrder backOrder)", + "parameters": [ { - "type": "float", - "name": "cost", + "type": "com.ibm.websphere.samples.pbw.jpa.BackOrder", + "name": "backOrder", "annotations": [], "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 4, - "end_column": 13 - }, + "start_line": 303, + "end_line": 303, + "start_column": 27, + "end_column": 45 + } + ], + "code": "{\r\n\t\tthis.backOrder = backOrder;\r\n\t}", + "start_line": 303, + "end_line": 305, + "code_start_line": 303, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.BackOrder" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.backOrder" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "getID()", + "comments": [ { - "type": "int", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 16, - "end_column": 27 - }, + "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", + "start_line": 259, + "end_line": 264, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getID()", + "parameters": [], + "code": "{\r\n\t\treturn inventoryId;\r\n\t}", + "start_line": 265, + "end_line": 267, + "code_start_line": 265, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(com.ibm.websphere.samples.pbw.jpa.Inventory)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "comments": [ { - "type": "int", - "name": "category", - "annotations": [], - "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 30, - "end_column": 41 + "content": " does not clone BackOrder info", + "start_line": 142, + "end_line": 142, + "start_column": 3, + "end_column": 34, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "notes", - "annotations": [], - "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 44, - "end_column": 55 - }, + "content": "\r\n\t * Create a new Inventory.\r\n\t *\r\n\t * @param item\r\n\t * Inventory to use to make a new inventory item.\r\n\t ", + "start_line": 119, + "end_line": 124, + "start_column": 2, + "end_column": 4, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Inventory(Inventory item)", + "parameters": [ { - "type": "boolean", - "name": "isPublic", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "name": "item", "annotations": [], "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 58, - "end_column": 73 + "start_line": 125, + "end_line": 125, + "start_column": 19, + "end_column": 32 } ], - "code": "{\r\n\t\tthis.setInventoryId(key);\r\n\t\tUtil.debug(\"creating new Inventory, inventoryId=\" + this.getInventoryId());\r\n\t\tthis.setName(name);\r\n\t\tthis.setHeading(heading);\r\n\t\tthis.setDescription(desc);\r\n\t\tthis.setPkginfo(pkginfo);\r\n\t\tthis.setImage(image);\r\n\t\tthis.setPrice(price);\r\n\t\tthis.setCost(cost);\r\n\t\tthis.setQuantity(quantity);\r\n\t\tthis.setCategory(category);\r\n\t\tthis.setNotes(notes);\r\n\t\tthis.setIsPublic(isPublic);\r\n\t\tthis.setMinThreshold(DEFAULT_MINTHRESHOLD);\r\n\t\tthis.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\r\n\r\n\t}", - "start_line": 99, - "end_line": 117, - "code_start_line": 100, + "code": "{\r\n\t\tthis.setInventoryId(item.getInventoryId());\r\n\t\tthis.setName(item.getName());\r\n\t\tthis.setHeading(item.getHeading());\r\n\t\tthis.setDescription(item.getDescription());\r\n\t\tthis.setPkginfo(item.getPkginfo());\r\n\t\tthis.setImage(item.getImage());\r\n\t\tthis.setPrice(item.getPrice());\r\n\t\tthis.setCost(item.getCost());\r\n\t\tthis.setQuantity(item.getQuantity());\r\n\t\tthis.setCategory(item.getCategory());\r\n\t\tthis.setNotes(item.getNotes());\r\n\t\tthis.setMinThreshold(DEFAULT_MINTHRESHOLD);\r\n\t\tthis.setMaxThreshold(DEFAULT_MAXTHRESHOLD);\r\n\r\n\t\tsetIsPublic(item.isPublic());\r\n\r\n\t\t// does not clone BackOrder info\r\n\t}", + "start_line": 125, + "end_line": 143, + "code_start_line": 125, "return_type": null, "is_implicit": false, "is_constructor": true, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.notes", - "com.ibm.websphere.samples.pbw.jpa.Inventory.pkginfo", "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MAXTHRESHOLD", - "com.ibm.websphere.samples.pbw.jpa.Inventory.name", - "com.ibm.websphere.samples.pbw.jpa.Inventory.price", - "com.ibm.websphere.samples.pbw.jpa.Inventory.heading", - "com.ibm.websphere.samples.pbw.jpa.Inventory.image", - "com.ibm.websphere.samples.pbw.jpa.Inventory.quantity", - "com.ibm.websphere.samples.pbw.jpa.Inventory.cost", - "com.ibm.websphere.samples.pbw.jpa.Inventory.category", - "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MINTHRESHOLD", - "com.ibm.websphere.samples.pbw.jpa.Inventory.isPublic" + "com.ibm.websphere.samples.pbw.jpa.Inventory.DEFAULT_MINTHRESHOLD" ], "call_sites": [ { @@ -74050,6 +90538,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getInventoryId()" + ], "return_type": "", "callee_signature": "setInventoryId(java.lang.String)", "is_public": true, @@ -74060,42 +90551,116 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 101, - "start_column": 3, - "end_line": 101, - "end_column": 26 + "start_line": 126, + "start_column": 3, + "end_line": 126, + "end_column": 44 + }, + { + "method_name": "getInventoryId", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getInventoryId()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 23, + "end_line": 126, + "end_column": 43 + }, + { + "method_name": "setName", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "item.getName()" + ], + "return_type": "", + "callee_signature": "setName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 3, + "end_line": 127, + "end_column": 30 + }, + { + "method_name": "getName", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 16, + "end_line": 127, + "end_column": 29 }, { - "method_name": "debug", + "method_name": "setHeading", "comment": null, - "receiver_expr": "Util", - "receiver_type": "com.ibm.websphere.samples.pbw.utils.Util", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getHeading()" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setHeading(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 102, + "start_line": 128, "start_column": 3, - "end_line": 102, - "end_column": 76 + "end_line": 128, + "end_column": 36 }, { - "method_name": "getInventoryId", + "method_name": "getHeading", "comment": null, - "receiver_expr": "this", + "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "getInventoryId()", + "callee_signature": "getHeading()", "is_public": true, "is_protected": false, "is_private": false, @@ -74104,21 +90669,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 102, - "start_column": 55, - "end_line": 102, - "end_column": 75 + "start_line": 128, + "start_column": 19, + "end_line": 128, + "end_column": 35 }, { - "method_name": "setName", + "method_name": "setDescription", "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getDescription()" + ], "return_type": "", - "callee_signature": "setName(java.lang.String)", + "callee_signature": "setDescription(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -74127,21 +90695,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, + "start_line": 129, "start_column": 3, - "end_line": 103, - "end_column": 20 + "end_line": 129, + "end_column": 44 }, { - "method_name": "setHeading", + "method_name": "getDescription", "comment": null, - "receiver_expr": "this", + "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setHeading(java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getDescription()", "is_public": true, "is_protected": false, "is_private": false, @@ -74150,21 +90717,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, - "start_column": 3, - "end_line": 104, - "end_column": 26 + "start_line": 129, + "start_column": 23, + "end_line": 129, + "end_column": 43 }, { - "method_name": "setDescription", + "method_name": "setPkginfo", "comment": null, "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getPkginfo()" + ], "return_type": "", - "callee_signature": "setDescription(java.lang.String)", + "callee_signature": "setPkginfo(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -74173,21 +90743,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 130, "start_column": 3, - "end_line": 105, - "end_column": 27 + "end_line": 130, + "end_column": 36 }, { - "method_name": "setPkginfo", + "method_name": "getPkginfo", "comment": null, - "receiver_expr": "this", + "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setPkginfo(java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPkginfo()", "is_public": true, "is_protected": false, "is_private": false, @@ -74196,10 +90765,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, - "start_column": 3, - "end_line": 106, - "end_column": 26 + "start_line": 130, + "start_column": 19, + "end_line": 130, + "end_column": 35 }, { "method_name": "setImage", @@ -74209,6 +90778,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getImage()" + ], "return_type": "", "callee_signature": "setImage(java.lang.String)", "is_public": true, @@ -74219,10 +90791,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 107, + "start_line": 131, "start_column": 3, - "end_line": 107, - "end_column": 22 + "end_line": 131, + "end_column": 32 + }, + { + "method_name": "getImage", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getImage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 17, + "end_line": 131, + "end_column": 31 }, { "method_name": "setPrice", @@ -74232,6 +90826,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "item.getPrice()" + ], "return_type": "", "callee_signature": "setPrice(float)", "is_public": true, @@ -74242,10 +90839,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, + "start_line": 132, "start_column": 3, - "end_line": 108, - "end_column": 22 + "end_line": 132, + "end_column": 32 + }, + { + "method_name": "getPrice", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getPrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 132, + "start_column": 17, + "end_line": 132, + "end_column": 31 }, { "method_name": "setCost", @@ -74255,6 +90874,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "item.getCost()" + ], "return_type": "", "callee_signature": "setCost(float)", "is_public": true, @@ -74265,10 +90887,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 109, + "start_line": 133, "start_column": 3, - "end_line": 109, - "end_column": 20 + "end_line": 133, + "end_column": 30 + }, + { + "method_name": "getCost", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getCost()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 16, + "end_line": 133, + "end_column": 29 }, { "method_name": "setQuantity", @@ -74278,6 +90922,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "item.getQuantity()" + ], "return_type": "", "callee_signature": "setQuantity(int)", "is_public": true, @@ -74288,10 +90935,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 110, + "start_line": 134, "start_column": 3, - "end_line": 110, - "end_column": 28 + "end_line": 134, + "end_column": 38 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 134, + "start_column": 20, + "end_line": 134, + "end_column": 37 }, { "method_name": "setCategory", @@ -74301,6 +90970,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "item.getCategory()" + ], "return_type": "", "callee_signature": "setCategory(int)", "is_public": true, @@ -74311,10 +90983,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 111, + "start_line": 135, "start_column": 3, - "end_line": 111, - "end_column": 28 + "end_line": 135, + "end_column": 38 + }, + { + "method_name": "getCategory", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getCategory()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 20, + "end_line": 135, + "end_column": 37 }, { "method_name": "setNotes", @@ -74324,6 +91018,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "item.getNotes()" + ], "return_type": "", "callee_signature": "setNotes(java.lang.String)", "is_public": true, @@ -74334,21 +91031,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 112, + "start_line": 136, "start_column": 3, - "end_line": 112, - "end_column": 22 + "end_line": 136, + "end_column": 32 }, { - "method_name": "setIsPublic", + "method_name": "getNotes", "comment": null, - "receiver_expr": "this", + "receiver_expr": "item", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setIsPublic(boolean)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getNotes()", "is_public": true, "is_protected": false, "is_private": false, @@ -74357,10 +91053,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 113, - "start_column": 3, - "end_line": 113, - "end_column": 28 + "start_line": 136, + "start_column": 17, + "end_line": 136, + "end_column": 31 }, { "method_name": "setMinThreshold", @@ -74370,6 +91066,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "DEFAULT_MINTHRESHOLD" + ], "return_type": "", "callee_signature": "setMinThreshold(int)", "is_public": true, @@ -74380,9 +91079,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 114, + "start_line": 137, "start_column": 3, - "end_line": 114, + "end_line": 137, "end_column": 44 }, { @@ -74393,6 +91092,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "DEFAULT_MAXTHRESHOLD" + ], "return_type": "", "callee_signature": "setMaxThreshold(int)", "is_public": true, @@ -74403,50 +91105,60 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 115, + "start_line": 138, "start_column": 3, - "end_line": 115, + "end_line": 138, "end_column": 44 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "getID()", - "comments": [ + }, { - "content": "\r\n\t * Same as getInventoryId. Added for compatability with ShoppingCartItem when used by the Client\r\n\t * XJB sample\r\n\t * \r\n\t * @return String ID of the inventory item\r\n\t ", - "start_line": 259, - "end_line": 264, - "start_column": 2, - "end_column": 4, - "is_javadoc": true + "method_name": "setIsPublic", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "item.isPublic()" + ], + "return_type": "", + "callee_signature": "setIsPublic(boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, + "start_column": 3, + "end_line": 140, + "end_column": 30 + }, + { + "method_name": "isPublic", + "comment": null, + "receiver_expr": "item", + "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "isPublic()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, + "start_column": 15, + "end_line": 140, + "end_column": 29 } ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getID()", - "parameters": [], - "code": "{\r\n\t\treturn inventoryId;\r\n\t}", - "start_line": 265, - "end_line": 267, - "code_start_line": 265, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.inventoryId" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -74482,32 +91194,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setDescription(String)": { + "setNotes(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setDescription(String)", + "signature": "setNotes(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setDescription(String description)", + "declaration": "public void setNotes(String notes)", "parameters": [ { "type": "java.lang.String", - "name": "description", + "name": "notes", "annotations": [], "modifiers": [], - "start_line": 175, - "end_line": 175, - "start_column": 29, - "end_column": 46 + "start_line": 207, + "end_line": 207, + "start_column": 23, + "end_column": 34 } ], - "code": "{\r\n\t\tthis.description = description;\r\n\t}", - "start_line": 175, - "end_line": 177, - "code_start_line": 175, + "code": "{\r\n\t\tthis.notes = notes;\r\n\t}", + "start_line": 207, + "end_line": 209, + "code_start_line": 207, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -74515,7 +91227,36 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.description" + "com.ibm.websphere.samples.pbw.jpa.Inventory.notes" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getNotes()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", + "signature": "getNotes()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getNotes()", + "parameters": [], + "code": "{\r\n\t\treturn notes;\r\n\t}", + "start_line": 203, + "end_line": 205, + "code_start_line": 203, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory.notes" ], "call_sites": [], "variable_declarations": [], @@ -74524,32 +91265,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHeading(String)": { + "setName(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "setHeading(String)", + "signature": "setName(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setHeading(String heading)", + "declaration": "public void setName(String name)", "parameters": [ { "type": "java.lang.String", - "name": "heading", + "name": "name", "annotations": [], "modifiers": [], - "start_line": 183, - "end_line": 183, - "start_column": 25, - "end_column": 38 + "start_line": 199, + "end_line": 199, + "start_column": 22, + "end_column": 32 } ], - "code": "{\r\n\t\tthis.heading = heading;\r\n\t}", - "start_line": 183, - "end_line": 185, - "code_start_line": 183, + "code": "{\r\n\t\tthis.name = name;\r\n\t}", + "start_line": 199, + "end_line": 201, + "code_start_line": 199, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -74557,7 +91298,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.heading" + "com.ibm.websphere.samples.pbw.jpa.Inventory.name" ], "call_sites": [], "variable_declarations": [], @@ -74566,27 +91307,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getNotes()": { + "getCategory()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "getNotes()", + "signature": "getCategory()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getNotes()", + "declaration": "public int getCategory()", "parameters": [], - "code": "{\r\n\t\treturn notes;\r\n\t}", - "start_line": 203, - "end_line": 205, - "code_start_line": 203, - "return_type": "java.lang.String", + "code": "{\r\n\t\treturn category;\r\n\t}", + "start_line": 155, + "end_line": 157, + "code_start_line": 155, + "return_type": "int", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.notes" + "com.ibm.websphere.samples.pbw.jpa.Inventory.category" ], "call_sites": [], "variable_declarations": [], @@ -74595,27 +91336,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCategory()": { + "setDescription(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/jpa/Inventory.java", - "signature": "getCategory()", + "signature": "setDescription(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getCategory()", - "parameters": [], - "code": "{\r\n\t\treturn category;\r\n\t}", - "start_line": 155, - "end_line": 157, - "code_start_line": 155, - "return_type": "int", + "declaration": "public void setDescription(String description)", + "parameters": [ + { + "type": "java.lang.String", + "name": "description", + "annotations": [], + "modifiers": [], + "start_line": 175, + "end_line": 175, + "start_column": 29, + "end_column": 46 + } + ], + "code": "{\r\n\t\tthis.description = description;\r\n\t}", + "start_line": 175, + "end_line": 177, + "code_start_line": 175, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory.category" + "com.ibm.websphere.samples.pbw.jpa.Inventory.description" ], "call_sites": [], "variable_declarations": [], @@ -75461,9 +92215,9 @@ "is_constructor": false, "referenced_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory", - "FacesContext", + "javax.faces.context.ExternalContext", "java.util.LinkedList", - "ExternalContext", + "javax.faces.context.FacesContext", "java.util.Vector", "java.lang.Object", "com.ibm.websphere.samples.pbw.bean.CatalogMgr", @@ -75480,15 +92234,16 @@ "method_name": "getCurrentInstance", "comment": null, "receiver_expr": "FacesContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.FacesContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "javax.faces.context.FacesContext", + "callee_signature": "getCurrentInstance()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, @@ -75501,14 +92256,15 @@ "method_name": "getExternalContext", "comment": null, "receiver_expr": "facesContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.FacesContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "javax.faces.context.ExternalContext", + "callee_signature": "getExternalContext()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, @@ -75522,14 +92278,15 @@ "method_name": "getRequestParameterMap", "comment": null, "receiver_expr": "externalContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.ExternalContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "java.util.Map", + "callee_signature": "getRequestParameterMap()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, @@ -75547,6 +92304,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "requestParams.get(\"category\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -75570,6 +92330,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"category\"" + ], "return_type": "java.lang.String", "callee_signature": "get(java.lang.Object)", "is_public": true, @@ -75593,6 +92356,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "category" + ], "return_type": "java.util.Vector", "callee_signature": "getItemsByCategory(int)", "is_public": true, @@ -75614,6 +92380,7 @@ "receiver_expr": "inventory", "receiver_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isPublic()", "is_public": true, @@ -75637,8 +92404,11 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.war.ProductBean" ], + "argument_expr": [ + "new ProductBean(inventory)" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -75658,6 +92428,7 @@ "receiver_expr": "", "receiver_type": "java.util.LinkedList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.LinkedList", "callee_signature": "LinkedList()", "is_public": false, @@ -75681,6 +92452,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "inventory" + ], "return_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "callee_signature": "ProductBean(com.ibm.websphere.samples.pbw.jpa.Inventory)", "is_public": false, @@ -75725,7 +92499,7 @@ "is_javadoc": false }, "name": "facesContext", - "type": "FacesContext", + "type": "javax.faces.context.FacesContext", "initializer": "FacesContext.getCurrentInstance()", "start_line": 100, "start_column": 16, @@ -75742,7 +92516,7 @@ "is_javadoc": false }, "name": "externalContext", - "type": "ExternalContext", + "type": "javax.faces.context.ExternalContext", "initializer": "facesContext.getExternalContext()", "start_line": 101, "start_column": 19, @@ -75856,6 +92630,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "getTotalCost()" + ], "return_type": "java.lang.String", "callee_signature": "format(double)", "is_public": true, @@ -75879,6 +92656,9 @@ "argument_types": [ "java.util.Locale" ], + "argument_expr": [ + "Locale.US" + ], "return_type": "java.text.NumberFormat", "callee_signature": "getCurrencyInstance(java.util.Locale)", "is_public": true, @@ -75900,6 +92680,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getTotalCost()", "is_public": true, @@ -75953,6 +92734,157 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "wrapInventoryItems(java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", + "signature": "wrapInventoryItems(java.util.Collection)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private ArrayList wrapInventoryItems(Collection invItems)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "invItems", + "annotations": [], + "modifiers": [], + "start_line": 174, + "end_line": 174, + "start_column": 53, + "end_column": 82 + } + ], + "code": "{\r\n\t\tArrayList shoppingList = new ArrayList();\r\n\t\tfor (Inventory i : invItems) {\r\n\t\t\tshoppingList.add(new ShoppingItem(i));\r\n\t\t}\r\n\t\treturn shoppingList;\r\n\t}", + "start_line": 174, + "end_line": 180, + "code_start_line": 174, + "return_type": "java.util.ArrayList", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory", + "java.util.ArrayList" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "add", + "comment": null, + "receiver_expr": "shoppingList", + "receiver_type": "java.util.ArrayList", + "argument_types": [ + "com.ibm.websphere.samples.pbw.war.ShoppingItem" + ], + "argument_expr": [ + "new ShoppingItem(i)" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 4, + "end_line": 177, + "end_column": 40 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 175, + "start_column": 42, + "end_line": 175, + "end_column": 70 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "argument_types": [ + "com.ibm.websphere.samples.pbw.jpa.Inventory" + ], + "argument_expr": [ + "i" + ], + "return_type": "com.ibm.websphere.samples.pbw.war.ShoppingItem", + "callee_signature": "ShoppingItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 177, + "start_column": 21, + "end_line": 177, + "end_column": 39 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "shoppingList", + "type": "java.util.ArrayList", + "initializer": "new ArrayList()", + "start_line": 175, + "start_column": 27, + "end_line": 175, + "end_column": 70 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", + "initializer": "", + "start_line": 176, + "start_column": 18, + "end_line": 176, + "end_column": 18 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, "performProductDetail()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "performProductDetail()", @@ -75972,9 +92904,9 @@ "is_implicit": false, "is_constructor": false, "referenced_types": [ - "FacesContext", + "javax.faces.context.ExternalContext", + "javax.faces.context.FacesContext", "com.ibm.websphere.samples.pbw.war.ProductBean", - "ExternalContext", "com.ibm.websphere.samples.pbw.bean.CatalogMgr", "java.lang.String", "java.util.Map" @@ -75989,15 +92921,16 @@ "method_name": "getCurrentInstance", "comment": null, "receiver_expr": "FacesContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.FacesContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "javax.faces.context.FacesContext", + "callee_signature": "getCurrentInstance()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, + "is_unspecified": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, @@ -76010,14 +92943,15 @@ "method_name": "getExternalContext", "comment": null, "receiver_expr": "facesContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.FacesContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "javax.faces.context.ExternalContext", + "callee_signature": "getExternalContext()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, @@ -76031,14 +92965,15 @@ "method_name": "getRequestParameterMap", "comment": null, "receiver_expr": "externalContext", - "receiver_type": "", + "receiver_type": "javax.faces.context.ExternalContext", "argument_types": [], - "return_type": "", - "callee_signature": "", - "is_public": false, + "argument_expr": [], + "return_type": "java.util.Map", + "callee_signature": "getRequestParameterMap()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, @@ -76056,6 +92991,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "requestParams.get(\"itemID\")" + ], "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "callee_signature": "getItemInventory(java.lang.String)", "is_public": true, @@ -76079,6 +93017,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"itemID\"" + ], "return_type": "java.lang.String", "callee_signature": "get(java.lang.Object)", "is_public": true, @@ -76102,6 +93043,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "this.catalog.getItemInventory(requestParams.get(\"itemID\"))" + ], "return_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "callee_signature": "ProductBean(com.ibm.websphere.samples.pbw.jpa.Inventory)", "is_public": false, @@ -76129,7 +93073,7 @@ "is_javadoc": false }, "name": "facesContext", - "type": "FacesContext", + "type": "javax.faces.context.FacesContext", "initializer": "FacesContext.getCurrentInstance()", "start_line": 80, "start_column": 16, @@ -76146,7 +93090,7 @@ "is_javadoc": false }, "name": "externalContext", - "type": "ExternalContext", + "type": "javax.faces.context.ExternalContext", "initializer": "facesContext.getExternalContext()", "start_line": 81, "start_column": 19, @@ -76176,150 +93120,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "wrapInventoryItems(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", - "signature": "wrapInventoryItems(Collection)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private ArrayList wrapInventoryItems(Collection invItems)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "invItems", - "annotations": [], - "modifiers": [], - "start_line": 174, - "end_line": 174, - "start_column": 53, - "end_column": 82 - } - ], - "code": "{\r\n\t\tArrayList shoppingList = new ArrayList();\r\n\t\tfor (Inventory i : invItems) {\r\n\t\t\tshoppingList.add(new ShoppingItem(i));\r\n\t\t}\r\n\t\treturn shoppingList;\r\n\t}", - "start_line": 174, - "end_line": 180, - "code_start_line": 174, - "return_type": "java.util.ArrayList", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory", - "java.util.ArrayList" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "add", - "comment": null, - "receiver_expr": "shoppingList", - "receiver_type": "java.util.ArrayList", - "argument_types": [ - "com.ibm.websphere.samples.pbw.war.ShoppingItem" - ], - "return_type": "", - "callee_signature": "add(E)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 4, - "end_line": 177, - "end_column": 40 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 175, - "start_column": 42, - "end_line": 175, - "end_column": 70 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.pbw.war.ShoppingItem", - "argument_types": [ - "com.ibm.websphere.samples.pbw.jpa.Inventory" - ], - "return_type": "com.ibm.websphere.samples.pbw.war.ShoppingItem", - "callee_signature": "ShoppingItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 21, - "end_line": 177, - "end_column": 39 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "shoppingList", - "type": "java.util.ArrayList", - "initializer": "new ArrayList()", - "start_line": 175, - "start_column": 27, - "end_line": 175, - "end_column": 70 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "com.ibm.websphere.samples.pbw.jpa.Inventory", - "initializer": "", - "start_line": 176, - "start_column": 18, - "end_line": 176, - "end_column": 18 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, "getShippingCost()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/plantsbywebsphere/src/main/java/com/ibm/websphere/samples/pbw/war/ShoppingBean.java", "signature": "getShippingCost()", @@ -76391,6 +93191,7 @@ "receiver_expr": "this.product", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "callee_signature": "getInventory()", "is_public": true, @@ -76414,6 +93215,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "this.product.getQuantity()" + ], "return_type": "", "callee_signature": "setQuantity(int)", "is_public": true, @@ -76435,6 +93239,7 @@ "receiver_expr": "this.product", "receiver_type": "com.ibm.websphere.samples.pbw.war.ProductBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -76458,6 +93263,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "item" + ], "return_type": "", "callee_signature": "addItem(com.ibm.websphere.samples.pbw.jpa.Inventory)", "is_public": true, @@ -76479,6 +93287,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "performCart()", "is_public": true, @@ -76502,6 +93311,9 @@ "argument_types": [ "com.ibm.websphere.samples.pbw.jpa.Inventory" ], + "argument_expr": [ + "this.product.getInventory()" + ], "return_type": "com.ibm.websphere.samples.pbw.jpa.Inventory", "callee_signature": "Inventory(com.ibm.websphere.samples.pbw.jpa.Inventory)", "is_public": false, @@ -76576,6 +93388,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "this.shippingCost" + ], "return_type": "java.lang.String", "callee_signature": "format(double)", "is_public": true, @@ -76599,6 +93414,9 @@ "argument_types": [ "java.util.Locale" ], + "argument_expr": [ + "Locale.US" + ], "return_type": "java.text.NumberFormat", "callee_signature": "getCurrencyInstance(java.util.Locale)", "is_public": true, @@ -76684,6 +93502,7 @@ "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "removeZeroQuantityItems()", "is_public": true, @@ -76707,8 +93526,11 @@ "argument_types": [ "java.util.ArrayList" ], + "argument_expr": [ + "shoppingCart.getItems()" + ], "return_type": "java.util.ArrayList", - "callee_signature": "wrapInventoryItems(java.util.Collection)", + "callee_signature": "wrapInventoryItems(java.util.Collection)", "is_public": false, "is_protected": false, "is_private": true, @@ -76728,6 +93550,7 @@ "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "getItems()", "is_public": true, @@ -76749,6 +93572,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "performCart()", "is_public": true, @@ -76801,6 +93625,7 @@ "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getSubtotalCost()", "is_public": true, @@ -76898,8 +93723,11 @@ "argument_types": [ "java.util.ArrayList" ], + "argument_expr": [ + "shoppingCart.getItems()" + ], "return_type": "java.util.ArrayList", - "callee_signature": "wrapInventoryItems(java.util.Collection)", + "callee_signature": "wrapInventoryItems(java.util.Collection)", "is_public": false, "is_protected": false, "is_private": true, @@ -76919,6 +93747,7 @@ "receiver_expr": "shoppingCart", "receiver_type": "com.ibm.websphere.samples.pbw.bean.ShoppingCartBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "getItems()", "is_public": true, @@ -77175,5 +94004,5 @@ "is_modified": false } }, - "version": "2.3.4" + "version": "2.3.5" } \ No newline at end of file diff --git a/tests/resources/java/analysis_json/slim/analysis.json b/tests/resources/java/analysis_json/slim/analysis.json index 68a85d2..bf6eb34 100644 --- a/tests/resources/java/analysis_json/slim/analysis.json +++ b/tests/resources/java/analysis_json/slim/analysis.json @@ -6,14 +6,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", - "signature": "doDecoding(String)", - "callable_declaration": "doDecoding(String)" + "signature": "doDecoding(java.lang.String)", + "callable_declaration": "doDecoding(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -22,14 +22,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", - "signature": "doDecoding(String)", - "callable_declaration": "doDecoding(String)" + "signature": "doDecoding(java.lang.String)", + "callable_declaration": "doDecoding(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -38,8 +38,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", - "signature": "onOpen(Session, EndpointConfig)", - "callable_declaration": "onOpen(Session, EndpointConfig)" + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", + "callable_declaration": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)" }, "target": { "file_path": "<>", @@ -54,8 +54,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", - "signature": "ping(JsonMessage)", - "callable_declaration": "ping(JsonMessage)" + "signature": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" }, "target": { "file_path": "<>", @@ -70,14 +70,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", - "signature": "ping(JsonMessage)", - "callable_declaration": "ping(JsonMessage)" + "signature": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setKey(String)", - "callable_declaration": "setKey(String)" + "signature": "setKey(java.lang.String)", + "callable_declaration": "setKey(java.lang.String)" } }, { @@ -86,14 +86,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson", - "signature": "ping(JsonMessage)", - "callable_declaration": "ping(JsonMessage)" + "signature": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setValue(String)", - "callable_declaration": "setValue(String)" + "signature": "setValue(java.lang.String)", + "callable_declaration": "setValue(java.lang.String)" } }, { @@ -103,13 +103,13 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", "signature": "DTStreamer3MDB()", - "callable_declaration": "DTStreamer3MDB()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -119,7 +119,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", "signature": "DTStreamer3MDB()", - "callable_declaration": "DTStreamer3MDB()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -134,14 +134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -150,14 +150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -166,14 +166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -182,14 +182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" } }, { @@ -198,8 +198,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -214,8 +214,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -230,8 +230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -246,8 +246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -262,8 +262,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -278,14 +278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -294,14 +294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -310,14 +310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" } }, { @@ -326,8 +326,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -342,8 +342,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -358,8 +358,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -374,8 +374,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -390,8 +390,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -406,14 +406,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -422,14 +422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -438,14 +438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -588,8 +588,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -620,8 +620,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String, int, int)", - "callable_declaration": "getStatement(Connection, String, int, int)" + "signature": "getStatement(java.sql.Connection, java.lang.String, int, int)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String, int, int)" } }, { @@ -636,8 +636,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -652,8 +652,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String, int, int)", - "callable_declaration": "getStatement(Connection, String, int, int)" + "signature": "getStatement(java.sql.Connection, java.lang.String, int, int)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String, int, int)" } }, { @@ -668,8 +668,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -684,8 +684,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -700,8 +700,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -716,8 +716,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -732,8 +732,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -748,8 +748,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -764,8 +764,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -780,8 +780,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -796,8 +796,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" } }, { @@ -812,8 +812,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -828,8 +828,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -844,8 +844,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -860,8 +860,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -876,8 +876,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -886,8 +886,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -902,14 +902,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -918,14 +918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -934,8 +934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -950,14 +950,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(Connection, String)", - "callable_declaration": "getAccountData(Connection, String)" + "signature": "getAccountData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountData(java.sql.Connection, java.lang.String)" } }, { @@ -966,14 +966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteData(Connection, String)", - "callable_declaration": "getQuoteData(Connection, String)" + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteData(java.sql.Connection, java.lang.String)" } }, { @@ -982,14 +982,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -998,8 +998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -1014,8 +1014,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1030,14 +1030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", - "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" + "signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", + "callable_declaration": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)" } }, { @@ -1046,8 +1046,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1062,8 +1062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1078,14 +1078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -1094,14 +1094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -1110,14 +1110,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -1126,14 +1126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -1142,8 +1142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1158,14 +1158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Connection, Integer)", - "callable_declaration": "cancelOrder(Connection, Integer)" + "signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "cancelOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -1174,8 +1174,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1190,14 +1190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" } }, { @@ -1206,8 +1206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1222,14 +1222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -1238,8 +1238,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1254,14 +1254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -1270,14 +1270,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -1286,14 +1286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -1302,8 +1302,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1318,14 +1318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -1334,14 +1334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -1350,14 +1350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -1366,14 +1366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object)", - "callable_declaration": "trace(String, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object)" } }, { @@ -1382,14 +1382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -1398,8 +1398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1414,8 +1414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1430,14 +1430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(Connection, String)", - "callable_declaration": "getAccountData(Connection, String)" + "signature": "getAccountData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountData(java.sql.Connection, java.lang.String)" } }, { @@ -1446,14 +1446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" } }, { @@ -1462,8 +1462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -1478,14 +1478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteData(Connection, String)", - "callable_declaration": "getQuoteData(Connection, String)" + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteData(java.sql.Connection, java.lang.String)" } }, { @@ -1494,14 +1494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -1510,8 +1510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1526,14 +1526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -1542,14 +1542,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "signature": "OrderDataBean()", - "callable_declaration": "OrderDataBean()" + "callable_declaration": "()" } }, { @@ -1558,14 +1558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -1574,14 +1574,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -1590,8 +1590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -1606,14 +1606,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -1622,8 +1622,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -1638,8 +1638,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -1654,14 +1654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateHoldingStatus(Connection, Integer, String)", - "callable_declaration": "updateHoldingStatus(Connection, Integer, String)" + "signature": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -1670,8 +1670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -1686,8 +1686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1702,14 +1702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", - "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" + "signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", + "callable_declaration": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)" } }, { @@ -1718,8 +1718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1734,14 +1734,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -1750,8 +1750,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1766,14 +1766,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -1782,8 +1782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1798,14 +1798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -1814,14 +1814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -1830,8 +1830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1846,14 +1846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Connection, Integer)", - "callable_declaration": "cancelOrder(Connection, Integer)" + "signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "cancelOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -1862,8 +1862,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -1878,14 +1878,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" } }, { @@ -1894,14 +1894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -1910,8 +1910,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1926,14 +1926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -1942,14 +1942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -1958,14 +1958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -1974,8 +1974,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -1990,14 +1990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -2006,14 +2006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2022,14 +2022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2038,14 +2038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -2054,14 +2054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -2070,8 +2070,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -2086,8 +2086,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -2102,14 +2102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -2118,14 +2118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -2134,14 +2134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2150,14 +2150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -2166,14 +2166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -2182,14 +2182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" } }, { @@ -2198,14 +2198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2214,14 +2214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2230,14 +2230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", - "signature": "submitOrder(Integer, boolean)", - "callable_declaration": "submitOrder(Integer, boolean)" + "signature": "submitOrder(java.lang.Integer, boolean)", + "callable_declaration": "submitOrder(java.lang.Integer, boolean)" } }, { @@ -2246,14 +2246,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -2262,14 +2262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -2278,14 +2278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -2294,14 +2294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderDataFromResultSet(ResultSet)", - "callable_declaration": "getOrderDataFromResultSet(ResultSet)" + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getOrderDataFromResultSet(java.sql.ResultSet)" } }, { @@ -2310,8 +2310,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2326,8 +2326,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2342,8 +2342,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2358,8 +2358,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2374,14 +2374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, Integer)", - "callable_declaration": "getAccountProfileData(Connection, Integer)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.Integer)" } }, { @@ -2390,8 +2390,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -2406,8 +2406,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2422,14 +2422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -2438,14 +2438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "callable_declaration": "createHolding(Connection, int, String, double, BigDecimal)" + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" } }, { @@ -2454,8 +2454,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -2470,14 +2470,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderHolding(Connection, int, int)", - "callable_declaration": "updateOrderHolding(Connection, int, int)" + "signature": "updateOrderHolding(java.sql.Connection, int, int)", + "callable_declaration": "updateOrderHolding(java.sql.Connection, int, int)" } }, { @@ -2486,8 +2486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2502,14 +2502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -2518,8 +2518,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2534,8 +2534,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -2550,8 +2550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2566,14 +2566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -2582,14 +2582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" } }, { @@ -2598,14 +2598,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -2614,8 +2614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2630,14 +2630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -2646,14 +2646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "removeHolding(Connection, int, int)", - "callable_declaration": "removeHolding(Connection, int, int)" + "signature": "removeHolding(java.sql.Connection, int, int)", + "callable_declaration": "removeHolding(java.sql.Connection, int, int)" } }, { @@ -2662,8 +2662,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2678,14 +2678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -2694,8 +2694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2710,8 +2710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -2726,8 +2726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2742,14 +2742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -2758,8 +2758,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -2774,14 +2774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -2790,14 +2790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Connection, Integer)", - "callable_declaration": "completeOrder(Connection, Integer)" + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "completeOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -2806,14 +2806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -2822,8 +2822,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -2838,8 +2838,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -2854,14 +2854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Connection, Integer)", - "callable_declaration": "cancelOrder(Connection, Integer)" + "signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "cancelOrder(java.sql.Connection, java.lang.Integer)" } }, { @@ -2870,14 +2870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -2886,14 +2886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2902,14 +2902,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -2918,14 +2918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -2934,14 +2934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2950,14 +2950,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -2966,14 +2966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Connection, Integer)", - "callable_declaration": "cancelOrder(Connection, Integer)" + "signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "cancelOrder(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -2982,14 +2982,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "callable_declaration": "createHolding(Connection, int, String, double, BigDecimal)" + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -2998,8 +2998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "callable_declaration": "createHolding(Connection, int, String, double, BigDecimal)" + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3014,14 +3014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "callable_declaration": "createHolding(Connection, int, String, double, BigDecimal)" + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" } }, { @@ -3030,14 +3030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "callable_declaration": "createHolding(Connection, int, String, double, BigDecimal)" + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" } }, { @@ -3046,14 +3046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "removeHolding(Connection, int, int)", - "callable_declaration": "removeHolding(Connection, int, int)" + "signature": "removeHolding(java.sql.Connection, int, int)", + "callable_declaration": "removeHolding(java.sql.Connection, int, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3062,14 +3062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "removeHolding(Connection, int, int)", - "callable_declaration": "removeHolding(Connection, int, int)" + "signature": "removeHolding(java.sql.Connection, int, int)", + "callable_declaration": "removeHolding(java.sql.Connection, int, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3078,8 +3078,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3094,14 +3094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3110,8 +3110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3126,14 +3126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" } }, { @@ -3142,8 +3142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -3158,14 +3158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "getOrderFee(String)", - "callable_declaration": "getOrderFee(String)" + "signature": "getOrderFee(java.lang.String)", + "callable_declaration": "getOrderFee(java.lang.String)" } }, { @@ -3174,8 +3174,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -3190,8 +3190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -3206,8 +3206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -3222,14 +3222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" } }, { @@ -3238,14 +3238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -3254,14 +3254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3270,14 +3270,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -3286,14 +3286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -3302,14 +3302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3318,14 +3318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3334,14 +3334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -3350,8 +3350,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3366,14 +3366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3382,14 +3382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderDataFromResultSet(ResultSet)", - "callable_declaration": "getOrderDataFromResultSet(ResultSet)" + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getOrderDataFromResultSet(java.sql.ResultSet)" } }, { @@ -3398,14 +3398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -3414,14 +3414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3430,14 +3430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -3446,14 +3446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -3462,14 +3462,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3478,14 +3478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3494,14 +3494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -3510,8 +3510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3526,14 +3526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3542,14 +3542,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderDataFromResultSet(ResultSet)", - "callable_declaration": "getOrderDataFromResultSet(ResultSet)" + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getOrderDataFromResultSet(java.sql.ResultSet)" } }, { @@ -3558,14 +3558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -3574,8 +3574,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -3590,8 +3590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -3606,14 +3606,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" } }, { @@ -3622,14 +3622,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -3638,14 +3638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3654,14 +3654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -3670,14 +3670,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -3686,14 +3686,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3702,14 +3702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3718,14 +3718,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -3734,8 +3734,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3750,14 +3750,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -3766,14 +3766,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -3782,14 +3782,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -3798,14 +3798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3814,14 +3814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -3830,14 +3830,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3846,14 +3846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3862,14 +3862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -3878,8 +3878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -3894,14 +3894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(Connection, String)", - "callable_declaration": "getQuote(Connection, String)" + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuote(java.sql.Connection, java.lang.String)" } }, { @@ -3910,14 +3910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -3926,14 +3926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3942,14 +3942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -3958,14 +3958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -3974,14 +3974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -3990,14 +3990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4006,14 +4006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(Connection, String)", - "callable_declaration": "getQuote(Connection, String)" + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuote(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4022,14 +4022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(Connection, String)", - "callable_declaration": "getQuote(Connection, String)" + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuote(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -4038,14 +4038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(Connection, String)", - "callable_declaration": "getQuote(Connection, String)" + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuote(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4054,14 +4054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteForUpdate(Connection, String)", - "callable_declaration": "getQuoteForUpdate(Connection, String)" + "signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteForUpdate(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4070,14 +4070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteForUpdate(Connection, String)", - "callable_declaration": "getQuoteForUpdate(Connection, String)" + "signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteForUpdate(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -4086,14 +4086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteForUpdate(Connection, String)", - "callable_declaration": "getQuoteForUpdate(Connection, String)" + "signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteForUpdate(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4124,8 +4124,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4140,8 +4140,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4156,8 +4156,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4172,8 +4172,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -4188,8 +4188,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -4204,8 +4204,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4220,8 +4220,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4230,14 +4230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -4246,8 +4246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -4262,14 +4262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4278,14 +4278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingDataFromResultSet(ResultSet)", - "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" + "signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getHoldingDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4294,14 +4294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -4310,14 +4310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4326,14 +4326,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -4342,14 +4342,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -4358,14 +4358,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4374,14 +4374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4390,14 +4390,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -4406,8 +4406,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -4422,8 +4422,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -4438,14 +4438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -4454,14 +4454,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4470,14 +4470,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -4486,14 +4486,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -4502,14 +4502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4518,14 +4518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4534,14 +4534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -4550,8 +4550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -4566,14 +4566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(Connection, String)", - "callable_declaration": "getAccountData(Connection, String)" + "signature": "getAccountData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountData(java.sql.Connection, java.lang.String)" } }, { @@ -4582,14 +4582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -4598,14 +4598,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4614,14 +4614,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -4630,14 +4630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -4646,14 +4646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4662,14 +4662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4678,14 +4678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(Connection, String)", - "callable_declaration": "getAccountData(Connection, String)" + "signature": "getAccountData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4694,14 +4694,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(Connection, String)", - "callable_declaration": "getAccountData(Connection, String)" + "signature": "getAccountData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountDataFromResultSet(ResultSet)" + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4716,8 +4716,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -4748,8 +4748,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(int, Connection)", - "callable_declaration": "getAccountData(int, Connection)" + "signature": "getAccountData(int, java.sql.Connection)", + "callable_declaration": "getAccountData(int, java.sql.Connection)" } }, { @@ -4764,8 +4764,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -4780,8 +4780,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4796,8 +4796,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -4812,8 +4812,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -4828,8 +4828,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4844,8 +4844,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -4854,14 +4854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(int, Connection)", - "callable_declaration": "getAccountData(int, Connection)" + "signature": "getAccountData(int, java.sql.Connection)", + "callable_declaration": "getAccountData(int, java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4870,14 +4870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(int, Connection)", - "callable_declaration": "getAccountData(int, Connection)" + "signature": "getAccountData(int, java.sql.Connection)", + "callable_declaration": "getAccountData(int, java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountDataFromResultSet(ResultSet)" + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4886,14 +4886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteData(Connection, String)", - "callable_declaration": "getQuoteData(Connection, String)" + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -4902,14 +4902,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteData(Connection, String)", - "callable_declaration": "getQuoteData(Connection, String)" + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -4918,14 +4918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteData(Connection, String)", - "callable_declaration": "getQuoteData(Connection, String)" + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" } }, { @@ -4956,8 +4956,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" } }, { @@ -4972,8 +4972,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -4988,8 +4988,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5004,8 +5004,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -5020,8 +5020,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -5036,8 +5036,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5052,8 +5052,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5062,14 +5062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5078,14 +5078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -5094,14 +5094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingData(Connection, int)", - "callable_declaration": "getHoldingData(Connection, int)" + "signature": "getHoldingData(java.sql.Connection, int)", + "callable_declaration": "getHoldingData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingDataFromResultSet(ResultSet)", - "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" + "signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getHoldingDataFromResultSet(java.sql.ResultSet)" } }, { @@ -5110,14 +5110,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -5126,14 +5126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5142,14 +5142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -5158,14 +5158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderData(Connection, int)", - "callable_declaration": "getOrderData(Connection, int)" + "signature": "getOrderData(java.sql.Connection, int)", + "callable_declaration": "getOrderData(java.sql.Connection, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderDataFromResultSet(ResultSet)", - "callable_declaration": "getOrderDataFromResultSet(ResultSet)" + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getOrderDataFromResultSet(java.sql.ResultSet)" } }, { @@ -5174,14 +5174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -5190,8 +5190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -5206,14 +5206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, String)", - "callable_declaration": "getAccountProfileData(Connection, String)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.String)" } }, { @@ -5222,14 +5222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -5238,14 +5238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5254,14 +5254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -5270,14 +5270,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -5286,14 +5286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5302,14 +5302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5318,14 +5318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, String)", - "callable_declaration": "getAccountProfileData(Connection, String)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5334,14 +5334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, String)", - "callable_declaration": "getAccountProfileData(Connection, String)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" + "signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountProfileDataFromResultSet(java.sql.ResultSet)" } }, { @@ -5350,14 +5350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, Integer)", - "callable_declaration": "getAccountProfileData(Connection, Integer)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5366,14 +5366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, Integer)", - "callable_declaration": "getAccountProfileData(Connection, Integer)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" + "signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountProfileDataFromResultSet(java.sql.ResultSet)" } }, { @@ -5382,8 +5382,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5398,14 +5398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -5414,8 +5414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -5430,14 +5430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -5446,8 +5446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5462,14 +5462,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(Connection, String)", - "callable_declaration": "getAccountProfileData(Connection, String)" + "signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "callable_declaration": "getAccountProfileData(java.sql.Connection, java.lang.String)" } }, { @@ -5478,14 +5478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -5494,14 +5494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5510,14 +5510,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -5526,14 +5526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -5542,14 +5542,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5558,14 +5558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -5574,14 +5574,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", - "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" + "signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", + "callable_declaration": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5590,8 +5590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", - "callable_declaration": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)" + "signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", + "callable_declaration": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -5606,14 +5606,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateHoldingStatus(Connection, Integer, String)", - "callable_declaration": "updateHoldingStatus(Connection, Integer, String)" + "signature": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5622,14 +5622,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderStatus(Connection, Integer, String)", - "callable_declaration": "updateOrderStatus(Connection, Integer, String)" + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "callable_declaration": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5638,14 +5638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateOrderHolding(Connection, int, int)", - "callable_declaration": "updateOrderHolding(Connection, int, int)" + "signature": "updateOrderHolding(java.sql.Connection, int, int)", + "callable_declaration": "updateOrderHolding(java.sql.Connection, int, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5654,14 +5654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -5670,8 +5670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5686,8 +5686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5702,8 +5702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5718,8 +5718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5734,8 +5734,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5750,8 +5750,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(Connection, AccountProfileDataBean)" + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -5766,8 +5766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -5782,14 +5782,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" } }, { @@ -5798,8 +5798,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -5814,14 +5814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "signature": "QuoteDataBean()", - "callable_declaration": "QuoteDataBean()" + "callable_declaration": "()" } }, { @@ -5830,14 +5830,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)" } }, { @@ -5846,8 +5846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -5862,14 +5862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteForUpdate(Connection, String)", - "callable_declaration": "getQuoteForUpdate(Connection, String)" + "signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuoteForUpdate(java.sql.Connection, java.lang.String)" } }, { @@ -5878,8 +5878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -5894,8 +5894,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -5910,8 +5910,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -5926,8 +5926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -5942,14 +5942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)", - "callable_declaration": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)" + "signature": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)", + "callable_declaration": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)" } }, { @@ -5958,14 +5958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(Connection, String)", - "callable_declaration": "getQuote(Connection, String)" + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "callable_declaration": "getQuote(java.sql.Connection, java.lang.String)" } }, { @@ -5974,14 +5974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -5990,14 +5990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -6006,14 +6006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -6022,14 +6022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6038,14 +6038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -6054,14 +6054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -6070,14 +6070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6086,14 +6086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)", - "callable_declaration": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)" + "signature": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)", + "callable_declaration": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6102,14 +6102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -6118,8 +6118,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6134,8 +6134,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6150,8 +6150,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6166,8 +6166,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6182,8 +6182,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6198,8 +6198,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6214,8 +6214,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6230,8 +6230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6246,8 +6246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -6262,14 +6262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object)", - "callable_declaration": "trace(String, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object)" } }, { @@ -6278,8 +6278,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -6294,14 +6294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6310,14 +6310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -6326,14 +6326,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -6342,14 +6342,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6358,14 +6358,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6374,14 +6374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountDataFromResultSet(ResultSet)" + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountDataFromResultSet(java.sql.ResultSet)" } }, { @@ -6390,14 +6390,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -6406,14 +6406,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6422,14 +6422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -6438,14 +6438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -6454,14 +6454,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6470,14 +6470,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6486,14 +6486,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -6502,8 +6502,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -6518,14 +6518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6534,14 +6534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -6550,14 +6550,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6566,14 +6566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -6582,14 +6582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" } }, { @@ -6598,14 +6598,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6614,14 +6614,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6630,14 +6630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -6646,8 +6646,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -6662,14 +6662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6678,8 +6678,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -6694,14 +6694,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" } }, { @@ -6710,14 +6710,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -6726,14 +6726,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -6742,14 +6742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -6758,14 +6758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6774,14 +6774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -6790,14 +6790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6806,14 +6806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -6822,14 +6822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountDataFromResultSet(ResultSet)" + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -6838,14 +6838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountDataFromResultSet(ResultSet)" + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -6854,14 +6854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" + "signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountProfileDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -6870,14 +6870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileDataFromResultSet(ResultSet)", - "callable_declaration": "getAccountProfileDataFromResultSet(ResultSet)" + "signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getAccountProfileDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -6886,14 +6886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldingDataFromResultSet(ResultSet)", - "callable_declaration": "getHoldingDataFromResultSet(ResultSet)" + "signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getHoldingDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" } }, { @@ -6902,14 +6902,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "callable_declaration": "getQuoteDataFromResultSet(ResultSet)" + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getQuoteDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -6918,14 +6918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrderDataFromResultSet(ResultSet)", - "callable_declaration": "getOrderDataFromResultSet(ResultSet)" + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "callable_declaration": "getOrderDataFromResultSet(java.sql.ResultSet)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -6934,8 +6934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -6950,8 +6950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -6966,14 +6966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -6982,8 +6982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -6998,14 +6998,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -7014,14 +7014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" } }, { @@ -7030,14 +7030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -7046,14 +7046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -7062,14 +7062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -7078,14 +7078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" } }, { @@ -7094,8 +7094,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", @@ -7110,14 +7110,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -7126,14 +7126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "releaseConn(Connection)", - "callable_declaration": "releaseConn(Connection)" + "signature": "releaseConn(java.sql.Connection)", + "callable_declaration": "releaseConn(java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -7164,8 +7164,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -7190,8 +7190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "commit(Connection)", - "callable_declaration": "commit(Connection)" + "signature": "commit(java.sql.Connection)", + "callable_declaration": "commit(java.sql.Connection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -7206,8 +7206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -7222,14 +7222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -7238,8 +7238,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "rollBack(Connection, Exception)", - "callable_declaration": "rollBack(Connection, Exception)" + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callable_declaration": "rollBack(java.sql.Connection, java.lang.Exception)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -7270,8 +7270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", - "signature": "init(WebConnection)", - "callable_declaration": "init(WebConnection)" + "signature": "init(javax.servlet.http.WebConnection)", + "callable_declaration": "init(javax.servlet.http.WebConnection)" }, "target": { "file_path": "<>", @@ -7286,14 +7286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", - "signature": "init(WebConnection)", - "callable_declaration": "init(WebConnection)" + "signature": "init(javax.servlet.http.WebConnection)", + "callable_declaration": "init(javax.servlet.http.WebConnection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -7308,8 +7308,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -7318,14 +7318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", - "signature": "submitOrder(Integer, boolean)", - "callable_declaration": "submitOrder(Integer, boolean)" + "signature": "submitOrder(java.lang.Integer, boolean)", + "callable_declaration": "submitOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", - "signature": "setProperties(Integer, boolean)", - "callable_declaration": "setProperties(Integer, boolean)" + "signature": "setProperties(java.lang.Integer, boolean)", + "callable_declaration": "setProperties(java.lang.Integer, boolean)" } }, { @@ -7334,14 +7334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -7350,8 +7350,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7366,8 +7366,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7382,14 +7382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7398,14 +7398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7414,14 +7414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7430,14 +7430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -7446,8 +7446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -7462,14 +7462,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -7478,14 +7478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "init(ServletConfig)", - "callable_declaration": "init(ServletConfig)" + "signature": "init(javax.servlet.ServletConfig)", + "callable_declaration": "init(javax.servlet.ServletConfig)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -7494,14 +7494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity", - "signature": "init(ServletConfig)", - "callable_declaration": "init(ServletConfig)" + "signature": "init(javax.servlet.ServletConfig)", + "callable_declaration": "init(javax.servlet.ServletConfig)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -7510,14 +7510,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -7526,14 +7526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean", - "signature": "getHitCount(LocalDateTime)", - "callable_declaration": "getHitCount(LocalDateTime)" + "signature": "getHitCount(java.time.LocalDateTime)", + "callable_declaration": "getHitCount(java.time.LocalDateTime)" } }, { @@ -7542,8 +7542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", @@ -7558,14 +7558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -7574,14 +7574,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -7590,14 +7590,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "signature": "SimpleBean2()", - "callable_declaration": "SimpleBean2()" + "callable_declaration": "()" } }, { @@ -7606,8 +7606,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -7622,14 +7622,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -7638,8 +7638,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7654,8 +7654,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7670,8 +7670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7686,14 +7686,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", - "callable_declaration": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)" + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "callable_declaration": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)" } }, { @@ -7702,8 +7702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -7718,14 +7718,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" } }, { @@ -7734,14 +7734,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -7750,14 +7750,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -7766,8 +7766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7782,8 +7782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7798,14 +7798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7814,14 +7814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7830,14 +7830,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -7846,8 +7846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -7862,14 +7862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" } }, { @@ -7878,8 +7878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", - "signature": "PortfolioJSF(Instance)", - "callable_declaration": "PortfolioJSF(Instance)" + "signature": "PortfolioJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7894,8 +7894,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", - "signature": "PortfolioJSF(Instance)", - "callable_declaration": "PortfolioJSF(Instance)" + "signature": "PortfolioJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -7910,14 +7910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", - "signature": "PortfolioJSF(Instance)", - "callable_declaration": "PortfolioJSF(Instance)" + "signature": "PortfolioJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -7932,8 +7932,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -7948,8 +7948,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -7964,8 +7964,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -8076,8 +8076,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -8092,8 +8092,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -8108,8 +8108,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -8220,8 +8220,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setHoldingID(Integer)", - "callable_declaration": "setHoldingID(Integer)" + "signature": "setHoldingID(java.lang.Integer)", + "callable_declaration": "setHoldingID(java.lang.Integer)" } }, { @@ -8252,8 +8252,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setPurchaseDate(Date)", - "callable_declaration": "setPurchaseDate(Date)" + "signature": "setPurchaseDate(java.util.Date)", + "callable_declaration": "setPurchaseDate(java.util.Date)" } }, { @@ -8284,8 +8284,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setQuoteID(String)", - "callable_declaration": "setQuoteID(String)" + "signature": "setQuoteID(java.lang.String)", + "callable_declaration": "setQuoteID(java.lang.String)" } }, { @@ -8348,8 +8348,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setPurchasePrice(BigDecimal)", - "callable_declaration": "setPurchasePrice(BigDecimal)" + "signature": "setPurchasePrice(java.math.BigDecimal)", + "callable_declaration": "setPurchasePrice(java.math.BigDecimal)" } }, { @@ -8364,8 +8364,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setBasis(BigDecimal)", - "callable_declaration": "setBasis(BigDecimal)" + "signature": "setBasis(java.math.BigDecimal)", + "callable_declaration": "setBasis(java.math.BigDecimal)" } }, { @@ -8380,8 +8380,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setGain(BigDecimal)", - "callable_declaration": "setGain(BigDecimal)" + "signature": "setGain(java.math.BigDecimal)", + "callable_declaration": "setGain(java.math.BigDecimal)" } }, { @@ -8396,8 +8396,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setMarketValue(BigDecimal)", - "callable_declaration": "setMarketValue(BigDecimal)" + "signature": "setMarketValue(java.math.BigDecimal)", + "callable_declaration": "setMarketValue(java.math.BigDecimal)" } }, { @@ -8428,8 +8428,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -8444,8 +8444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", - "callable_declaration": "computeGainPercent(BigDecimal, BigDecimal)" + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -8460,8 +8460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF", - "signature": "setTotalGainPercent(BigDecimal)", - "callable_declaration": "setTotalGainPercent(BigDecimal)" + "signature": "setTotalGainPercent(java.math.BigDecimal)", + "callable_declaration": "setTotalGainPercent(java.math.BigDecimal)" } }, { @@ -8508,8 +8508,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -8524,8 +8524,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -8540,8 +8540,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -8684,8 +8684,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", - "callable_declaration": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)" + "signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)" } }, { @@ -8700,8 +8700,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainPercentHTML(BigDecimal)", - "callable_declaration": "printGainPercentHTML(BigDecimal)" + "signature": "printGainPercentHTML(java.math.BigDecimal)", + "callable_declaration": "printGainPercentHTML(java.math.BigDecimal)" } }, { @@ -8716,8 +8716,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -8870,8 +8870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "rndEmail(String)", - "callable_declaration": "rndEmail(String)" + "signature": "rndEmail(java.lang.String)", + "callable_declaration": "rndEmail(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9116,8 +9116,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -9142,14 +9142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -9158,14 +9158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9174,14 +9174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9190,14 +9190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9206,14 +9206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9222,14 +9222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9238,14 +9238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -9254,8 +9254,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.java", @@ -9270,8 +9270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocal.java", @@ -9286,8 +9286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingEJBLocalDecorator.java", @@ -9302,14 +9302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -9318,8 +9318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -9334,14 +9334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", - "signature": "setMsg(String)", - "callable_declaration": "setMsg(String)" + "signature": "setMsg(java.lang.String)", + "callable_declaration": "setMsg(java.lang.String)" } }, { @@ -9350,14 +9350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Jsp", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -9366,14 +9366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -9382,8 +9382,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9398,8 +9398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9414,8 +9414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9430,8 +9430,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9446,8 +9446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9462,8 +9462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9478,8 +9478,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9494,8 +9494,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9510,8 +9510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9526,8 +9526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9542,8 +9542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9558,8 +9558,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9574,8 +9574,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9590,8 +9590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9606,8 +9606,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9622,8 +9622,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9638,8 +9638,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9654,8 +9654,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9670,8 +9670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9686,8 +9686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9702,8 +9702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9718,8 +9718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9734,8 +9734,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextInitialized(ServletContextEvent)", - "callable_declaration": "contextInitialized(ServletContextEvent)" + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextInitialized(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9750,14 +9750,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeWebContextListener", - "signature": "contextDestroyed(ServletContextEvent)", - "callable_declaration": "contextDestroyed(ServletContextEvent)" + "signature": "contextDestroyed(javax.servlet.ServletContextEvent)", + "callable_declaration": "contextDestroyed(javax.servlet.ServletContextEvent)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -9772,8 +9772,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -9788,8 +9788,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -9820,8 +9820,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -9846,8 +9846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", - "signature": "onError(Throwable)", - "callable_declaration": "onError(Throwable)" + "signature": "onError(java.lang.Throwable)", + "callable_declaration": "onError(java.lang.Throwable)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", @@ -9868,8 +9868,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", - "signature": "Listener(WebConnection)", - "callable_declaration": "Listener(WebConnection)" + "signature": "Listener(javax.servlet.http.WebConnection)", + "callable_declaration": "(javax.servlet.http.WebConnection)" } }, { @@ -9878,8 +9878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaCDICurrent", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.java", @@ -9894,14 +9894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -9910,14 +9910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "SimpleBean1()", - "callable_declaration": "SimpleBean1()" + "callable_declaration": "()" } }, { @@ -9926,8 +9926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -9942,14 +9942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -9958,14 +9958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -9974,8 +9974,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -9990,14 +9990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10045,7 +10045,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "signature": "RunStatsDataBean()", - "callable_declaration": "RunStatsDataBean()" + "callable_declaration": "()" } }, { @@ -10060,8 +10060,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10076,8 +10076,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10092,8 +10092,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10108,8 +10108,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10124,8 +10124,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10140,8 +10140,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10156,8 +10156,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10172,8 +10172,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10188,8 +10188,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10204,8 +10204,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10220,8 +10220,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10252,8 +10252,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10284,8 +10284,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10316,8 +10316,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10364,8 +10364,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10380,8 +10380,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10412,8 +10412,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10444,8 +10444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10476,8 +10476,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10508,8 +10508,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10540,8 +10540,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10572,8 +10572,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "getStatement(Connection, String)", - "callable_declaration": "getStatement(Connection, String)" + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "callable_declaration": "getStatement(java.sql.Connection, java.lang.String)" } }, { @@ -10604,8 +10604,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10620,8 +10620,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10630,14 +10630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -10646,8 +10646,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -10662,14 +10662,78 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" } }, { @@ -10678,14 +10742,206 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10700,8 +10956,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainHTML(BigDecimal)", - "callable_declaration": "printGainHTML(BigDecimal)" + "signature": "printGainHTML(java.math.BigDecimal)", + "callable_declaration": "printGainHTML(java.math.BigDecimal)" } }, { @@ -10710,14 +10966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -10726,8 +10982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -10742,8 +10998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -10758,14 +11014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -10774,14 +11030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -10790,14 +11046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -10806,8 +11062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -10822,8 +11078,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -10838,8 +11094,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -10854,8 +11110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -10870,14 +11126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10886,14 +11142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -10902,14 +11158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10918,14 +11174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10934,14 +11190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3Object", "signature": "PingSession3Object()", - "callable_declaration": "PingSession3Object()" + "callable_declaration": "()" } }, { @@ -10950,14 +11206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -10972,8 +11228,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -10988,8 +11244,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -11004,8 +11260,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -11014,14 +11270,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setHoldingID(Integer)", - "callable_declaration": "setHoldingID(Integer)" + "signature": "setHoldingID(java.lang.Integer)", + "callable_declaration": "setHoldingID(java.lang.Integer)" } }, { @@ -11030,8 +11286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -11046,14 +11302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setPurchasePrice(BigDecimal)", - "callable_declaration": "setPurchasePrice(BigDecimal)" + "signature": "setPurchasePrice(java.math.BigDecimal)", + "callable_declaration": "setPurchasePrice(java.math.BigDecimal)" } }, { @@ -11062,14 +11318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setPurchaseDate(Date)", - "callable_declaration": "setPurchaseDate(Date)" + "signature": "setPurchaseDate(java.util.Date)", + "callable_declaration": "setPurchaseDate(java.util.Date)" } }, { @@ -11078,14 +11334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setQuoteID(String)", - "callable_declaration": "setQuoteID(String)" + "signature": "setQuoteID(java.lang.String)", + "callable_declaration": "setQuoteID(java.lang.String)" } }, { @@ -11094,8 +11350,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -11110,14 +11366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setPurchasePrice(BigDecimal)", - "callable_declaration": "setPurchasePrice(BigDecimal)" + "signature": "setPurchasePrice(java.math.BigDecimal)", + "callable_declaration": "setPurchasePrice(java.math.BigDecimal)" } }, { @@ -11126,14 +11382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setPurchaseDate(Date)", - "callable_declaration": "setPurchaseDate(Date)" + "signature": "setPurchaseDate(java.util.Date)", + "callable_declaration": "setPurchaseDate(java.util.Date)" } }, { @@ -11142,14 +11398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setAccount(AccountDataBean)", - "callable_declaration": "setAccount(AccountDataBean)" + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", + "callable_declaration": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)" } }, { @@ -11158,14 +11414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setQuote(QuoteDataBean)", - "callable_declaration": "setQuote(QuoteDataBean)" + "signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -11260,8 +11516,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", - "callable_declaration": "HoldingDataBean(Integer, double, BigDecimal, Date, String)" + "signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "callable_declaration": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)" } }, { @@ -11452,8 +11708,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -11526,8 +11782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -11542,14 +11798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -11558,8 +11814,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -11574,8 +11830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -11590,8 +11846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -11606,14 +11862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setBalance(BigDecimal)", - "callable_declaration": "setBalance(BigDecimal)" + "signature": "setBalance(java.math.BigDecimal)", + "callable_declaration": "setBalance(java.math.BigDecimal)" } }, { @@ -11622,8 +11878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -11638,14 +11894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -11654,14 +11910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -11670,14 +11926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -11686,14 +11942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -11702,8 +11958,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -11718,14 +11974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -11734,14 +11990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "signature": "OrderDataBean()", - "callable_declaration": "OrderDataBean()" + "callable_declaration": "()" } }, { @@ -11750,14 +12006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -11766,8 +12022,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -11782,8 +12038,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -11798,14 +12054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -11814,14 +12070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "setPurchaseDate(Date)", - "callable_declaration": "setPurchaseDate(Date)" + "signature": "setPurchaseDate(java.util.Date)", + "callable_declaration": "setPurchaseDate(java.util.Date)" } }, { @@ -11830,8 +12086,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -11846,8 +12102,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -11862,8 +12118,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -11878,14 +12134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setBalance(BigDecimal)", - "callable_declaration": "setBalance(BigDecimal)" + "signature": "setBalance(java.math.BigDecimal)", + "callable_declaration": "setBalance(java.math.BigDecimal)" } }, { @@ -11894,8 +12150,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -11910,14 +12166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -11926,14 +12182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -11942,14 +12198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -11958,14 +12214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -11974,8 +12230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -11990,8 +12246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12006,8 +12262,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12022,8 +12278,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12038,8 +12294,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12054,8 +12310,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12070,8 +12326,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12086,8 +12342,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12102,14 +12358,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)", - "callable_declaration": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)" + "signature": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)" } }, { @@ -12118,14 +12374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setHolding(HoldingDataBean)", - "callable_declaration": "setHolding(HoldingDataBean)" + "signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" } }, { @@ -12134,14 +12390,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -12150,14 +12406,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setCompletionDate(Date)", - "callable_declaration": "setCompletionDate(Date)" + "signature": "setCompletionDate(java.util.Date)", + "callable_declaration": "setCompletionDate(java.util.Date)" } }, { @@ -12166,8 +12422,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12182,8 +12438,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -12198,14 +12454,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -12214,8 +12470,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12230,8 +12486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12246,14 +12502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -12262,8 +12518,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12278,14 +12534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setHolding(HoldingDataBean)", - "callable_declaration": "setHolding(HoldingDataBean)" + "signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" } }, { @@ -12294,14 +12550,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -12310,14 +12566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setCompletionDate(Date)", - "callable_declaration": "setCompletionDate(Date)" + "signature": "setCompletionDate(java.util.Date)", + "callable_declaration": "setCompletionDate(java.util.Date)" } }, { @@ -12326,8 +12582,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12342,8 +12598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -12358,14 +12614,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -12374,8 +12630,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12390,14 +12646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -12406,14 +12662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", - "signature": "submitOrder(Integer, boolean)", - "callable_declaration": "submitOrder(Integer, boolean)" + "signature": "submitOrder(java.lang.Integer, boolean)", + "callable_declaration": "submitOrder(java.lang.Integer, boolean)" } }, { @@ -12422,8 +12678,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -12438,8 +12694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12454,8 +12710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -12470,8 +12726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -12486,8 +12742,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -12502,8 +12758,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -12518,14 +12774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -12534,14 +12790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -12550,14 +12806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -12566,14 +12822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -12582,14 +12838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -12598,8 +12854,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -12614,14 +12870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "signature": "QuoteDataBean()", - "callable_declaration": "QuoteDataBean()" + "callable_declaration": "()" } }, { @@ -12630,14 +12886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object)", - "callable_declaration": "trace(String, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object)" } }, { @@ -12646,8 +12902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12662,8 +12918,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12678,14 +12934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -12694,8 +12950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12710,8 +12966,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12726,8 +12982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -12742,8 +12998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -12758,14 +13014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -12774,14 +13030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -12790,8 +13046,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12806,8 +13062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12822,14 +13078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setProfileID(String)", - "callable_declaration": "setProfileID(String)" + "signature": "setProfileID(java.lang.String)", + "callable_declaration": "setProfileID(java.lang.String)" } }, { @@ -12838,8 +13094,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12854,8 +13110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12870,14 +13126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setAddress(String)", - "callable_declaration": "setAddress(String)" + "signature": "setAddress(java.lang.String)", + "callable_declaration": "setAddress(java.lang.String)" } }, { @@ -12886,8 +13142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12902,14 +13158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setPassword(String)", - "callable_declaration": "setPassword(String)" + "signature": "setPassword(java.lang.String)", + "callable_declaration": "setPassword(java.lang.String)" } }, { @@ -12918,8 +13174,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12934,14 +13190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setFullName(String)", - "callable_declaration": "setFullName(String)" + "signature": "setFullName(java.lang.String)", + "callable_declaration": "setFullName(java.lang.String)" } }, { @@ -12950,8 +13206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12966,14 +13222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setCreditCard(String)", - "callable_declaration": "setCreditCard(String)" + "signature": "setCreditCard(java.lang.String)", + "callable_declaration": "setCreditCard(java.lang.String)" } }, { @@ -12982,8 +13238,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -12998,14 +13254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setEmail(String)", - "callable_declaration": "setEmail(String)" + "signature": "setEmail(java.lang.String)", + "callable_declaration": "setEmail(java.lang.String)" } }, { @@ -13014,8 +13270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -13030,14 +13286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" } }, { @@ -13046,14 +13302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -13062,8 +13318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -13078,8 +13334,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -13094,14 +13350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -13110,14 +13366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -13126,14 +13382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -13142,14 +13398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -13158,14 +13414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setAccount(AccountDataBean)", - "callable_declaration": "setAccount(AccountDataBean)" + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", + "callable_declaration": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)" } }, { @@ -13174,14 +13430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setProfile(AccountProfileDataBean)", - "callable_declaration": "setProfile(AccountProfileDataBean)" + "signature": "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -13190,8 +13446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -13206,8 +13462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13222,8 +13478,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13238,8 +13494,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13254,8 +13510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13270,8 +13526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13286,8 +13542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13302,8 +13558,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13318,8 +13574,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13334,8 +13590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", - "callable_declaration": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13350,8 +13606,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -13366,14 +13622,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "getOrderFee(String)", - "callable_declaration": "getOrderFee(String)" + "signature": "getOrderFee(java.lang.String)", + "callable_declaration": "getOrderFee(java.lang.String)" } }, { @@ -13382,14 +13638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" } }, { @@ -13398,14 +13654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -13414,14 +13670,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)", - "callable_declaration": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)" + "signature": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)", + "callable_declaration": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", - "callable_declaration": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)" + "signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -13430,14 +13686,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "pingTwoPhase(String)", - "callable_declaration": "pingTwoPhase(String)" + "signature": "pingTwoPhase(java.lang.String)", + "callable_declaration": "pingTwoPhase(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -13446,14 +13702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", - "signature": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)", - "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)" + "signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", - "callable_declaration": "computeGainPercent(BigDecimal, BigDecimal)" + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -13462,14 +13718,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", - "signature": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)", - "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)" + "signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGain(BigDecimal, BigDecimal)", - "callable_declaration": "computeGain(BigDecimal, BigDecimal)" + "signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGain(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -13484,8 +13740,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainPercentHTML(BigDecimal)", - "callable_declaration": "printGainPercentHTML(BigDecimal)" + "signature": "printGainPercentHTML(java.math.BigDecimal)", + "callable_declaration": "printGainPercentHTML(java.math.BigDecimal)" } }, { @@ -13500,8 +13756,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainHTML(BigDecimal)", - "callable_declaration": "printGainHTML(BigDecimal)" + "signature": "printGainHTML(java.math.BigDecimal)", + "callable_declaration": "printGainHTML(java.math.BigDecimal)" } }, { @@ -13510,8 +13766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "", @@ -13526,14 +13782,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setKey(String)", - "callable_declaration": "setKey(String)" + "signature": "setKey(java.lang.String)", + "callable_declaration": "setKey(java.lang.String)" } }, { @@ -13542,14 +13798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setValue(String)", - "callable_declaration": "setValue(String)" + "signature": "setValue(java.lang.String)", + "callable_declaration": "setValue(java.lang.String)" } }, { @@ -13558,14 +13814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "allocNewBlock(Connection, String, boolean, boolean)", - "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" + "signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)" } }, { @@ -13574,8 +13830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -13590,14 +13846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "allocNewBlock(Connection, String, boolean, boolean)", - "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" + "signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)" } }, { @@ -13606,8 +13862,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -13622,14 +13878,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "getNextID(Connection, String, boolean, boolean)", - "callable_declaration": "getNextID(Connection, String, boolean, boolean)" + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -13638,14 +13894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "allocNewBlock(Connection, String, boolean, boolean)", - "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" + "signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.KeyBlock", "signature": "KeyBlock(int, int)", - "callable_declaration": "KeyBlock(int, int)" + "callable_declaration": "(int, int)" } }, { @@ -13654,14 +13910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "signature": "allocNewBlock(Connection, String, boolean, boolean)", - "callable_declaration": "allocNewBlock(Connection, String, boolean, boolean)" + "signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "callable_declaration": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -13670,8 +13926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource", - "signature": "register(SseEventSink)", - "callable_declaration": "register(SseEventSink)" + "signature": "register(javax.ws.rs.sse.SseEventSink)", + "callable_declaration": "register(javax.ws.rs.sse.SseEventSink)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -13686,8 +13942,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource", - "signature": "register(SseEventSink)", - "callable_declaration": "register(SseEventSink)" + "signature": "register(javax.ws.rs.sse.SseEventSink)", + "callable_declaration": "register(javax.ws.rs.sse.SseEventSink)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -13702,8 +13958,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource", - "signature": "eventStreamCdi(String)", - "callable_declaration": "eventStreamCdi(String)" + "signature": "eventStreamCdi(java.lang.String)", + "callable_declaration": "eventStreamCdi(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -13719,7 +13975,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", "signature": "QuoteResource()", - "callable_declaration": "QuoteResource()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -13735,7 +13991,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", "signature": "QuoteResource()", - "callable_declaration": "QuoteResource()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -13751,13 +14007,13 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", "signature": "QuoteResource()", - "callable_declaration": "QuoteResource()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -13766,14 +14022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "quotesGet(String)", - "callable_declaration": "quotesGet(String)" + "signature": "quotesGet(java.lang.String)", + "callable_declaration": "quotesGet(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "getQuotes(String)", - "callable_declaration": "getQuotes(String)" + "signature": "getQuotes(java.lang.String)", + "callable_declaration": "getQuotes(java.lang.String)" } }, { @@ -13782,14 +14038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "quotesPost(String)", - "callable_declaration": "quotesPost(String)" + "signature": "quotesPost(java.lang.String)", + "callable_declaration": "quotesPost(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "getQuotes(String)", - "callable_declaration": "getQuotes(String)" + "signature": "getQuotes(java.lang.String)", + "callable_declaration": "getQuotes(java.lang.String)" } }, { @@ -13798,14 +14054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "getQuotes(String)", - "callable_declaration": "getQuotes(String)" + "signature": "getQuotes(java.lang.String)", + "callable_declaration": "getQuotes(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -13814,14 +14070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "getQuotes(String)", - "callable_declaration": "getQuotes(String)" + "signature": "getQuotes(java.lang.String)", + "callable_declaration": "getQuotes(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -13830,14 +14086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", "type_declaration": "com.ibm.websphere.samples.daytrader.jaxrs.QuoteResource", - "signature": "getQuotes(String)", - "callable_declaration": "getQuotes(String)" + "signature": "getQuotes(java.lang.String)", + "callable_declaration": "getQuotes(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -13846,14 +14102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -13862,8 +14118,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", @@ -13878,14 +14134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -13894,14 +14150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -13910,14 +14166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -13926,14 +14182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -13942,14 +14198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession2", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -13958,14 +14214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TraceInterceptor", - "signature": "logMethodEntry(InvocationContext)", - "callable_declaration": "logMethodEntry(InvocationContext)" + "signature": "logMethodEntry(javax.interceptor.InvocationContext)", + "callable_declaration": "logMethodEntry(javax.interceptor.InvocationContext)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -13974,14 +14230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -13990,14 +14246,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletSetContentLength", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -14006,8 +14262,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -14022,14 +14278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -14198,8 +14454,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.java", @@ -14214,14 +14470,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync", - "signature": "onAsyncEvent2(String)", - "callable_declaration": "onAsyncEvent2(String)" + "signature": "onAsyncEvent2(java.lang.String)", + "callable_declaration": "onAsyncEvent2(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -14230,14 +14486,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -14246,14 +14502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -14262,14 +14518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletLargeContentLength", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletLargeContentLength", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -14278,8 +14534,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaJNDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingCDIBean.java", @@ -14294,14 +14550,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setUserID(String)", - "callable_declaration": "setUserID(String)" + "signature": "setUserID(java.lang.String)", + "callable_declaration": "setUserID(java.lang.String)" } }, { @@ -14310,14 +14566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setPassword(String)", - "callable_declaration": "setPassword(String)" + "signature": "setPassword(java.lang.String)", + "callable_declaration": "setPassword(java.lang.String)" } }, { @@ -14326,14 +14582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setFullName(String)", - "callable_declaration": "setFullName(String)" + "signature": "setFullName(java.lang.String)", + "callable_declaration": "setFullName(java.lang.String)" } }, { @@ -14342,14 +14598,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setAddress(String)", - "callable_declaration": "setAddress(String)" + "signature": "setAddress(java.lang.String)", + "callable_declaration": "setAddress(java.lang.String)" } }, { @@ -14358,14 +14614,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setEmail(String)", - "callable_declaration": "setEmail(String)" + "signature": "setEmail(java.lang.String)", + "callable_declaration": "setEmail(java.lang.String)" } }, { @@ -14374,14 +14630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "setCreditCard(String)", - "callable_declaration": "setCreditCard(String)" + "signature": "setCreditCard(java.lang.String)", + "callable_declaration": "setCreditCard(java.lang.String)" } }, { @@ -14476,8 +14732,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "rndEmail(String)", - "callable_declaration": "rndEmail(String)" + "signature": "rndEmail(java.lang.String)", + "callable_declaration": "rndEmail(java.lang.String)" } }, { @@ -14508,8 +14764,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -14732,8 +14988,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -14742,8 +14998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "OrdersAlertFilter(Instance)", - "callable_declaration": "OrdersAlertFilter(Instance)" + "signature": "OrdersAlertFilter(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -14758,8 +15014,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "OrdersAlertFilter(Instance)", - "callable_declaration": "OrdersAlertFilter(Instance)" + "signature": "OrdersAlertFilter(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -14774,14 +15030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "OrdersAlertFilter(Instance)", - "callable_declaration": "OrdersAlertFilter(Instance)" + "signature": "OrdersAlertFilter(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -14790,8 +15046,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -14806,14 +15062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -14822,14 +15078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -14838,14 +15094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -14854,8 +15110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -14870,8 +15126,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", @@ -14886,14 +15142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(String, Collection)", - "callable_declaration": "printCollection(String, Collection)" + "signature": "printCollection(java.lang.String, java.util.Collection)", + "callable_declaration": "printCollection(java.lang.String, java.util.Collection)" } }, { @@ -14902,14 +15158,206 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", - "callable_declaration": "doFilter(ServletRequest, ServletResponse, FilterChain)" + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", + "callable_declaration": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" } }, { @@ -14918,14 +15366,30 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" } }, { @@ -14934,14 +15398,62 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -14950,8 +15462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -14966,8 +15478,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -14982,8 +15494,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -14998,8 +15510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -15014,8 +15526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -15024,6 +15536,134 @@ "callable_declaration": "getChange()" } }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, { "type": "CALL_DEP", "weight": "1", @@ -15036,8 +15676,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.QuotePriceChangeListEncoder", - "signature": "encode(CopyOnWriteArrayList)", - "callable_declaration": "encode(CopyOnWriteArrayList)" + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", + "callable_declaration": "encode(java.util.concurrent.CopyOnWriteArrayList)" } }, { @@ -15372,8 +16012,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -15436,8 +16076,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -15740,8 +16380,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF", - "signature": "setResult(String)", - "callable_declaration": "setResult(String)" + "signature": "setResult(java.lang.String)", + "callable_declaration": "setResult(java.lang.String)" } }, { @@ -15757,7 +16397,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "signature": "RunStatsDataBean()", - "callable_declaration": "RunStatsDataBean()" + "callable_declaration": "()" } }, { @@ -15804,8 +16444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -15820,8 +16460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" } }, { @@ -15884,8 +16524,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -15900,8 +16540,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -15916,8 +16556,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" } }, { @@ -15942,8 +16582,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketTextAsync", - "signature": "ping(String)", - "callable_declaration": "ping(String)" + "signature": "ping(java.lang.String)", + "callable_declaration": "ping(java.lang.String)" }, "target": { "file_path": "<>", @@ -15958,14 +16598,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String, String)", - "callable_declaration": "log(String, String)" + "signature": "log(java.lang.String, java.lang.String)", + "callable_declaration": "log(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -15974,14 +16614,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String, String, String)", - "callable_declaration": "log(String, String, String)" + "signature": "log(java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "log(java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -15990,14 +16630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -16006,14 +16646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, String, Throwable)", - "callable_declaration": "error(String, String, Throwable)" + "signature": "error(java.lang.String, java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.String, java.lang.Throwable)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -16022,14 +16662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, String, String, Throwable)", - "callable_declaration": "error(String, String, String, Throwable)" + "signature": "error(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -16038,14 +16678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -16054,14 +16694,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -16070,14 +16710,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -16086,14 +16726,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16102,14 +16742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object)", - "callable_declaration": "trace(String, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16118,14 +16758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16134,14 +16774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16150,14 +16790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16166,14 +16806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16182,14 +16822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object, Object, Object, Object, Object, Object, Object)", - "callable_declaration": "trace(String, Object, Object, Object, Object, Object, Object, Object)" + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16198,14 +16838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "stat(String)", - "callable_declaration": "stat(String)" + "signature": "stat(java.lang.String)", + "callable_declaration": "stat(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16214,14 +16854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "print(String)", - "callable_declaration": "print(String)" + "signature": "print(java.lang.String)", + "callable_declaration": "print(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16230,8 +16870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -16246,8 +16886,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -16262,8 +16902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -16278,8 +16918,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", @@ -16294,8 +16934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -16310,8 +16950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -16326,8 +16966,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -16342,8 +16982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -16358,14 +16998,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printObject(Object)", - "callable_declaration": "printObject(Object)" + "signature": "printObject(java.lang.Object)", + "callable_declaration": "printObject(java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16374,8 +17014,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -16390,14 +17030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16406,8 +17046,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -16422,8 +17062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -16438,8 +17078,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -16454,8 +17094,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -16470,8 +17110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -16486,8 +17126,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", @@ -16502,8 +17142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -16518,8 +17158,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -16534,8 +17174,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -16550,8 +17190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -16566,14 +17206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16582,14 +17222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16598,14 +17238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(String, Collection)", - "callable_declaration": "printCollection(String, Collection)" + "signature": "printCollection(java.lang.String, java.util.Collection)", + "callable_declaration": "printCollection(java.lang.String, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -16614,14 +17254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(String, Collection)", - "callable_declaration": "printCollection(String, Collection)" + "signature": "printCollection(java.lang.String, java.util.Collection)", + "callable_declaration": "printCollection(java.lang.String, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "printCollection(Collection)", - "callable_declaration": "printCollection(Collection)" + "signature": "printCollection(java.util.Collection)", + "callable_declaration": "printCollection(java.util.Collection)" } }, { @@ -16630,8 +17270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeHoldingsTotal(Collection)", - "callable_declaration": "computeHoldingsTotal(Collection)" + "signature": "computeHoldingsTotal(java.util.Collection)", + "callable_declaration": "computeHoldingsTotal(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -16646,8 +17286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeHoldingsTotal(Collection)", - "callable_declaration": "computeHoldingsTotal(Collection)" + "signature": "computeHoldingsTotal(java.util.Collection)", + "callable_declaration": "computeHoldingsTotal(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -16662,8 +17302,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeHoldingsTotal(Collection)", - "callable_declaration": "computeHoldingsTotal(Collection)" + "signature": "computeHoldingsTotal(java.util.Collection)", + "callable_declaration": "computeHoldingsTotal(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -16678,8 +17318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeHoldingsTotal(Collection)", - "callable_declaration": "computeHoldingsTotal(Collection)" + "signature": "computeHoldingsTotal(java.util.Collection)", + "callable_declaration": "computeHoldingsTotal(java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -16710,14 +17350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -16726,14 +17366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16742,14 +17382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16758,14 +17398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -16774,8 +17414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "MarketSummaryJSF(Instance)", - "callable_declaration": "MarketSummaryJSF(Instance)" + "signature": "MarketSummaryJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -16790,8 +17430,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "MarketSummaryJSF(Instance)", - "callable_declaration": "MarketSummaryJSF(Instance)" + "signature": "MarketSummaryJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -16806,14 +17446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "MarketSummaryJSF(Instance)", - "callable_declaration": "MarketSummaryJSF(Instance)" + "signature": "MarketSummaryJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -16892,8 +17532,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "setSummaryDate(Date)", - "callable_declaration": "setSummaryDate(Date)" + "signature": "setSummaryDate(java.util.Date)", + "callable_declaration": "setSummaryDate(java.util.Date)" } }, { @@ -16924,8 +17564,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "setTSIA(BigDecimal)", - "callable_declaration": "setTSIA(BigDecimal)" + "signature": "setTSIA(java.math.BigDecimal)", + "callable_declaration": "setTSIA(java.math.BigDecimal)" } }, { @@ -16988,8 +17628,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "setGainPercent(BigDecimal)", - "callable_declaration": "setGainPercent(BigDecimal)" + "signature": "setGainPercent(java.math.BigDecimal)", + "callable_declaration": "setGainPercent(java.math.BigDecimal)" } }, { @@ -17100,8 +17740,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", - "signature": "QuoteData(BigDecimal, BigDecimal, String)", - "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String)" + "signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -17116,8 +17756,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "setTopGainers(QuoteData[])", - "callable_declaration": "setTopGainers(QuoteData[])" + "signature": "setTopGainers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", + "callable_declaration": "setTopGainers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])" } }, { @@ -17228,8 +17868,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", - "signature": "QuoteData(BigDecimal, BigDecimal, String)", - "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String)" + "signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -17244,8 +17884,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF", - "signature": "setTopLosers(QuoteData[])", - "callable_declaration": "setTopLosers(QuoteData[])" + "signature": "setTopLosers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", + "callable_declaration": "setTopLosers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])" } }, { @@ -17260,8 +17900,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainPercentHTML(BigDecimal)", - "callable_declaration": "printGainPercentHTML(BigDecimal)" + "signature": "printGainPercentHTML(java.math.BigDecimal)", + "callable_declaration": "printGainPercentHTML(java.math.BigDecimal)" } }, { @@ -17270,8 +17910,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -17286,8 +17926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -17302,8 +17942,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -17318,8 +17958,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -17334,8 +17974,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "signature": "add(QuoteDataBean)", - "callable_declaration": "add(QuoteDataBean)" + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -17351,7 +17991,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", "signature": "DTBroker3MDB()", - "callable_declaration": "DTBroker3MDB()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -17404,8 +18044,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -17414,14 +18054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -17430,14 +18070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -17446,14 +18086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -17462,14 +18102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -17478,14 +18118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -17494,14 +18134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -17510,14 +18150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -17526,14 +18166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" } }, { @@ -17542,8 +18182,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17558,8 +18198,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17574,8 +18214,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17590,8 +18230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17606,8 +18246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17622,14 +18262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -17638,14 +18278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -17654,14 +18294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -17670,14 +18310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" } }, { @@ -17686,8 +18326,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17702,8 +18342,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17718,8 +18358,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17734,8 +18374,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17750,8 +18390,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -17766,14 +18406,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -17782,14 +18422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -17798,14 +18438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB", - "signature": "onMessage(Message)", - "callable_declaration": "onMessage(Message)" + "signature": "onMessage(javax.jms.Message)", + "callable_declaration": "onMessage(javax.jms.Message)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -17820,8 +18460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", - "signature": "formatConstraintViolations(Set)", - "callable_declaration": "formatConstraintViolations(Set)" + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" } }, { @@ -17830,8 +18470,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", - "signature": "formatConstraintViolations(Set)", - "callable_declaration": "formatConstraintViolations(Set)" + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -17846,8 +18486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", - "signature": "formatConstraintViolations(Set)", - "callable_declaration": "formatConstraintViolations(Set)" + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -17856,14 +18496,142 @@ "callable_declaration": "next()" } }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "formatConstraintViolations(java.util.Set)", + "callable_declaration": "formatConstraintViolations(java.util.Set)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, { "type": "CALL_DEP", "weight": "1", "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -17878,8 +18646,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -17894,8 +18662,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -17910,8 +18678,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", @@ -17926,8 +18694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -17942,8 +18710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -17958,8 +18726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -17974,8 +18742,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -17990,14 +18758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String, Object)", - "callable_declaration": "trace(String, Object)" + "signature": "trace(java.lang.String, java.lang.Object)", + "callable_declaration": "trace(java.lang.String, java.lang.Object)" } }, { @@ -18006,8 +18774,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -18022,8 +18790,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -18038,8 +18806,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", @@ -18054,8 +18822,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", @@ -18070,8 +18838,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -18086,8 +18854,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -18102,8 +18870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -18118,8 +18886,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.LoginValidator", - "signature": "validate(FacesContext, UIComponent, Object)", - "callable_declaration": "validate(FacesContext, UIComponent, Object)" + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", + "callable_declaration": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -18134,8 +18902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", - "signature": "OrderDataJSF(Instance)", - "callable_declaration": "OrderDataJSF(Instance)" + "signature": "OrderDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18150,8 +18918,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", - "signature": "OrderDataJSF(Instance)", - "callable_declaration": "OrderDataJSF(Instance)" + "signature": "OrderDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18166,14 +18934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", - "signature": "OrderDataJSF(Instance)", - "callable_declaration": "OrderDataJSF(Instance)" + "signature": "OrderDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -18204,8 +18972,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -18220,8 +18988,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -18236,8 +19004,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -18412,8 +19180,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", - "callable_declaration": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)" + "signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)" } }, { @@ -18444,8 +19212,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -18492,8 +19260,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "setTotal(BigDecimal)", - "callable_declaration": "setTotal(BigDecimal)" + "signature": "setTotal(java.math.BigDecimal)", + "callable_declaration": "setTotal(java.math.BigDecimal)" } }, { @@ -18508,8 +19276,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", - "signature": "setAllOrders(OrderData[])", - "callable_declaration": "setAllOrders(OrderData[])" + "signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", + "callable_declaration": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])" } }, { @@ -18524,8 +19292,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderDataJSF", - "signature": "setOrderData(OrderData)", - "callable_declaration": "setOrderData(OrderData)" + "signature": "setOrderData(com.ibm.websphere.samples.daytrader.web.jsf.OrderData)", + "callable_declaration": "setOrderData(com.ibm.websphere.samples.daytrader.web.jsf.OrderData)" } }, { @@ -18534,14 +19302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -18550,14 +19318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "signature": "ActionMessage()", - "callable_declaration": "ActionMessage()" + "callable_declaration": "()" } }, { @@ -18566,14 +19334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionDecoder", - "signature": "decode(String)", - "callable_declaration": "decode(String)" + "signature": "decode(java.lang.String)", + "callable_declaration": "decode(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", - "signature": "doDecoding(String)", - "callable_declaration": "doDecoding(String)" + "signature": "doDecoding(java.lang.String)", + "callable_declaration": "doDecoding(java.lang.String)" } }, { @@ -18582,14 +19350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -18598,8 +19366,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -18614,14 +19382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -18630,8 +19398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "TestServlet(Instance)", - "callable_declaration": "TestServlet(Instance)" + "signature": "TestServlet(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18646,8 +19414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "TestServlet(Instance)", - "callable_declaration": "TestServlet(Instance)" + "signature": "TestServlet(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18662,14 +19430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "TestServlet(Instance)", - "callable_declaration": "TestServlet(Instance)" + "signature": "TestServlet(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -18678,14 +19446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -18694,14 +19462,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -18710,14 +19478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -18726,14 +19494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -18742,14 +19510,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -18758,14 +19526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -18774,14 +19542,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -18791,13 +19559,13 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "signature": "SimpleBean2()", - "callable_declaration": "SimpleBean2()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "signature": "SimpleBean1()", - "callable_declaration": "SimpleBean1()" + "callable_declaration": "()" } }, { @@ -18806,8 +19574,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "TradeServletAction()", - "callable_declaration": "TradeServletAction()" + "signature": "TradeServletAction(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18822,8 +19590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "TradeServletAction()", - "callable_declaration": "TradeServletAction()" + "signature": "TradeServletAction(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18838,14 +19606,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "TradeServletAction()", - "callable_declaration": "TradeServletAction()" + "signature": "TradeServletAction(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -18854,14 +19622,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -18870,14 +19638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -18886,14 +19654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -18902,14 +19670,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -18918,14 +19686,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -18934,14 +19702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -18950,8 +19718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -18966,14 +19734,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -18982,14 +19750,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -18998,14 +19766,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -19014,8 +19782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19030,14 +19798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19046,8 +19814,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19062,14 +19830,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19078,14 +19846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, String, Throwable)", - "callable_declaration": "error(String, String, Throwable)" + "signature": "error(java.lang.String, java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.String, java.lang.Throwable)" } }, { @@ -19094,14 +19862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19110,14 +19878,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -19126,14 +19894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -19142,14 +19910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -19158,14 +19926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19174,14 +19942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19190,8 +19958,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19206,14 +19974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -19222,14 +19990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -19238,14 +20006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -19254,8 +20022,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19270,14 +20038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19286,14 +20054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19302,8 +20070,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19318,14 +20086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19334,14 +20102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -19350,14 +20118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -19366,14 +20134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -19382,14 +20150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19398,14 +20166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19414,14 +20182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19430,8 +20198,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19446,14 +20214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19462,14 +20230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -19478,14 +20246,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -19494,8 +20262,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19510,14 +20278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19526,14 +20294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -19542,14 +20310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -19558,14 +20326,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -19574,14 +20342,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19590,14 +20358,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String, String, String)", - "callable_declaration": "log(String, String, String)" + "signature": "log(java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "log(java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19606,14 +20374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19622,8 +20390,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19638,14 +20406,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19654,14 +20422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -19670,14 +20438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -19686,14 +20454,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -19702,14 +20470,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19718,14 +20486,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -19734,8 +20502,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19750,14 +20518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19766,14 +20534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19782,14 +20550,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19798,14 +20566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -19814,8 +20582,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -19830,8 +20598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -19846,8 +20614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -19862,8 +20630,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -19878,14 +20646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -19894,14 +20662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -19910,14 +20678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -19926,8 +20694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19942,14 +20710,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19958,8 +20726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -19974,14 +20742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -19990,14 +20758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20006,14 +20774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -20022,14 +20790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -20038,14 +20806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -20054,8 +20822,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20070,14 +20838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20086,14 +20854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -20102,14 +20870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -20118,14 +20886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -20134,8 +20902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20150,14 +20918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20166,14 +20934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20182,8 +20950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -20198,8 +20966,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20214,14 +20982,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20230,8 +20998,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20246,14 +21014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -20262,14 +21030,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -20278,14 +21046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -20294,14 +21062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20310,8 +21078,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20326,14 +21094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20342,8 +21110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20358,14 +21126,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20374,8 +21142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20390,14 +21158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -20406,14 +21174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -20422,14 +21190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -20438,14 +21206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -20454,8 +21222,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20470,14 +21238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -20486,14 +21254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -20502,8 +21270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" + "signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "", @@ -20518,8 +21286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" + "signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20534,14 +21302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "signature": "RunStatsDataBean()", - "callable_declaration": "RunStatsDataBean()" + "callable_declaration": "()" } }, { @@ -20550,8 +21318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "", @@ -20566,8 +21334,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", @@ -20582,14 +21350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -20598,8 +21366,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20614,8 +21382,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20630,8 +21398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20646,8 +21414,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20662,8 +21430,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20678,14 +21446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20694,8 +21462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20710,8 +21478,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20726,8 +21494,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20742,8 +21510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20758,14 +21526,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20774,8 +21542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20790,8 +21558,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20806,8 +21574,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20822,8 +21590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20838,14 +21606,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20854,8 +21622,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20870,8 +21638,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20886,14 +21654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20902,8 +21670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20918,8 +21686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20934,8 +21702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20950,8 +21718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20966,14 +21734,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -20982,8 +21750,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -20998,8 +21766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21014,8 +21782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21030,14 +21798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -21046,8 +21814,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21062,8 +21830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21078,8 +21846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21094,8 +21862,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21110,8 +21878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21126,8 +21894,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21142,14 +21910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -21158,8 +21926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21174,8 +21942,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21190,8 +21958,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21206,8 +21974,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21222,8 +21990,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21238,8 +22006,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21254,8 +22022,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21270,14 +22038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" + "signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -21286,14 +22054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doConfigUpdate(HttpServletRequest, HttpServletResponse)" + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -21302,14 +22070,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doResetTrade(HttpServletRequest, HttpServletResponse, String)" + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -21318,14 +22086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" } }, { @@ -21334,8 +22102,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -21350,8 +22118,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", @@ -21366,14 +22134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -21382,14 +22150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -21398,14 +22166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" } }, { @@ -21414,14 +22182,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)" + "signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -21430,14 +22198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeConfigServlet", - "signature": "service(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "service(HttpServletRequest, HttpServletResponse)" + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" } }, { @@ -21446,8 +22214,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", - "signature": "compare(QuoteDataBean, QuoteDataBean)", - "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" + "signature": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -21462,8 +22230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", - "signature": "compare(QuoteDataBean, QuoteDataBean)", - "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" + "signature": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -21484,8 +22252,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator", - "signature": "compare(QuoteDataBean, QuoteDataBean)", - "callable_declaration": "compare(QuoteDataBean, QuoteDataBean)" + "signature": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -21494,14 +22262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -21510,14 +22278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -21526,14 +22294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingSession1", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -21622,8 +22390,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -21638,8 +22406,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -21654,8 +22422,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -21670,14 +22438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -21686,14 +22454,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "callable_declaration": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)" + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "callable_declaration": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)" } }, { @@ -21702,8 +22470,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -21718,8 +22486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -21734,8 +22502,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -21750,14 +22518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -21766,14 +22534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -21782,8 +22550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -21798,14 +22566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -21814,8 +22582,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -21830,8 +22598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -21846,8 +22614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -21862,14 +22630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -21878,14 +22646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" } }, { @@ -21894,8 +22662,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -21910,14 +22678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "sell(String, Integer, int)", - "callable_declaration": "sell(String, Integer, int)" + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "callable_declaration": "sell(java.lang.String, java.lang.Integer, int)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" } }, { @@ -21926,8 +22694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -21942,8 +22710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -21958,8 +22726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -21974,14 +22742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -21990,14 +22758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "queueOrder(Integer, boolean)", - "callable_declaration": "queueOrder(Integer, boolean)" + "signature": "queueOrder(java.lang.Integer, boolean)", + "callable_declaration": "queueOrder(java.lang.Integer, boolean)" } }, { @@ -22006,8 +22774,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22022,8 +22790,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22038,8 +22806,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22054,14 +22822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -22070,14 +22838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -22086,14 +22854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrderAsync(Integer, boolean)", - "callable_declaration": "completeOrderAsync(Integer, boolean)" + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "callable_declaration": "completeOrderAsync(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrderSubmitter", - "signature": "submitOrder(Integer, boolean)", - "callable_declaration": "submitOrder(Integer, boolean)" + "signature": "submitOrder(java.lang.Integer, boolean)", + "callable_declaration": "submitOrder(java.lang.Integer, boolean)" } }, { @@ -22102,8 +22870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22118,8 +22886,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22134,8 +22902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22150,14 +22918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" } }, { @@ -22166,14 +22934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "cancelOrder(Integer, boolean)", - "callable_declaration": "cancelOrder(Integer, boolean)" + "signature": "cancelOrder(java.lang.Integer, boolean)", + "callable_declaration": "cancelOrder(java.lang.Integer, boolean)" } }, { @@ -22182,8 +22950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22198,8 +22966,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22214,8 +22982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22230,14 +22998,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" } }, { @@ -22246,14 +23014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "orderCompleted(String, Integer)", - "callable_declaration": "orderCompleted(String, Integer)" + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callable_declaration": "orderCompleted(java.lang.String, java.lang.Integer)" } }, { @@ -22262,8 +23030,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22278,8 +23046,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22294,8 +23062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22310,14 +23078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -22326,14 +23094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -22342,8 +23110,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22358,8 +23126,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22374,8 +23142,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22390,14 +23158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -22406,14 +23174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -22422,8 +23190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22438,8 +23206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22454,8 +23222,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22470,14 +23238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -22486,14 +23254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -22502,8 +23270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22518,8 +23286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22534,8 +23302,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22550,14 +23318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -22566,14 +23334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -22662,8 +23430,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22678,8 +23446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22694,8 +23462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22710,14 +23478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -22726,14 +23494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "callable_declaration": "updateQuotePriceVolume(String, BigDecimal, double)" + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "callable_declaration": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)" } }, { @@ -22742,8 +23510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22758,8 +23526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22774,8 +23542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22790,14 +23558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -22806,14 +23574,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -22822,8 +23590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22838,8 +23606,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22854,8 +23622,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22870,14 +23638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" } }, { @@ -22886,14 +23654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHolding(Integer)", - "callable_declaration": "getHolding(Integer)" + "signature": "getHolding(java.lang.Integer)", + "callable_declaration": "getHolding(java.lang.Integer)" } }, { @@ -22902,8 +23670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22918,8 +23686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -22934,8 +23702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -22950,14 +23718,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -22966,14 +23734,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -22982,8 +23750,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -22998,8 +23766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -23014,8 +23782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -23030,14 +23798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -23046,14 +23814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -23062,8 +23830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -23078,8 +23846,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -23094,8 +23862,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -23110,14 +23878,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -23126,14 +23894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -23142,8 +23910,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -23158,8 +23926,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -23174,8 +23942,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -23190,14 +23958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -23206,14 +23974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -23222,8 +23990,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -23238,8 +24006,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -23254,8 +24022,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -23270,14 +24038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -23286,14 +24054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -23302,8 +24070,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -23318,8 +24086,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -23334,8 +24102,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -23350,14 +24118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -23366,14 +24134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -23382,14 +24150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -23398,8 +24166,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -23414,8 +24182,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -23430,14 +24198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" } }, { @@ -23446,14 +24214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -23462,8 +24230,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "", @@ -23478,14 +24246,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", - "signature": "setMsg(String)", - "callable_declaration": "setMsg(String)" + "signature": "setMsg(java.lang.String)", + "callable_declaration": "setMsg(java.lang.String)" } }, { @@ -23494,14 +24262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Servlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23510,14 +24278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -23526,14 +24294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23548,8 +24316,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -23580,8 +24348,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -23596,8 +24364,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "debug(String)", - "callable_declaration": "debug(String)" + "signature": "debug(java.lang.String)", + "callable_declaration": "debug(java.lang.String)" } }, { @@ -23676,8 +24444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" } }, { @@ -23692,8 +24460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", - "signature": "setMarketSummaryDataBean(MarketSummaryDataBean)", - "callable_declaration": "setMarketSummaryDataBean(MarketSummaryDataBean)" + "signature": "setMarketSummaryDataBean(com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean)", + "callable_declaration": "setMarketSummaryDataBean(com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean)" } }, { @@ -23718,14 +24486,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "parseDDLToBuffer(InputStream)", - "callable_declaration": "parseDDLToBuffer(InputStream)" + "signature": "parseDDLToBuffer(java.io.InputStream)", + "callable_declaration": "parseDDLToBuffer(java.io.InputStream)" } }, { @@ -23734,14 +24502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23750,14 +24518,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" } }, { @@ -23766,14 +24534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23782,8 +24550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23798,8 +24566,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", @@ -23814,14 +24582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23830,8 +24598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23846,8 +24614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23862,14 +24630,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -23878,14 +24646,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -23894,14 +24662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "createQuote(String, String, BigDecimal)", - "callable_declaration": "createQuote(String, String, BigDecimal)" + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -23910,14 +24678,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -23926,8 +24694,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23942,8 +24710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23958,8 +24726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -23974,14 +24742,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "rndEmail(String)", - "callable_declaration": "rndEmail(String)" + "signature": "rndEmail(java.lang.String)", + "callable_declaration": "rndEmail(java.lang.String)" } }, { @@ -23990,8 +24758,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24006,8 +24774,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24022,8 +24790,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24038,14 +24806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -24054,14 +24822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -24070,14 +24838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -24086,8 +24854,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -24102,8 +24870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24118,8 +24886,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24134,8 +24902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24150,8 +24918,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24166,8 +24934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24182,14 +24950,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -24198,14 +24966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -24214,14 +24982,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -24230,14 +24998,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "buildDB(java.io.PrintWriter, InputStream)", - "callable_declaration": "buildDB(java.io.PrintWriter, InputStream)" + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", + "callable_declaration": "buildDB(java.io.PrintWriter, java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -24246,8 +25014,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -24262,8 +25030,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", @@ -24278,14 +25046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -24294,14 +25062,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "callable_declaration": "recreateDBTables(Object[], java.io.PrintWriter)" + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", + "callable_declaration": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -24310,14 +25078,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "parseDDLToBuffer(InputStream)", - "callable_declaration": "parseDDLToBuffer(InputStream)" + "signature": "parseDDLToBuffer(java.io.InputStream)", + "callable_declaration": "parseDDLToBuffer(java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -24326,14 +25094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "parseDDLToBuffer(InputStream)", - "callable_declaration": "parseDDLToBuffer(InputStream)" + "signature": "parseDDLToBuffer(java.io.InputStream)", + "callable_declaration": "parseDDLToBuffer(java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -24342,14 +25110,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", - "signature": "parseDDLToBuffer(InputStream)", - "callable_declaration": "parseDDLToBuffer(InputStream)" + "signature": "parseDDLToBuffer(java.io.InputStream)", + "callable_declaration": "parseDDLToBuffer(java.io.InputStream)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -24534,14 +25302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -24550,8 +25318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24566,8 +25334,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -24582,14 +25350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -24598,14 +25366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -24614,14 +25382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -24630,8 +25398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -24646,14 +25414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -24662,14 +25430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "setTSIA(BigDecimal)", - "callable_declaration": "setTSIA(BigDecimal)" + "signature": "setTSIA(java.math.BigDecimal)", + "callable_declaration": "setTSIA(java.math.BigDecimal)" } }, { @@ -24678,14 +25446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "setOpenTSIA(BigDecimal)", - "callable_declaration": "setOpenTSIA(BigDecimal)" + "signature": "setOpenTSIA(java.math.BigDecimal)", + "callable_declaration": "setOpenTSIA(java.math.BigDecimal)" } }, { @@ -24694,8 +25462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -24710,14 +25478,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "setTopGainers(Collection)", - "callable_declaration": "setTopGainers(Collection)" + "signature": "setTopGainers(java.util.Collection)", + "callable_declaration": "setTopGainers(java.util.Collection)" } }, { @@ -24726,14 +25494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "setTopLosers(Collection)", - "callable_declaration": "setTopLosers(Collection)" + "signature": "setTopLosers(java.util.Collection)", + "callable_declaration": "setTopLosers(java.util.Collection)" } }, { @@ -24742,14 +25510,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "setSummaryDate(Date)", - "callable_declaration": "setSummaryDate(Date)" + "signature": "setSummaryDate(java.util.Date)", + "callable_declaration": "setSummaryDate(java.util.Date)" } }, { @@ -24758,8 +25526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -24774,8 +25542,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -24790,14 +25558,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", - "callable_declaration": "computeGainPercent(BigDecimal, BigDecimal)" + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -24892,8 +25660,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", - "callable_declaration": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)" + "signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)" } }, { @@ -25548,8 +26316,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -25596,8 +26364,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", - "callable_declaration": "computeGainPercent(BigDecimal, BigDecimal)" + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -25606,14 +26374,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "init(ServletConfig)", - "callable_declaration": "init(ServletConfig)" + "signature": "init(javax.servlet.ServletConfig)", + "callable_declaration": "init(javax.servlet.ServletConfig)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" } }, { @@ -25628,8 +26396,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -25644,8 +26412,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -25654,14 +26422,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -25670,14 +26438,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String, Throwable)", - "callable_declaration": "error(String, Throwable)" + "signature": "error(java.lang.String, java.lang.Throwable)", + "callable_declaration": "error(java.lang.String, java.lang.Throwable)" } }, { @@ -25686,8 +26454,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25702,8 +26470,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25718,8 +26486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25734,8 +26502,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25750,8 +26518,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25766,8 +26534,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25782,8 +26550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25798,8 +26566,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25814,14 +26582,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "rndEmail(String)", - "callable_declaration": "rndEmail(String)" + "signature": "rndEmail(java.lang.String)", + "callable_declaration": "rndEmail(java.lang.String)" } }, { @@ -25830,8 +26598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25846,8 +26614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -25862,8 +26630,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -25878,8 +26646,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -25894,8 +26662,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -25910,8 +26678,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -25926,14 +26694,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -25942,8 +26710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25958,8 +26726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25974,8 +26742,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeScenarioServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -25990,8 +26758,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "QuoteJSF(Instance)", - "callable_declaration": "QuoteJSF(Instance)" + "signature": "QuoteJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -26006,8 +26774,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "QuoteJSF(Instance)", - "callable_declaration": "QuoteJSF(Instance)" + "signature": "QuoteJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -26022,14 +26790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "QuoteJSF(Instance)", - "callable_declaration": "QuoteJSF(Instance)" + "signature": "QuoteJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -26060,8 +26828,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "setSymbols(String)", - "callable_declaration": "setSymbols(String)" + "signature": "setSymbols(java.lang.String)", + "callable_declaration": "setSymbols(java.lang.String)" } }, { @@ -26092,8 +26860,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "setSymbols(String)", - "callable_declaration": "setSymbols(String)" + "signature": "setSymbols(java.lang.String)", + "callable_declaration": "setSymbols(java.lang.String)" } }, { @@ -26124,8 +26892,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -26140,8 +26908,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -26156,8 +26924,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -26300,8 +27068,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", - "signature": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)", - "callable_declaration": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)" + "signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)", + "callable_declaration": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)" } }, { @@ -26316,8 +27084,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -26332,8 +27100,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF", - "signature": "setQuotes(QuoteData[])", - "callable_declaration": "setQuotes(QuoteData[])" + "signature": "setQuotes(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", + "callable_declaration": "setQuotes(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])" } }, { @@ -26380,8 +27148,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -26396,8 +27164,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -26412,8 +27180,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "buy(String, String, double, int)", - "callable_declaration": "buy(String, String, double, int)" + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "callable_declaration": "buy(java.lang.String, java.lang.String, double, int)" } }, { @@ -26556,8 +27324,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", - "callable_declaration": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)" + "signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)" } }, { @@ -26572,8 +27340,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -26582,14 +27350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2IncludeRcv", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2IncludeRcv", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26598,14 +27366,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26614,8 +27382,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -26630,8 +27398,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -26646,14 +27414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -26662,14 +27430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -26678,14 +27446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -26694,14 +27462,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -26710,8 +27478,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -26726,8 +27494,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -26742,8 +27510,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -26758,8 +27526,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", @@ -26774,14 +27542,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -26806,14 +27574,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26822,8 +27590,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -26838,8 +27606,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -26854,8 +27622,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -26870,8 +27638,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -26886,14 +27654,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -26902,14 +27670,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -26918,14 +27686,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26934,14 +27702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -26950,14 +27718,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "init(ServletConfig)", - "callable_declaration": "init(ServletConfig)" + "signature": "init(javax.servlet.ServletConfig)", + "callable_declaration": "init(javax.servlet.ServletConfig)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "signature": "setConfigParam(String, String)", - "callable_declaration": "setConfigParam(String, String)" + "signature": "setConfigParam(java.lang.String, java.lang.String)", + "callable_declaration": "setConfigParam(java.lang.String, java.lang.String)" } }, { @@ -26972,8 +27740,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26988,8 +27756,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -26998,14 +27766,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -27014,14 +27782,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -27030,14 +27798,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", - "callable_declaration": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)" + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -27046,14 +27814,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -27062,8 +27830,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -27078,14 +27846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "pushHeaderImages(PushBuilder)", - "callable_declaration": "pushHeaderImages(PushBuilder)" + "signature": "pushHeaderImages(javax.servlet.http.PushBuilder)", + "callable_declaration": "pushHeaderImages(javax.servlet.http.PushBuilder)" } }, { @@ -27094,14 +27862,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -27110,14 +27878,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "callable_declaration": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)" + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -27126,14 +27894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", - "callable_declaration": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)" + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", + "callable_declaration": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)" } }, { @@ -27142,14 +27910,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -27158,14 +27926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -27174,14 +27942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -27190,14 +27958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "callable_declaration": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)" + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "callable_declaration": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)" } }, { @@ -27206,14 +27974,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", - "callable_declaration": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)" + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -27222,14 +27990,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -27238,14 +28006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "performTask(HttpServletRequest, HttpServletResponse)" + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "callable_declaration": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)" + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "callable_declaration": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)" } }, { @@ -27254,14 +28022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "pushHeaderImages(PushBuilder)", - "callable_declaration": "pushHeaderImages(PushBuilder)" + "signature": "pushHeaderImages(javax.servlet.http.PushBuilder)", + "callable_declaration": "pushHeaderImages(javax.servlet.http.PushBuilder)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -27270,14 +28038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.servlet.TradeAppServlet", - "signature": "pushHeaderImages(PushBuilder)", - "callable_declaration": "pushHeaderImages(PushBuilder)" + "signature": "pushHeaderImages(javax.servlet.http.PushBuilder)", + "callable_declaration": "pushHeaderImages(javax.servlet.http.PushBuilder)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -27286,14 +28054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setAccountID(Integer)", - "callable_declaration": "setAccountID(Integer)" + "signature": "setAccountID(java.lang.Integer)", + "callable_declaration": "setAccountID(java.lang.Integer)" } }, { @@ -27302,8 +28070,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27318,8 +28086,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27334,14 +28102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setLastLogin(Date)", - "callable_declaration": "setLastLogin(Date)" + "signature": "setLastLogin(java.util.Date)", + "callable_declaration": "setLastLogin(java.util.Date)" } }, { @@ -27350,14 +28118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setCreationDate(Date)", - "callable_declaration": "setCreationDate(Date)" + "signature": "setCreationDate(java.util.Date)", + "callable_declaration": "setCreationDate(java.util.Date)" } }, { @@ -27366,14 +28134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setBalance(BigDecimal)", - "callable_declaration": "setBalance(BigDecimal)" + "signature": "setBalance(java.math.BigDecimal)", + "callable_declaration": "setBalance(java.math.BigDecimal)" } }, { @@ -27382,14 +28150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setOpenBalance(BigDecimal)", - "callable_declaration": "setOpenBalance(BigDecimal)" + "signature": "setOpenBalance(java.math.BigDecimal)", + "callable_declaration": "setOpenBalance(java.math.BigDecimal)" } }, { @@ -27398,14 +28166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setProfileID(String)", - "callable_declaration": "setProfileID(String)" + "signature": "setProfileID(java.lang.String)", + "callable_declaration": "setProfileID(java.lang.String)" } }, { @@ -27414,8 +28182,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27430,8 +28198,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27446,14 +28214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setLastLogin(Date)", - "callable_declaration": "setLastLogin(Date)" + "signature": "setLastLogin(java.util.Date)", + "callable_declaration": "setLastLogin(java.util.Date)" } }, { @@ -27462,14 +28230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setCreationDate(Date)", - "callable_declaration": "setCreationDate(Date)" + "signature": "setCreationDate(java.util.Date)", + "callable_declaration": "setCreationDate(java.util.Date)" } }, { @@ -27478,14 +28246,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setBalance(BigDecimal)", - "callable_declaration": "setBalance(BigDecimal)" + "signature": "setBalance(java.math.BigDecimal)", + "callable_declaration": "setBalance(java.math.BigDecimal)" } }, { @@ -27494,14 +28262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setOpenBalance(BigDecimal)", - "callable_declaration": "setOpenBalance(BigDecimal)" + "signature": "setOpenBalance(java.math.BigDecimal)", + "callable_declaration": "setOpenBalance(java.math.BigDecimal)" } }, { @@ -27510,14 +28278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setProfileID(String)", - "callable_declaration": "setProfileID(String)" + "signature": "setProfileID(java.lang.String)", + "callable_declaration": "setProfileID(java.lang.String)" } }, { @@ -27644,8 +28412,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", - "callable_declaration": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)" + "signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -27932,8 +28700,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -27942,8 +28710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27958,8 +28726,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -27974,8 +28742,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -27990,8 +28758,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -28006,8 +28774,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", @@ -28022,14 +28790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "setLastLogin(Date)", - "callable_declaration": "setLastLogin(Date)" + "signature": "setLastLogin(java.util.Date)", + "callable_declaration": "setLastLogin(java.util.Date)" } }, { @@ -28038,8 +28806,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -28054,8 +28822,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "signature": "login(String)", - "callable_declaration": "login(String)" + "signature": "login(java.lang.String)", + "callable_declaration": "login(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -28102,14 +28870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setSymbol(String)", - "callable_declaration": "setSymbol(String)" + "signature": "setSymbol(java.lang.String)", + "callable_declaration": "setSymbol(java.lang.String)" } }, { @@ -28118,14 +28886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setCompanyName(String)", - "callable_declaration": "setCompanyName(String)" + "signature": "setCompanyName(java.lang.String)", + "callable_declaration": "setCompanyName(java.lang.String)" } }, { @@ -28134,8 +28902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -28150,14 +28918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -28166,14 +28934,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setOpen(BigDecimal)", - "callable_declaration": "setOpen(BigDecimal)" + "signature": "setOpen(java.math.BigDecimal)", + "callable_declaration": "setOpen(java.math.BigDecimal)" } }, { @@ -28182,14 +28950,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setLow(BigDecimal)", - "callable_declaration": "setLow(BigDecimal)" + "signature": "setLow(java.math.BigDecimal)", + "callable_declaration": "setLow(java.math.BigDecimal)" } }, { @@ -28198,14 +28966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setHigh(BigDecimal)", - "callable_declaration": "setHigh(BigDecimal)" + "signature": "setHigh(java.math.BigDecimal)", + "callable_declaration": "setHigh(java.math.BigDecimal)" } }, { @@ -28214,8 +28982,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -28364,8 +29132,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", - "callable_declaration": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)" + "signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "callable_declaration": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)" } }, { @@ -28374,14 +29142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "QuoteDataBean(String)", - "callable_declaration": "QuoteDataBean(String)" + "signature": "QuoteDataBean()", + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "signature": "setSymbol(String)", - "callable_declaration": "setSymbol(String)" + "signature": "setSymbol(java.lang.String)", + "callable_declaration": "setSymbol(java.lang.String)" } }, { @@ -28668,8 +29436,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -28678,8 +29446,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", - "signature": "encode(JsonMessage)", - "callable_declaration": "encode(JsonMessage)" + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", @@ -28694,8 +29462,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", - "signature": "encode(JsonMessage)", - "callable_declaration": "encode(JsonMessage)" + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", @@ -28704,6 +29472,134 @@ "callable_declaration": "getValue()" } }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, { "type": "CALL_DEP", "weight": "1", @@ -28716,8 +29612,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonEncoder", - "signature": "encode(JsonMessage)", - "callable_declaration": "encode(JsonMessage)" + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "callable_declaration": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)" } }, { @@ -28742,14 +29638,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingReentryServlet", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingReentryServlet", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -28765,7 +29661,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", "signature": "MDBStats()", - "callable_declaration": "MDBStats()" + "callable_declaration": "()" } }, { @@ -28774,8 +29670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "<>", @@ -28790,8 +29686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28806,8 +29702,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28822,8 +29718,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28838,8 +29734,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28854,8 +29750,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28870,8 +29766,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28886,8 +29782,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28902,8 +29798,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "signature": "addTiming(String, long, long)", - "callable_declaration": "addTiming(String, long, long)" + "signature": "addTiming(java.lang.String, long, long)", + "callable_declaration": "addTiming(java.lang.String, long, long)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TimerStat.java", @@ -28950,14 +29846,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -28966,8 +29862,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -28982,8 +29878,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -28998,14 +29894,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -29014,8 +29910,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -29030,14 +29926,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -29046,14 +29942,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", - "signature": "submitOrder(Integer, boolean)", - "callable_declaration": "submitOrder(Integer, boolean)" + "signature": "submitOrder(java.lang.Integer, boolean)", + "callable_declaration": "submitOrder(java.lang.Integer, boolean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder", - "signature": "setProperties(Integer, boolean)", - "callable_declaration": "setProperties(Integer, boolean)" + "signature": "setProperties(java.lang.Integer, boolean)", + "callable_declaration": "setProperties(java.lang.Integer, boolean)" } }, { @@ -29062,14 +29958,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -29078,8 +29974,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29094,8 +29990,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29110,14 +30006,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -29126,14 +30022,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -29142,14 +30038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -29158,14 +30054,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String)", - "callable_declaration": "error(Throwable, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String)" } }, { @@ -29190,8 +30086,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "TradeAppJSF(Instance)", - "callable_declaration": "TradeAppJSF(Instance)" + "signature": "TradeAppJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29206,8 +30102,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "TradeAppJSF(Instance)", - "callable_declaration": "TradeAppJSF(Instance)" + "signature": "TradeAppJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29222,14 +30118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "TradeAppJSF(Instance)", - "callable_declaration": "TradeAppJSF(Instance)" + "signature": "TradeAppJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -29244,8 +30140,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -29260,8 +30156,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -29276,8 +30172,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "login(String, String)", - "callable_declaration": "login(String, String)" + "signature": "login(java.lang.String, java.lang.String)", + "callable_declaration": "login(java.lang.String, java.lang.String)" } }, { @@ -29292,8 +30188,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -29308,8 +30204,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -29324,8 +30220,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountProfileData(String)", - "callable_declaration": "getAccountProfileData(String)" + "signature": "getAccountProfileData(java.lang.String)", + "callable_declaration": "getAccountProfileData(java.lang.String)" } }, { @@ -29340,8 +30236,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29372,8 +30268,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setAddress(String)", - "callable_declaration": "setAddress(String)" + "signature": "setAddress(java.lang.String)", + "callable_declaration": "setAddress(java.lang.String)" } }, { @@ -29404,8 +30300,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setCcn(String)", - "callable_declaration": "setCcn(String)" + "signature": "setCcn(java.lang.String)", + "callable_declaration": "setCcn(java.lang.String)" } }, { @@ -29436,8 +30332,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setEmail(String)", - "callable_declaration": "setEmail(String)" + "signature": "setEmail(java.lang.String)", + "callable_declaration": "setEmail(java.lang.String)" } }, { @@ -29468,8 +30364,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setFullname(String)", - "callable_declaration": "setFullname(String)" + "signature": "setFullname(java.lang.String)", + "callable_declaration": "setFullname(java.lang.String)" } }, { @@ -29500,8 +30396,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setCpassword(String)", - "callable_declaration": "setCpassword(String)" + "signature": "setCpassword(java.lang.String)", + "callable_declaration": "setCpassword(java.lang.String)" } }, { @@ -29516,8 +30412,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String, String, String)", - "callable_declaration": "log(String, String, String)" + "signature": "log(java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "log(java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29532,8 +30428,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29548,8 +30444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -29564,8 +30460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -29580,8 +30476,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "callable_declaration": "register(String, String, String, String, String, String, BigDecimal)" + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)" } }, { @@ -29596,8 +30492,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29644,8 +30540,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29660,8 +30556,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29676,8 +30572,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -29692,8 +30588,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "callable_declaration": "AccountProfileDataBean(String, String, String, String, String, String)" + "signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29708,8 +30604,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -29724,8 +30620,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -29740,8 +30636,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "callable_declaration": "updateAccountProfile(AccountProfileDataBean)" + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "callable_declaration": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)" } }, { @@ -29756,8 +30652,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29772,8 +30668,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29788,8 +30684,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29804,8 +30700,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -29820,8 +30716,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -29836,8 +30732,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "logout(String)", - "callable_declaration": "logout(String)" + "signature": "logout(java.lang.String)", + "callable_declaration": "logout(java.lang.String)" } }, { @@ -29852,8 +30748,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF", - "signature": "setResults(String)", - "callable_declaration": "setResults(String)" + "signature": "setResults(java.lang.String)", + "callable_declaration": "setResults(java.lang.String)" } }, { @@ -29868,8 +30764,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29884,8 +30780,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29900,8 +30796,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String, String, String)", - "callable_declaration": "error(Throwable, String, String, String)" + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)" } }, { @@ -29911,7 +30807,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", - "callable_declaration": "MarketSummaryWebSocket()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29927,7 +30823,7 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", - "callable_declaration": "MarketSummaryWebSocket()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -29943,13 +30839,13 @@ "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", "signature": "MarketSummaryWebSocket()", - "callable_declaration": "MarketSummaryWebSocket()" + "callable_declaration": "()" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -29958,14 +30854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onOpen(Session, EndpointConfig)", - "callable_declaration": "onOpen(Session, EndpointConfig)" + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", + "callable_declaration": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -29974,8 +30870,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", @@ -29990,14 +30886,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30006,8 +30902,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -30022,8 +30918,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -30038,8 +30934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -30054,8 +30950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -30070,14 +30966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30086,8 +30982,136 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -30102,8 +31126,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "sendMarketSummary(ActionMessage, Session)", - "callable_declaration": "sendMarketSummary(ActionMessage, Session)" + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", + "callable_declaration": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -30118,14 +31142,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onError(Throwable, Session)", - "callable_declaration": "onError(Throwable, Session)" + "signature": "onError(java.lang.Throwable, javax.websocket.Session)", + "callable_declaration": "onError(java.lang.Throwable, javax.websocket.Session)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30134,14 +31158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onClose(Session, CloseReason)", - "callable_declaration": "onClose(Session, CloseReason)" + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", + "callable_declaration": "onClose(javax.websocket.Session, javax.websocket.CloseReason)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30150,14 +31174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onStockChange(String)", - "callable_declaration": "onStockChange(String)" + "signature": "onStockChange(java.lang.String)", + "callable_declaration": "onStockChange(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30166,8 +31190,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onStockChange(String)", - "callable_declaration": "onStockChange(String)" + "signature": "onStockChange(java.lang.String)", + "callable_declaration": "onStockChange(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -30182,8 +31206,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onStockChange(String)", - "callable_declaration": "onStockChange(String)" + "signature": "onStockChange(java.lang.String)", + "callable_declaration": "onStockChange(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -30198,8 +31222,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onStockChange(String)", - "callable_declaration": "onStockChange(String)" + "signature": "onStockChange(java.lang.String)", + "callable_declaration": "onStockChange(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", @@ -30214,14 +31238,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "trace(String)", - "callable_declaration": "trace(String)" + "signature": "trace(java.lang.String)", + "callable_declaration": "trace(java.lang.String)" } }, { @@ -30230,8 +31254,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", @@ -30246,8 +31270,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", @@ -30262,8 +31286,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", @@ -30278,8 +31302,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", @@ -30294,8 +31318,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -30310,8 +31334,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", - "signature": "onMarketSummarytUpdate(String)", - "callable_declaration": "onMarketSummarytUpdate(String)" + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -30320,6 +31344,134 @@ "callable_declaration": "next()" } }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, + { + "type": "CALL_DEP", + "weight": "1", + "source": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket", + "signature": "onMarketSummarytUpdate(java.lang.String)", + "callable_declaration": "onMarketSummarytUpdate(java.lang.String)" + }, + "target": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "signature": "toString()", + "callable_declaration": "toString()" + } + }, { "type": "CALL_DEP", "weight": "1", @@ -30342,14 +31494,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -30444,8 +31596,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setKey(String)", - "callable_declaration": "setKey(String)" + "signature": "setKey(java.lang.String)", + "callable_declaration": "setKey(java.lang.String)" } }, { @@ -30476,8 +31628,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "signature": "setValue(String)", - "callable_declaration": "setValue(String)" + "signature": "setValue(java.lang.String)", + "callable_declaration": "setValue(java.lang.String)" } }, { @@ -30508,8 +31660,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setNumberOfOrderRows(Integer)", - "callable_declaration": "setNumberOfOrderRows(Integer)" + "signature": "setNumberOfOrderRows(java.lang.Integer)", + "callable_declaration": "setNumberOfOrderRows(java.lang.Integer)" } }, { @@ -30518,8 +31670,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "AccountDataJSF(Instance)", - "callable_declaration": "AccountDataJSF(Instance)" + "signature": "AccountDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -30534,8 +31686,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "AccountDataJSF(Instance)", - "callable_declaration": "AccountDataJSF(Instance)" + "signature": "AccountDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -30550,14 +31702,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "AccountDataJSF(Instance)", - "callable_declaration": "AccountDataJSF(Instance)" + "signature": "AccountDataJSF(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -30572,8 +31724,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -30588,8 +31740,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -30604,8 +31756,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getAccountData(String)", - "callable_declaration": "getAccountData(String)" + "signature": "getAccountData(java.lang.String)", + "callable_declaration": "getAccountData(java.lang.String)" } }, { @@ -30620,8 +31772,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -30636,8 +31788,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -30652,8 +31804,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getHoldings(String)", - "callable_declaration": "getHoldings(String)" + "signature": "getHoldings(java.lang.String)", + "callable_declaration": "getHoldings(java.lang.String)" } }, { @@ -30684,8 +31836,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -30700,8 +31852,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -30716,8 +31868,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getClosedOrders(String)", - "callable_declaration": "getClosedOrders(String)" + "signature": "getClosedOrders(java.lang.String)", + "callable_declaration": "getClosedOrders(java.lang.String)" } }, { @@ -30924,8 +32076,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", - "callable_declaration": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)" + "signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)" } }, { @@ -30940,8 +32092,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setClosedOrders(OrderData[])", - "callable_declaration": "setClosedOrders(OrderData[])" + "signature": "setClosedOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", + "callable_declaration": "setClosedOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])" } }, { @@ -30972,8 +32124,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -30988,8 +32140,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -31004,8 +32156,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getOrders(String)", - "callable_declaration": "getOrders(String)" + "signature": "getOrders(java.lang.String)", + "callable_declaration": "getOrders(java.lang.String)" } }, { @@ -31228,8 +32380,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)", - "callable_declaration": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)" + "signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String, java.math.BigDecimal)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String, java.math.BigDecimal)" } }, { @@ -31260,8 +32412,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setNumberOfOrders(Integer)", - "callable_declaration": "setNumberOfOrders(Integer)" + "signature": "setNumberOfOrders(java.lang.Integer)", + "callable_declaration": "setNumberOfOrders(java.lang.Integer)" } }, { @@ -31276,8 +32428,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setAllOrders(OrderData[])", - "callable_declaration": "setAllOrders(OrderData[])" + "signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", + "callable_declaration": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])" } }, { @@ -31292,8 +32444,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setSessionCreationDate(Date)", - "callable_declaration": "setSessionCreationDate(Date)" + "signature": "setSessionCreationDate(java.util.Date)", + "callable_declaration": "setSessionCreationDate(java.util.Date)" } }, { @@ -31308,8 +32460,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setCurrentTime(Date)", - "callable_declaration": "setCurrentTime(Date)" + "signature": "setCurrentTime(java.util.Date)", + "callable_declaration": "setCurrentTime(java.util.Date)" } }, { @@ -31324,8 +32476,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" } }, { @@ -31334,8 +32486,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31350,14 +32502,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setProfileID(String)", - "callable_declaration": "setProfileID(String)" + "signature": "setProfileID(java.lang.String)", + "callable_declaration": "setProfileID(java.lang.String)" } }, { @@ -31366,8 +32518,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31382,14 +32534,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setAccountID(Integer)", - "callable_declaration": "setAccountID(Integer)" + "signature": "setAccountID(java.lang.Integer)", + "callable_declaration": "setAccountID(java.lang.Integer)" } }, { @@ -31398,8 +32550,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31414,14 +32566,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setCreationDate(Date)", - "callable_declaration": "setCreationDate(Date)" + "signature": "setCreationDate(java.util.Date)", + "callable_declaration": "setCreationDate(java.util.Date)" } }, { @@ -31430,8 +32582,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31446,8 +32598,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", @@ -31462,8 +32614,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31478,8 +32630,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", @@ -31494,8 +32646,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31510,14 +32662,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setLastLogin(Date)", - "callable_declaration": "setLastLogin(Date)" + "signature": "setLastLogin(java.util.Date)", + "callable_declaration": "setLastLogin(java.util.Date)" } }, { @@ -31526,8 +32678,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31542,14 +32694,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setOpenBalance(BigDecimal)", - "callable_declaration": "setOpenBalance(BigDecimal)" + "signature": "setOpenBalance(java.math.BigDecimal)", + "callable_declaration": "setOpenBalance(java.math.BigDecimal)" } }, { @@ -31558,8 +32710,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", @@ -31574,14 +32726,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setBalance(BigDecimal)", - "callable_declaration": "setBalance(BigDecimal)" + "signature": "setBalance(java.math.BigDecimal)", + "callable_declaration": "setBalance(java.math.BigDecimal)" } }, { @@ -31590,8 +32742,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", @@ -31606,14 +32758,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setNumberHoldings(Integer)", - "callable_declaration": "setNumberHoldings(Integer)" + "signature": "setNumberHoldings(java.lang.Integer)", + "callable_declaration": "setNumberHoldings(java.lang.Integer)" } }, { @@ -31622,14 +32774,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeHoldingsTotal(Collection)", - "callable_declaration": "computeHoldingsTotal(Collection)" + "signature": "computeHoldingsTotal(java.util.Collection)", + "callable_declaration": "computeHoldingsTotal(java.util.Collection)" } }, { @@ -31638,14 +32790,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setHoldingsTotal(BigDecimal)", - "callable_declaration": "setHoldingsTotal(BigDecimal)" + "signature": "setHoldingsTotal(java.math.BigDecimal)", + "callable_declaration": "setHoldingsTotal(java.math.BigDecimal)" } }, { @@ -31654,14 +32806,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setSumOfCashHoldings(BigDecimal)", - "callable_declaration": "setSumOfCashHoldings(BigDecimal)" + "signature": "setSumOfCashHoldings(java.math.BigDecimal)", + "callable_declaration": "setSumOfCashHoldings(java.math.BigDecimal)" } }, { @@ -31670,14 +32822,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGain(BigDecimal, BigDecimal)", - "callable_declaration": "computeGain(BigDecimal, BigDecimal)" + "signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGain(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -31686,14 +32838,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setGain(BigDecimal)", - "callable_declaration": "setGain(BigDecimal)" + "signature": "setGain(java.math.BigDecimal)", + "callable_declaration": "setGain(java.math.BigDecimal)" } }, { @@ -31702,14 +32854,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", - "callable_declaration": "computeGainPercent(BigDecimal, BigDecimal)" + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "callable_declaration": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)" } }, { @@ -31718,14 +32870,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "doAccountData(AccountDataBean, Collection)", - "callable_declaration": "doAccountData(AccountDataBean, Collection)" + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callable_declaration": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF", - "signature": "setGainPercent(BigDecimal)", - "callable_declaration": "setGainPercent(BigDecimal)" + "signature": "setGainPercent(java.math.BigDecimal)", + "callable_declaration": "setGainPercent(java.math.BigDecimal)" } }, { @@ -31740,8 +32892,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainHTML(BigDecimal)", - "callable_declaration": "printGainHTML(BigDecimal)" + "signature": "printGainHTML(java.math.BigDecimal)", + "callable_declaration": "printGainHTML(java.math.BigDecimal)" } }, { @@ -31756,8 +32908,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "signature": "printGainPercentHTML(BigDecimal)", - "callable_declaration": "printGainPercentHTML(BigDecimal)" + "signature": "printGainPercentHTML(java.math.BigDecimal)", + "callable_declaration": "printGainPercentHTML(java.math.BigDecimal)" } }, { @@ -31766,14 +32918,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -31782,8 +32934,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -31798,8 +32950,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -31814,14 +32966,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "pingTwoPhase(String)", - "callable_declaration": "pingTwoPhase(String)" + "signature": "pingTwoPhase(java.lang.String)", + "callable_declaration": "pingTwoPhase(java.lang.String)" } }, { @@ -31830,14 +32982,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "pingTwoPhase(String)", - "callable_declaration": "pingTwoPhase(String)" + "signature": "pingTwoPhase(java.lang.String)", + "callable_declaration": "pingTwoPhase(java.lang.String)" } }, { @@ -31846,14 +32998,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "pingTwoPhase(String)", - "callable_declaration": "pingTwoPhase(String)" + "signature": "pingTwoPhase(java.lang.String)", + "callable_declaration": "pingTwoPhase(java.lang.String)" } }, { @@ -31862,14 +33014,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -31878,8 +33030,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", @@ -31894,14 +33046,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -31910,8 +33062,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", - "signature": "AsyncScheduledOrder(Instance)", - "callable_declaration": "AsyncScheduledOrder(Instance)" + "signature": "AsyncScheduledOrder(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -31926,8 +33078,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", - "signature": "AsyncScheduledOrder(Instance)", - "callable_declaration": "AsyncScheduledOrder(Instance)" + "signature": "AsyncScheduledOrder(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -31942,14 +33094,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.AsyncScheduledOrder", - "signature": "AsyncScheduledOrder(Instance)", - "callable_declaration": "AsyncScheduledOrder(Instance)" + "signature": "AsyncScheduledOrder(javax.enterprise.inject.Instance)", + "callable_declaration": "(javax.enterprise.inject.Instance)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "signature": "TradeRunTimeModeLiteral(String)", - "callable_declaration": "TradeRunTimeModeLiteral(String)" + "signature": "TradeRunTimeModeLiteral(java.lang.String)", + "callable_declaration": "(java.lang.String)" } }, { @@ -31964,8 +33116,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -31980,8 +33132,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -31996,8 +33148,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "completeOrder(Integer, boolean)", - "callable_declaration": "completeOrder(Integer, boolean)" + "signature": "completeOrder(java.lang.Integer, boolean)", + "callable_declaration": "completeOrder(java.lang.Integer, boolean)" } }, { @@ -32006,14 +33158,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderID(Integer)", - "callable_declaration": "setOrderID(Integer)" + "signature": "setOrderID(java.lang.Integer)", + "callable_declaration": "setOrderID(java.lang.Integer)" } }, { @@ -32022,14 +33174,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderType(String)", - "callable_declaration": "setOrderType(String)" + "signature": "setOrderType(java.lang.String)", + "callable_declaration": "setOrderType(java.lang.String)" } }, { @@ -32038,14 +33190,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -32054,14 +33206,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOpenDate(Date)", - "callable_declaration": "setOpenDate(Date)" + "signature": "setOpenDate(java.util.Date)", + "callable_declaration": "setOpenDate(java.util.Date)" } }, { @@ -32070,14 +33222,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setCompletionDate(Date)", - "callable_declaration": "setCompletionDate(Date)" + "signature": "setCompletionDate(java.util.Date)", + "callable_declaration": "setCompletionDate(java.util.Date)" } }, { @@ -32086,8 +33238,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -32102,14 +33254,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -32118,14 +33270,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderFee(BigDecimal)", - "callable_declaration": "setOrderFee(BigDecimal)" + "signature": "setOrderFee(java.math.BigDecimal)", + "callable_declaration": "setOrderFee(java.math.BigDecimal)" } }, { @@ -32134,14 +33286,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setSymbol(String)", - "callable_declaration": "setSymbol(String)" + "signature": "setSymbol(java.lang.String)", + "callable_declaration": "setSymbol(java.lang.String)" } }, { @@ -32150,14 +33302,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderType(String)", - "callable_declaration": "setOrderType(String)" + "signature": "setOrderType(java.lang.String)", + "callable_declaration": "setOrderType(java.lang.String)" } }, { @@ -32166,14 +33318,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -32182,14 +33334,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOpenDate(Date)", - "callable_declaration": "setOpenDate(Date)" + "signature": "setOpenDate(java.util.Date)", + "callable_declaration": "setOpenDate(java.util.Date)" } }, { @@ -32198,14 +33350,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setCompletionDate(Date)", - "callable_declaration": "setCompletionDate(Date)" + "signature": "setCompletionDate(java.util.Date)", + "callable_declaration": "setCompletionDate(java.util.Date)" } }, { @@ -32214,8 +33366,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", @@ -32230,14 +33382,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setPrice(BigDecimal)", - "callable_declaration": "setPrice(BigDecimal)" + "signature": "setPrice(java.math.BigDecimal)", + "callable_declaration": "setPrice(java.math.BigDecimal)" } }, { @@ -32246,14 +33398,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderFee(BigDecimal)", - "callable_declaration": "setOrderFee(BigDecimal)" + "signature": "setOrderFee(java.math.BigDecimal)", + "callable_declaration": "setOrderFee(java.math.BigDecimal)" } }, { @@ -32262,14 +33414,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setAccount(AccountDataBean)", - "callable_declaration": "setAccount(AccountDataBean)" + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", + "callable_declaration": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)" } }, { @@ -32278,14 +33430,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setQuote(QuoteDataBean)", - "callable_declaration": "setQuote(QuoteDataBean)" + "signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callable_declaration": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)" } }, { @@ -32294,14 +33446,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", - "callable_declaration": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)" + "signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setHolding(HoldingDataBean)", - "callable_declaration": "setHolding(HoldingDataBean)" + "signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callable_declaration": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)" } }, { @@ -32444,8 +33596,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", - "callable_declaration": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)" + "signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "callable_declaration": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)" } }, { @@ -32764,8 +33916,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "log(String)", - "callable_declaration": "log(String)" + "signature": "log(java.lang.String)", + "callable_declaration": "log(java.lang.String)" } }, { @@ -32876,8 +34028,8 @@ "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "signature": "setOrderStatus(String)", - "callable_declaration": "setOrderStatus(String)" + "signature": "setOrderStatus(java.lang.String)", + "callable_declaration": "setOrderStatus(java.lang.String)" } }, { @@ -32886,14 +34038,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -32902,8 +34054,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -32918,8 +34070,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -32934,14 +34086,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -32950,14 +34102,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -32966,14 +34118,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "signature": "getQuote(String)", - "callable_declaration": "getQuote(String)" + "signature": "getQuote(java.lang.String)", + "callable_declaration": "getQuote(java.lang.String)" } }, { @@ -32982,14 +34134,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -32998,14 +34150,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity2JSP", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -33014,14 +34166,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -33030,8 +34182,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "", @@ -33046,14 +34198,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", - "signature": "setMsg(String)", - "callable_declaration": "setMsg(String)" + "signature": "setMsg(java.lang.String)", + "callable_declaration": "setMsg(java.lang.String)" } }, { @@ -33062,14 +34214,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2PDF", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -33078,14 +34230,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -33094,8 +34246,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", @@ -33110,14 +34262,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(String)", - "callable_declaration": "error(String)" + "signature": "error(java.lang.String)", + "callable_declaration": "error(java.lang.String)" } }, { @@ -33126,14 +34278,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -33142,14 +34294,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -33158,14 +34310,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "type_declaration": "com.ibm.websphere.samples.daytrader.util.Log", - "signature": "error(Throwable, String)", - "callable_declaration": "error(Throwable, String)" + "signature": "error(java.lang.Throwable, java.lang.String)", + "callable_declaration": "error(java.lang.Throwable, java.lang.String)" } }, { @@ -33174,14 +34326,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -33190,8 +34342,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "<>", @@ -33206,14 +34358,14 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doPost(HttpServletRequest, HttpServletResponse)" + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" } }, { @@ -33222,8 +34374,8 @@ "source": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", "type_declaration": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "callable_declaration": "doGet(HttpServletRequest, HttpServletResponse)" + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callable_declaration": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)" }, "target": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/CDIEventProducer.java", @@ -33320,9 +34472,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "decode(String)": { + "decode(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", - "signature": "decode(String)", + "signature": "decode(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -33366,6 +34518,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ActionDecoder:decode -- received -->\" + jsonText + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -33389,6 +34544,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "jsonText" + ], "return_type": "", "callee_signature": "doDecoding(java.lang.String)", "is_public": true, @@ -33410,6 +34568,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "callee_signature": "ActionMessage()", "is_public": false, @@ -33450,9 +34609,36 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "init(EndpointConfig)": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public ActionDecoder()", + "parameters": [], + "code": "{\n }", + "start_line": 28, + "end_line": 29, + "code_start_line": 28, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", - "signature": "init(EndpointConfig)", + "signature": "init(javax.websocket.EndpointConfig)", "comments": [], "annotations": [ "@Override" @@ -33490,36 +34676,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { + "willDecode(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", - "signature": "ActionDecoder()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public ActionDecoder()", - "parameters": [], - "code": "{\n }", - "start_line": 28, - "end_line": 29, - "code_start_line": 28, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "willDecode(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionDecoder.java", - "signature": "willDecode(String)", + "signature": "willDecode(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -33642,14 +34801,14 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getMsg()": { + "setMsg(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", - "signature": "getMsg()", + "signature": "setMsg(java.lang.String)", "comments": [ { - "content": "\n * returns the message contained in the bean\n *\n * @return message String\n *", - "start_line": 26, - "end_line": 30, + "content": "\n * sets the message contained in the bean param message String\n *", + "start_line": 35, + "end_line": 37, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -33660,13 +34819,24 @@ "public" ], "thrown_exceptions": [], - "declaration": "public String getMsg()", - "parameters": [], - "code": "{\n return msg;\n }", - "start_line": 31, - "end_line": 33, - "code_start_line": 31, - "return_type": "java.lang.String", + "declaration": "public void setMsg(String s)", + "parameters": [ + { + "type": "java.lang.String", + "name": "s", + "annotations": [], + "modifiers": [], + "start_line": 38, + "end_line": 38, + "start_column": 24, + "end_column": 31 + } + ], + "code": "{\n msg = s;\n }", + "start_line": 38, + "end_line": 40, + "code_start_line": 38, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -33680,14 +34850,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setMsg(String)": { + "getMsg()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingBean.java", - "signature": "setMsg(String)", + "signature": "getMsg()", "comments": [ { - "content": "\n * sets the message contained in the bean param message String\n *", - "start_line": 35, - "end_line": 37, + "content": "\n * returns the message contained in the bean\n *\n * @return message String\n *", + "start_line": 26, + "end_line": 30, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -33698,24 +34868,13 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setMsg(String s)", - "parameters": [ - { - "type": "java.lang.String", - "name": "s", - "annotations": [], - "modifiers": [], - "start_line": 38, - "end_line": 38, - "start_column": 24, - "end_column": 31 - } - ], - "code": "{\n msg = s;\n }", - "start_line": 38, - "end_line": 40, - "code_start_line": 38, - "return_type": "void", + "declaration": "public String getMsg()", + "parameters": [], + "code": "{\n return msg;\n }", + "start_line": 31, + "end_line": 33, + "code_start_line": 31, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -33828,12 +34987,13 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { + "sell(java.lang.String, java.lang.Integer, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", + "signature": "sell(java.lang.String, java.lang.Integer, int)", "comments": [], "annotations": [ - "@Override" + "@Override", + "@NotNull" ], "modifiers": [ "public" @@ -33841,64 +35001,216 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity) throws Exception", + "declaration": "public OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 36, - "end_column": 58 + "start_line": 92, + "end_line": 92, + "start_column": 29, + "end_column": 41 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 61, - "end_column": 79 + "start_line": 92, + "end_line": 92, + "start_column": 44, + "end_column": 60 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holding", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 82, - "end_column": 104 + "start_line": 92, + "end_line": 92, + "start_column": 63, + "end_column": 85 + } + ], + "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.sell(userID, holdingID, orderProcessingMode);\n \n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n return orderdata;\n \n }", + "start_line": 90, + "end_line": 101, + "code_start_line": 92, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", + "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" + ], + "call_sites": [ + { + "method_name": "setInSession", + "comment": null, + "receiver_expr": "tradeDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "", + "callee_signature": "setInSession(boolean)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 93, + "start_column": 5, + "end_line": 93, + "end_column": 34 }, { - "type": "java.lang.String", - "name": "orderType", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, + "method_name": "sell", + "comment": null, + "receiver_expr": "tradeDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "java.lang.String", + "java.lang.Integer", + "" + ], + "argument_expr": [ + "userID", + "holdingID", + "orderProcessingMode" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "sell(java.lang.String, java.lang.Integer, int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 32, + "end_line": 94, + "end_column": 87 + }, + { + "method_name": "completeOrderAsync", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderdata.getOrderID()", + "false" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 97, "start_column": 7, - "end_column": 22 + "end_line": 97, + "end_column": 60 }, { - "type": "double", - "name": "quantity", + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderdata", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 97, + "start_column": 31, + "end_line": 97, + "end_column": 52 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderdata", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "tradeDirect.sell(userID, holdingID, orderProcessingMode)", + "start_line": 94, + "start_column": 19, + "end_line": 94, + "end_column": 87 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getOrders(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", + "signature": "getOrders(java.lang.String)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public Collection getOrders(String userID) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 25, - "end_column": 39 + "start_line": 137, + "end_line": 137, + "start_column": 34, + "end_column": 46 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createOrder(account, quote, holding, orderType, quantity);\n }", - "start_line": 70, - "end_line": 75, - "code_start_line": 72, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getOrders(userID);\n }", + "start_line": 136, + "end_line": 140, + "code_start_line": 137, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -33914,6 +35226,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -33924,25 +35239,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 73, + "start_line": 138, "start_column": 5, - "end_line": 73, + "end_line": 138, "end_column": 34 }, { - "method_name": "createOrder", + "method_name": "getOrders", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", - "" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getOrders(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -33951,10 +35265,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 74, + "start_line": 139, "start_column": 12, - "end_line": 74, - "end_column": 80 + "end_line": 139, + "end_column": 40 } ], "variable_declarations": [], @@ -33998,6 +35312,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34019,6 +35336,7 @@ "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "callee_signature": "getMarketSummary()", "is_public": false, @@ -34093,6 +35411,7 @@ "receiver_expr": "", "receiver_type": "java.lang.UnsupportedOperationException", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.UnsupportedOperationException", "callee_signature": "UnsupportedOperationException()", "is_public": false, @@ -34115,90 +35434,13 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAllQuotes()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getAllQuotes()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Collection getAllQuotes() throws Exception", - "parameters": [], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAllQuotes();\n }", - "start_line": 160, - "end_line": 164, - "code_start_line": 161, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" - ], - "call_sites": [ - { - "method_name": "setInSession", - "comment": null, - "receiver_expr": "tradeDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setInSession(boolean)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 162, - "start_column": 5, - "end_line": 162, - "end_column": 34 - }, - { - "method_name": "getAllQuotes", - "comment": null, - "receiver_expr": "tradeDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [], - "return_type": "java.util.Collection", - "callee_signature": "getAllQuotes()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 163, - "start_column": 12, - "end_line": 163, - "end_column": 37 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "register(String, String, String, String, String, String, BigDecimal)": { + "buy(java.lang.String, java.lang.String, double, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "register(String, String, String, String, String, String, BigDecimal)", + "signature": "buy(java.lang.String, java.lang.String, double, int)", "comments": [], "annotations": [ - "@Override" + "@Override", + "@NotNull" ], "modifiers": [ "public" @@ -34206,88 +35448,61 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance) throws Exception", + "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 35, - "end_column": 47 + "start_line": 79, + "end_line": 79, + "start_column": 28, + "end_column": 40 }, { "type": "java.lang.String", - "name": "password", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 50, - "end_column": 64 + "start_line": 79, + "end_line": 79, + "start_column": 43, + "end_column": 55 }, { - "type": "java.lang.String", - "name": "fullname", + "type": "double", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 67, - "end_column": 81 + "start_line": 79, + "end_line": 79, + "start_column": 58, + "end_column": 72 }, { - "type": "java.lang.String", - "name": "address", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 84, + "start_line": 79, + "end_line": 79, + "start_column": 75, "end_column": 97 - }, - { - "type": "java.lang.String", - "name": "email", - "annotations": [], - "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 100, - "end_column": 111 - }, - { - "type": "java.lang.String", - "name": "creditcard", - "annotations": [], - "modifiers": [], - "start_line": 217, - "end_line": 217, - "start_column": 7, - "end_column": 23 - }, - { - "type": "java.math.BigDecimal", - "name": "openBalance", - "annotations": [], - "modifiers": [], - "start_line": 217, - "end_line": 217, - "start_column": 26, - "end_column": 47 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.register(userID, password, fullname, address, email, creditcard, openBalance);\n }", - "start_line": 215, - "end_line": 220, - "code_start_line": 217, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.buy(userID, symbol, quantity, orderProcessingMode);\n \n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n \n return orderdata; \n }", + "start_line": 77, + "end_line": 88, + "code_start_line": 79, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" ], "call_sites": [ @@ -34299,6 +35514,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34309,27 +35527,30 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 218, + "start_line": 80, "start_column": 5, - "end_line": 218, + "end_line": 80, "end_column": 34 }, { - "method_name": "register", + "method_name": "buy", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String", "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.math.BigDecimal" + "", + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "argument_expr": [ + "userID", + "symbol", + "quantity", + "orderProcessingMode" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", "is_public": false, "is_protected": false, "is_private": false, @@ -34338,21 +35559,89 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 219, - "start_column": 12, - "end_line": 219, - "end_column": 100 + "start_line": 81, + "start_column": 32, + "end_line": 81, + "end_column": 93 + }, + { + "method_name": "completeOrderAsync", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderdata.getOrderID()", + "false" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 84, + "start_column": 7, + "end_line": 84, + "end_column": 60 + }, + { + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderdata", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 84, + "start_column": 31, + "end_line": 84, + "end_column": 52 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderdata", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "tradeDirect.buy(userID, symbol, quantity, orderProcessingMode)", + "start_line": 81, + "start_column": 20, + "end_line": 81, + "end_column": 93 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getHoldings(String)": { + "getAllQuotes()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getHoldings(String)", + "signature": "getAllQuotes()", "comments": [], "annotations": [ "@Override" @@ -34363,24 +35652,13 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public Collection getHoldings(String userID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 174, - "end_line": 174, - "start_column": 50, - "end_column": 62 - } - ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHoldings(userID);\n }", - "start_line": 173, - "end_line": 177, - "code_start_line": 174, - "return_type": "java.util.Collection", + "declaration": "public Collection getAllQuotes() throws Exception", + "parameters": [], + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getAllQuotes();\n }", + "start_line": 160, + "end_line": 164, + "code_start_line": 161, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -34396,6 +35674,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34406,21 +35687,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 175, + "start_line": 162, "start_column": 5, - "end_line": 175, + "end_line": 162, "end_column": 34 }, { - "method_name": "getHoldings", + "method_name": "getAllQuotes", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Collection", - "callee_signature": "getHoldings(java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Collection", + "callee_signature": "getAllQuotes()", "is_public": false, "is_protected": false, "is_private": false, @@ -34429,10 +35709,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 176, + "start_line": 163, "start_column": 12, - "end_line": 176, - "end_column": 42 + "end_line": 163, + "end_column": 37 } ], "variable_declarations": [], @@ -34441,9 +35721,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "login(String, String)": { + "logout(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "login(String, String)", + "signature": "logout(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -34454,34 +35734,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountDataBean login(String userID, String password) throws Exception", + "declaration": "public void logout(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 204, - "end_line": 204, - "start_column": 32, - "end_column": 44 - }, - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 204, - "end_line": 204, - "start_column": 47, - "end_column": 61 + "start_line": 210, + "end_line": 210, + "start_column": 22, + "end_column": 34 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.login(userID, password);\n }", - "start_line": 203, - "end_line": 207, - "code_start_line": 204, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.logout(userID);\n }", + "start_line": 209, + "end_line": 213, + "code_start_line": 210, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -34497,6 +35767,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34507,98 +35780,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 205, + "start_line": 211, "start_column": 5, - "end_line": 205, + "end_line": 211, "end_column": 34 }, { - "method_name": "login", + "method_name": "logout", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "login(java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 206, - "start_column": 12, - "end_line": 206, - "end_column": 46 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setInSession(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "setInSession(boolean)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInSession(boolean inSession)", - "parameters": [ - { - "type": "boolean", - "name": "inSession", - "annotations": [], - "modifiers": [], - "start_line": 234, - "end_line": 234, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\n throw new UnsupportedOperationException(\"DirectSLSBBean::setInGlobalTxn not supported\");\n }", - "start_line": 233, - "end_line": 236, - "code_start_line": 234, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "userID" ], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException(java.lang.String)", + "return_type": "", + "callee_signature": "logout(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 235, - "start_column": 11, - "end_line": 235, - "end_column": 91 + "start_line": 212, + "start_column": 5, + "end_line": 212, + "end_column": 30 } ], "variable_declarations": [], @@ -34607,9 +35818,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrder(Integer, boolean)": { + "completeOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "completeOrder(Integer, boolean)", + "signature": "completeOrder(java.lang.Integer, boolean)", "comments": [], "annotations": [ "@Override" @@ -34663,6 +35874,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34687,6 +35901,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": false, @@ -34709,9 +35927,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "updateQuotePriceVolume(String, BigDecimal, double)": { + "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [], "annotations": [ "@Override" @@ -34722,44 +35940,84 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal newPrice, double sharesTraded) throws Exception", + "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "symbol", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 167, - "end_line": 167, - "start_column": 47, - "end_column": 59 + "start_line": 216, + "end_line": 216, + "start_column": 35, + "end_column": 47 }, { - "type": "java.math.BigDecimal", - "name": "newPrice", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 167, - "end_line": 167, - "start_column": 62, - "end_column": 80 + "start_line": 216, + "end_line": 216, + "start_column": 50, + "end_column": 64 }, { - "type": "double", - "name": "sharesTraded", + "type": "java.lang.String", + "name": "fullname", "annotations": [], "modifiers": [], - "start_line": 167, - "end_line": 167, - "start_column": 83, - "end_column": 101 + "start_line": 216, + "end_line": 216, + "start_column": 67, + "end_column": 81 + }, + { + "type": "java.lang.String", + "name": "address", + "annotations": [], + "modifiers": [], + "start_line": 216, + "end_line": 216, + "start_column": 84, + "end_column": 97 + }, + { + "type": "java.lang.String", + "name": "email", + "annotations": [], + "modifiers": [], + "start_line": 216, + "end_line": 216, + "start_column": 100, + "end_column": 111 + }, + { + "type": "java.lang.String", + "name": "creditcard", + "annotations": [], + "modifiers": [], + "start_line": 217, + "end_line": 217, + "start_column": 7, + "end_column": 23 + }, + { + "type": "java.math.BigDecimal", + "name": "openBalance", + "annotations": [], + "modifiers": [], + "start_line": 217, + "end_line": 217, + "start_column": 26, + "end_column": 47 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateQuotePriceVolume(symbol, newPrice, sharesTraded);\n }", - "start_line": 166, - "end_line": 171, - "code_start_line": 168, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.register(userID, password, fullname, address, email, creditcard, openBalance);\n }", + "start_line": 215, + "end_line": 220, + "code_start_line": 217, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -34775,6 +36033,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34785,23 +36046,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 169, + "start_line": 218, "start_column": 5, - "end_line": 169, + "end_line": 218, "end_column": 34 }, { - "method_name": "updateQuotePriceVolume", + "method_name": "register", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String", - "java.math.BigDecimal", - "" + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "argument_expr": [ + "userID", + "password", + "fullname", + "address", + "email", + "creditcard", + "openBalance" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, "is_protected": false, "is_private": false, @@ -34810,10 +36084,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 170, + "start_line": 219, "start_column": 12, - "end_line": 170, - "end_column": 77 + "end_line": 219, + "end_column": 100 } ], "variable_declarations": [], @@ -34822,9 +36096,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "cancelOrder(Integer, boolean)": { + "orderCompleted(java.lang.String, java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "cancelOrder(Integer, boolean)", + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", "comments": [], "annotations": [ "@Override" @@ -34835,33 +36109,33 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "public void orderCompleted(String userID, Integer orderID) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "orderID", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 27, - "end_column": 41 + "start_line": 130, + "end_line": 130, + "start_column": 30, + "end_column": 42 }, { - "type": "boolean", - "name": "twoPhase", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 44, + "start_line": 130, + "end_line": 130, + "start_column": 45, "end_column": 59 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.cancelOrder(orderID, twoPhase);\n\n }", - "start_line": 122, - "end_line": 127, - "code_start_line": 123, + "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.orderCompleted(userID, orderID);\n\n }", + "start_line": 129, + "end_line": 134, + "code_start_line": 130, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -34878,6 +36152,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -34888,22 +36165,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, + "start_line": 131, "start_column": 5, - "end_line": 124, + "end_line": 131, "end_column": 34 }, { - "method_name": "cancelOrder", + "method_name": "orderCompleted", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.Integer", - "" + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "userID", + "orderID" ], "return_type": "", - "callee_signature": "cancelOrder(java.lang.Integer, boolean)", + "callee_signature": "orderCompleted(java.lang.String, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": false, @@ -34912,10 +36193,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 125, + "start_line": 132, "start_column": 5, - "end_line": 125, - "end_column": 46 + "end_line": 132, + "end_column": 47 } ], "variable_declarations": [], @@ -34924,9 +36205,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrders(String)": { + "setInSession(boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getOrders(String)", + "signature": "setInSession(boolean)", "comments": [], "annotations": [ "@Override" @@ -34934,79 +36215,55 @@ "modifiers": [ "public" ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Collection getOrders(String userID) throws Exception", + "thrown_exceptions": [], + "declaration": "public void setInSession(boolean inSession)", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "boolean", + "name": "inSession", "annotations": [], "modifiers": [], - "start_line": 137, - "end_line": 137, - "start_column": 34, - "end_column": 46 + "start_line": 234, + "end_line": 234, + "start_column": 28, + "end_column": 44 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getOrders(userID);\n }", - "start_line": 136, - "end_line": 140, - "code_start_line": 137, - "return_type": "java.util.Collection", + "code": "{\n throw new UnsupportedOperationException(\"DirectSLSBBean::setInGlobalTxn not supported\");\n }", + "start_line": 233, + "end_line": 236, + "code_start_line": 234, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "setInSession", - "comment": null, - "receiver_expr": "tradeDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setInSession(boolean)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 5, - "end_line": 138, - "end_column": 34 - }, - { - "method_name": "getOrders", + "method_name": "", "comment": null, - "receiver_expr": "tradeDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "receiver_expr": "", + "receiver_type": "java.lang.UnsupportedOperationException", "argument_types": [ "java.lang.String" ], - "return_type": "java.util.Collection", - "callee_signature": "getOrders(java.lang.String)", + "argument_expr": [ + "\"DirectSLSBBean::setInGlobalTxn not supported\"" + ], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 139, - "start_column": 12, - "end_line": 139, - "end_column": 40 + "start_line": 235, + "start_column": 11, + "end_line": 235, + "end_column": 91 } ], "variable_declarations": [], @@ -35015,9 +36272,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getQuote(String)": { + "getClosedOrders(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getQuote(String)", + "signature": "getClosedOrders(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -35028,24 +36285,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean getQuote(String symbol) throws Exception", + "declaration": "public Collection getClosedOrders(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "symbol", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 155, - "end_line": 155, - "start_column": 33, - "end_column": 45 + "start_line": 143, + "end_line": 143, + "start_column": 40, + "end_column": 52 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getQuote(symbol); \n }", - "start_line": 154, - "end_line": 158, - "code_start_line": 155, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getClosedOrders(userID);\n }", + "start_line": 142, + "end_line": 146, + "code_start_line": 143, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -35061,6 +36318,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35071,21 +36331,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 156, + "start_line": 144, "start_column": 5, - "end_line": 156, + "end_line": 144, "end_column": 34 }, { - "method_name": "getQuote", + "method_name": "getClosedOrders", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote(java.lang.String)", + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getClosedOrders(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -35094,10 +36357,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 157, + "start_line": 145, "start_column": 12, - "end_line": 157, - "end_column": 39 + "end_line": 145, + "end_column": 46 } ], "variable_declarations": [], @@ -35106,9 +36369,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "createQuote(String, String, BigDecimal)": { + "login(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "createQuote(String, String, BigDecimal)", + "signature": "login(java.lang.String, java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -35119,44 +36382,34 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", + "declaration": "public AccountDataBean login(String userID, String password) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "symbol", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 149, - "end_line": 149, - "start_column": 36, - "end_column": 48 + "start_line": 204, + "end_line": 204, + "start_column": 32, + "end_column": 44 }, { "type": "java.lang.String", - "name": "companyName", - "annotations": [], - "modifiers": [], - "start_line": 149, - "end_line": 149, - "start_column": 51, - "end_column": 68 - }, - { - "type": "java.math.BigDecimal", - "name": "price", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 149, - "end_line": 149, - "start_column": 71, - "end_column": 86 + "start_line": 204, + "end_line": 204, + "start_column": 47, + "end_column": 61 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createQuote(symbol, companyName, price);\n }", - "start_line": 148, - "end_line": 152, - "code_start_line": 149, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.login(userID, password);\n }", + "start_line": 203, + "end_line": 207, + "code_start_line": 204, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -35172,6 +36425,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35182,23 +36438,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 150, + "start_line": 205, "start_column": 5, - "end_line": 150, + "end_line": 205, "end_column": 34 }, { - "method_name": "createQuote", + "method_name": "login", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String", - "java.lang.String", - "java.math.BigDecimal" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "argument_expr": [ + "userID", + "password" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "login(java.lang.String, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -35207,10 +36466,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 151, + "start_line": 206, "start_column": 12, - "end_line": 151, - "end_column": 62 + "end_line": 206, + "end_column": 46 } ], "variable_declarations": [], @@ -35219,9 +36478,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "updateAccountProfile(AccountProfileDataBean)": { + "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "updateAccountProfile(AccountProfileDataBean)", + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "comments": [], "annotations": [ "@Override" @@ -35232,24 +36491,64 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", + "declaration": "public OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", "annotations": [], "modifiers": [], - "start_line": 198, - "end_line": 198, - "start_column": 54, - "end_column": 87 + "start_line": 71, + "end_line": 71, + "start_column": 36, + "end_column": 58 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 61, + "end_column": 79 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holding", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 82, + "end_column": 104 + }, + { + "type": "java.lang.String", + "name": "orderType", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 7, + "end_column": 22 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 25, + "end_column": 39 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateAccountProfile(profileData);\n }", - "start_line": 197, - "end_line": 201, - "code_start_line": 198, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createOrder(account, quote, holding, orderType, quantity);\n }", + "start_line": 70, + "end_line": 75, + "code_start_line": 72, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -35265,6 +36564,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35275,21 +36577,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 199, + "start_line": 73, "start_column": 5, - "end_line": 199, + "end_line": 73, "end_column": 34 }, { - "method_name": "updateAccountProfile", + "method_name": "createOrder", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.lang.String", + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "argument_expr": [ + "account", + "quote", + "holding", + "orderType", + "quantity" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "is_public": false, "is_protected": false, "is_private": false, @@ -35298,10 +36611,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 200, + "start_line": 74, "start_column": 12, - "end_line": 200, - "end_column": 56 + "end_line": 74, + "end_column": 80 } ], "variable_declarations": [], @@ -35310,9 +36623,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "queueOrder(Integer, boolean)": { + "cancelOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "queueOrder(Integer, boolean)", + "signature": "cancelOrder(java.lang.Integer, boolean)", "comments": [], "annotations": [ "@Override" @@ -35323,33 +36636,33 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void queueOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ { "type": "java.lang.Integer", "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 104, - "end_line": 104, - "start_column": 26, - "end_column": 40 + "start_line": 123, + "end_line": 123, + "start_column": 27, + "end_column": 41 }, { "type": "boolean", "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 104, - "end_line": 104, - "start_column": 43, - "end_column": 58 + "start_line": 123, + "end_line": 123, + "start_column": 44, + "end_column": 59 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.queueOrder(orderID, twoPhase);\n\n }", - "start_line": 103, - "end_line": 108, - "code_start_line": 104, + "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.cancelOrder(orderID, twoPhase);\n\n }", + "start_line": 122, + "end_line": 127, + "code_start_line": 123, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -35366,6 +36679,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35376,13 +36692,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 124, "start_column": 5, - "end_line": 105, + "end_line": 124, "end_column": 34 }, { - "method_name": "queueOrder", + "method_name": "cancelOrder", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", @@ -35390,8 +36706,12 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "", - "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "callee_signature": "cancelOrder(java.lang.Integer, boolean)", "is_public": false, "is_protected": false, "is_private": false, @@ -35400,10 +36720,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 125, "start_column": 5, - "end_line": 106, - "end_column": 45 + "end_line": 125, + "end_column": 46 } ], "variable_declarations": [], @@ -35412,9 +36732,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountData(String)": { + "getAccountData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getAccountData(String)", + "signature": "getAccountData(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -35458,6 +36778,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35481,6 +36804,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "getAccountData(java.lang.String)", "is_public": false, @@ -35503,9 +36829,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountProfileData(String)": { + "getAccountProfileData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getAccountProfileData(String)", + "signature": "getAccountProfileData(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -35549,6 +36875,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35572,6 +36901,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "getAccountProfileData(java.lang.String)", "is_public": false, @@ -35594,9 +36926,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "pingTwoPhase(String)": { + "pingTwoPhase(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "pingTwoPhase(String)", + "signature": "pingTwoPhase(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -35636,6 +36968,7 @@ "receiver_expr": "", "receiver_type": "java.lang.UnsupportedOperationException", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.UnsupportedOperationException", "callee_signature": "UnsupportedOperationException()", "is_public": false, @@ -35658,9 +36991,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "orderCompleted(String, Integer)": { + "queueOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "orderCompleted(String, Integer)", + "signature": "queueOrder(java.lang.Integer, boolean)", "comments": [], "annotations": [ "@Override" @@ -35671,33 +37004,33 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void orderCompleted(String userID, Integer orderID) throws Exception", + "declaration": "public void queueOrder(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 30, - "end_column": 42 + "start_line": 104, + "end_line": 104, + "start_column": 26, + "end_column": 40 }, { - "type": "java.lang.Integer", - "name": "orderID", + "type": "boolean", + "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 45, - "end_column": 59 + "start_line": 104, + "end_line": 104, + "start_column": 43, + "end_column": 58 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.orderCompleted(userID, orderID);\n\n }", - "start_line": 129, - "end_line": 134, - "code_start_line": 130, + "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.queueOrder(orderID, twoPhase);\n\n }", + "start_line": 103, + "end_line": 108, + "code_start_line": 104, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -35714,6 +37047,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35724,22 +37060,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 105, "start_column": 5, - "end_line": 131, + "end_line": 105, "end_column": 34 }, { - "method_name": "orderCompleted", + "method_name": "queueOrder", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String", - "java.lang.Integer" + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "twoPhase" ], "return_type": "", - "callee_signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "callee_signature": "queueOrder(java.lang.Integer, boolean)", "is_public": false, "is_protected": false, "is_private": false, @@ -35748,10 +37088,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 106, "start_column": 5, - "end_line": 132, - "end_column": 47 + "end_line": 106, + "end_column": 45 } ], "variable_declarations": [], @@ -35791,9 +37131,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "logout(String)": { + "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "logout(String)", + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", "comments": [], "annotations": [ "@Override" @@ -35804,24 +37144,44 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void logout(String userID) throws Exception", + "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal newPrice, double sharesTraded) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "userID", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 22, - "end_column": 34 + "start_line": 167, + "end_line": 167, + "start_column": 47, + "end_column": 59 + }, + { + "type": "java.math.BigDecimal", + "name": "newPrice", + "annotations": [], + "modifiers": [], + "start_line": 167, + "end_line": 167, + "start_column": 62, + "end_column": 80 + }, + { + "type": "double", + "name": "sharesTraded", + "annotations": [], + "modifiers": [], + "start_line": 167, + "end_line": 167, + "start_column": 83, + "end_column": 101 } ], - "code": "{\n tradeDirect.setInSession(true);\n tradeDirect.logout(userID);\n }", - "start_line": 209, - "end_line": 213, - "code_start_line": 210, - "return_type": "void", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateQuotePriceVolume(symbol, newPrice, sharesTraded);\n }", + "start_line": 166, + "end_line": 171, + "code_start_line": 168, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -35837,6 +37197,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35847,21 +37210,28 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 211, + "start_line": 169, "start_column": 5, - "end_line": 211, + "end_line": 169, "end_column": 34 }, { - "method_name": "logout", + "method_name": "updateQuotePriceVolume", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.math.BigDecimal", + "" ], - "return_type": "", - "callee_signature": "logout(java.lang.String)", + "argument_expr": [ + "symbol", + "newPrice", + "sharesTraded" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", "is_public": false, "is_protected": false, "is_private": false, @@ -35870,11 +37240,11 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 212, - "start_column": 5, - "end_line": 212, - "end_column": 30 - } + "start_line": 170, + "start_column": 12, + "end_line": 170, + "end_column": 77 + } ], "variable_declarations": [], "crud_operations": [], @@ -35882,13 +37252,12 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "buy(String, String, double, int)": { + "getHolding(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "buy(String, String, double, int)", + "signature": "getHolding(java.lang.Integer)", "comments": [], "annotations": [ - "@Override", - "@NotNull" + "@Override" ], "modifiers": [ "public" @@ -35896,61 +37265,28 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", + "declaration": "public HoldingDataBean getHolding(Integer holdingID) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 28, - "end_column": 40 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 43, - "end_column": 55 - }, - { - "type": "double", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 58, - "end_column": 72 - }, - { - "type": "int", - "name": "orderProcessingMode", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 75, - "end_column": 97 + "start_line": 180, + "end_line": 180, + "start_column": 37, + "end_column": 53 } ], - "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.buy(userID, symbol, quantity, orderProcessingMode);\n \n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n \n return orderdata; \n }", - "start_line": 77, - "end_line": 88, - "code_start_line": 79, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHolding(holdingID);\n }", + "start_line": 179, + "end_line": 183, + "code_start_line": 180, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" ], "call_sites": [ @@ -35962,6 +37298,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -35972,24 +37311,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 80, + "start_line": 181, "start_column": 5, - "end_line": 80, + "end_line": 181, "end_column": 34 }, { - "method_name": "buy", + "method_name": "getHolding", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "" + "java.lang.Integer" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", + "argument_expr": [ + "holdingID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHolding(java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": false, @@ -35998,88 +37337,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 81, - "start_column": 32, - "end_line": 81, - "end_column": 93 - }, - { - "method_name": "completeOrderAsync", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "argument_types": [ - "java.lang.Integer", - "" - ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 84, - "start_column": 7, - "end_line": 84, - "end_column": 60 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderdata", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 84, - "start_column": 31, - "end_line": 84, - "end_column": 52 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderdata", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "tradeDirect.buy(userID, symbol, quantity, orderProcessingMode)", - "start_line": 81, - "start_column": 20, - "end_line": 81, - "end_column": 93 + "start_line": 182, + "start_column": 12, + "end_line": 182, + "end_column": 44 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "sell(String, Integer, int)": { + "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "sell(String, Integer, int)", + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [], "annotations": [ - "@Override", - "@NotNull" + "@Override" ], "modifiers": [ "public" @@ -36087,51 +37362,48 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", + "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "userID", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 29, - "end_column": 41 + "start_line": 149, + "end_line": 149, + "start_column": 36, + "end_column": 48 }, { - "type": "java.lang.Integer", - "name": "holdingID", + "type": "java.lang.String", + "name": "companyName", "annotations": [], "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 44, - "end_column": 60 + "start_line": 149, + "end_line": 149, + "start_column": 51, + "end_column": 68 }, { - "type": "int", - "name": "orderProcessingMode", + "type": "java.math.BigDecimal", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 63, - "end_column": 85 + "start_line": 149, + "end_line": 149, + "start_column": 71, + "end_column": 86 } ], - "code": "{\n tradeDirect.setInSession(true);\n OrderDataBean orderdata = tradeDirect.sell(userID, holdingID, orderProcessingMode);\n \n if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderdata.getOrderID(), false);\n }\n return orderdata;\n \n }", - "start_line": 90, - "end_line": 101, - "code_start_line": 92, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.createQuote(symbol, companyName, price);\n }", + "start_line": 148, + "end_line": 152, + "code_start_line": 149, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" ], "call_sites": [ @@ -36143,6 +37415,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -36153,23 +37428,28 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 93, + "start_line": 150, "start_column": 5, - "end_line": 93, + "end_line": 150, "end_column": 34 }, { - "method_name": "sell", + "method_name": "createQuote", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String", - "java.lang.Integer", - "" + "java.lang.String", + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "sell(java.lang.String, java.lang.Integer, int)", + "argument_expr": [ + "symbol", + "companyName", + "price" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, "is_protected": false, "is_private": false, @@ -36178,84 +37458,21 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 94, - "start_column": 32, - "end_line": 94, - "end_column": 87 - }, - { - "method_name": "completeOrderAsync", - "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean", - "argument_types": [ - "java.lang.Integer", - "" - ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 97, - "start_column": 7, - "end_line": 97, - "end_column": 60 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderdata", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 97, - "start_column": 31, - "end_line": 97, - "end_column": 52 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderdata", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "tradeDirect.sell(userID, holdingID, orderProcessingMode)", - "start_line": 94, - "start_column": 19, - "end_line": 94, - "end_column": 87 + "start_line": 151, + "start_column": 12, + "end_line": 151, + "end_column": 62 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getHolding(Integer)": { + "getQuote(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getHolding(Integer)", + "signature": "getQuote(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -36266,24 +37483,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public HoldingDataBean getHolding(Integer holdingID) throws Exception", + "declaration": "public QuoteDataBean getQuote(String symbol) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "holdingID", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 180, - "end_line": 180, - "start_column": 37, - "end_column": 53 + "start_line": 155, + "end_line": 155, + "start_column": 33, + "end_column": 45 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHolding(holdingID);\n }", - "start_line": 179, - "end_line": 183, - "code_start_line": 180, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getQuote(symbol); \n }", + "start_line": 154, + "end_line": 158, + "code_start_line": 155, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -36299,6 +37516,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -36309,21 +37529,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 181, + "start_line": 156, "start_column": 5, - "end_line": 181, + "end_line": 156, "end_column": 34 }, { - "method_name": "getHolding", + "method_name": "getQuote", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.Integer" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHolding(java.lang.Integer)", + "argument_expr": [ + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -36332,10 +37555,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 182, + "start_line": 157, "start_column": 12, - "end_line": 182, - "end_column": 44 + "end_line": 157, + "end_column": 39 } ], "variable_declarations": [], @@ -36344,9 +37567,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrderAsync(Integer, boolean)": { + "completeOrderAsync(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "completeOrderAsync(Integer, boolean)", + "signature": "completeOrderAsync(java.lang.Integer, boolean)", "comments": [], "annotations": [ "@Override" @@ -36401,6 +37624,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "submitOrder(java.lang.Integer, boolean)", "is_public": true, @@ -36423,9 +37650,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getClosedOrders(String)": { + "getHoldings(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", - "signature": "getClosedOrders(String)", + "signature": "getHoldings(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -36436,24 +37663,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public Collection getClosedOrders(String userID) throws Exception", + "declaration": "public Collection getHoldings(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 143, - "end_line": 143, - "start_column": 40, - "end_column": 52 + "start_line": 174, + "end_line": 174, + "start_column": 50, + "end_column": 62 } ], - "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getClosedOrders(userID);\n }", - "start_line": 142, - "end_line": 146, - "code_start_line": 143, - "return_type": "java.util.Collection", + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.getHoldings(userID);\n }", + "start_line": 173, + "end_line": 177, + "code_start_line": 174, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -36469,6 +37696,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setInSession(boolean)", "is_public": false, @@ -36479,21 +37709,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, + "start_line": 175, "start_column": 5, - "end_line": 144, + "end_line": 175, "end_column": 34 }, { - "method_name": "getClosedOrders", + "method_name": "getHoldings", "comment": null, "receiver_expr": "tradeDirect", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "java.util.Collection", - "callee_signature": "getClosedOrders(java.lang.String)", + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getHoldings(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -36502,10 +37735,107 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, + "start_line": 176, "start_column": 12, - "end_line": 145, - "end_column": 46 + "end_line": 176, + "end_column": 42 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/session2direct/DirectSLSBBean.java", + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profileData", + "annotations": [], + "modifiers": [], + "start_line": 198, + "end_line": 198, + "start_column": 54, + "end_column": 87 + } + ], + "code": "{\n tradeDirect.setInSession(true);\n return tradeDirect.updateAccountProfile(profileData);\n }", + "start_line": 197, + "end_line": 201, + "code_start_line": 198, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.session2direct.DirectSLSBBean.tradeDirect" + ], + "call_sites": [ + { + "method_name": "setInSession", + "comment": null, + "receiver_expr": "tradeDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "", + "callee_signature": "setInSession(boolean)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 199, + "start_column": 5, + "end_line": 199, + "end_column": 34 + }, + { + "method_name": "updateAccountProfile", + "comment": null, + "receiver_expr": "tradeDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "argument_expr": [ + "profileData" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 200, + "start_column": 12, + "end_line": 200, + "end_column": 56 } ], "variable_declarations": [], @@ -36623,9 +37953,38 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "setSymbols(String)": { + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", + "signature": "getQuantity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getQuantity()", + "parameters": [], + "code": "{\n return quantity;\n }", + "start_line": 143, + "end_line": 145, + "code_start_line": 143, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSymbols(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "setSymbols(String)", + "signature": "setSymbols(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -36665,35 +38024,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "getQuantity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getQuantity()", - "parameters": [], - "code": "{\n return quantity;\n }", - "start_line": 143, - "end_line": 145, - "code_start_line": 143, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getDataTable()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "signature": "getDataTable()", @@ -36723,9 +38053,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setDataTable(HtmlDataTable)": { + "setDataTable(javax.faces.component.html.HtmlDataTable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "setDataTable(HtmlDataTable)", + "signature": "setDataTable(javax.faces.component.html.HtmlDataTable)", "comments": [], "annotations": [], "modifiers": [ @@ -36765,22 +38095,33 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getQuotes()": { + "setQuotes(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "getQuotes()", + "signature": "setQuotes(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public QuoteData[] getQuotes()", - "parameters": [], - "code": "{\n return quotes;\n }", - "start_line": 119, - "end_line": 121, - "code_start_line": 119, - "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", + "declaration": "public void setQuotes(QuoteData[] quotes)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", + "name": "quotes", + "annotations": [], + "modifiers": [], + "start_line": 115, + "end_line": 115, + "start_column": 25, + "end_column": 42 + } + ], + "code": "{\n this.quotes = quotes;\n }", + "start_line": 115, + "end_line": 117, + "code_start_line": 115, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -36794,33 +38135,22 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setQuotes(QuoteData[])": { + "getQuotes()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "setQuotes(QuoteData[])", + "signature": "getQuotes()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setQuotes(QuoteData[] quotes)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", - "name": "quotes", - "annotations": [], - "modifiers": [], - "start_line": 115, - "end_line": 115, - "start_column": 25, - "end_column": 42 - } - ], - "code": "{\n this.quotes = quotes;\n }", - "start_line": 115, - "end_line": 117, - "code_start_line": 115, - "return_type": "void", + "declaration": "public QuoteData[] getQuotes()", + "parameters": [], + "code": "{\n return quotes;\n }", + "start_line": 119, + "end_line": 121, + "code_start_line": 119, + "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -36834,9 +38164,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "QuoteJSF(Instance)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], "annotations": [ "@Inject" @@ -36878,6 +38208,7 @@ "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", "receiver_type": "javax.enterprise.inject.Instance", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "callee_signature": "get()", "is_public": true, @@ -36901,8 +38232,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", + "callee_signature": "select(java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -36922,6 +38256,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -36943,6 +38278,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -36966,6 +38302,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", "is_public": false, @@ -37029,6 +38368,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -37052,6 +38394,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -37073,6 +38418,7 @@ "receiver_expr": "dataTable", "receiver_type": "javax.faces.component.html.HtmlDataTable", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "callee_signature": "getRowData()", "is_public": true, @@ -37099,6 +38445,12 @@ "", "" ], + "argument_expr": [ + "userID", + "quoteData.getSymbol()", + "new Double(this.quantity).doubleValue()", + "TradeConfig.getOrderProcessingMode()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", "is_public": false, @@ -37120,6 +38472,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -37141,6 +38494,7 @@ "receiver_expr": "new Double(this.quantity)", "receiver_type": "java.lang.Double", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doubleValue()", "is_public": true, @@ -37162,6 +38516,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -37183,6 +38538,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -37204,6 +38560,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -37225,6 +38582,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -37246,6 +38604,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -37267,6 +38626,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -37288,6 +38648,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -37309,6 +38670,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -37330,6 +38692,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -37354,6 +38717,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.jsf.OrderData" ], + "argument_expr": [ + "\"orderData\"", + "orderData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -37377,6 +38744,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "e.toString()" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -37398,6 +38768,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -37419,6 +38790,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -37442,6 +38814,9 @@ "argument_types": [ "java.lang.Integer" ], + "argument_expr": [ + "this.quantity" + ], "return_type": "java.lang.Double", "callee_signature": "Double(double)", "is_public": false, @@ -37472,6 +38847,16 @@ "", "java.lang.String" ], + "argument_expr": [ + "orderDataBean.getOrderID()", + "orderDataBean.getOrderStatus()", + "orderDataBean.getOpenDate()", + "orderDataBean.getCompletionDate()", + "orderDataBean.getOrderFee()", + "orderDataBean.getOrderType()", + "orderDataBean.getQuantity()", + "orderDataBean.getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", "is_public": false, @@ -37609,6 +38994,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setQuantity(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", + "signature": "setQuantity(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setQuantity(Integer quantity)", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 139, + "end_line": 139, + "start_column": 27, + "end_column": 42 + } + ], + "code": "{\n this.quantity = quantity;\n }", + "start_line": 139, + "end_line": 141, + "code_start_line": 139, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getAllQuotes()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", "signature": "getAllQuotes()", @@ -37638,6 +39065,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getQuotesBySymbols()", "is_public": true, @@ -37698,6 +39126,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -37721,6 +39152,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbols\"" + ], "return_type": "java.lang.Object", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -37744,6 +39178,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"s:0,s:1,s:2,s:3,s:4\"" + ], "return_type": "", "callee_signature": "setSymbols(java.lang.String)", "is_public": true, @@ -37768,6 +39205,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"symbols\"", + "getSymbols()" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -37789,6 +39230,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbols()", "is_public": true, @@ -37812,6 +39254,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbols\"" + ], "return_type": "java.lang.Object", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -37835,6 +39280,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "(String) session.getAttribute(\"symbols\")" + ], "return_type": "", "callee_signature": "setSymbols(java.lang.String)", "is_public": true, @@ -37858,6 +39306,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbols\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -37882,6 +39333,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"symbols\"", + "getSymbols()" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -37903,6 +39358,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbols()", "is_public": true, @@ -37924,6 +39380,7 @@ "receiver_expr": "st", "receiver_type": "java.util.StringTokenizer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "countTokens()", "is_public": true, @@ -37945,6 +39402,7 @@ "receiver_expr": "st", "receiver_type": "java.util.StringTokenizer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasMoreElements()", "is_public": true, @@ -37966,6 +39424,7 @@ "receiver_expr": "st", "receiver_type": "java.util.StringTokenizer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "nextToken()", "is_public": true, @@ -37989,6 +39448,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -38010,6 +39472,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -38031,6 +39494,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -38052,6 +39516,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -38073,6 +39538,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getHigh()", "is_public": true, @@ -38094,6 +39560,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getLow()", "is_public": true, @@ -38115,6 +39582,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCompanyName()", "is_public": true, @@ -38136,6 +39604,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -38157,6 +39626,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -38180,6 +39650,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "e.toString()" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -38201,6 +39674,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -38224,6 +39698,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quoteDatas" + ], "return_type": "", "callee_signature": "setQuotes(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "is_public": true, @@ -38248,6 +39725,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "symbols", + "\" ,\"" + ], "return_type": "java.util.StringTokenizer", "callee_signature": "StringTokenizer(java.lang.String, java.lang.String)", "is_public": false, @@ -38278,6 +39759,16 @@ "", "" ], + "argument_expr": [ + "quoteData.getOpen()", + "quoteData.getPrice()", + "quoteData.getSymbol()", + "quoteData.getHigh()", + "quoteData.getLow()", + "quoteData.getCompanyName()", + "quoteData.getVolume()", + "quoteData.getChange()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "callee_signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)", "is_public": false, @@ -38402,48 +39893,6 @@ "crud_queries": [], "cyclomatic_complexity": 7, "is_entrypoint": false - }, - "setQuantity(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteJSF.java", - "signature": "setQuantity(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(Integer quantity)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 27, - "end_column": 42 - } - ], - "code": "{\n this.quantity = quantity;\n }", - "start_line": 139, - "end_line": 141, - "code_start_line": 139, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteJSF.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -38663,9 +40112,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "setCurrentTime(Date)": { + "setCurrentTime(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setCurrentTime(Date)", + "signature": "setCurrentTime(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ @@ -38705,6 +40154,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setSumOfCashHoldings(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setSumOfCashHoldings(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSumOfCashHoldings(BigDecimal sumOfCashHoldings)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "sumOfCashHoldings", + "annotations": [], + "modifiers": [], + "start_line": 240, + "end_line": 240, + "start_column": 36, + "end_column": 63 + } + ], + "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n }", + "start_line": 240, + "end_line": 242, + "code_start_line": 240, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sumOfCashHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "setLoginCount(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "signature": "setLoginCount(int)", @@ -38776,6 +40267,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gain" + ], "return_type": "java.lang.String", "callee_signature": "printGainHTML(java.math.BigDecimal)", "is_public": true, @@ -38798,38 +40292,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setClosedOrders(OrderData[])": { + "setNumberOfOrderRows(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setClosedOrders(OrderData[])", + "signature": "setNumberOfOrderRows(java.lang.Integer)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setClosedOrders(OrderData[] closedOrders)", + "declaration": "public void setNumberOfOrderRows(Integer numberOfOrderRows)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", - "name": "closedOrders", + "type": "java.lang.Integer", + "name": "numberOfOrderRows", "annotations": [], "modifiers": [], - "start_line": 276, - "end_line": 276, - "start_column": 31, - "end_column": 54 + "start_line": 316, + "end_line": 316, + "start_column": 36, + "end_column": 60 } ], - "code": "{\n this.closedOrders = closedOrders;\n }", - "start_line": 276, - "end_line": 278, - "code_start_line": 276, + "code": "{\n this.numberOfOrderRows = numberOfOrderRows;\n }", + "start_line": 316, + "end_line": 318, + "code_start_line": 316, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.Integer" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.closedOrders" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrderRows" ], "call_sites": [], "variable_declarations": [], @@ -38838,52 +40334,79 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setGainPercent(BigDecimal)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setGainPercent(BigDecimal)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], - "annotations": [], + "annotations": [ + "@Inject" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setGainPercent(BigDecimal gainPercent)", + "declaration": "public AccountDataJSF(@Any Instance services)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "gainPercent", - "annotations": [], + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], "modifiers": [], - "start_line": 256, - "end_line": 256, - "start_column": 30, - "end_column": 51 + "start_line": 89, + "end_line": 89, + "start_column": 25, + "end_column": 61 } ], - "code": "{\n this.gainPercent = gainPercent.setScale(2);\n }", - "start_line": 256, - "end_line": 258, - "code_start_line": 256, - "return_type": "void", + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 88, + "end_line": 91, + "code_start_line": 89, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gainPercent" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.tradeAction" ], "call_sites": [ { - "method_name": "setScale", + "method_name": "get", "comment": null, - "receiver_expr": "gainPercent", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 19, + "end_line": 90, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", "argument_types": [ - "" + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -38892,54 +40415,82 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 257, - "start_column": 24, - "end_line": 257, - "end_column": 46 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setNumberOfOrders(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setNumberOfOrders(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setNumberOfOrders(Integer numberOfOrders)", - "parameters": [ + "start_line": 90, + "start_column": 19, + "end_line": 90, + "end_column": 127 + }, { - "type": "java.lang.Integer", - "name": "numberOfOrders", - "annotations": [], - "modifiers": [], - "start_line": 324, - "end_line": 324, - "start_column": 33, - "end_column": 54 + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 63, + "end_line": 90, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 97, + "end_line": 90, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 90, + "start_column": 35, + "end_line": 90, + "end_column": 126 } ], - "code": "{\n this.numberOfOrders = numberOfOrders;\n }", - "start_line": 324, - "end_line": 326, - "code_start_line": 324, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrders" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -38975,48 +40526,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setGain(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setGain(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setGain(BigDecimal gain)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "gain", - "annotations": [], - "modifiers": [], - "start_line": 248, - "end_line": 248, - "start_column": 23, - "end_column": 37 - } - ], - "code": "{\n this.gain = gain;\n }", - "start_line": 248, - "end_line": 250, - "code_start_line": 248, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gain" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "setLogoutCount(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "signature": "setLogoutCount(int)", @@ -39057,492 +40566,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLastLogin(Date)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setLastLogin(Date)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setLastLogin(Date lastLogin)", - "parameters": [ - { - "type": "java.util.Date", - "name": "lastLogin", - "annotations": [], - "modifiers": [], - "start_line": 280, - "end_line": 280, - "start_column": 28, - "end_column": 41 - } - ], - "code": "{\n this.lastLogin = lastLogin;\n }", - "start_line": 280, - "end_line": 282, - "code_start_line": 280, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.lastLogin" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setSumOfCashHoldings(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setSumOfCashHoldings(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSumOfCashHoldings(BigDecimal sumOfCashHoldings)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "sumOfCashHoldings", - "annotations": [], - "modifiers": [], - "start_line": 240, - "end_line": 240, - "start_column": 36, - "end_column": 63 - } - ], - "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n }", - "start_line": 240, - "end_line": 242, - "code_start_line": 240, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sumOfCashHoldings" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getNumberHoldings()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getNumberHoldings()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getNumberHoldings()", - "parameters": [], - "code": "{\n return numberHoldings;\n }", - "start_line": 268, - "end_line": 270, - "code_start_line": 268, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberHoldings" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getNumberOfOrders()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getNumberOfOrders()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getNumberOfOrders()", - "parameters": [], - "code": "{\n return numberOfOrders;\n }", - "start_line": 320, - "end_line": 322, - "code_start_line": 320, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrders" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getGain()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getGain()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BigDecimal getGain()", - "parameters": [], - "code": "{\n return gain;\n }", - "start_line": 252, - "end_line": 254, - "code_start_line": 252, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gain" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCreationDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getCreationDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Date getCreationDate()", - "parameters": [], - "code": "{\n return creationDate;\n }", - "start_line": 204, - "end_line": 206, - "code_start_line": 204, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.creationDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getLogoutCount()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getLogoutCount()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getLogoutCount()", - "parameters": [], - "code": "{\n return logoutCount;\n }", - "start_line": 292, - "end_line": 294, - "code_start_line": 292, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.logoutCount" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getNumberOfOrderRows()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getNumberOfOrderRows()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getNumberOfOrderRows()", - "parameters": [], - "code": "{\n return numberOfOrderRows;\n }", - "start_line": 312, - "end_line": 314, - "code_start_line": 312, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrderRows" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Instance)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "AccountDataJSF(Instance)", - "comments": [], - "annotations": [ - "@Inject" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public AccountDataJSF(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 25, - "end_column": 61 - } - ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 88, - "end_line": 91, - "code_start_line": 89, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.tradeAction" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 19, - "end_line": 90, - "end_column": 133 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 19, - "end_line": 90, - "end_column": 127 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 63, - "end_line": 90, - "end_column": 95 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 97, - "end_line": 90, - "end_column": 124 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 90, - "start_column": 35, - "end_line": 90, - "end_column": 126 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getCurrentTime()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getCurrentTime()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Date getCurrentTime()", - "parameters": [], - "code": "{\n return currentTime;\n }", - "start_line": 176, - "end_line": 178, - "code_start_line": 176, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.currentTime" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setAccountID(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setAccountID(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setAccountID(Integer accountID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "accountID", - "annotations": [], - "modifiers": [], - "start_line": 192, - "end_line": 192, - "start_column": 28, - "end_column": 44 - } - ], - "code": "{\n this.accountID = accountID;\n }", - "start_line": 192, - "end_line": 194, - "code_start_line": 192, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.accountID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doAccountData(AccountDataBean, Collection)": { + "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "doAccountData(AccountDataBean, Collection)", + "signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", "comments": [], "annotations": [], "modifiers": [ @@ -39595,6 +40621,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountData.getProfileID()" + ], "return_type": "", "callee_signature": "setProfileID(java.lang.String)", "is_public": true, @@ -39616,6 +40645,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getProfileID()", "is_public": true, @@ -39639,6 +40669,9 @@ "argument_types": [ "java.lang.Integer" ], + "argument_expr": [ + "accountData.getAccountID()" + ], "return_type": "", "callee_signature": "setAccountID(java.lang.Integer)", "is_public": true, @@ -39660,6 +40693,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -39683,6 +40717,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "accountData.getCreationDate()" + ], "return_type": "", "callee_signature": "setCreationDate(java.util.Date)", "is_public": true, @@ -39704,6 +40741,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCreationDate()", "is_public": true, @@ -39727,6 +40765,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "accountData.getLoginCount()" + ], "return_type": "", "callee_signature": "setLoginCount(int)", "is_public": true, @@ -39748,6 +40789,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLoginCount()", "is_public": true, @@ -39771,6 +40813,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "accountData.getLogoutCount()" + ], "return_type": "", "callee_signature": "setLogoutCount(int)", "is_public": true, @@ -39792,6 +40837,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLogoutCount()", "is_public": true, @@ -39815,6 +40861,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "accountData.getLastLogin()" + ], "return_type": "", "callee_signature": "setLastLogin(java.util.Date)", "is_public": true, @@ -39836,6 +40885,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getLastLogin()", "is_public": true, @@ -39859,6 +40909,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "accountData.getOpenBalance()" + ], "return_type": "", "callee_signature": "setOpenBalance(java.math.BigDecimal)", "is_public": true, @@ -39880,6 +40933,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenBalance()", "is_public": true, @@ -39903,6 +40957,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "accountData.getBalance()" + ], "return_type": "", "callee_signature": "setBalance(java.math.BigDecimal)", "is_public": true, @@ -39924,6 +40981,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getBalance()", "is_public": true, @@ -39947,6 +41005,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingDataBeans.size()" + ], "return_type": "", "callee_signature": "setNumberHoldings(java.lang.Integer)", "is_public": true, @@ -39968,6 +41029,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -39991,6 +41053,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "FinancialUtils.computeHoldingsTotal(holdingDataBeans)" + ], "return_type": "", "callee_signature": "setHoldingsTotal(java.math.BigDecimal)", "is_public": true, @@ -40014,8 +41079,11 @@ "argument_types": [ "java.util.Collection" ], + "argument_expr": [ + "holdingDataBeans" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "computeHoldingsTotal(java.util.Collection)", + "callee_signature": "computeHoldingsTotal(java.util.Collection)", "is_public": true, "is_protected": false, "is_private": false, @@ -40037,6 +41105,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "balance.add(holdingsTotal)" + ], "return_type": "", "callee_signature": "setSumOfCashHoldings(java.math.BigDecimal)", "is_public": true, @@ -40060,6 +41131,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "holdingsTotal" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -40083,6 +41157,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "FinancialUtils.computeGain(sumOfCashHoldings, openBalance)" + ], "return_type": "", "callee_signature": "setGain(java.math.BigDecimal)", "is_public": true, @@ -40107,6 +41184,10 @@ "java.math.BigDecimal", "java.math.BigDecimal" ], + "argument_expr": [ + "sumOfCashHoldings", + "openBalance" + ], "return_type": "java.math.BigDecimal", "callee_signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", "is_public": true, @@ -40130,6 +41211,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "FinancialUtils.computeGainPercent(sumOfCashHoldings, openBalance)" + ], "return_type": "", "callee_signature": "setGainPercent(java.math.BigDecimal)", "is_public": true, @@ -40154,6 +41238,10 @@ "java.math.BigDecimal", "java.math.BigDecimal" ], + "argument_expr": [ + "sumOfCashHoldings", + "openBalance" + ], "return_type": "java.math.BigDecimal", "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", "is_public": true, @@ -40176,6 +41264,415 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setAccountID(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setAccountID(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAccountID(Integer accountID)", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "accountID", + "annotations": [], + "modifiers": [], + "start_line": 192, + "end_line": 192, + "start_column": 28, + "end_column": 44 + } + ], + "code": "{\n this.accountID = accountID;\n }", + "start_line": 192, + "end_line": 194, + "code_start_line": 192, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.accountID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getNumberHoldings()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getNumberHoldings()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getNumberHoldings()", + "parameters": [], + "code": "{\n return numberHoldings;\n }", + "start_line": 268, + "end_line": 270, + "code_start_line": 268, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setLastLogin(java.util.Date)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setLastLogin(java.util.Date)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setLastLogin(Date lastLogin)", + "parameters": [ + { + "type": "java.util.Date", + "name": "lastLogin", + "annotations": [], + "modifiers": [], + "start_line": 280, + "end_line": 280, + "start_column": 28, + "end_column": 41 + } + ], + "code": "{\n this.lastLogin = lastLogin;\n }", + "start_line": 280, + "end_line": 282, + "code_start_line": 280, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Date" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.lastLogin" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getNumberOfOrders()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getNumberOfOrders()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getNumberOfOrders()", + "parameters": [], + "code": "{\n return numberOfOrders;\n }", + "start_line": 320, + "end_line": 322, + "code_start_line": 320, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrders" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setNumberHoldings(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setNumberHoldings(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setNumberHoldings(Integer numberHoldings)", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "numberHoldings", + "annotations": [], + "modifiers": [], + "start_line": 264, + "end_line": 264, + "start_column": 33, + "end_column": 54 + } + ], + "code": "{\n this.numberHoldings = numberHoldings;\n }", + "start_line": 264, + "end_line": 266, + "code_start_line": 264, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getGain()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getGain()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public BigDecimal getGain()", + "parameters": [], + "code": "{\n return gain;\n }", + "start_line": 252, + "end_line": 254, + "code_start_line": 252, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gain" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setClosedOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setClosedOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setClosedOrders(OrderData[] closedOrders)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", + "name": "closedOrders", + "annotations": [], + "modifiers": [], + "start_line": 276, + "end_line": 276, + "start_column": 31, + "end_column": 54 + } + ], + "code": "{\n this.closedOrders = closedOrders;\n }", + "start_line": 276, + "end_line": 278, + "code_start_line": 276, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.closedOrders" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAllOrders(OrderData[] allOrders)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", + "name": "allOrders", + "annotations": [], + "modifiers": [], + "start_line": 296, + "end_line": 296, + "start_column": 28, + "end_column": 48 + } + ], + "code": "{\n this.allOrders = allOrders;\n }", + "start_line": 296, + "end_line": 298, + "code_start_line": 296, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.allOrders" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCreationDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getCreationDate()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Date getCreationDate()", + "parameters": [], + "code": "{\n return creationDate;\n }", + "start_line": 204, + "end_line": 206, + "code_start_line": 204, + "return_type": "java.util.Date", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.creationDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getLogoutCount()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getLogoutCount()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getLogoutCount()", + "parameters": [], + "code": "{\n return logoutCount;\n }", + "start_line": 292, + "end_line": 294, + "code_start_line": 292, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.logoutCount" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getNumberOfOrderRows()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getNumberOfOrderRows()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getNumberOfOrderRows()", + "parameters": [], + "code": "{\n return numberOfOrderRows;\n }", + "start_line": 312, + "end_line": 314, + "code_start_line": 312, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrderRows" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getCurrentTime()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "getCurrentTime()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Date getCurrentTime()", + "parameters": [], + "code": "{\n return currentTime;\n }", + "start_line": 176, + "end_line": 178, + "code_start_line": 176, + "return_type": "java.util.Date", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.currentTime" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getLoginCount()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "signature": "getLoginCount()", @@ -40263,6 +41760,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setCreationDate(java.util.Date)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setCreationDate(java.util.Date)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCreationDate(Date creationDate)", + "parameters": [ + { + "type": "java.util.Date", + "name": "creationDate", + "annotations": [], + "modifiers": [], + "start_line": 200, + "end_line": 200, + "start_column": 31, + "end_column": 47 + } + ], + "code": "{\n this.creationDate = creationDate;\n }", + "start_line": 200, + "end_line": 202, + "code_start_line": 200, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Date" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.creationDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getGainPercent()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "signature": "getGainPercent()", @@ -40323,6 +41862,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gainPercent" + ], "return_type": "java.lang.String", "callee_signature": "printGainPercentHTML(java.math.BigDecimal)", "is_public": true, @@ -40345,9 +41887,51 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenBalance(BigDecimal)": { + "setGain(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setOpenBalance(BigDecimal)", + "signature": "setGain(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setGain(BigDecimal gain)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "gain", + "annotations": [], + "modifiers": [], + "start_line": 248, + "end_line": 248, + "start_column": 23, + "end_column": 37 + } + ], + "code": "{\n this.gain = gain;\n }", + "start_line": 248, + "end_line": 250, + "code_start_line": 248, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gain" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOpenBalance(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setOpenBalance(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -40440,6 +42024,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -40463,6 +42050,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -40486,6 +42076,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "getAccountData(java.lang.String)", "is_public": false, @@ -40509,6 +42102,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getHoldings(java.lang.String)", "is_public": false, @@ -40530,6 +42126,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getDisplayOrderAlerts()", "is_public": true, @@ -40553,6 +42150,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getClosedOrders(java.lang.String)", "is_public": false, @@ -40574,6 +42174,7 @@ "receiver_expr": "closedOrders", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -40598,6 +42199,10 @@ "java.lang.String", "java.util.Collection" ], + "argument_expr": [ + "\"closedOrders\"", + "closedOrders" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -40619,6 +42224,7 @@ "receiver_expr": "closedOrders", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -40640,6 +42246,7 @@ "receiver_expr": "closedOrders", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -40661,6 +42268,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -40682,6 +42290,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "next()", "is_public": true, @@ -40703,6 +42312,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -40724,6 +42334,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -40745,6 +42356,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -40766,6 +42378,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -40787,6 +42400,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -40808,6 +42422,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -40829,6 +42444,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -40850,6 +42466,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -40873,6 +42490,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "orderjsfs" + ], "return_type": "", "callee_signature": "setClosedOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", "is_public": true, @@ -40894,6 +42514,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLongRun()", "is_public": true, @@ -40917,6 +42538,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getOrders(java.lang.String)", "is_public": false, @@ -40938,6 +42562,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -40962,6 +42587,10 @@ "java.lang.String", "java.util.Collection" ], + "argument_expr": [ + "\"orderDataBeans\"", + "orderDataBeans" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -40983,6 +42612,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -41004,6 +42634,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -41025,6 +42656,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -41046,6 +42678,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "next()", "is_public": true, @@ -41067,6 +42700,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -41088,6 +42722,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -41109,6 +42744,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -41130,6 +42766,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -41151,6 +42788,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -41172,6 +42810,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -41193,6 +42832,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -41214,6 +42854,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -41235,6 +42876,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -41258,6 +42900,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "orderDataBeans.size()" + ], "return_type": "", "callee_signature": "setNumberOfOrders(java.lang.Integer)", "is_public": true, @@ -41279,6 +42924,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -41302,6 +42948,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "orderjsfs" + ], "return_type": "", "callee_signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", "is_public": true, @@ -41325,6 +42974,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "(Date) session.getAttribute(\"sessionCreationDate\")" + ], "return_type": "", "callee_signature": "setSessionCreationDate(java.util.Date)", "is_public": true, @@ -41348,6 +43000,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sessionCreationDate\"" + ], "return_type": "java.util.Date", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -41371,6 +43026,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "new java.util.Date()" + ], "return_type": "", "callee_signature": "setCurrentTime(java.util.Date)", "is_public": true, @@ -41395,8 +43053,12 @@ "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "java.util.Collection" ], + "argument_expr": [ + "accountData", + "holdingDataBeans" + ], "return_type": "", - "callee_signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", + "callee_signature": "doAccountData(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.util.Collection)", "is_public": false, "is_protected": false, "is_private": true, @@ -41416,6 +43078,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -41446,6 +43109,16 @@ "", "java.lang.String" ], + "argument_expr": [ + "order.getOrderID()", + "order.getOrderStatus()", + "order.getOpenDate()", + "order.getCompletionDate()", + "order.getOrderFee()", + "order.getOrderType()", + "order.getQuantity()", + "order.getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", "is_public": false, @@ -41467,6 +43140,7 @@ "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList()", "is_public": false, @@ -41498,6 +43172,17 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "order.getOrderID()", + "order.getOrderStatus()", + "order.getOpenDate()", + "order.getCompletionDate()", + "order.getOrderFee()", + "order.getOrderType()", + "order.getQuantity()", + "order.getSymbol()", + "order.getPrice()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -41519,6 +43204,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -41843,124 +43529,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCreationDate(Date)": { + "setBalance(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setCreationDate(Date)", + "signature": "setBalance(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCreationDate(Date creationDate)", - "parameters": [ - { - "type": "java.util.Date", - "name": "creationDate", - "annotations": [], - "modifiers": [], - "start_line": 200, - "end_line": 200, - "start_column": 31, - "end_column": 47 - } - ], - "code": "{\n this.creationDate = creationDate;\n }", - "start_line": 200, - "end_line": 202, - "code_start_line": 200, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.creationDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setNumberOfOrderRows(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setNumberOfOrderRows(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setNumberOfOrderRows(Integer numberOfOrderRows)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "numberOfOrderRows", - "annotations": [], - "modifiers": [], - "start_line": 316, - "end_line": 316, - "start_column": 36, - "end_column": 60 - } - ], - "code": "{\n this.numberOfOrderRows = numberOfOrderRows;\n }", - "start_line": 316, - "end_line": 318, - "code_start_line": 316, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrderRows" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setProfileID(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setProfileID(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setProfileID(String profileID)", + "declaration": "public void setBalance(BigDecimal balance)", "parameters": [ { - "type": "java.lang.String", - "name": "profileID", + "type": "java.math.BigDecimal", + "name": "balance", "annotations": [], "modifiers": [], - "start_line": 188, - "end_line": 188, - "start_column": 28, + "start_line": 216, + "end_line": 216, + "start_column": 26, "end_column": 43 } ], - "code": "{\n this.profileID = profileID;\n }", - "start_line": 188, - "end_line": 190, - "code_start_line": 188, + "code": "{\n this.balance = balance;\n }", + "start_line": 216, + "end_line": 218, + "code_start_line": 216, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.profileID" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.balance" ], "call_sites": [], "variable_declarations": [], @@ -41998,6 +43600,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0" + ], "return_type": "", "callee_signature": "setNumberOfOrderRows(java.lang.Integer)", "is_public": true, @@ -42020,32 +43625,61 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHoldingsTotal(BigDecimal)": { + "getSumOfCashHoldings()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setHoldingsTotal(BigDecimal)", + "signature": "getSumOfCashHoldings()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setHoldingsTotal(BigDecimal holdingsTotal)", + "declaration": "public BigDecimal getSumOfCashHoldings()", + "parameters": [], + "code": "{\n return sumOfCashHoldings;\n }", + "start_line": 244, + "end_line": 246, + "code_start_line": 244, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sumOfCashHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setGainPercent(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", + "signature": "setGainPercent(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setGainPercent(BigDecimal gainPercent)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "holdingsTotal", + "name": "gainPercent", "annotations": [], "modifiers": [], - "start_line": 232, - "end_line": 232, - "start_column": 32, - "end_column": 55 + "start_line": 256, + "end_line": 256, + "start_column": 30, + "end_column": 51 } ], - "code": "{\n this.holdingsTotal = holdingsTotal;\n }", - "start_line": 232, - "end_line": 234, - "code_start_line": 232, + "code": "{\n this.gainPercent = gainPercent.setScale(2);\n }", + "start_line": 256, + "end_line": 258, + "code_start_line": 256, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -42053,36 +43687,76 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.holdingsTotal" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.gainPercent" + ], + "call_sites": [ + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "gainPercent", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "2" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 257, + "start_column": 24, + "end_line": 257, + "end_column": 46 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getSumOfCashHoldings()": { + "setProfileID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "getSumOfCashHoldings()", + "signature": "setProfileID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public BigDecimal getSumOfCashHoldings()", - "parameters": [], - "code": "{\n return sumOfCashHoldings;\n }", - "start_line": 244, - "end_line": 246, - "code_start_line": 244, - "return_type": "java.math.BigDecimal", + "declaration": "public void setProfileID(String profileID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "profileID", + "annotations": [], + "modifiers": [], + "start_line": 188, + "end_line": 188, + "start_column": 28, + "end_column": 43 + } + ], + "code": "{\n this.profileID = profileID;\n }", + "start_line": 188, + "end_line": 190, + "code_start_line": 188, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sumOfCashHoldings" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.profileID" ], "call_sites": [], "variable_declarations": [], @@ -42091,40 +43765,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setNumberHoldings(Integer)": { + "setSessionCreationDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setNumberHoldings(Integer)", + "signature": "setSessionCreationDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setNumberHoldings(Integer numberHoldings)", + "declaration": "public void setSessionCreationDate(Date sessionCreationDate)", "parameters": [ { - "type": "java.lang.Integer", - "name": "numberHoldings", + "type": "java.util.Date", + "name": "sessionCreationDate", "annotations": [], "modifiers": [], - "start_line": 264, - "end_line": 264, - "start_column": 33, - "end_column": 54 + "start_line": 172, + "end_line": 172, + "start_column": 38, + "end_column": 61 } ], - "code": "{\n this.numberHoldings = numberHoldings;\n }", - "start_line": 264, - "end_line": 266, - "code_start_line": 264, + "code": "{\n this.sessionCreationDate = sessionCreationDate;\n }", + "start_line": 172, + "end_line": 174, + "code_start_line": 172, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.Integer" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberHoldings" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sessionCreationDate" ], "call_sites": [], "variable_declarations": [], @@ -42249,48 +43923,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSessionCreationDate(Date)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setSessionCreationDate(Date)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSessionCreationDate(Date sessionCreationDate)", - "parameters": [ - { - "type": "java.util.Date", - "name": "sessionCreationDate", - "annotations": [], - "modifiers": [], - "start_line": 172, - "end_line": 172, - "start_column": 38, - "end_column": 61 - } - ], - "code": "{\n this.sessionCreationDate = sessionCreationDate;\n }", - "start_line": 172, - "end_line": 174, - "code_start_line": 172, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.sessionCreationDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getOpenBalance()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", "signature": "getOpenBalance()", @@ -42320,38 +43952,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAllOrders(OrderData[])": { + "setNumberOfOrders(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setAllOrders(OrderData[])", + "signature": "setNumberOfOrders(java.lang.Integer)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAllOrders(OrderData[] allOrders)", + "declaration": "public void setNumberOfOrders(Integer numberOfOrders)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData[]", - "name": "allOrders", + "type": "java.lang.Integer", + "name": "numberOfOrders", "annotations": [], "modifiers": [], - "start_line": 296, - "end_line": 296, - "start_column": 28, - "end_column": 48 + "start_line": 324, + "end_line": 324, + "start_column": 33, + "end_column": 54 } ], - "code": "{\n this.allOrders = allOrders;\n }", - "start_line": 296, - "end_line": 298, - "code_start_line": 296, + "code": "{\n this.numberOfOrders = numberOfOrders;\n }", + "start_line": 324, + "end_line": 326, + "code_start_line": 324, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.Integer" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.allOrders" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.numberOfOrders" ], "call_sites": [], "variable_declarations": [], @@ -42360,32 +43994,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setBalance(BigDecimal)": { + "setHoldingsTotal(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/AccountDataJSF.java", - "signature": "setBalance(BigDecimal)", + "signature": "setHoldingsTotal(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBalance(BigDecimal balance)", + "declaration": "public void setHoldingsTotal(BigDecimal holdingsTotal)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "balance", + "name": "holdingsTotal", "annotations": [], "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 26, - "end_column": 43 + "start_line": 232, + "end_line": 232, + "start_column": 32, + "end_column": 55 } ], - "code": "{\n this.balance = balance;\n }", - "start_line": 216, - "end_line": 218, - "code_start_line": 216, + "code": "{\n this.holdingsTotal = holdingsTotal;\n }", + "start_line": 232, + "end_line": 234, + "code_start_line": 232, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -42393,7 +44027,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.balance" + "com.ibm.websphere.samples.daytrader.web.jsf.AccountDataJSF.holdingsTotal" ], "call_sites": [], "variable_declarations": [], @@ -42962,73 +44596,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "contextDestroyed(ServletContextEvent)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", - "signature": "contextDestroyed(ServletContextEvent)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void contextDestroyed(ServletContextEvent event)", - "parameters": [ - { - "type": "javax.servlet.ServletContextEvent", - "name": "event", - "annotations": [], - "modifiers": [], - "start_line": 112, - "end_line": 112, - "start_column": 34, - "end_column": 58 - } - ], - "code": "{\n Log.trace(\"TradeWebContextListener contextDestroy calling TradeDirect:destroy()\");\n }", - "start_line": 111, - "end_line": 114, - "code_start_line": 112, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 113, - "start_column": 9, - "end_line": 113, - "end_column": 90 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "contextInitialized(ServletContextEvent)": { + "contextInitialized(javax.servlet.ServletContextEvent)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", - "signature": "contextInitialized(ServletContextEvent)", + "signature": "contextInitialized(javax.servlet.ServletContextEvent)", "comments": [ { "content": " Load settings from properties file (if it exists)", @@ -43083,6 +44653,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeWebContextListener contextInitialized -- initializing TradeDirect\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -43106,6 +44679,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/properties/daytrader.properties\"" + ], "return_type": "java.io.InputStream", "callee_signature": "getResourceAsStream(java.lang.String)", "is_public": true, @@ -43127,6 +44703,7 @@ "receiver_expr": "event", "receiver_type": "javax.servlet.ServletContextEvent", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -43150,6 +44727,9 @@ "argument_types": [ "java.io.InputStream" ], + "argument_expr": [ + "stream" + ], "return_type": "", "callee_signature": "load(java.io.InputStream)", "is_public": true, @@ -43173,6 +44753,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Settings from daytrader.properties: \" + prop" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -43196,6 +44779,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"RUNTIME_MODE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43219,6 +44805,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"RUNTIME_MODE\"))" + ], "return_type": "", "callee_signature": "setRunTimeMode(int)", "is_public": true, @@ -43242,6 +44831,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"RUNTIME_MODE\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43265,6 +44857,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"RUNTIME_MODE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43288,6 +44883,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"runtimeMode\"))" + ], "return_type": "", "callee_signature": "setRunTimeMode(int)", "is_public": true, @@ -43311,6 +44909,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"runtimeMode\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43334,6 +44935,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"runtimeMode\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -43357,6 +44961,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Running in \" + TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()] + \" Mode\"" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -43378,6 +44985,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -43399,6 +45007,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -43422,6 +45031,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ORDER_PROCESSING_MODE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43445,6 +45057,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"ORDER_PROCESSING_MODE\"))" + ], "return_type": "", "callee_signature": "setOrderProcessingMode(int)", "is_public": true, @@ -43468,6 +45083,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"ORDER_PROCESSING_MODE\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43491,6 +45109,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ORDER_PROCESSING_MODE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43514,6 +45135,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"orderProcessingMode\"))" + ], "return_type": "", "callee_signature": "setOrderProcessingMode(int)", "is_public": true, @@ -43537,6 +45161,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"orderProcessingMode\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43560,6 +45187,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"orderProcessingMode\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -43583,6 +45213,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Running in \" + TradeConfig.getOrderProcessingModeNames()[TradeConfig.getOrderProcessingMode()] + \" Order Processing Mode\"" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -43604,6 +45237,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingModeNames()", "is_public": true, @@ -43625,6 +45259,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -43648,6 +45283,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_USERS\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43671,6 +45309,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"MAX_USERS\"))" + ], "return_type": "", "callee_signature": "setMAX_USERS(int)", "is_public": true, @@ -43694,6 +45335,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"MAX_USERS\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43717,6 +45361,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_USERS\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43740,6 +45387,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"maxUsers\"))" + ], "return_type": "", "callee_signature": "setMAX_USERS(int)", "is_public": true, @@ -43763,6 +45413,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"maxUsers\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43786,6 +45439,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxUsers\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -43809,6 +45465,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_USERS = \" + prop.getProperty(\"maxUsers\") + \" users\"" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -43832,6 +45491,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxUsers\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -43855,6 +45517,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_QUOTES\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43878,6 +45543,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"MAX_QUOTES\"))" + ], "return_type": "", "callee_signature": "setMAX_QUOTES(int)", "is_public": true, @@ -43901,6 +45569,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"MAX_QUOTES\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43924,6 +45595,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_QUOTES\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -43947,6 +45621,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"maxQuotes\"))" + ], "return_type": "", "callee_signature": "setMAX_QUOTES(int)", "is_public": true, @@ -43970,6 +45647,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"maxQuotes\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -43993,6 +45673,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxQuotes\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44016,6 +45699,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MAX_QUOTES = \" + prop.getProperty(\"maxQuotes\") + \" quotes\"" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -44039,6 +45725,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxQuotes\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44062,6 +45751,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PUBLISH_QUOTES\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44085,6 +45777,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Boolean.parseBoolean(System.getenv(\"PUBLISH_QUOTES\"))" + ], "return_type": "", "callee_signature": "setPublishQuotePriceChange(boolean)", "is_public": true, @@ -44108,6 +45803,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"PUBLISH_QUOTES\")" + ], "return_type": "", "callee_signature": "parseBoolean(java.lang.String)", "is_public": true, @@ -44131,6 +45829,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PUBLISH_QUOTES\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44154,6 +45855,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Boolean.parseBoolean(prop.getProperty(\"publishQuotePriceChange\"))" + ], "return_type": "", "callee_signature": "setPublishQuotePriceChange(boolean)", "is_public": true, @@ -44177,6 +45881,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"publishQuotePriceChange\")" + ], "return_type": "", "callee_signature": "parseBoolean(java.lang.String)", "is_public": true, @@ -44200,6 +45907,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"publishQuotePriceChange\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44223,6 +45933,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DISPLAY_ORDER_ALERTS\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44246,6 +45959,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Boolean.parseBoolean(System.getenv(\"DISPLAY_ORDER_ALERTS\"))" + ], "return_type": "", "callee_signature": "setDisplayOrderAlerts(boolean)", "is_public": true, @@ -44269,6 +45985,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"DISPLAY_ORDER_ALERTS\")" + ], "return_type": "", "callee_signature": "parseBoolean(java.lang.String)", "is_public": true, @@ -44292,6 +46011,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DISPLAY_ORDER_ALERTS\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44315,6 +46037,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Boolean.parseBoolean(prop.getProperty(\"displayOrderAlerts\"))" + ], "return_type": "", "callee_signature": "setDisplayOrderAlerts(boolean)", "is_public": true, @@ -44338,6 +46063,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"displayOrderAlerts\")" + ], "return_type": "", "callee_signature": "parseBoolean(java.lang.String)", "is_public": true, @@ -44361,6 +46089,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"displayOrderAlerts\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44384,6 +46115,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"WEB_INTERFACE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44407,6 +46141,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"WEB_INTERFACE\"))" + ], "return_type": "", "callee_signature": "setWebInterface(int)", "is_public": true, @@ -44430,6 +46167,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"WEB_INTERFACE\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44453,6 +46193,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"WEB_INTERFACE\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44476,6 +46219,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"webInterface\"))" + ], "return_type": "", "callee_signature": "setWebInterface(int)", "is_public": true, @@ -44499,6 +46245,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"webInterface\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44522,6 +46271,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"webInterface\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44545,6 +46297,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44568,6 +46323,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\"))" + ], "return_type": "", "callee_signature": "setListQuotePriceChangeFrequency(int)", "is_public": true, @@ -44591,6 +46349,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "System.getenv(\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44614,6 +46375,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"LIST_QUOTE_PRICE_CHANGE_FREQUENCY\"" + ], "return_type": "java.lang.String", "callee_signature": "getenv(java.lang.String)", "is_public": true, @@ -44637,6 +46401,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"listQuotePriceChangeFrequency\"))" + ], "return_type": "", "callee_signature": "setListQuotePriceChangeFrequency(int)", "is_public": true, @@ -44660,6 +46427,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"listQuotePriceChangeFrequency\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44683,6 +46453,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"listQuotePriceChangeFrequency\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44706,6 +46479,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"primIterations\"))" + ], "return_type": "", "callee_signature": "setPrimIterations(int)", "is_public": true, @@ -44729,6 +46505,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"primIterations\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44752,6 +46531,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"primIterations\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44775,6 +46557,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(prop.getProperty(\"marketSummaryInterval\"))" + ], "return_type": "", "callee_signature": "setMarketSummaryInterval(int)", "is_public": true, @@ -44798,6 +46583,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"marketSummaryInterval\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -44821,6 +46609,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"marketSummaryInterval\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44844,6 +46635,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Boolean.parseBoolean(prop.getProperty(\"longRun\"))" + ], "return_type": "", "callee_signature": "setLongRun(boolean)", "is_public": true, @@ -44867,6 +46661,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "prop.getProperty(\"longRun\")" + ], "return_type": "", "callee_signature": "parseBoolean(java.lang.String)", "is_public": true, @@ -44890,6 +46687,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"longRun\"" + ], "return_type": "java.lang.String", "callee_signature": "getProperty(java.lang.String)", "is_public": true, @@ -44913,6 +46713,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"daytrader.properties not found\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -44934,6 +46737,7 @@ "receiver_expr": "", "receiver_type": "java.util.Properties", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Properties", "callee_signature": "Properties()", "is_public": false, @@ -44990,6 +46794,73 @@ "crud_queries": [], "cyclomatic_complexity": 10, "is_entrypoint": false + }, + "contextDestroyed(javax.servlet.ServletContextEvent)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeWebContextListener.java", + "signature": "contextDestroyed(javax.servlet.ServletContextEvent)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void contextDestroyed(ServletContextEvent event)", + "parameters": [ + { + "type": "javax.servlet.ServletContextEvent", + "name": "event", + "annotations": [], + "modifiers": [], + "start_line": 112, + "end_line": 112, + "start_column": 34, + "end_column": 58 + } + ], + "code": "{\n Log.trace(\"TradeWebContextListener contextDestroy calling TradeDirect:destroy()\");\n }", + "start_line": 111, + "end_line": 114, + "code_start_line": 112, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeWebContextListener contextDestroy calling TradeDirect:destroy()\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 9, + "end_line": 113, + "end_column": 90 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [], @@ -45079,9 +46950,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "onClose(Session, CloseReason)": { + "onClose(javax.websocket.Session, javax.websocket.CloseReason)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java", - "signature": "onClose(Session, CloseReason)", + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", "comments": [], "annotations": [ "@OnClose" @@ -45129,9 +47000,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "ping(String)": { + "ping(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java", - "signature": "ping(String)", + "signature": "ping(java.lang.String)", "comments": [], "annotations": [ "@OnMessage" @@ -45174,6 +47045,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "hitCount.toString()" + ], "return_type": "", "callee_signature": "sendText(java.lang.String)", "is_public": true, @@ -45195,6 +47069,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Basic", "callee_signature": "getBasicRemote()", "is_public": true, @@ -45216,6 +47091,7 @@ "receiver_expr": "hitCount", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -45237,6 +47113,7 @@ "receiver_expr": "e", "receiver_type": "java.io.IOException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -45259,9 +47136,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "onError(Throwable)": { + "onError(java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java", - "signature": "onError(Throwable)", + "signature": "onError(java.lang.Throwable)", "comments": [], "annotations": [ "@OnError" @@ -45299,6 +47176,7 @@ "receiver_expr": "t", "receiver_type": "java.lang.Throwable", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -45321,9 +47199,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "onOpen(Session, EndpointConfig)": { + "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextSync.java", - "signature": "onOpen(Session, EndpointConfig)", + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", "comments": [], "annotations": [ "@OnOpen" @@ -45546,120 +47424,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 113, - "end_line": 113, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 112, - "end_line": 117, - "code_start_line": 113, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 5, - "end_line": 114, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 16, - "end_line": 116, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 16, - "end_line": 116, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -45713,6 +47480,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -45735,38 +47506,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB and JMS -- 2-phase commit path\";\n\n }", - "start_line": 106, - "end_line": 110, - "code_start_line": 107, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " getQuote will call findQuote which will instaniate the", @@ -45853,6 +47595,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -45874,6 +47619,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -45897,6 +47643,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2TwoPhase\" + \"
PingServlet2TwoPhase
\" + \"\" + \"PingServlet2TwoPhase tests the path of a Servlet calling a Session EJB \" + \"which in turn calls an Entity EJB to read a DB row (quote). The Session EJB \" + \"then posts a message to a JMS Queue. \" + \"
These operations are wrapped in a 2-phase commit
\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -45918,6 +47667,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -45939,6 +47689,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -45962,6 +47713,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "pingTwoPhase(java.lang.String)", "is_public": false, @@ -45986,6 +47740,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ne", + "\"PingServlet2TwoPhase.goGet(...): exception getting QuoteData through Trade\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -46009,6 +47767,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
Hit Count: \" + hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -46032,6 +47793,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
initTime: \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -46055,6 +47819,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
Two phase ping selected a quote and sent a message to TradeBrokerQueue JMS queue
Quote Information

\" + quoteData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -46076,6 +47843,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -46099,6 +47867,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -46120,6 +47891,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -46144,6 +47916,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2TwoPhase.doGet(...): General Exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -46168,6 +47944,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"General Exception caught, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -46189,6 +47969,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -46212,6 +47993,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -46336,6 +48120,151 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB and JMS -- 2-phase commit path\";\n\n }", + "start_line": 106, + "end_line": 110, + "code_start_line": 107, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2TwoPhase.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 112, + "end_line": 117, + "code_start_line": 113, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2TwoPhase.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 5, + "end_line": 114, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 16, + "end_line": 116, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 16, + "end_line": 116, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -46647,129 +48576,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 97, - "end_line": 102, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 104, - "end_line": 104, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 103, - "end_line": 109, - "code_start_line": 104, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 9, - "end_line": 105, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 20, - "end_line": 107, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 20, - "end_line": 107, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -46832,6 +48641,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -46854,38 +48667,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet using a PrintWriter\";\n }", - "start_line": 92, - "end_line": 95, - "code_start_line": 93, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " The following 2 lines are the difference between PingServlet and", @@ -46992,6 +48776,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -47013,6 +48800,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -47036,6 +48824,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet Writer\" + \"

Ping Servlet Writer:
Init time : \" + initTime + \"

Hit Count: \" + hitCount + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -47060,6 +48851,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServletWriter.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -47084,6 +48879,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -47105,6 +48904,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -47144,6 +48944,160 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet using a PrintWriter\";\n }", + "start_line": 92, + "end_line": 95, + "code_start_line": 93, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletWriter.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 97, + "end_line": 102, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 104, + "end_line": 104, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 103, + "end_line": 109, + "code_start_line": 104, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingServletWriter.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 9, + "end_line": 105, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 20, + "end_line": 107, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 20, + "end_line": 107, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -47307,61 +49261,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0005()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getProp0005()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getProp0005()", - "parameters": [], - "code": "{\n return prop0005;\n }", - "start_line": 74, - "end_line": 76, - "code_start_line": 74, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0005" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setProp0014(String)": { + "setProp0007(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0014(String)", + "signature": "setProp0007(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0014(String prop0014)", + "declaration": "public void setProp0007(String prop0007)", "parameters": [ { "type": "java.lang.String", - "name": "prop0014", + "name": "prop0007", "annotations": [], "modifiers": [], - "start_line": 131, - "end_line": 131, + "start_line": 89, + "end_line": 89, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0014 = prop0014;\n }", - "start_line": 131, - "end_line": 133, - "code_start_line": 131, + "code": "{\n this.prop0007 = prop0007;\n }", + "start_line": 89, + "end_line": 91, + "code_start_line": 89, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47369,7 +49294,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0014" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0007" ], "call_sites": [], "variable_declarations": [], @@ -47378,27 +49303,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0004()": { + "getProp0005()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getProp0004()", + "signature": "getProp0005()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0004()", + "declaration": "public String getProp0005()", "parameters": [], - "code": "{\n return prop0004;\n }", - "start_line": 68, - "end_line": 70, - "code_start_line": 68, + "code": "{\n return prop0005;\n }", + "start_line": 74, + "end_line": 76, + "code_start_line": 74, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0004" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0005" ], "call_sites": [], "variable_declarations": [], @@ -47407,40 +49332,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0012(String)": { + "getProp0004()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0012(String)", + "signature": "getProp0004()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0012(String prop0012)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0012", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0012 = prop0012;\n }", - "start_line": 119, - "end_line": 121, - "code_start_line": 119, - "return_type": "void", + "declaration": "public String getProp0004()", + "parameters": [], + "code": "{\n return prop0004;\n }", + "start_line": 68, + "end_line": 70, + "code_start_line": 68, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0012" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0004" ], "call_sites": [], "variable_declarations": [], @@ -47507,61 +49419,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getX()": { + "setProp0004(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getX()", + "signature": "setProp0004(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getX()", - "parameters": [], - "code": "{\n return x;\n }", - "start_line": 146, - "end_line": 148, - "code_start_line": 146, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.x" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setProp0013(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0013(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setProp0013(String prop0013)", + "declaration": "public void setProp0004(String prop0004)", "parameters": [ { "type": "java.lang.String", - "name": "prop0013", + "name": "prop0004", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, + "start_line": 71, + "end_line": 71, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0013 = prop0013;\n }", - "start_line": 125, - "end_line": 127, - "code_start_line": 125, + "code": "{\n this.prop0004 = prop0004;\n }", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47569,7 +49452,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0013" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0004" ], "call_sites": [], "variable_declarations": [], @@ -47578,32 +49461,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0009(String)": { + "setProp0014(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0009(String)", + "signature": "setProp0014(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0009(String prop0009)", + "declaration": "public void setProp0014(String prop0014)", "parameters": [ { "type": "java.lang.String", - "name": "prop0009", + "name": "prop0014", "annotations": [], "modifiers": [], - "start_line": 101, - "end_line": 101, + "start_line": 131, + "end_line": 131, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0009 = prop0009;\n }", - "start_line": 101, - "end_line": 103, - "code_start_line": 101, + "code": "{\n this.prop0014 = prop0014;\n }", + "start_line": 131, + "end_line": 133, + "code_start_line": 131, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47611,7 +49494,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0009" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0014" ], "call_sites": [], "variable_declarations": [], @@ -47620,40 +49503,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0008(String)": { + "getX()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0008(String)", + "signature": "getX()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0008(String prop0008)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0008", - "annotations": [], - "modifiers": [], - "start_line": 95, - "end_line": 95, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0008 = prop0008;\n }", - "start_line": 95, - "end_line": 97, - "code_start_line": 95, - "return_type": "void", + "declaration": "public String getX()", + "parameters": [], + "code": "{\n return x;\n }", + "start_line": 146, + "end_line": 148, + "code_start_line": 146, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0008" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.x" ], "call_sites": [], "variable_declarations": [], @@ -47662,9 +49532,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0011(String)": { + "setProp0011(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0011(String)", + "signature": "setProp0011(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -47704,32 +49574,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0007(String)": { + "setProp0001(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0007(String)", + "signature": "setProp0001(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0007(String prop0007)", + "declaration": "public void setProp0001(String prop0001)", "parameters": [ { "type": "java.lang.String", - "name": "prop0007", + "name": "prop0001", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, + "start_line": 53, + "end_line": 53, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0007 = prop0007;\n }", - "start_line": 89, - "end_line": 91, - "code_start_line": 89, + "code": "{\n this.prop0001 = prop0001;\n }", + "start_line": 53, + "end_line": 55, + "code_start_line": 53, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47737,7 +49607,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0007" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0001" ], "call_sites": [], "variable_declarations": [], @@ -47746,32 +49616,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0010(String)": { + "setX(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0010(String)", + "signature": "setX(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0010(String prop0010)", + "declaration": "public void setX(String x)", "parameters": [ { "type": "java.lang.String", - "name": "prop0010", + "name": "x", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, - "start_column": 27, - "end_column": 41 + "start_line": 149, + "end_line": 149, + "start_column": 20, + "end_column": 27 } ], - "code": "{\n this.prop0010 = prop0010;\n }", - "start_line": 107, - "end_line": 109, - "code_start_line": 107, + "code": "{\n this.x = x;\n }", + "start_line": 149, + "end_line": 151, + "code_start_line": 149, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47779,7 +49649,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0010" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.x" ], "call_sites": [], "variable_declarations": [], @@ -47817,6 +49687,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setProp0013(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", + "signature": "setProp0013(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProp0013(String prop0013)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0013", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0013 = prop0013;\n }", + "start_line": 125, + "end_line": 127, + "code_start_line": 125, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0013" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getProp0014()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", "signature": "getProp0014()", @@ -47904,25 +49816,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0010()": { + "setProp0010(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getProp0010()", + "signature": "setProp0010(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0010()", - "parameters": [], - "code": "{\n return prop0010;\n }", - "start_line": 104, - "end_line": 106, - "code_start_line": 104, - "return_type": "java.lang.String", + "declaration": "public void setProp0010(String prop0010)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0010", + "annotations": [], + "modifiers": [], + "start_line": 107, + "end_line": 107, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0010 = prop0010;\n }", + "start_line": 107, + "end_line": 109, + "code_start_line": 107, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0010" ], @@ -47933,27 +49858,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0011()": { + "getProp0010()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getProp0011()", + "signature": "getProp0010()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0011()", + "declaration": "public String getProp0010()", "parameters": [], - "code": "{\n return prop0011;\n }", - "start_line": 110, - "end_line": 112, - "code_start_line": 110, + "code": "{\n return prop0010;\n }", + "start_line": 104, + "end_line": 106, + "code_start_line": 104, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0011" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0010" ], "call_sites": [], "variable_declarations": [], @@ -47962,32 +49887,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0006(String)": { + "setProp0016(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0006(String)", + "signature": "setProp0016(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0006(String prop0006)", + "declaration": "public void setProp0016(String prop0016)", "parameters": [ { "type": "java.lang.String", - "name": "prop0006", + "name": "prop0016", "annotations": [], "modifiers": [], - "start_line": 83, - "end_line": 83, + "start_line": 143, + "end_line": 143, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0006 = prop0006;\n }", - "start_line": 83, - "end_line": 85, - "code_start_line": 83, + "code": "{\n this.prop0016 = prop0016;\n }", + "start_line": 143, + "end_line": 145, + "code_start_line": 143, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -47995,7 +49920,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0006" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0016" ], "call_sites": [], "variable_declarations": [], @@ -48004,27 +49929,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0012()": { + "setProp0003(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "getProp0012()", + "signature": "setProp0003(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0012()", - "parameters": [], - "code": "{\n return prop0012;\n }", - "start_line": 116, - "end_line": 118, - "code_start_line": 116, - "return_type": "java.lang.String", + "declaration": "public void setProp0003(String prop0003)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0003", + "annotations": [], + "modifiers": [], + "start_line": 65, + "end_line": 65, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0003 = prop0003;\n }", + "start_line": 65, + "end_line": 67, + "code_start_line": 65, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0012" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0003" ], "call_sites": [], "variable_declarations": [], @@ -48033,32 +49971,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0004(String)": { + "setProp0006(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0004(String)", + "signature": "setProp0006(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0004(String prop0004)", + "declaration": "public void setProp0006(String prop0006)", "parameters": [ { "type": "java.lang.String", - "name": "prop0004", + "name": "prop0006", "annotations": [], "modifiers": [], - "start_line": 71, - "end_line": 71, + "start_line": 83, + "end_line": 83, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0004 = prop0004;\n }", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, + "code": "{\n this.prop0006 = prop0006;\n }", + "start_line": 83, + "end_line": 85, + "code_start_line": 83, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48066,7 +50004,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0004" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0006" ], "call_sites": [], "variable_declarations": [], @@ -48075,40 +50013,56 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0005(String)": { + "getProp0011()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0005(String)", + "signature": "getProp0011()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0005(String prop0005)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0005", - "annotations": [], - "modifiers": [], - "start_line": 77, - "end_line": 77, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0005 = prop0005;\n }", - "start_line": 77, - "end_line": 79, - "code_start_line": 77, - "return_type": "void", + "declaration": "public String getProp0011()", + "parameters": [], + "code": "{\n return prop0011;\n }", + "start_line": 110, + "end_line": 112, + "code_start_line": 110, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0011" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getProp0012()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", + "signature": "getProp0012()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" ], + "thrown_exceptions": [], + "declaration": "public String getProp0012()", + "parameters": [], + "code": "{\n return prop0012;\n }", + "start_line": 116, + "end_line": 118, + "code_start_line": 116, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0005" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0012" ], "call_sites": [], "variable_declarations": [], @@ -48117,32 +50071,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0001(String)": { + "setProp0009(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0001(String)", + "signature": "setProp0009(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0001(String prop0001)", + "declaration": "public void setProp0009(String prop0009)", "parameters": [ { "type": "java.lang.String", - "name": "prop0001", + "name": "prop0009", "annotations": [], "modifiers": [], - "start_line": 53, - "end_line": 53, + "start_line": 101, + "end_line": 101, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0001 = prop0001;\n }", - "start_line": 53, - "end_line": 55, - "code_start_line": 53, + "code": "{\n this.prop0009 = prop0009;\n }", + "start_line": 101, + "end_line": 103, + "code_start_line": 101, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48150,7 +50104,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0001" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0009" ], "call_sites": [], "variable_declarations": [], @@ -48159,32 +50113,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setX(String)": { + "setProp0005(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setX(String)", + "signature": "setProp0005(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setX(String x)", + "declaration": "public void setProp0005(String prop0005)", "parameters": [ { "type": "java.lang.String", - "name": "x", + "name": "prop0005", "annotations": [], "modifiers": [], - "start_line": 149, - "end_line": 149, - "start_column": 20, - "end_column": 27 + "start_line": 77, + "end_line": 77, + "start_column": 27, + "end_column": 41 } ], - "code": "{\n this.x = x;\n }", - "start_line": 149, - "end_line": 151, - "code_start_line": 149, + "code": "{\n this.prop0005 = prop0005;\n }", + "start_line": 77, + "end_line": 79, + "code_start_line": 77, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48192,7 +50146,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.x" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0005" ], "call_sites": [], "variable_declarations": [], @@ -48201,32 +50155,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0003(String)": { + "setProp0002(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0003(String)", + "signature": "setProp0002(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0003(String prop0003)", + "declaration": "public void setProp0002(String prop0002)", "parameters": [ { "type": "java.lang.String", - "name": "prop0003", + "name": "prop0002", "annotations": [], "modifiers": [], - "start_line": 65, - "end_line": 65, + "start_line": 59, + "end_line": 59, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0003 = prop0003;\n }", - "start_line": 65, - "end_line": 67, - "code_start_line": 65, + "code": "{\n this.prop0002 = prop0002;\n }", + "start_line": 59, + "end_line": 61, + "code_start_line": 59, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48234,7 +50188,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0003" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0002" ], "call_sites": [], "variable_declarations": [], @@ -48272,48 +50226,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0015(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0015(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setProp0015(String prop0015)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0015", - "annotations": [], - "modifiers": [], - "start_line": 137, - "end_line": 137, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0015 = prop0015;\n }", - "start_line": 137, - "end_line": 139, - "code_start_line": 137, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0015" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getProp0008()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", "signature": "getProp0008()", @@ -48401,32 +50313,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0002(String)": { + "setProp0012(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0002(String)", + "signature": "setProp0012(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0002(String prop0002)", + "declaration": "public void setProp0012(String prop0012)", "parameters": [ { "type": "java.lang.String", - "name": "prop0002", + "name": "prop0012", "annotations": [], "modifiers": [], - "start_line": 59, - "end_line": 59, + "start_line": 119, + "end_line": 119, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0002 = prop0002;\n }", - "start_line": 59, - "end_line": 61, - "code_start_line": 59, + "code": "{\n this.prop0012 = prop0012;\n }", + "start_line": 119, + "end_line": 121, + "code_start_line": 119, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48434,7 +50346,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0002" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0012" ], "call_sites": [], "variable_declarations": [], @@ -48443,32 +50355,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0016(String)": { + "setProp0008(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", - "signature": "setProp0016(String)", + "signature": "setProp0008(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0016(String prop0016)", + "declaration": "public void setProp0008(String prop0008)", "parameters": [ { "type": "java.lang.String", - "name": "prop0016", + "name": "prop0008", "annotations": [], "modifiers": [], - "start_line": 143, - "end_line": 143, + "start_line": 95, + "end_line": 95, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0016 = prop0016;\n }", - "start_line": 143, - "end_line": 145, - "code_start_line": 143, + "code": "{\n this.prop0008 = prop0008;\n }", + "start_line": 95, + "end_line": 97, + "code_start_line": 95, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -48476,7 +50388,49 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0016" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0008" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setProp0015(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/XMLObject.java", + "signature": "setProp0015(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProp0015(String prop0015)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0015", + "annotations": [], + "modifiers": [], + "start_line": 137, + "end_line": 137, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0015 = prop0015;\n }", + "start_line": 137, + "end_line": 139, + "code_start_line": 137, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject.prop0015" ], "call_sites": [], "variable_declarations": [], @@ -49801,7 +51755,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/RunStatsDataBean.java", - "signature": "RunStatsDataBean()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -50176,6 +52130,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getTradeUserCount()", "is_public": true, @@ -50197,6 +52152,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getNewUserCount()", "is_public": true, @@ -50218,6 +52174,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getSumLoginCount()", "is_public": true, @@ -50239,6 +52196,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getSumLogoutCount()", "is_public": true, @@ -50260,6 +52218,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getHoldingCount()", "is_public": true, @@ -50281,6 +52240,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderCount()", "is_public": true, @@ -50302,6 +52262,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getBuyOrderCount()", "is_public": true, @@ -50323,6 +52284,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getSellOrderCount()", "is_public": true, @@ -50344,6 +52306,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCancelledOrderCount()", "is_public": true, @@ -50365,6 +52328,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOpenOrderCount()", "is_public": true, @@ -50386,6 +52350,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getDeletedOrderCount()", "is_public": true, @@ -50407,6 +52372,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -51315,129 +53281,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 116, - "end_line": 121, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 122, - "end_line": 127, - "code_start_line": 123, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 5, - "end_line": 124, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 16, - "end_line": 125, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 16, - "end_line": 125, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -51500,6 +53346,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -51522,47 +53372,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 106, - "end_line": 110, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", - "start_line": 111, - "end_line": 114, - "code_start_line": 112, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " JSON generate", @@ -51648,6 +53460,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -51669,6 +53484,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -51690,6 +53506,7 @@ "receiver_expr": "Json.createObjectBuilder().add(\"initTime\", initTime).add(\"hitCount\", hitCount)", "receiver_type": "javax.json.JsonObjectBuilder", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "build()", "is_public": true, @@ -51714,6 +53531,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"hitCount\"", + "hitCount" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, int)", "is_public": true, @@ -51738,6 +53559,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"initTime\"", + "initTime" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -51759,6 +53584,7 @@ "receiver_expr": "Json", "receiver_type": "javax.json.Json", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "createObjectBuilder()", "is_public": true, @@ -51780,6 +53606,7 @@ "receiver_expr": "json", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -51803,6 +53630,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(generatedJSON)" + ], "return_type": "javax.json.JsonReader", "callee_signature": "createReader(java.io.Reader)", "is_public": true, @@ -51824,6 +53654,7 @@ "receiver_expr": "jsonReader.readObject()", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -51845,6 +53676,7 @@ "receiver_expr": "jsonReader", "receiver_type": "javax.json.JsonReader", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "readObject()", "is_public": true, @@ -51868,6 +53700,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JSONP\" + \"

Ping JSONP
Generated JSON: \" + generatedJSON + \"
Parsed JSON: \" + parsedJSON + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -51892,6 +53727,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJSONPObject.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -51916,6 +53755,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -51937,6 +53780,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -51960,6 +53804,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "generatedJSON" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -52067,6 +53914,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 106, + "end_line": 110, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", + "start_line": 111, + "end_line": 114, + "code_start_line": 112, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObject.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 116, + "end_line": 121, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 122, + "end_line": 127, + "code_start_line": 123, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObject.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 5, + "end_line": 124, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 16, + "end_line": 125, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 16, + "end_line": 125, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -53636,215 +55646,118 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { + "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "requestDispatch(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String page) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.ServletContext", - "name": "ctx", - "annotations": [], - "modifiers": [], - "start_line": 643, - "end_line": 643, - "start_column": 32, - "end_column": 49 - }, + "signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "comments": [ { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 643, - "end_line": 643, - "start_column": 52, - "end_column": 73 + "content": " this is a user", + "start_line": 395, + "end_line": 395, + "start_column": 54, + "end_column": 70, + "is_javadoc": false }, { - "type": "javax.servlet.http.HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 643, - "end_line": 643, - "start_column": 76, - "end_column": 99 + "content": " error so I will", + "start_line": 396, + "end_line": 396, + "start_column": 7, + "end_column": 24, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 643, - "end_line": 643, - "start_column": 102, - "end_column": 114 + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 400, + "end_line": 400, + "start_column": 7, + "end_column": 72, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "page", - "annotations": [], - "modifiers": [], - "start_line": 643, - "end_line": 643, - "start_column": 117, - "end_column": 127 - } - ], - "code": "{\n\n ctx.getRequestDispatcher(page).include(req, resp);\n }", - "start_line": 643, - "end_line": 647, - "code_start_line": 644, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "include", - "comment": null, - "receiver_expr": "ctx.getRequestDispatcher(page)", - "receiver_type": "javax.servlet.RequestDispatcher", - "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 646, - "start_column": 5, - "end_line": 646, - "end_column": 53 + "content": " forward them to another page, at the end of the page.", + "start_line": 397, + "end_line": 397, + "start_column": 7, + "end_column": 62, + "is_javadoc": false }, { - "method_name": "getRequestDispatcher", - "comment": null, - "receiver_expr": "ctx", - "receiver_type": "javax.servlet.ServletContext", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.servlet.RequestDispatcher", - "callee_signature": "getRequestDispatcher(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 646, - "start_column": 5, - "end_line": 646, - "end_column": 34 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doPortfolio(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "comments": [ - { - "content": " Get the holdiings for this user", - "start_line": 455, - "end_line": 455, + "content": " exception but would invalidate a automation run", + "start_line": 401, + "end_line": 401, "start_column": 7, - "end_column": 40, + "end_column": 56, "is_javadoc": false }, { - "content": " Walk through the collection of user", - "start_line": 460, - "end_line": 460, + "content": " log the exception and foward to a error page", + "start_line": 405, + "end_line": 405, "start_column": 7, - "end_column": 44, + "end_column": 53, "is_javadoc": false }, { - "content": " holdings and creating a list of quotes", - "start_line": 461, - "end_line": 461, + "content": " set the status_code to 500", + "start_line": 407, + "end_line": 407, "start_column": 7, - "end_column": 47, + "end_column": 35, "is_javadoc": false }, { - "content": " this is a user", - "start_line": 477, - "end_line": 477, - "start_column": 54, - "end_column": 70, + "content": " Added to actually remove a user from the authentication cache", + "start_line": 415, + "end_line": 415, + "start_column": 5, + "end_column": 68, "is_javadoc": false }, { - "content": " error so I will", - "start_line": 478, - "end_line": 478, + "content": " Recreate Session object before writing output to the response", + "start_line": 420, + "end_line": 420, "start_column": 7, - "end_column": 24, + "end_column": 70, "is_javadoc": false }, { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 482, - "end_line": 482, + "content": " Once the response headers are written back to the client the", + "start_line": 421, + "end_line": 421, "start_column": 7, - "end_column": 72, + "end_column": 69, "is_javadoc": false }, { - "content": " forward them to another page rather than throw a 500", - "start_line": 479, - "end_line": 479, + "content": " opportunity", + "start_line": 422, + "end_line": 422, "start_column": 7, - "end_column": 61, + "end_column": 20, "is_javadoc": false }, { - "content": " exception but would invalidate a automation run", - "start_line": 483, - "end_line": 483, + "content": " to create a new session in this request may be lost", + "start_line": 423, + "end_line": 423, "start_column": 7, - "end_column": 56, + "end_column": 60, "is_javadoc": false }, { - "content": " log the exception with error page", - "start_line": 486, - "end_line": 486, + "content": " This is to handle only the TradeScenarioServlet case", + "start_line": 424, + "end_line": 424, "start_column": 7, - "end_column": 42, + "end_column": 61, "is_javadoc": false }, { - "content": "\n * Retrieve the current portfolio of stock holdings for the given trader\n * Dispatch to the Trade Portfolio JSP for display\n *\n * @param userID\n * The User requesting to view their portfolio\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 430, - "end_line": 451, + "content": "\n * Logout a Trade User Dispatch to the Trade Welcome JSP for display\n *\n * @param userID\n * The User to logout\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 368, + "end_line": 388, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -53856,88 +55769,81 @@ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doPortfolio(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws ServletException, IOException", + "declaration": "void doLogout(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID) throws ServletException, IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 452, - "end_line": 452, - "start_column": 20, - "end_column": 37 + "start_line": 389, + "end_line": 389, + "start_column": 17, + "end_column": 34 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 452, - "end_line": 452, - "start_column": 40, - "end_column": 61 + "start_line": 389, + "end_line": 389, + "start_column": 37, + "end_column": 58 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 452, - "end_line": 452, - "start_column": 64, - "end_column": 87 + "start_line": 389, + "end_line": 389, + "start_column": 61, + "end_column": 84 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 452, - "end_line": 452, - "start_column": 90, - "end_column": 102 - }, - { - "type": "java.lang.String", - "name": "results", - "annotations": [], - "modifiers": [], - "start_line": 452, - "end_line": 452, - "start_column": 105, - "end_column": 118 + "start_line": 389, + "end_line": 389, + "start_column": 87, + "end_column": 99 } ], - "code": "{\n\n try {\n // Get the holdiings for this user\n\n Collection quoteDataBeans = new ArrayList();\n Collection holdingDataBeans = tAction.getHoldings(userID);\n\n // Walk through the collection of user\n // holdings and creating a list of quotes\n if (holdingDataBeans.size() > 0) {\n\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n QuoteDataBean quoteData = tAction.getQuote(holdingData.getQuoteID());\n quoteDataBeans.add(quoteData);\n }\n } else {\n results = results + \". Your portfolio is empty.\";\n }\n req.setAttribute(\"results\", results);\n req.setAttribute(\"holdingDataBeans\", holdingDataBeans);\n req.setAttribute(\"quoteDataBeans\", quoteDataBeans);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE));\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doPortfolio(...)\", \"illegal argument, information should be in exception string\", \"user error\");\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doPortfolio(...)\" + \" exception user =\" + userID, e);\n }\n }", - "start_line": 452, - "end_line": 489, - "code_start_line": 452, + "code": "{\n String results = \"\";\n\n try {\n tAction.logout(userID);\n\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page, at the end of the page.\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doLogout(...)\", \"illegal argument, information should be in exception string\",\n \"treating this as a user error and forwarding on to a new page\");\n } catch (Exception e) {\n // log the exception and foward to a error page\n Log.error(e, \"TradeServletAction.doLogout(...):\", \"Error logging out\" + userID, \"fowarding to an error page\");\n // set the status_code to 500\n throw new ServletException(\"TradeServletAction.doLogout(...)\" + \"exception logging out user \" + userID, e);\n }\n HttpSession session = req.getSession();\n if (session != null) {\n session.invalidate();\n }\n\n // Added to actually remove a user from the authentication cache\n req.logout();\n\n Object o = req.getAttribute(\"TSS-RecreateSessionInLogout\");\n if (o != null && ((Boolean) o).equals(Boolean.TRUE)) {\n // Recreate Session object before writing output to the response\n // Once the response headers are written back to the client the\n // opportunity\n // to create a new session in this request may be lost\n // This is to handle only the TradeScenarioServlet case\n session = req.getSession(true);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n }", + "start_line": 389, + "end_line": 428, + "code_start_line": 389, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Collection", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.util.Collection", - "java.util.Iterator", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "javax.servlet.http.HttpSession", + "java.lang.Boolean", + "java.lang.Object", + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.PORTFOLIO_PAGE", - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE", + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", + "java.lang.Boolean.TRUE" ], "call_sites": [ { - "method_name": "getHoldings", + "method_name": "logout", "comment": null, "receiver_expr": "tAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "java.util.Collection", - "callee_signature": "getHoldings(java.lang.String)", + "argument_expr": [ + "userID" + ], + "return_type": "", + "callee_signature": "logout(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -53946,61 +55852,33 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 458, - "start_column": 40, - "end_line": 458, - "end_column": 66 - }, - { - "method_name": "size", - "comment": null, - "receiver_expr": "holdingDataBeans", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "", - "callee_signature": "size()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 462, - "start_column": 11, - "end_line": 462, - "end_column": 33 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "holdingDataBeans", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 464, - "start_column": 26, - "end_line": 464, - "end_column": 52 + "start_line": 393, + "start_column": 7, + "end_line": 393, + "end_column": 28 }, { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", - "argument_types": [], + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page, at the end of the page.", + "start_line": 397, + "end_line": 397, + "start_column": 7, + "end_column": 62, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"illegal argument:\" + e.getMessage()" + ], "return_type": "", - "callee_signature": "hasNext()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -54009,19 +55887,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 465, - "start_column": 16, - "end_line": 465, - "end_column": 27 + "start_line": 398, + "start_column": 7, + "end_line": 398, + "end_column": 81 }, { - "method_name": "next", + "method_name": "getMessage", "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", + "receiver_expr": "e", + "receiver_type": "java.lang.IllegalArgumentException", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "next()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", "is_public": true, "is_protected": false, "is_private": false, @@ -54030,89 +55909,98 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 466, - "start_column": 59, - "end_line": 466, - "end_column": 67 + "start_line": 398, + "start_column": 67, + "end_line": 398, + "end_column": 80 }, { - "method_name": "getQuote", - "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 401, + "end_line": 401, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ + "java.lang.IllegalArgumentException", + "java.lang.String", + "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 467, - "start_column": 37, - "end_line": 467, - "end_column": 78 - }, - { - "method_name": "getQuoteID", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getQuoteID()", + "argument_expr": [ + "e", + "\"TradeServletAction.doLogout(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"treating this as a user error and forwarding on to a new page\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 467, - "start_column": 54, - "end_line": 467, - "end_column": 77 + "start_line": 402, + "start_column": 7, + "end_line": 403, + "end_column": 74 }, { - "method_name": "add", - "comment": null, - "receiver_expr": "quoteDataBeans", - "receiver_type": "java.util.Collection", + "method_name": "error", + "comment": { + "content": " log the exception and foward to a error page", + "start_line": 405, + "end_line": 405, + "start_column": 7, + "end_column": 53, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.Exception", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "e", + "\"TradeServletAction.doLogout(...):\"", + "\"Error logging out\" + userID", + "\"fowarding to an error page\"" ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 468, - "start_column": 11, - "end_line": 468, - "end_column": 39 + "start_line": 406, + "start_column": 7, + "end_line": 406, + "end_column": 115 }, { - "method_name": "setAttribute", + "method_name": "getSession", "comment": null, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession()", "is_public": true, "is_protected": false, "is_private": false, @@ -54121,22 +56009,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 473, - "start_column": 7, - "end_line": 473, + "start_line": 410, + "start_column": 27, + "end_line": 410, "end_column": 42 }, { - "method_name": "setAttribute", + "method_name": "invalidate", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.util.Collection" - ], + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "callee_signature": "invalidate()", "is_public": true, "is_protected": false, "is_private": false, @@ -54145,22 +56031,27 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 474, + "start_line": 412, "start_column": 7, - "end_line": 474, - "end_column": 60 + "end_line": 412, + "end_column": 26 }, { - "method_name": "setAttribute", - "comment": null, + "method_name": "logout", + "comment": { + "content": " Added to actually remove a user from the authentication cache", + "start_line": 415, + "end_line": 415, + "start_column": 5, + "end_column": 68, + "is_javadoc": false + }, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.util.Collection" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "callee_signature": "logout()", "is_public": true, "is_protected": false, "is_private": false, @@ -54169,79 +56060,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 475, - "start_column": 7, - "end_line": 475, - "end_column": 56 + "start_line": 416, + "start_column": 5, + "end_line": 416, + "end_column": 16 }, { - "method_name": "requestDispatch", + "method_name": "getAttribute", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 476, - "start_column": 7, - "end_line": 476, - "end_column": 94 - }, - { - "method_name": "getPage", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" + "argument_expr": [ + "\"TSS-RecreateSessionInLogout\"" ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", + "return_type": "java.lang.Object", + "callee_signature": "getAttribute(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 476, - "start_column": 47, - "end_line": 476, - "end_column": 93 + "start_line": 418, + "start_column": 16, + "end_line": 418, + "end_column": 62 }, { - "method_name": "setAttribute", - "comment": { - "content": " forward them to another page rather than throw a 500", - "start_line": 479, - "end_line": 479, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "method_name": "equals", + "comment": null, + "receiver_expr": "((Boolean) o)", + "receiver_type": "java.lang.Boolean", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.lang.Boolean" + ], + "argument_expr": [ + "Boolean.TRUE" ], "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -54250,19 +56112,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 480, - "start_column": 7, - "end_line": 480, - "end_column": 81 + "start_line": 419, + "start_column": 22, + "end_line": 419, + "end_column": 55 }, { - "method_name": "getMessage", + "method_name": "getSession", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.IllegalArgumentException", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -54271,10 +56138,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 480, - "start_column": 67, - "end_line": 480, - "end_column": 80 + "start_line": 425, + "start_column": 17, + "end_line": 425, + "end_column": 36 }, { "method_name": "requestDispatch", @@ -54288,6 +56155,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.WELCOME_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -54298,10 +56172,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 481, - "start_column": 7, - "end_line": 481, - "end_column": 94 + "start_line": 427, + "start_column": 5, + "end_line": 427, + "end_column": 90 }, { "method_name": "getPage", @@ -54311,6 +56185,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.WELCOME_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -54321,73 +56198,19 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 481, - "start_column": 47, - "end_line": 481, - "end_column": 93 - }, - { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 483, - "end_line": 483, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.IllegalArgumentException", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 484, - "start_column": 7, - "end_line": 484, - "end_column": 134 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 457, - "start_column": 50, - "end_line": 457, - "end_column": 79 + "start_line": 427, + "start_column": 45, + "end_line": 427, + "end_column": 89 }, { "method_name": "", "comment": { - "content": " log the exception with error page", - "start_line": 486, - "end_line": 486, + "content": " set the status_code to 500", + "start_line": 407, + "end_line": 407, "start_column": 7, - "end_column": 42, + "end_column": 35, "is_javadoc": false }, "receiver_expr": "", @@ -54396,6 +56219,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doLogout(...)\" + \"exception logging out user \" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -54406,10 +56233,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 487, + "start_line": 408, "start_column": 13, - "end_line": 487, - "end_column": 105 + "end_line": 408, + "end_column": 112 } ], "variable_declarations": [ @@ -54422,47 +56249,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteDataBeans", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 457, - "start_column": 33, - "end_line": 457, - "end_column": 79 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingDataBeans", - "type": "java.util.Collection", - "initializer": "tAction.getHoldings(userID)", - "start_line": 458, - "start_column": 21, - "end_line": 458, - "end_column": 66 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "it", - "type": "java.util.Iterator", - "initializer": "holdingDataBeans.iterator()", - "start_line": 464, - "start_column": 21, - "end_line": 464, - "end_column": 52 + "name": "results", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 390, + "start_column": 12, + "end_line": 390, + "end_column": 23 }, { "comment": { @@ -54473,13 +56266,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "(HoldingDataBean) it.next()", - "start_line": 466, - "start_column": 27, - "end_line": 466, - "end_column": 67 + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession()", + "start_line": 410, + "start_column": 17, + "end_line": 410, + "end_column": 42 }, { "comment": { @@ -54490,36 +56283,100 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "tAction.getQuote(holdingData.getQuoteID())", - "start_line": 467, - "start_column": 25, - "end_line": 467, - "end_column": 78 + "name": "o", + "type": "java.lang.Object", + "initializer": "req.getAttribute(\"TSS-RecreateSessionInLogout\")", + "start_line": 418, + "start_column": 12, + "end_line": 418, + "end_column": 62 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 6, "is_entrypoint": true }, - "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { + "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doQuotes(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", + "signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "comments": [ + { + "content": " Got a valid userID and passwd, attempt login", + "start_line": 330, + "end_line": 330, + "start_column": 7, + "end_column": 53, + "is_javadoc": false + }, + { + "content": " log the exception with an error level of 3 which means,", + "start_line": 345, + "end_line": 345, + "start_column": 9, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " handled exception but would invalidate a automation run", + "start_line": 346, + "end_line": 346, + "start_column": 9, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " this is a user", + "start_line": 350, + "end_line": 350, + "start_column": 54, + "end_column": 70, + "is_javadoc": false + }, + { + "content": " error so I will", + "start_line": 351, + "end_line": 351, + "start_column": 7, + "end_column": 24, + "is_javadoc": false + }, + { + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 354, + "end_line": 354, + "start_column": 7, + "end_column": 72, + "is_javadoc": false + }, + { + "content": " forward them to another page rather than throw a 500", + "start_line": 352, + "end_line": 352, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " exception but would invalidate a automation run", + "start_line": 355, + "end_line": 355, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, { "content": " log the exception with error page", - "start_line": 523, - "end_line": 523, + "start_line": 360, + "end_line": 360, "start_column": 7, "end_column": 42, "is_javadoc": false }, { - "content": "\n * Retrieve the current Quote for the given stock symbol Dispatch to the\n * Trade Quote JSP for display\n *\n * @param userID\n * The stock symbol used to get the current quote\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 491, - "end_line": 509, + "content": "\n * Login a Trade User. Dispatch to the Trade Home JSP for display\n *\n * @param userID\n * The User to login\n * @param passwd\n * The password supplied by the trader used to authenticate\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 302, + "end_line": 324, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -54531,86 +56388,91 @@ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doQuotes(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String symbols) throws ServletException, IOException", + "declaration": "void doLogin(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String passwd) throws javax.servlet.ServletException, java.io.IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 510, - "end_line": 510, - "start_column": 17, - "end_column": 34 + "start_line": 325, + "end_line": 325, + "start_column": 16, + "end_column": 33 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 510, - "end_line": 510, - "start_column": 37, - "end_column": 58 + "start_line": 325, + "end_line": 325, + "start_column": 36, + "end_column": 57 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 510, - "end_line": 510, - "start_column": 61, - "end_column": 84 + "start_line": 325, + "end_line": 325, + "start_column": 60, + "end_column": 83 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 510, - "end_line": 510, - "start_column": 87, - "end_column": 99 + "start_line": 325, + "end_line": 325, + "start_column": 86, + "end_column": 98 }, { "type": "java.lang.String", - "name": "symbols", + "name": "passwd", "annotations": [], "modifiers": [], - "start_line": 510, - "end_line": 510, - "start_column": 102, - "end_column": 115 + "start_line": 325, + "end_line": 325, + "start_column": 101, + "end_column": 113 } ], - "code": "{\n\n try {\n Collection quoteDataBeans = new ArrayList();\n String[] symbolsSplit = symbols.split(\",\");\n for (String symbol: symbolsSplit) {\n QuoteDataBean quoteData = tAction.getQuote(symbol.trim());\n quoteDataBeans.add(quoteData);\n } \n req.setAttribute(\"quoteDataBeans\", quoteDataBeans);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.QUOTE_PAGE));\n\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doQuotes(...)\" + \" exception user =\" + userID, e);\n } \n }", - "start_line": 510, - "end_line": 526, - "code_start_line": 510, + "code": "{\n\n String results = \"\";\n try {\n // Got a valid userID and passwd, attempt login\n if (tAction==null) {\n System.out.println(\"null\"); }\n AccountDataBean accountData = tAction.login(userID, passwd);\n\n if (accountData != null) {\n HttpSession session = req.getSession(true);\n session.setAttribute(\"uidBean\", userID);\n session.setAttribute(\"sessionCreationDate\", new java.util.Date());\n\n results = \"Ready to Trade\";\n doHome(ctx, req, resp, userID, results);\n return;\n } else {\n req.setAttribute(\"results\", results + \"\\nCould not find account for + \" + userID);\n // log the exception with an error level of 3 which means,\n // handled exception but would invalidate a automation run\n Log.log(\"TradeServletAction.doLogin(...)\", \"Error finding account for user \" + userID + \"\",\n \"user entered a bad username or the database is not populated\");\n }\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doLogin(...)\", \"illegal argument, information should be in exception string\",\n \"treating this as a user error and forwarding on to a new page\");\n\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doLogin(...)\" + \"Exception logging in user \" + userID + \"with password\" + passwd, e);\n }\n\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n\n }", + "start_line": 325, + "end_line": 366, + "code_start_line": 326, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Collection", - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "javax.servlet.http.HttpSession", + "java.io.PrintStream", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.QUOTE_PAGE", - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE", + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", + "java.lang.System.out" ], "call_sites": [ { - "method_name": "split", + "method_name": "println", "comment": null, - "receiver_expr": "symbols", - "receiver_type": "java.lang.String", + "receiver_expr": "System.out", + "receiver_type": "java.io.PrintStream", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"null\"" + ], "return_type": "", - "callee_signature": "split(java.lang.String)", + "callee_signature": "println(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -54619,21 +56481,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 514, - "start_column": 31, - "end_line": 514, - "end_column": 48 + "start_line": 332, + "start_column": 9, + "end_line": 332, + "end_column": 34 }, { - "method_name": "getQuote", + "method_name": "login", "comment": null, "receiver_expr": "tAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ + "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote(java.lang.String)", + "argument_expr": [ + "userID", + "passwd" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "login(java.lang.String, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -54642,19 +56509,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 516, - "start_column": 35, - "end_line": 516, + "start_line": 333, + "start_column": 37, + "end_line": 333, "end_column": 65 }, { - "method_name": "trim", + "method_name": "getSession", "comment": null, - "receiver_expr": "symbol", - "receiver_type": "java.lang.String", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "trim()", + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "" + ], + "argument_expr": [ + "true" + ], + "return_type": "javax.servlet.http.HttpSession", + "callee_signature": "getSession(boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -54663,21 +56535,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 516, - "start_column": 52, - "end_line": 516, - "end_column": 64 + "start_line": 336, + "start_column": 31, + "end_line": 336, + "end_column": 50 }, { - "method_name": "add", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "quoteDataBeans", - "receiver_type": "java.util.Collection", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"uidBean\"", + "userID" ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -54686,19 +56563,23 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 517, + "start_line": 337, "start_column": 9, - "end_line": 517, - "end_column": 37 + "end_line": 337, + "end_column": 47 }, { "method_name": "setAttribute", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "receiver_expr": "session", + "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [ "java.lang.String", - "java.util.Collection" + "java.util.Date" + ], + "argument_expr": [ + "\"sessionCreationDate\"", + "new java.util.Date()" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -54710,10 +56591,205 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 519, + "start_line": 338, + "start_column": 9, + "end_line": 338, + "end_column": 73 + }, + { + "method_name": "doHome", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "results" + ], + "return_type": "", + "callee_signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 341, + "start_column": 9, + "end_line": 341, + "end_column": 47 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"\\nCould not find account for + \" + userID" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 344, + "start_column": 9, + "end_line": 344, + "end_column": 89 + }, + { + "method_name": "log", + "comment": { + "content": " handled exception but would invalidate a automation run", + "start_line": 346, + "end_line": 346, + "start_column": 9, + "end_column": 66, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"TradeServletAction.doLogin(...)\"", + "\"Error finding account for user \" + userID + \"\"", + "\"user entered a bad username or the database is not populated\"" + ], + "return_type": "", + "callee_signature": "log(java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 347, + "start_column": 9, + "end_line": 348, + "end_column": 75 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page rather than throw a 500", + "start_line": 352, + "end_line": 352, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"illegal argument:\" + e.getMessage()" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 353, "start_column": 7, - "end_line": 519, - "end_column": 56 + "end_line": 353, + "end_column": 81 + }, + { + "method_name": "getMessage", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.IllegalArgumentException", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 353, + "start_column": 67, + "end_line": 353, + "end_column": 80 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 355, + "end_line": 355, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.IllegalArgumentException", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "e", + "\"TradeServletAction.doLogin(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"treating this as a user error and forwarding on to a new page\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 356, + "start_column": 7, + "end_line": 357, + "end_column": 74 }, { "method_name": "requestDispatch", @@ -54727,6 +56803,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.WELCOME_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -54737,9 +56820,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, - "start_column": 7, - "end_line": 520, + "start_line": 364, + "start_column": 5, + "end_line": 364, "end_column": 90 }, { @@ -54750,6 +56833,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.WELCOME_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -54760,19 +56846,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, - "start_column": 47, - "end_line": 520, + "start_line": 364, + "start_column": 45, + "end_line": 364, "end_column": 89 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.util.ArrayList", + "receiver_type": "java.util.Date", "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", "is_public": false, "is_protected": false, "is_private": false, @@ -54781,17 +56868,17 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 513, - "start_column": 50, - "end_line": 513, - "end_column": 79 + "start_line": 338, + "start_column": 53, + "end_line": 338, + "end_column": 72 }, { "method_name": "", "comment": { "content": " log the exception with error page", - "start_line": 523, - "end_line": 523, + "start_line": 360, + "end_line": 360, "start_column": 7, "end_column": 42, "is_javadoc": false @@ -54802,6 +56889,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doLogin(...)\" + \"Exception logging in user \" + userID + \"with password\" + passwd", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -54812,10 +56903,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 524, + "start_line": 361, "start_column": 13, - "end_line": 524, - "end_column": 102 + "end_line": 361, + "end_column": 137 } ], "variable_declarations": [ @@ -54828,30 +56919,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteDataBeans", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 513, - "start_column": 33, - "end_line": 513, - "end_column": 79 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "symbolsSplit", - "type": "java.lang.String[]", - "initializer": "symbols.split(\",\")", - "start_line": 514, - "start_column": 16, - "end_line": 514, - "end_column": 48 + "name": "results", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 328, + "start_column": 12, + "end_line": 328, + "end_column": 23 }, { "comment": { @@ -54862,13 +56936,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "symbol", - "type": "java.lang.String", - "initializer": "", - "start_line": 515, - "start_column": 19, - "end_line": 515, - "end_column": 24 + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "tAction.login(userID, passwd)", + "start_line": 333, + "start_column": 23, + "end_line": 333, + "end_column": 65 }, { "comment": { @@ -54879,132 +56953,76 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "tAction.getQuote(symbol.trim())", - "start_line": 516, - "start_column": 23, - "end_line": 516, - "end_column": 65 + "name": "session", + "type": "javax.servlet.http.HttpSession", + "initializer": "req.getSession(true)", + "start_line": 336, + "start_column": 21, + "end_line": 336, + "end_column": 50 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 5, "is_entrypoint": true }, - "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)": { + "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doLogout(ServletContext, HttpServletRequest, HttpServletResponse, String)", + "signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "comments": [ { "content": " this is a user", - "start_line": 395, - "end_line": 395, + "start_line": 107, + "end_line": 107, "start_column": 54, "end_column": 70, "is_javadoc": false }, { "content": " error so I will", - "start_line": 396, - "end_line": 396, + "start_line": 108, + "end_line": 108, "start_column": 7, "end_column": 24, "is_javadoc": false }, { "content": " log the exception with an error level of 3 which means, handled", - "start_line": 400, - "end_line": 400, + "start_line": 112, + "end_line": 112, "start_column": 7, "end_column": 72, "is_javadoc": false }, { - "content": " forward them to another page, at the end of the page.", - "start_line": 397, - "end_line": 397, + "content": " forward them to another page rather than throw a 500", + "start_line": 109, + "end_line": 109, "start_column": 7, - "end_column": 62, + "end_column": 61, "is_javadoc": false }, { "content": " exception but would invalidate a automation run", - "start_line": 401, - "end_line": 401, + "start_line": 113, + "end_line": 113, "start_column": 7, "end_column": 56, "is_javadoc": false }, { - "content": " log the exception and foward to a error page", - "start_line": 405, - "end_line": 405, - "start_column": 7, - "end_column": 53, - "is_javadoc": false - }, - { - "content": " set the status_code to 500", - "start_line": 407, - "end_line": 407, - "start_column": 7, - "end_column": 35, - "is_javadoc": false - }, - { - "content": " Added to actually remove a user from the authentication cache", - "start_line": 415, - "end_line": 415, - "start_column": 5, - "end_column": 68, - "is_javadoc": false - }, - { - "content": " Recreate Session object before writing output to the response", - "start_line": 420, - "end_line": 420, - "start_column": 7, - "end_column": 70, - "is_javadoc": false - }, - { - "content": " Once the response headers are written back to the client the", - "start_line": 421, - "end_line": 421, - "start_column": 7, - "end_column": 69, - "is_javadoc": false - }, - { - "content": " opportunity", - "start_line": 422, - "end_line": 422, - "start_column": 7, - "end_column": 20, - "is_javadoc": false - }, - { - "content": " to create a new session in this request may be lost", - "start_line": 423, - "end_line": 423, - "start_column": 7, - "end_column": 60, - "is_javadoc": false - }, - { - "content": " This is to handle only the TradeScenarioServlet case", - "start_line": 424, - "end_line": 424, + "content": " log the exception with error page", + "start_line": 116, + "end_line": 116, "start_column": 7, - "end_column": 61, + "end_column": 42, "is_javadoc": false }, { - "content": "\n * Logout a Trade User Dispatch to the Trade Welcome JSP for display\n *\n * @param userID\n * The User to logout\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 368, - "end_line": 388, + "content": "\n * Display User Profile information such as address, email, etc. for the\n * given Trader Dispatch to the Trade Account JSP for display\n *\n * @param userID\n * The User to display profile info\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 72, + "end_line": 93, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -55016,78 +57034,90 @@ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doLogout(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID) throws ServletException, IOException", + "declaration": "void doAccount(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws javax.servlet.ServletException, java.io.IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 389, - "end_line": 389, - "start_column": 17, - "end_column": 34 + "start_line": 94, + "end_line": 94, + "start_column": 18, + "end_column": 35 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 389, - "end_line": 389, - "start_column": 37, - "end_column": 58 + "start_line": 94, + "end_line": 94, + "start_column": 38, + "end_column": 59 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 389, - "end_line": 389, - "start_column": 61, - "end_column": 84 + "start_line": 94, + "end_line": 94, + "start_column": 62, + "end_column": 85 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 389, - "end_line": 389, - "start_column": 87, - "end_column": 99 + "start_line": 94, + "end_line": 94, + "start_column": 88, + "end_column": 100 + }, + { + "type": "java.lang.String", + "name": "results", + "annotations": [], + "modifiers": [], + "start_line": 94, + "end_line": 94, + "start_column": 103, + "end_column": 116 } ], - "code": "{\n String results = \"\";\n\n try {\n tAction.logout(userID);\n\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page, at the end of the page.\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doLogout(...)\", \"illegal argument, information should be in exception string\",\n \"treating this as a user error and forwarding on to a new page\");\n } catch (Exception e) {\n // log the exception and foward to a error page\n Log.error(e, \"TradeServletAction.doLogout(...):\", \"Error logging out\" + userID, \"fowarding to an error page\");\n // set the status_code to 500\n throw new ServletException(\"TradeServletAction.doLogout(...)\" + \"exception logging out user \" + userID, e);\n }\n HttpSession session = req.getSession();\n if (session != null) {\n session.invalidate();\n }\n\n // Added to actually remove a user from the authentication cache\n req.logout();\n\n Object o = req.getAttribute(\"TSS-RecreateSessionInLogout\");\n if (o != null && ((Boolean) o).equals(Boolean.TRUE)) {\n // Recreate Session object before writing output to the response\n // Once the response headers are written back to the client the\n // opportunity\n // to create a new session in this request may be lost\n // This is to handle only the TradeScenarioServlet case\n session = req.getSession(true);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n }", - "start_line": 389, - "end_line": 428, - "code_start_line": 389, + "code": "{\n try {\n\n AccountDataBean accountData = tAction.getAccountData(userID);\n AccountProfileDataBean accountProfileData = tAction.getAccountProfileData(userID);\n Collection orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (Collection) tAction.getOrders(userID));\n\n req.setAttribute(\"accountData\", accountData);\n req.setAttribute(\"accountProfileData\", accountProfileData);\n req.setAttribute(\"orderDataBeans\", orderDataBeans);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ACCOUNT_PAGE));\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"could not find account for userID = \" + userID);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doAccount(...)\", \"illegal argument, information should be in exception string\", e);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doAccount(...)\" + \" exception user =\" + userID, e);\n }\n\n }", + "start_line": 94, + "end_line": 120, + "code_start_line": 95, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.servlet.http.HttpSession", - "java.lang.Boolean", - "java.lang.Object", - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.util.Collection", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ACCOUNT_PAGE", "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", - "java.lang.Boolean.TRUE" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" ], "call_sites": [ { - "method_name": "logout", + "method_name": "getAccountData", "comment": null, "receiver_expr": "tAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "logout(java.lang.String)", + "argument_expr": [ + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountData(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -55096,137 +57126,128 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 393, - "start_column": 7, - "end_line": 393, - "end_column": 28 + "start_line": 98, + "start_column": 37, + "end_line": 98, + "end_column": 66 }, { - "method_name": "setAttribute", - "comment": { - "content": " forward them to another page, at the end of the page.", - "start_line": 397, - "end_line": 397, - "start_column": 7, - "end_column": 62, - "is_javadoc": false - }, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "method_name": "getAccountProfileData", + "comment": null, + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, + "argument_expr": [ + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileData(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 398, - "start_column": 7, - "end_line": 398, - "end_column": 81 + "start_line": 99, + "start_column": 51, + "end_line": 99, + "end_column": 87 }, { - "method_name": "getMessage", + "method_name": "getLongRun", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.IllegalArgumentException", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getLongRun()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 398, - "start_column": 67, - "end_line": 398, - "end_column": 80 + "start_line": 100, + "start_column": 39, + "end_line": 100, + "end_column": 62 }, { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 401, - "end_line": 401, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "method_name": "getOrders", + "comment": null, + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.IllegalArgumentException", - "java.lang.String", - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getOrders(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, - "is_static_call": true, + "is_unspecified": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 402, - "start_column": 7, - "end_line": 403, - "end_column": 74 + "start_line": 100, + "start_column": 108, + "end_line": 100, + "end_column": 132 }, { - "method_name": "error", - "comment": { - "content": " log the exception and foward to a error page", - "start_line": 405, - "end_line": 405, - "start_column": 7, - "end_column": 53, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "java.lang.Exception", - "java.lang.String", "java.lang.String", - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "argument_expr": [ + "\"accountData\"", + "accountData" ], "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 406, + "start_line": 102, "start_column": 7, - "end_line": 406, - "end_column": 115 + "end_line": 102, + "end_column": 50 }, { - "method_name": "getSession", + "method_name": "setAttribute", "comment": null, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [], - "return_type": "javax.servlet.http.HttpSession", - "callee_signature": "getSession()", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "argument_expr": [ + "\"accountProfileData\"", + "accountProfileData" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -55235,19 +57256,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 410, - "start_column": 27, - "end_line": 410, - "end_column": 42 + "start_line": 103, + "start_column": 7, + "end_line": 103, + "end_column": 64 }, { - "method_name": "invalidate", + "method_name": "setAttribute", "comment": null, - "receiver_expr": "session", - "receiver_type": "javax.servlet.http.HttpSession", - "argument_types": [], + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.util.Collection" + ], + "argument_expr": [ + "\"orderDataBeans\"", + "orderDataBeans" + ], "return_type": "", - "callee_signature": "invalidate()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -55256,26 +57284,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 412, + "start_line": 104, "start_column": 7, - "end_line": 412, - "end_column": 26 + "end_line": 104, + "end_column": 56 }, { - "method_name": "logout", - "comment": { - "content": " Added to actually remove a user from the authentication cache", - "start_line": 415, - "end_line": 415, - "start_column": 5, - "end_column": 68, - "is_javadoc": false - }, + "method_name": "setAttribute", + "comment": null, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [], + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results" + ], "return_type": "", - "callee_signature": "logout()", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -55284,67 +57312,93 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 416, - "start_column": 5, - "end_line": 416, - "end_column": 16 + "start_line": 105, + "start_column": 7, + "end_line": 105, + "end_column": 42 }, { - "method_name": "getAttribute", + "method_name": "requestDispatch", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", "java.lang.String" ], - "return_type": "java.lang.Object", - "callee_signature": "getAttribute(java.lang.String)", - "is_public": true, + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.ACCOUNT_PAGE)" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 418, - "start_column": 16, - "end_line": 418, - "end_column": 62 + "start_line": 106, + "start_column": 7, + "end_line": 106, + "end_column": 92 }, { - "method_name": "equals", + "method_name": "getPage", "comment": null, - "receiver_expr": "((Boolean) o)", - "receiver_type": "java.lang.Boolean", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [ - "java.lang.Boolean" + "" ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "argument_expr": [ + "TradeConfig.ACCOUNT_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 419, - "start_column": 22, - "end_line": 419, - "end_column": 55 + "start_line": 106, + "start_column": 47, + "end_line": 106, + "end_column": 91 }, { - "method_name": "getSession", - "comment": null, + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page rather than throw a 500", + "start_line": 109, + "end_line": 109, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ - "" + "java.lang.String", + "java.lang.String" ], - "return_type": "javax.servlet.http.HttpSession", - "callee_signature": "getSession(boolean)", + "argument_expr": [ + "\"results\"", + "results + \"could not find account for userID = \" + userID" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -55353,10 +57407,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 425, - "start_column": 17, - "end_line": 425, - "end_column": 36 + "start_line": 110, + "start_column": 7, + "end_line": 110, + "end_column": 92 }, { "method_name": "requestDispatch", @@ -55370,6 +57424,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.HOME_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -55380,10 +57441,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 427, - "start_column": 5, - "end_line": 427, - "end_column": 90 + "start_line": 111, + "start_column": 7, + "end_line": 111, + "end_column": 89 }, { "method_name": "getPage", @@ -55393,6 +57454,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.HOME_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -55403,19 +57467,78 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 427, - "start_column": 45, - "end_line": 427, - "end_column": 89 + "start_line": 111, + "start_column": 47, + "end_line": 111, + "end_column": 88 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 113, + "end_line": 113, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.IllegalArgumentException" + ], + "argument_expr": [ + "\"TradeServletAction.doAccount(...)\"", + "\"illegal argument, information should be in exception string\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 7, + "end_line": 114, + "end_column": 118 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 66, + "end_line": 100, + "end_column": 88 }, { "method_name": "", "comment": { - "content": " set the status_code to 500", - "start_line": 407, - "end_line": 407, + "content": " log the exception with error page", + "start_line": 116, + "end_line": 116, "start_column": 7, - "end_column": 35, + "end_column": 42, "is_javadoc": false }, "receiver_expr": "", @@ -55424,6 +57547,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doAccount(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -55434,10 +57561,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 408, + "start_line": 117, "start_column": 13, - "end_line": 408, - "end_column": 112 + "end_line": 117, + "end_column": 103 } ], "variable_declarations": [ @@ -55450,13 +57577,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "results", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 390, - "start_column": 12, - "end_line": 390, - "end_column": 23 + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "tAction.getAccountData(userID)", + "start_line": 98, + "start_column": 23, + "end_line": 98, + "end_column": 66 }, { "comment": { @@ -55467,13 +57594,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "session", - "type": "javax.servlet.http.HttpSession", - "initializer": "req.getSession()", - "start_line": 410, - "start_column": 17, - "end_line": 410, - "end_column": 42 + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "tAction.getAccountProfileData(userID)", + "start_line": 99, + "start_column": 30, + "end_line": 99, + "end_column": 87 }, { "comment": { @@ -55484,424 +57611,310 @@ "end_column": -1, "is_javadoc": false }, - "name": "o", - "type": "java.lang.Object", - "initializer": "req.getAttribute(\"TSS-RecreateSessionInLogout\")", - "start_line": 418, - "start_column": 12, - "end_line": 418, - "end_column": 62 + "name": "orderDataBeans", + "type": "java.util.Collection", + "initializer": "(TradeConfig.getLongRun() ? new ArrayList() : (Collection) tAction.getOrders(userID))", + "start_line": 100, + "start_column": 21, + "end_line": 100, + "end_column": 133 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 4, "is_entrypoint": true }, - "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)": { + "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doMarketSummary(ServletContext, HttpServletRequest, HttpServletResponse, String)", - "comments": [], + "signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "comments": [ + { + "content": " Get the holdiings for this user", + "start_line": 455, + "end_line": 455, + "start_column": 7, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " Walk through the collection of user", + "start_line": 460, + "end_line": 460, + "start_column": 7, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " holdings and creating a list of quotes", + "start_line": 461, + "end_line": 461, + "start_column": 7, + "end_column": 47, + "is_javadoc": false + }, + { + "content": " this is a user", + "start_line": 477, + "end_line": 477, + "start_column": 54, + "end_column": 70, + "is_javadoc": false + }, + { + "content": " error so I will", + "start_line": 478, + "end_line": 478, + "start_column": 7, + "end_column": 24, + "is_javadoc": false + }, + { + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 482, + "end_line": 482, + "start_column": 7, + "end_column": 72, + "is_javadoc": false + }, + { + "content": " forward them to another page rather than throw a 500", + "start_line": 479, + "end_line": 479, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " exception but would invalidate a automation run", + "start_line": 483, + "end_line": 483, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " log the exception with error page", + "start_line": 486, + "end_line": 486, + "start_column": 7, + "end_column": 42, + "is_javadoc": false + }, + { + "content": "\n * Retrieve the current portfolio of stock holdings for the given trader\n * Dispatch to the Trade Portfolio JSP for display\n *\n * @param userID\n * The User requesting to view their portfolio\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 430, + "end_line": 451, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [], "thrown_exceptions": [ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doMarketSummary(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID) throws ServletException, IOException", + "declaration": "void doPortfolio(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws ServletException, IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 649, - "end_line": 649, - "start_column": 24, - "end_column": 41 + "start_line": 452, + "end_line": 452, + "start_column": 20, + "end_column": 37 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 649, - "end_line": 649, - "start_column": 44, - "end_column": 65 + "start_line": 452, + "end_line": 452, + "start_column": 40, + "end_column": 61 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 649, - "end_line": 649, - "start_column": 68, - "end_column": 91 + "start_line": 452, + "end_line": 452, + "start_column": 64, + "end_column": 87 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 649, - "end_line": 649, - "start_column": 94, - "end_column": 106 + "start_line": 452, + "end_line": 452, + "start_column": 90, + "end_column": 102 + }, + { + "type": "java.lang.String", + "name": "results", + "annotations": [], + "modifiers": [], + "start_line": 452, + "end_line": 452, + "start_column": 105, + "end_column": 118 } ], - "code": "{\n req.setAttribute(\"results\", \"test\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.MARKET_SUMMARY_PAGE));\n\n }", - "start_line": 649, - "end_line": 653, - "code_start_line": 649, + "code": "{\n\n try {\n // Get the holdiings for this user\n\n Collection quoteDataBeans = new ArrayList();\n Collection holdingDataBeans = tAction.getHoldings(userID);\n\n // Walk through the collection of user\n // holdings and creating a list of quotes\n if (holdingDataBeans.size() > 0) {\n\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n QuoteDataBean quoteData = tAction.getQuote(holdingData.getQuoteID());\n quoteDataBeans.add(quoteData);\n }\n } else {\n results = results + \". Your portfolio is empty.\";\n }\n req.setAttribute(\"results\", results);\n req.setAttribute(\"holdingDataBeans\", holdingDataBeans);\n req.setAttribute(\"quoteDataBeans\", quoteDataBeans);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE));\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doPortfolio(...)\", \"illegal argument, information should be in exception string\", \"user error\");\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doPortfolio(...)\" + \" exception user =\" + userID, e);\n }\n }", + "start_line": 452, + "end_line": 489, + "code_start_line": 452, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Collection", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.util.Collection", + "java.util.Iterator", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.MARKET_SUMMARY_PAGE" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.PORTFOLIO_PAGE", + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" ], "call_sites": [ { - "method_name": "setAttribute", + "method_name": "getHoldings", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getHoldings(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 650, - "start_column": 5, - "end_line": 650, - "end_column": 39 + "start_line": 458, + "start_column": 40, + "end_line": 458, + "end_column": 66 }, { - "method_name": "requestDispatch", + "method_name": "size", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "java.lang.String", - "java.lang.String" - ], + "receiver_expr": "holdingDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", - "is_public": false, + "callee_signature": "size()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 651, - "start_column": 5, - "end_line": 651, - "end_column": 97 + "start_line": 462, + "start_column": 11, + "end_line": 462, + "end_column": 33 }, { - "method_name": "getPage", + "method_name": "iterator", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", + "receiver_expr": "holdingDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 651, - "start_column": 45, - "end_line": 651, - "end_column": 96 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doHome(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "comments": [ - { - "content": " Edge Caching:", - "start_line": 263, - "end_line": 263, - "start_column": 7, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " Getting the MarketSummary has been moved to the JSP", - "start_line": 264, - "end_line": 264, - "start_column": 7, - "end_column": 60, - "is_javadoc": false - }, - { - "content": " MarketSummary.jsp. This makes the MarketSummary a", - "start_line": 265, - "end_line": 265, - "start_column": 7, - "end_column": 58, - "is_javadoc": false - }, - { - "content": " standalone \"fragment\", and thus is a candidate for", - "start_line": 266, - "end_line": 266, - "start_column": 7, - "end_column": 59, - "is_javadoc": false - }, - { - "content": " Edge caching.", - "start_line": 267, - "end_line": 267, - "start_column": 7, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " marketSummaryData = tAction.getMarketSummary();", - "start_line": 268, - "end_line": 268, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " See Edge Caching above", - "start_line": 272, - "end_line": 272, - "start_column": 7, - "end_column": 31, - "is_javadoc": false - }, - { - "content": " req.setAttribute(\"marketSummaryData\", marketSummaryData);", - "start_line": 273, - "end_line": 273, - "start_column": 7, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " this is a user", - "start_line": 275, - "end_line": 275, - "start_column": 54, - "end_column": 70, - "is_javadoc": false - }, - { - "content": " error so I will", - "start_line": 276, - "end_line": 276, - "start_column": 7, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 280, - "end_line": 280, - "start_column": 7, - "end_column": 72, - "is_javadoc": false - }, - { - "content": " forward them to another page rather than throw a 500", - "start_line": 277, - "end_line": 277, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - { - "content": " exception but would invalidate a automation run", - "start_line": 281, - "end_line": 281, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " this is a user error so I will", - "start_line": 285, - "end_line": 285, - "start_column": 7, - "end_column": 39, - "is_javadoc": false - }, - { - "content": " requestDispatch(ctx, req, resp,", - "start_line": 288, - "end_line": 288, - "start_column": 7, - "end_column": 40, - "is_javadoc": false - }, - { - "content": " TradeConfig.getPage(TradeConfig.HOME_PAGE));", - "start_line": 289, - "end_line": 289, - "start_column": 7, - "end_column": 53, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 290, - "end_line": 290, - "start_column": 7, - "end_column": 72, - "is_javadoc": false - }, - { - "content": " forward them to another page rather than throw a 500", - "start_line": 286, - "end_line": 286, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - { - "content": " exception but would invalidate a automation run", - "start_line": 291, - "end_line": 291, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " log the exception with error page", - "start_line": 295, - "end_line": 295, - "start_column": 7, - "end_column": 42, - "is_javadoc": false - }, - { - "content": "\n * Create the Trade Home page with personalized information such as the\n * traders account balance Dispatch to the Trade Home JSP for display\n *\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 236, - "end_line": 255, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "void doHome(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws javax.servlet.ServletException, java.io.IOException", - "parameters": [ - { - "type": "javax.servlet.ServletContext", - "name": "ctx", - "annotations": [], - "modifiers": [], - "start_line": 256, - "end_line": 256, - "start_column": 15, - "end_column": 32 + "start_line": 464, + "start_column": 26, + "end_line": 464, + "end_column": 52 }, { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 256, - "end_line": 256, - "start_column": 35, - "end_column": 56 + "method_name": "hasNext", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 465, + "start_column": 16, + "end_line": 465, + "end_column": 27 }, { - "type": "javax.servlet.http.HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 256, - "end_line": 256, + "method_name": "next", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 466, "start_column": 59, - "end_column": 82 - }, - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 256, - "end_line": 256, - "start_column": 85, - "end_column": 97 + "end_line": 466, + "end_column": 67 }, { - "type": "java.lang.String", - "name": "results", - "annotations": [], - "modifiers": [], - "start_line": 256, - "end_line": 256, - "start_column": 100, - "end_column": 113 - } - ], - "code": "{\n\n try {\n AccountDataBean accountData = tAction.getAccountData(userID);\n Collection holdingDataBeans = tAction.getHoldings(userID);\n\n // Edge Caching:\n // Getting the MarketSummary has been moved to the JSP\n // MarketSummary.jsp. This makes the MarketSummary a\n // standalone \"fragment\", and thus is a candidate for\n // Edge caching.\n // marketSummaryData = tAction.getMarketSummary();\n\n req.setAttribute(\"accountData\", accountData);\n req.setAttribute(\"holdingDataBeans\", holdingDataBeans);\n // See Edge Caching above\n // req.setAttribute(\"marketSummaryData\", marketSummaryData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"check userID = \" + userID + \" and that the database is populated\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doHome(...)\" + \"illegal argument, information should be in exception string\"\n + \"treating this as a user error and forwarding on to a new page\", e);\n } catch (javax.ejb.FinderException e) {\n // this is a user error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"\\nCould not find account for + \" + userID);\n // requestDispatch(ctx, req, resp,\n // TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doHome(...)\" + \"Error finding account for user \" + userID\n + \"treating this as a user error and forwarding on to a new page\", e);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doHome(...)\" + \" exception user =\" + userID, e);\n }\n\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n }", - "start_line": 256, - "end_line": 300, - "code_start_line": 257, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.util.Collection" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" - ], - "call_sites": [ - { - "method_name": "getAccountData", + "method_name": "getQuote", "comment": null, "receiver_expr": "tAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(java.lang.String)", + "argument_expr": [ + "holdingData.getQuoteID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -55910,45 +57923,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 260, + "start_line": 467, "start_column": 37, - "end_line": 260, - "end_column": 66 + "end_line": 467, + "end_column": 78 }, { - "method_name": "getHoldings", + "method_name": "getQuoteID", "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Collection", - "callee_signature": "getHoldings(java.lang.String)", - "is_public": false, + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getQuoteID()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 261, - "start_column": 40, - "end_line": 261, - "end_column": 66 + "start_line": 467, + "start_column": 54, + "end_line": 467, + "end_column": 77 }, { - "method_name": "setAttribute", + "method_name": "add", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "receiver_expr": "quoteDataBeans", + "receiver_type": "java.util.Collection", "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "quoteData" ], "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -55957,10 +57971,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 270, - "start_column": 7, - "end_line": 270, - "end_column": 50 + "start_line": 468, + "start_column": 11, + "end_line": 468, + "end_column": 39 }, { "method_name": "setAttribute", @@ -55969,7 +57983,11 @@ "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String", - "java.util.Collection" + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -55981,26 +57999,23 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 271, + "start_line": 473, "start_column": 7, - "end_line": 271, - "end_column": 60 + "end_line": 473, + "end_column": 42 }, { "method_name": "setAttribute", - "comment": { - "content": " req.setAttribute(\"marketSummaryData\", marketSummaryData);", - "start_line": 273, - "end_line": 273, - "start_column": 7, - "end_column": 66, - "is_javadoc": false - }, + "comment": null, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String", - "java.lang.String" + "java.util.Collection" + ], + "argument_expr": [ + "\"holdingDataBeans\"", + "holdingDataBeans" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -56012,26 +58027,23 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 274, + "start_line": 474, "start_column": 7, - "end_line": 274, - "end_column": 42 + "end_line": 474, + "end_column": 60 }, { "method_name": "setAttribute", - "comment": { - "content": " forward them to another page rather than throw a 500", - "start_line": 277, - "end_line": 277, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, + "comment": null, "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String", - "java.lang.String" + "java.util.Collection" + ], + "argument_expr": [ + "\"quoteDataBeans\"", + "quoteDataBeans" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -56043,10 +58055,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 278, + "start_line": 475, "start_column": 7, - "end_line": 278, - "end_column": 111 + "end_line": 475, + "end_column": 56 }, { "method_name": "requestDispatch", @@ -56060,6 +58072,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -56070,10 +58089,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 279, + "start_line": 476, "start_column": 7, - "end_line": 279, - "end_column": 89 + "end_line": 476, + "end_column": 94 }, { "method_name": "getPage", @@ -56083,6 +58102,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.PORTFOLIO_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -56093,48 +58115,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 279, + "start_line": 476, "start_column": 47, - "end_line": 279, - "end_column": 88 - }, - { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 281, - "end_line": 281, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.IllegalArgumentException" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 282, - "start_column": 7, - "end_line": 283, - "end_column": 79 + "end_line": 476, + "end_column": 93 }, { "method_name": "setAttribute", "comment": { "content": " forward them to another page rather than throw a 500", - "start_line": 286, - "end_line": 286, + "start_line": 479, + "end_line": 479, "start_column": 7, "end_column": 61, "is_javadoc": false @@ -56145,6 +58136,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results + \"illegal argument:\" + e.getMessage()" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -56155,41 +58150,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 287, + "start_line": 480, "start_column": 7, - "end_line": 287, - "end_column": 87 + "end_line": 480, + "end_column": 81 }, { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 291, - "end_line": 291, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "javax.ejb.FinderException" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "method_name": "getMessage", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.IllegalArgumentException", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 292, - "start_column": 7, - "end_line": 293, - "end_column": 79 + "start_line": 480, + "start_column": 67, + "end_line": 480, + "end_column": 80 }, { "method_name": "requestDispatch", @@ -56203,6 +58189,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.PORTFOLIO_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -56213,10 +58206,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 299, - "start_column": 5, - "end_line": 299, - "end_column": 87 + "start_line": 481, + "start_column": 7, + "end_line": 481, + "end_column": 94 }, { "method_name": "getPage", @@ -56226,6 +58219,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.PORTFOLIO_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -56236,17 +58232,78 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 299, - "start_column": 45, - "end_line": 299, - "end_column": 86 + "start_line": 481, + "start_column": 47, + "end_line": 481, + "end_column": 93 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 483, + "end_line": 483, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.IllegalArgumentException", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "e", + "\"TradeServletAction.doPortfolio(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"user error\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 484, + "start_column": 7, + "end_line": 484, + "end_column": 134 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 457, + "start_column": 50, + "end_line": 457, + "end_column": 79 }, { "method_name": "", "comment": { "content": " log the exception with error page", - "start_line": 295, - "end_line": 295, + "start_line": 486, + "end_line": 486, "start_column": 7, "end_column": 42, "is_javadoc": false @@ -56257,6 +58314,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doPortfolio(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -56267,10 +58328,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 296, + "start_line": 487, "start_column": 13, - "end_line": 296, - "end_column": 100 + "end_line": 487, + "end_column": 105 } ], "variable_declarations": [ @@ -56283,13 +58344,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "tAction.getAccountData(userID)", - "start_line": 260, - "start_column": 23, - "end_line": 260, - "end_column": 66 + "name": "quoteDataBeans", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 457, + "start_column": 33, + "end_line": 457, + "end_column": 79 }, { "comment": { @@ -56303,73 +58364,84 @@ "name": "holdingDataBeans", "type": "java.util.Collection", "initializer": "tAction.getHoldings(userID)", - "start_line": 261, + "start_line": 458, "start_column": 21, - "end_line": 261, + "end_line": 458, "end_column": 66 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "it", + "type": "java.util.Iterator", + "initializer": "holdingDataBeans.iterator()", + "start_line": 464, + "start_column": 21, + "end_line": 464, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "(HoldingDataBean) it.next()", + "start_line": 466, + "start_column": 27, + "end_line": 466, + "end_column": 67 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "tAction.getQuote(holdingData.getQuoteID())", + "start_line": 467, + "start_column": 25, + "end_line": 467, + "end_column": 78 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 5, "is_entrypoint": true }, - "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { + "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doAccount(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", + "signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "comments": [ - { - "content": " this is a user", - "start_line": 107, - "end_line": 107, - "start_column": 54, - "end_column": 70, - "is_javadoc": false - }, - { - "content": " error so I will", - "start_line": 108, - "end_line": 108, - "start_column": 7, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 112, - "end_line": 112, - "start_column": 7, - "end_column": 72, - "is_javadoc": false - }, - { - "content": " forward them to another page rather than throw a 500", - "start_line": 109, - "end_line": 109, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - { - "content": " exception but would invalidate a automation run", - "start_line": 113, - "end_line": 113, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, { "content": " log the exception with error page", - "start_line": 116, - "end_line": 116, + "start_line": 523, + "end_line": 523, "start_column": 7, "end_column": 42, "is_javadoc": false }, { - "content": "\n * Display User Profile information such as address, email, etc. for the\n * given Trader Dispatch to the Trade Account JSP for display\n *\n * @param userID\n * The User to display profile info\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 72, - "end_line": 93, + "content": "\n * Retrieve the current Quote for the given stock symbol Dispatch to the\n * Trade Quote JSP for display\n *\n * @param userID\n * The stock symbol used to get the current quote\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 491, + "end_line": 509, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -56381,154 +58453,115 @@ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doAccount(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws javax.servlet.ServletException, java.io.IOException", + "declaration": "void doQuotes(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String symbols) throws ServletException, IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, - "start_column": 18, - "end_column": 35 + "start_line": 510, + "end_line": 510, + "start_column": 17, + "end_column": 34 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, - "start_column": 38, - "end_column": 59 + "start_line": 510, + "end_line": 510, + "start_column": 37, + "end_column": 58 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, - "start_column": 62, - "end_column": 85 + "start_line": 510, + "end_line": 510, + "start_column": 61, + "end_column": 84 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, - "start_column": 88, - "end_column": 100 + "start_line": 510, + "end_line": 510, + "start_column": 87, + "end_column": 99 }, { "type": "java.lang.String", - "name": "results", + "name": "symbols", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, - "start_column": 103, - "end_column": 116 + "start_line": 510, + "end_line": 510, + "start_column": 102, + "end_column": 115 } ], - "code": "{\n try {\n\n AccountDataBean accountData = tAction.getAccountData(userID);\n AccountProfileDataBean accountProfileData = tAction.getAccountProfileData(userID);\n Collection orderDataBeans = (TradeConfig.getLongRun() ? new ArrayList() : (Collection) tAction.getOrders(userID));\n\n req.setAttribute(\"accountData\", accountData);\n req.setAttribute(\"accountProfileData\", accountProfileData);\n req.setAttribute(\"orderDataBeans\", orderDataBeans);\n req.setAttribute(\"results\", results);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ACCOUNT_PAGE));\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"could not find account for userID = \" + userID);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doAccount(...)\", \"illegal argument, information should be in exception string\", e);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doAccount(...)\" + \" exception user =\" + userID, e);\n }\n\n }", - "start_line": 94, - "end_line": 120, - "code_start_line": 95, + "code": "{\n\n try {\n Collection quoteDataBeans = new ArrayList();\n String[] symbolsSplit = symbols.split(\",\");\n for (String symbol: symbolsSplit) {\n QuoteDataBean quoteData = tAction.getQuote(symbol.trim());\n quoteDataBeans.add(quoteData);\n } \n req.setAttribute(\"quoteDataBeans\", quoteDataBeans);\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.QUOTE_PAGE));\n\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doQuotes(...)\" + \" exception user =\" + userID, e);\n } \n }", + "start_line": 510, + "end_line": 526, + "code_start_line": 510, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.util.Collection", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "java.util.Collection", + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ACCOUNT_PAGE", - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.QUOTE_PAGE", + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" ], "call_sites": [ { - "method_name": "getAccountData", + "method_name": "split", "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "receiver_expr": "symbols", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 98, - "start_column": 37, - "end_line": 98, - "end_column": 66 - }, - { - "method_name": "getAccountProfileData", - "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "\",\"" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileData(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 99, - "start_column": 51, - "end_line": 99, - "end_column": 87 - }, - { - "method_name": "getLongRun", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], "return_type": "", - "callee_signature": "getLongRun()", + "callee_signature": "split(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, - "start_column": 39, - "end_line": 100, - "end_column": 62 + "start_line": 514, + "start_column": 31, + "end_line": 514, + "end_column": 48 }, { - "method_name": "getOrders", + "method_name": "getQuote", "comment": null, "receiver_expr": "tAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [ "java.lang.String" ], - "return_type": "java.util.Collection", - "callee_signature": "getOrders(java.lang.String)", + "argument_expr": [ + "symbol.trim()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -56537,46 +58570,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, - "start_column": 108, - "end_line": 100, - "end_column": 132 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 7, - "end_line": 102, - "end_column": 50 + "start_line": 516, + "start_column": 35, + "end_line": 516, + "end_column": 65 }, { - "method_name": "setAttribute", + "method_name": "trim", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "receiver_expr": "symbol", + "receiver_type": "java.lang.String", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "trim()", "is_public": true, "is_protected": false, "is_private": false, @@ -56585,22 +58592,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 103, - "start_column": 7, - "end_line": 103, + "start_line": 516, + "start_column": 52, + "end_line": 516, "end_column": 64 }, { - "method_name": "setAttribute", + "method_name": "add", "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", + "receiver_expr": "quoteDataBeans", + "receiver_type": "java.util.Collection", "argument_types": [ - "java.lang.String", - "java.util.Collection" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "quoteData" ], "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -56609,10 +58618,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, - "start_column": 7, - "end_line": 104, - "end_column": 56 + "start_line": 517, + "start_column": 9, + "end_line": 517, + "end_column": 37 }, { "method_name": "setAttribute", @@ -56621,7 +58630,11 @@ "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [ "java.lang.String", - "java.lang.String" + "java.util.Collection" + ], + "argument_expr": [ + "\"quoteDataBeans\"", + "quoteDataBeans" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -56633,10 +58646,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 105, + "start_line": 519, "start_column": 7, - "end_line": 105, - "end_column": 42 + "end_line": 519, + "end_column": 56 }, { "method_name": "requestDispatch", @@ -56650,6 +58663,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.QUOTE_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -56660,10 +58680,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 520, "start_column": 7, - "end_line": 106, - "end_column": 92 + "end_line": 520, + "end_column": 90 }, { "method_name": "getPage", @@ -56673,6 +58693,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.QUOTE_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -56683,175 +58706,67 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 106, + "start_line": 520, "start_column": 47, - "end_line": 106, - "end_column": 91 + "end_line": 520, + "end_column": 89 }, { - "method_name": "setAttribute", - "comment": { - "content": " forward them to another page rather than throw a 500", - "start_line": 109, - "end_line": 109, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 110, - "start_column": 7, - "end_line": 110, - "end_column": 92 + "start_line": 513, + "start_column": 50, + "end_line": 513, + "end_column": 79 }, { - "method_name": "requestDispatch", - "comment": null, + "method_name": "", + "comment": { + "content": " log the exception with error page", + "start_line": 523, + "end_line": 523, + "start_column": 7, + "end_column": 42, + "is_javadoc": false + }, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "javax.servlet.ServletException", "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", "java.lang.String", - "java.lang.String" + "java.lang.Exception" ], - "return_type": "", - "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "argument_expr": [ + "\"TradeServletAction.doQuotes(...)\" + \" exception user =\" + userID", + "e" + ], + "return_type": "javax.servlet.ServletException", + "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 111, - "start_column": 7, - "end_line": 111, - "end_column": 89 - }, - { - "method_name": "getPage", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 111, - "start_column": 47, - "end_line": 111, - "end_column": 88 - }, - { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 113, - "end_line": 113, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.IllegalArgumentException" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.String, java.lang.Throwable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 7, - "end_line": 114, - "end_column": 118 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 66, - "end_line": 100, - "end_column": 88 - }, - { - "method_name": "", - "comment": { - "content": " log the exception with error page", - "start_line": 116, - "end_line": 116, - "start_column": 7, - "end_column": 42, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "javax.servlet.ServletException", - "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 117, + "start_line": 524, "start_column": 13, - "end_line": 117, - "end_column": 103 + "end_line": 524, + "end_column": 102 } ], "variable_declarations": [ @@ -56864,13 +58779,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "tAction.getAccountData(userID)", - "start_line": 98, - "start_column": 23, - "end_line": 98, - "end_column": 66 + "name": "quoteDataBeans", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 513, + "start_column": 33, + "end_line": 513, + "end_column": 79 }, { "comment": { @@ -56881,13 +58796,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "tAction.getAccountProfileData(userID)", - "start_line": 99, - "start_column": 30, - "end_line": 99, - "end_column": 87 + "name": "symbolsSplit", + "type": "java.lang.String[]", + "initializer": "symbols.split(\",\")", + "start_line": 514, + "start_column": 16, + "end_line": 514, + "end_column": 48 }, { "comment": { @@ -56898,546 +58813,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderDataBeans", - "type": "java.util.Collection", - "initializer": "(TradeConfig.getLongRun() ? new ArrayList() : (Collection) tAction.getOrders(userID))", - "start_line": 100, - "start_column": 21, - "end_line": 100, - "end_column": 133 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": true - }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "TradeServletAction()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public TradeServletAction()", - "parameters": [], - "code": "{\n }", - "start_line": 69, - "end_line": 70, - "code_start_line": 69, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doBuy(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String)", - "comments": [ - { - "content": " this is a user", - "start_line": 221, - "end_line": 221, - "start_column": 54, - "end_column": 70, - "is_javadoc": false - }, - { - "content": " error so I will", - "start_line": 222, - "end_line": 222, - "start_column": 7, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 226, - "end_line": 226, - "start_column": 7, - "end_column": 72, - "is_javadoc": false - }, - { - "content": " forward them to another page rather than throw a 500", - "start_line": 223, - "end_line": 223, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - { - "content": " exception but would invalidate a automation run", - "start_line": 227, - "end_line": 227, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " log the exception with error page", - "start_line": 230, - "end_line": 230, - "start_column": 7, - "end_column": 42, - "is_javadoc": false - }, - { - "content": "\n * Buy a new holding of shares for the given trader Dispatch to the Trade\n * Portfolio JSP for display\n *\n * @param userID\n * The User buying shares\n * @param symbol\n * The stock to purchase\n * @param amount\n * The quantity of shares to purchase\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 187, - "end_line": 209, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "void doBuy(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String symbol, String quantity) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.ServletContext", - "name": "ctx", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 14, - "end_column": 31 - }, - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 34, - "end_column": 55 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 58, - "end_column": 81 - }, - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 84, - "end_column": 96 - }, - { - "type": "java.lang.String", "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 99, - "end_column": 111 - }, - { - "type": "java.lang.String", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 210, - "end_line": 210, - "start_column": 114, - "end_column": 128 - } - ], - "code": "{\n\n String results = \"\";\n\n try {\n\n OrderDataBean orderData = tAction.buy(userID, symbol, new Double(quantity).doubleValue(), TradeConfig.getOrderProcessingMode());\n\n req.setAttribute(\"orderData\", orderData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doBuy(...)\", \"illegal argument. userID = \" + userID, \"symbol = \" + symbol);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.buy(...)\" + \" exception buying stock \" + symbol + \" for user \" + userID, e);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ORDER_PAGE));\n }", - "start_line": 210, - "end_line": 234, - "code_start_line": 211, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ORDER_PAGE", - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" - ], - "call_sites": [ - { - "method_name": "buy", - "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 33, - "end_line": 217, - "end_column": 133 - }, - { - "method_name": "doubleValue", - "comment": null, - "receiver_expr": "new Double(quantity)", - "receiver_type": "java.lang.Double", - "argument_types": [], - "return_type": "", - "callee_signature": "doubleValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 61, - "end_line": 217, - "end_column": 94 - }, - { - "method_name": "getOrderProcessingMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getOrderProcessingMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 97, - "end_line": 217, - "end_column": 132 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 219, - "start_column": 7, - "end_line": 219, - "end_column": 46 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 220, - "start_column": 7, - "end_line": 220, - "end_column": 42 - }, - { - "method_name": "setAttribute", - "comment": { - "content": " forward them to another page rather than throw a 500", - "start_line": 223, - "end_line": 223, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 224, - "start_column": 7, - "end_line": 224, - "end_column": 64 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 225, - "start_column": 7, - "end_line": 225, - "end_column": 89 - }, - { - "method_name": "getPage", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 225, - "start_column": 47, - "end_line": 225, - "end_column": 88 - }, - { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 227, - "end_line": 227, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.IllegalArgumentException", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 228, - "start_column": 7, - "end_line": 228, - "end_column": 113 - }, - { - "method_name": "requestDispatch", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 5, - "end_line": 233, - "end_column": 88 - }, - { - "method_name": "getPage", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 233, - "start_column": 45, - "end_line": 233, - "end_column": 87 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Double", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Double", - "callee_signature": "Double(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 217, - "start_column": 61, - "end_line": 217, - "end_column": 80 - }, - { - "method_name": "", - "comment": { - "content": " log the exception with error page", - "start_line": 230, - "end_line": 230, - "start_column": 7, - "end_column": 42, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "javax.servlet.ServletException", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "javax.servlet.ServletException", - "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 231, - "start_column": 13, - "end_line": 231, - "end_column": 128 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "results", "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 213, - "start_column": 12, - "end_line": 213, - "end_column": 23 + "initializer": "", + "start_line": 515, + "start_column": 19, + "end_line": 515, + "end_column": 24 }, { "comment": { @@ -57448,13 +58830,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "tAction.buy(userID, symbol, new Double(quantity).doubleValue(), TradeConfig.getOrderProcessingMode())", - "start_line": 217, - "start_column": 21, - "end_line": 217, - "end_column": 133 + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "tAction.getQuote(symbol.trim())", + "start_line": 516, + "start_column": 23, + "end_line": 516, + "end_column": 65 } ], "crud_operations": [], @@ -57462,9 +58844,9 @@ "cyclomatic_complexity": 3, "is_entrypoint": true }, - "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)": { + "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doAccountUpdate(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String)", + "signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "comments": [ { "content": " First verify input data", @@ -57647,6 +59029,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cpassword" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -57668,6 +59053,7 @@ "receiver_expr": "password", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -57689,6 +59075,7 @@ "receiver_expr": "fullName", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -57710,6 +59097,7 @@ "receiver_expr": "address", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -57731,6 +59119,7 @@ "receiver_expr": "creditcard", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -57752,6 +59141,7 @@ "receiver_expr": "email", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -57775,6 +59165,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], + "argument_expr": [ + "accountProfileData" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", "is_public": false, @@ -57806,6 +59199,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results + \"invalid argument, check userID is correct, and the database is populated\" + userID" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -57832,6 +59229,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeServletAction.doAccount(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"treating this as a user error and forwarding on to a new page\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -57859,6 +59262,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "results" + ], "return_type": "", "callee_signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -57887,6 +59297,14 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "userID", + "password", + "fullName", + "address", + "email", + "creditcard" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -57918,6 +59336,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doAccountUpdate(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -57992,9 +59414,172 @@ "cyclomatic_complexity": 10, "is_entrypoint": true }, - "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)": { + "(javax.enterprise.inject.Instance)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", + "signature": "(javax.enterprise.inject.Instance)", + "comments": [], + "annotations": [ + "@Inject" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public TradeServletAction(@Any Instance services)", + "parameters": [ + { + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], + "modifiers": [], + "start_line": 65, + "end_line": 65, + "start_column": 29, + "end_column": 65 + } + ], + "code": "{\n tAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 64, + "end_line": 67, + "code_start_line": 65, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 15, + "end_line": 66, + "end_column": 129 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 15, + "end_line": 66, + "end_column": 123 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 59, + "end_line": 66, + "end_column": 91 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 93, + "end_line": 66, + "end_column": 120 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 31, + "end_line": 66, + "end_column": 122 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doSell(ServletContext, HttpServletRequest, HttpServletResponse, String, Integer)", + "signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", "comments": [ { "content": " this is a user", @@ -58138,6 +59723,11 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "userID", + "holdingID", + "TradeConfig.getOrderProcessingMode()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "sell(java.lang.String, java.lang.Integer, int)", "is_public": false, @@ -58159,6 +59749,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -58183,6 +59774,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], + "argument_expr": [ + "\"orderData\"", + "orderData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -58207,6 +59802,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -58240,6 +59839,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeServletAction.doSell(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"user error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -58267,6 +59872,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.ORDER_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -58290,6 +59902,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.ORDER_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -58321,6 +59936,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doSell(...)\" + \" exception selling holding \" + holdingID + \" for user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -58378,9 +59997,9 @@ "cyclomatic_complexity": 3, "is_entrypoint": true }, - "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)": { + "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doWelcome(ServletContext, HttpServletRequest, HttpServletResponse, String)", + "signature": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "comments": [], "annotations": [], "modifiers": [], @@ -58388,59 +60007,59 @@ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doWelcome(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String status) throws ServletException, IOException", + "declaration": "void doMarketSummary(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID) throws ServletException, IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 637, - "end_line": 637, - "start_column": 18, - "end_column": 35 + "start_line": 649, + "end_line": 649, + "start_column": 24, + "end_column": 41 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 637, - "end_line": 637, - "start_column": 38, - "end_column": 59 + "start_line": 649, + "end_line": 649, + "start_column": 44, + "end_column": 65 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 637, - "end_line": 637, - "start_column": 62, - "end_column": 85 + "start_line": 649, + "end_line": 649, + "start_column": 68, + "end_column": 91 }, { "type": "java.lang.String", - "name": "status", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 637, - "end_line": 637, - "start_column": 88, - "end_column": 100 + "start_line": 649, + "end_line": 649, + "start_column": 94, + "end_column": 106 } ], - "code": "{\n\n req.setAttribute(\"results\", status);\n requestDispatch(ctx, req, resp, null, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n }", - "start_line": 637, - "end_line": 641, - "code_start_line": 637, + "code": "{\n req.setAttribute(\"results\", \"test\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.MARKET_SUMMARY_PAGE));\n\n }", + "start_line": 649, + "end_line": 653, + "code_start_line": 649, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.MARKET_SUMMARY_PAGE" ], "call_sites": [ { @@ -58452,6 +60071,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "\"test\"" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -58462,9 +60085,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 639, + "start_line": 650, "start_column": 5, - "end_line": 639, + "end_line": 650, "end_column": 39 }, { @@ -58476,9 +60099,16 @@ "javax.servlet.ServletContext", "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse", - "", + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.MARKET_SUMMARY_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -58489,10 +60119,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 640, + "start_line": 651, "start_column": 5, - "end_line": 640, - "end_column": 88 + "end_line": 651, + "end_column": 97 }, { "method_name": "getPage", @@ -58502,6 +60132,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.MARKET_SUMMARY_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -58512,10 +60145,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 640, - "start_column": 43, - "end_line": 640, - "end_column": 87 + "start_line": 651, + "start_column": 45, + "end_line": 651, + "end_column": 96 } ], "variable_declarations": [], @@ -58524,96 +60157,243 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "(Instance)": { + "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "TradeServletAction(Instance)", + "signature": "()", "comments": [], - "annotations": [ - "@Inject" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public TradeServletAction(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 65, - "end_line": 65, - "start_column": 29, - "end_column": 65 - } - ], - "code": "{\n tAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 64, - "end_line": 67, - "code_start_line": 65, + "declaration": "public TradeServletAction()", + "parameters": [], + "code": "{\n }", + "start_line": 69, + "end_line": 70, + "code_start_line": 69, "return_type": null, "is_implicit": false, "is_constructor": true, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction" - ], - "call_sites": [ + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", + "signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", + "comments": [ { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 15, - "end_line": 66, - "end_column": 129 + "content": " this is a user", + "start_line": 221, + "end_line": 221, + "start_column": 54, + "end_column": 70, + "is_javadoc": false }, { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 15, - "end_line": 66, - "end_column": 123 + "content": " error so I will", + "start_line": 222, + "end_line": 222, + "start_column": 7, + "end_column": 24, + "is_javadoc": false }, { - "method_name": "getRunTimeModeNames", - "comment": null, + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 226, + "end_line": 226, + "start_column": 7, + "end_column": 72, + "is_javadoc": false + }, + { + "content": " forward them to another page rather than throw a 500", + "start_line": 223, + "end_line": 223, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " exception but would invalidate a automation run", + "start_line": 227, + "end_line": 227, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " log the exception with error page", + "start_line": 230, + "end_line": 230, + "start_column": 7, + "end_column": 42, + "is_javadoc": false + }, + { + "content": "\n * Buy a new holding of shares for the given trader Dispatch to the Trade\n * Portfolio JSP for display\n *\n * @param userID\n * The User buying shares\n * @param symbol\n * The stock to purchase\n * @param amount\n * The quantity of shares to purchase\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 187, + "end_line": 209, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "void doBuy(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String symbol, String quantity) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.ServletContext", + "name": "ctx", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 14, + "end_column": 31 + }, + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 34, + "end_column": 55 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 58, + "end_column": 81 + }, + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 84, + "end_column": 96 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 99, + "end_column": 111 + }, + { + "type": "java.lang.String", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 210, + "end_line": 210, + "start_column": 114, + "end_column": 128 + } + ], + "code": "{\n\n String results = \"\";\n\n try {\n\n OrderDataBean orderData = tAction.buy(userID, symbol, new Double(quantity).doubleValue(), TradeConfig.getOrderProcessingMode());\n\n req.setAttribute(\"orderData\", orderData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doBuy(...)\", \"illegal argument. userID = \" + userID, \"symbol = \" + symbol);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.buy(...)\" + \" exception buying stock \" + symbol + \" for user \" + userID, e);\n }\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.ORDER_PAGE));\n }", + "start_line": 210, + "end_line": 234, + "code_start_line": 211, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ORDER_PAGE", + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" + ], + "call_sites": [ + { + "method_name": "buy", + "comment": null, + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "userID", + "symbol", + "new Double(quantity).doubleValue()", + "TradeConfig.getOrderProcessingMode()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 33, + "end_line": 217, + "end_column": 133 + }, + { + "method_name": "doubleValue", + "comment": null, + "receiver_expr": "new Double(quantity)", + "receiver_type": "java.lang.Double", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "doubleValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 217, + "start_column": 61, + "end_line": 217, + "end_column": 94 + }, + { + "method_name": "getOrderProcessingMode", + "comment": null, "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getRunTimeModeNames()", + "callee_signature": "getOrderProcessingMode()", "is_public": true, "is_protected": false, "is_private": false, @@ -58622,19 +60402,188 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 66, - "start_column": 59, - "end_line": 66, - "end_column": 91 + "start_line": 217, + "start_column": 97, + "end_line": 217, + "end_column": 132 }, { - "method_name": "getRunTimeMode", + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "\"orderData\"", + "orderData" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 219, + "start_column": 7, + "end_line": 219, + "end_column": 46 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 220, + "start_column": 7, + "end_line": 220, + "end_column": 42 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page rather than throw a 500", + "start_line": 223, + "end_line": 223, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"illegal argument:\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 224, + "start_column": 7, + "end_line": 224, + "end_column": 64 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.HOME_PAGE)" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 225, + "start_column": 7, + "end_line": 225, + "end_column": 89 + }, + { + "method_name": "getPage", "comment": null, "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], + "argument_types": [ + "" + ], + "argument_expr": [ + "TradeConfig.HOME_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 225, + "start_column": 47, + "end_line": 225, + "end_column": 88 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 227, + "end_line": 227, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.IllegalArgumentException", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "e", + "\"TradeServletAction.doBuy(...)\"", + "\"illegal argument. userID = \" + userID", + "\"symbol = \" + symbol" + ], "return_type": "", - "callee_signature": "getRunTimeMode()", + "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -58643,21 +60592,84 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 66, - "start_column": 93, - "end_line": 66, - "end_column": 120 + "start_line": 228, + "start_column": 7, + "end_line": 228, + "end_column": 113 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.ORDER_PAGE)" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 5, + "end_line": 233, + "end_column": 88 + }, + { + "method_name": "getPage", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "" + ], + "argument_expr": [ + "TradeConfig.ORDER_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 233, + "start_column": 45, + "end_line": 233, + "end_column": 87 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "receiver_type": "java.lang.Double", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "argument_expr": [ + "quantity" + ], + "return_type": "java.lang.Double", + "callee_signature": "Double(java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -58666,21 +60678,91 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 66, - "start_column": 31, - "end_line": 66, - "end_column": 122 + "start_line": 217, + "start_column": 61, + "end_line": 217, + "end_column": 80 + }, + { + "method_name": "", + "comment": { + "content": " log the exception with error page", + "start_line": 230, + "end_line": 230, + "start_column": 7, + "end_column": 42, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "javax.servlet.ServletException", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeServletAction.buy(...)\" + \" exception buying stock \" + symbol + \" for user \" + userID", + "e" + ], + "return_type": "javax.servlet.ServletException", + "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 231, + "start_column": 13, + "end_line": 231, + "end_column": 128 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "results", + "type": "java.lang.String", + "initializer": "\"\"", + "start_line": 213, + "start_column": 12, + "end_line": 213, + "end_column": 23 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "tAction.buy(userID, symbol, new Double(quantity).doubleValue(), TradeConfig.getOrderProcessingMode())", + "start_line": 217, + "start_column": 21, + "end_line": 217, + "end_column": 133 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "cyclomatic_complexity": 3, + "is_entrypoint": true }, - "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)": { + "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doRegister(ServletContext, HttpServletRequest, HttpServletResponse, String, String, String, String, String, String, String, String)", + "signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "comments": [ { "content": " Validate user passwords match and are atleast 1 char in length", @@ -58860,6 +60942,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cpasswd" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -58881,6 +60966,7 @@ "receiver_expr": "passwd", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -58910,6 +60996,15 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "userID", + "passwd", + "fullname", + "address", + "email", + "ccn", + "new BigDecimal(openBalanceString)" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -58933,6 +61028,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "results" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -58957,6 +61055,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -58984,6 +61086,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.REGISTER_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -59007,6 +61116,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.REGISTER_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -59034,6 +61146,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "passwd" + ], "return_type": "", "callee_signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -59055,6 +61174,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -59079,6 +61199,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -59102,6 +61226,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "results" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -59126,6 +61253,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"results\"", + "results" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -59153,6 +61284,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.REGISTER_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -59176,6 +61314,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.REGISTER_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -59199,6 +61340,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "openBalanceString" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(java.lang.String)", "is_public": false, @@ -59230,6 +61374,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -59287,179 +61435,96 @@ "cyclomatic_complexity": 5, "is_entrypoint": true }, - "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)": { + "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", - "signature": "doLogin(ServletContext, HttpServletRequest, HttpServletResponse, String, String)", - "comments": [ - { - "content": " Got a valid userID and passwd, attempt login", - "start_line": 330, - "end_line": 330, - "start_column": 7, - "end_column": 53, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means,", - "start_line": 345, - "end_line": 345, - "start_column": 9, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " handled exception but would invalidate a automation run", - "start_line": 346, - "end_line": 346, - "start_column": 9, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " this is a user", - "start_line": 350, - "end_line": 350, - "start_column": 54, - "end_column": 70, - "is_javadoc": false - }, - { - "content": " error so I will", - "start_line": 351, - "end_line": 351, - "start_column": 7, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " log the exception with an error level of 3 which means, handled", - "start_line": 354, - "end_line": 354, - "start_column": 7, - "end_column": 72, - "is_javadoc": false - }, - { - "content": " forward them to another page rather than throw a 500", - "start_line": 352, - "end_line": 352, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - { - "content": " exception but would invalidate a automation run", - "start_line": 355, - "end_line": 355, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - { - "content": " log the exception with error page", - "start_line": 360, - "end_line": 360, - "start_column": 7, - "end_column": 42, - "is_javadoc": false - }, - { - "content": "\n * Login a Trade User. Dispatch to the Trade Home JSP for display\n *\n * @param userID\n * The User to login\n * @param passwd\n * The password supplied by the trader used to authenticate\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", - "start_line": 302, - "end_line": 324, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], + "signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "comments": [], "annotations": [], - "modifiers": [], + "modifiers": [ + "private" + ], "thrown_exceptions": [ "javax.servlet.ServletException", "java.io.IOException" ], - "declaration": "void doLogin(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String passwd) throws javax.servlet.ServletException, java.io.IOException", + "declaration": "private void requestDispatch(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String page) throws ServletException, IOException", "parameters": [ { "type": "javax.servlet.ServletContext", "name": "ctx", "annotations": [], "modifiers": [], - "start_line": 325, - "end_line": 325, - "start_column": 16, - "end_column": 33 + "start_line": 643, + "end_line": 643, + "start_column": 32, + "end_column": 49 }, { "type": "javax.servlet.http.HttpServletRequest", "name": "req", "annotations": [], "modifiers": [], - "start_line": 325, - "end_line": 325, - "start_column": 36, - "end_column": 57 + "start_line": 643, + "end_line": 643, + "start_column": 52, + "end_column": 73 }, { "type": "javax.servlet.http.HttpServletResponse", "name": "resp", "annotations": [], "modifiers": [], - "start_line": 325, - "end_line": 325, - "start_column": 60, - "end_column": 83 + "start_line": 643, + "end_line": 643, + "start_column": 76, + "end_column": 99 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 325, - "end_line": 325, - "start_column": 86, - "end_column": 98 + "start_line": 643, + "end_line": 643, + "start_column": 102, + "end_column": 114 }, { "type": "java.lang.String", - "name": "passwd", + "name": "page", "annotations": [], "modifiers": [], - "start_line": 325, - "end_line": 325, - "start_column": 101, - "end_column": 113 + "start_line": 643, + "end_line": 643, + "start_column": 117, + "end_column": 127 } ], - "code": "{\n\n String results = \"\";\n try {\n // Got a valid userID and passwd, attempt login\n if (tAction==null) {\n System.out.println(\"null\"); }\n AccountDataBean accountData = tAction.login(userID, passwd);\n\n if (accountData != null) {\n HttpSession session = req.getSession(true);\n session.setAttribute(\"uidBean\", userID);\n session.setAttribute(\"sessionCreationDate\", new java.util.Date());\n\n results = \"Ready to Trade\";\n doHome(ctx, req, resp, userID, results);\n return;\n } else {\n req.setAttribute(\"results\", results + \"\\nCould not find account for + \" + userID);\n // log the exception with an error level of 3 which means,\n // handled exception but would invalidate a automation run\n Log.log(\"TradeServletAction.doLogin(...)\", \"Error finding account for user \" + userID + \"\",\n \"user entered a bad username or the database is not populated\");\n }\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"illegal argument:\" + e.getMessage());\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(e, \"TradeServletAction.doLogin(...)\", \"illegal argument, information should be in exception string\",\n \"treating this as a user error and forwarding on to a new page\");\n\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doLogin(...)\" + \"Exception logging in user \" + userID + \"with password\" + passwd, e);\n }\n\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n\n }", - "start_line": 325, - "end_line": 366, - "code_start_line": 326, + "code": "{\n\n ctx.getRequestDispatcher(page).include(req, resp);\n }", + "start_line": 643, + "end_line": 647, + "code_start_line": 644, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "javax.servlet.http.HttpSession", - "java.io.PrintStream", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE", - "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", - "java.lang.System.out" - ], + "referenced_types": [], + "accessed_fields": [], "call_sites": [ { - "method_name": "println", + "method_name": "include", "comment": null, - "receiver_expr": "System.out", - "receiver_type": "java.io.PrintStream", + "receiver_expr": "ctx.getRequestDispatcher(page)", + "receiver_type": "javax.servlet.RequestDispatcher", "argument_types": [ - "java.lang.String" + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" ], "return_type": "", - "callee_signature": "println(java.lang.String)", + "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, "is_protected": false, "is_private": false, @@ -59468,45 +61533,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 332, - "start_column": 9, - "end_line": 332, - "end_column": 34 + "start_line": 646, + "start_column": 5, + "end_line": 646, + "end_column": 53 }, { - "method_name": "login", + "method_name": "getRequestDispatcher", "comment": null, - "receiver_expr": "tAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "receiver_expr": "ctx", + "receiver_type": "javax.servlet.ServletContext", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "login(java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 333, - "start_column": 37, - "end_line": 333, - "end_column": 65 - }, - { - "method_name": "getSession", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "" + "argument_expr": [ + "page" ], - "return_type": "javax.servlet.http.HttpSession", - "callee_signature": "getSession(boolean)", + "return_type": "javax.servlet.RequestDispatcher", + "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -59515,86 +61559,83 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 336, - "start_column": 31, - "end_line": 336, - "end_column": 50 - }, + "start_line": 646, + "start_column": 5, + "end_line": 646, + "end_column": 34 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", + "signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "void doWelcome(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String status) throws ServletException, IOException", + "parameters": [ { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "javax.servlet.http.HttpSession", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 337, - "start_column": 9, - "end_line": 337, - "end_column": 47 + "type": "javax.servlet.ServletContext", + "name": "ctx", + "annotations": [], + "modifiers": [], + "start_line": 637, + "end_line": 637, + "start_column": 18, + "end_column": 35 }, { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "session", - "receiver_type": "javax.servlet.http.HttpSession", - "argument_types": [ - "java.lang.String", - "java.util.Date" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 338, - "start_column": 9, - "end_line": 338, - "end_column": 73 + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 637, + "end_line": 637, + "start_column": 38, + "end_column": 59 }, { - "method_name": "doHome", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.ServletContext", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 341, - "start_column": 9, - "end_line": 341, - "end_column": 47 + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 637, + "end_line": 637, + "start_column": 62, + "end_column": 85 }, + { + "type": "java.lang.String", + "name": "status", + "annotations": [], + "modifiers": [], + "start_line": 637, + "end_line": 637, + "start_column": 88, + "end_column": 100 + } + ], + "code": "{\n\n req.setAttribute(\"results\", status);\n requestDispatch(ctx, req, resp, null, TradeConfig.getPage(TradeConfig.WELCOME_PAGE));\n }", + "start_line": 637, + "end_line": 641, + "code_start_line": 637, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.WELCOME_PAGE" + ], + "call_sites": [ { "method_name": "setAttribute", "comment": null, @@ -59604,68 +61645,9 @@ "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 344, - "start_column": 9, - "end_line": 344, - "end_column": 89 - }, - { - "method_name": "log", - "comment": { - "content": " handled exception but would invalidate a automation run", - "start_line": 346, - "end_line": 346, - "start_column": 9, - "end_column": 66, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "log(java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 347, - "start_column": 9, - "end_line": 348, - "end_column": 75 - }, - { - "method_name": "setAttribute", - "comment": { - "content": " forward them to another page rather than throw a 500", - "start_line": 352, - "end_line": 352, - "start_column": 7, - "end_column": 61, - "is_javadoc": false - }, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" + "argument_expr": [ + "\"results\"", + "status" ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", @@ -59677,64 +61659,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 353, - "start_column": 7, - "end_line": 353, - "end_column": 81 - }, - { - "method_name": "getMessage", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.IllegalArgumentException", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 353, - "start_column": 67, - "end_line": 353, - "end_column": 80 - }, - { - "method_name": "error", - "comment": { - "content": " exception but would invalidate a automation run", - "start_line": 355, - "end_line": 355, - "start_column": 7, - "end_column": 56, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.IllegalArgumentException", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 356, - "start_column": 7, - "end_line": 357, - "end_column": 74 + "start_line": 639, + "start_column": 5, + "end_line": 639, + "end_column": 39 }, { "method_name": "requestDispatch", @@ -59745,9 +61673,16 @@ "javax.servlet.ServletContext", "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse", - "java.lang.String", + "", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "null", + "TradeConfig.getPage(TradeConfig.WELCOME_PAGE)" + ], "return_type": "", "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -59758,10 +61693,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 364, + "start_line": 640, "start_column": 5, - "end_line": 364, - "end_column": 90 + "end_line": 640, + "end_column": 88 }, { "method_name": "getPage", @@ -59771,6 +61706,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.WELCOME_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -59781,38 +61719,675 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 364, - "start_column": 45, - "end_line": 364, - "end_column": 89 + "start_line": 640, + "start_column": 43, + "end_line": 640, + "end_column": 87 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeServletAction.java", + "signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "comments": [ + { + "content": " Edge Caching:", + "start_line": 263, + "end_line": 263, + "start_column": 7, + "end_column": 22, + "is_javadoc": false }, { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 338, - "start_column": 53, - "end_line": 338, - "end_column": 72 + "content": " Getting the MarketSummary has been moved to the JSP", + "start_line": 264, + "end_line": 264, + "start_column": 7, + "end_column": 60, + "is_javadoc": false + }, + { + "content": " MarketSummary.jsp. This makes the MarketSummary a", + "start_line": 265, + "end_line": 265, + "start_column": 7, + "end_column": 58, + "is_javadoc": false + }, + { + "content": " standalone \"fragment\", and thus is a candidate for", + "start_line": 266, + "end_line": 266, + "start_column": 7, + "end_column": 59, + "is_javadoc": false + }, + { + "content": " Edge caching.", + "start_line": 267, + "end_line": 267, + "start_column": 7, + "end_column": 22, + "is_javadoc": false + }, + { + "content": " marketSummaryData = tAction.getMarketSummary();", + "start_line": 268, + "end_line": 268, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " See Edge Caching above", + "start_line": 272, + "end_line": 272, + "start_column": 7, + "end_column": 31, + "is_javadoc": false + }, + { + "content": " req.setAttribute(\"marketSummaryData\", marketSummaryData);", + "start_line": 273, + "end_line": 273, + "start_column": 7, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " this is a user", + "start_line": 275, + "end_line": 275, + "start_column": 54, + "end_column": 70, + "is_javadoc": false + }, + { + "content": " error so I will", + "start_line": 276, + "end_line": 276, + "start_column": 7, + "end_column": 24, + "is_javadoc": false + }, + { + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 280, + "end_line": 280, + "start_column": 7, + "end_column": 72, + "is_javadoc": false + }, + { + "content": " forward them to another page rather than throw a 500", + "start_line": 277, + "end_line": 277, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " exception but would invalidate a automation run", + "start_line": 281, + "end_line": 281, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " this is a user error so I will", + "start_line": 285, + "end_line": 285, + "start_column": 7, + "end_column": 39, + "is_javadoc": false + }, + { + "content": " requestDispatch(ctx, req, resp,", + "start_line": 288, + "end_line": 288, + "start_column": 7, + "end_column": 40, + "is_javadoc": false + }, + { + "content": " TradeConfig.getPage(TradeConfig.HOME_PAGE));", + "start_line": 289, + "end_line": 289, + "start_column": 7, + "end_column": 53, + "is_javadoc": false + }, + { + "content": " log the exception with an error level of 3 which means, handled", + "start_line": 290, + "end_line": 290, + "start_column": 7, + "end_column": 72, + "is_javadoc": false + }, + { + "content": " forward them to another page rather than throw a 500", + "start_line": 286, + "end_line": 286, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + { + "content": " exception but would invalidate a automation run", + "start_line": 291, + "end_line": 291, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + { + "content": " log the exception with error page", + "start_line": 295, + "end_line": 295, + "start_column": 7, + "end_column": 42, + "is_javadoc": false + }, + { + "content": "\n * Create the Trade Home page with personalized information such as the\n * traders account balance Dispatch to the Trade Home JSP for display\n *\n * @param ctx\n * the servlet context\n * @param req\n * the HttpRequest object\n * @param resp\n * the HttpResponse object\n * @param results\n * A short description of the results/success of this web request\n * provided on the web page\n * @exception javax.servlet.ServletException\n * If a servlet specific exception is encountered\n * @exception javax.io.IOException\n * If an exception occurs while writing results back to the\n * user\n *\n ", + "start_line": 236, + "end_line": 255, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "void doHome(ServletContext ctx, HttpServletRequest req, HttpServletResponse resp, String userID, String results) throws javax.servlet.ServletException, java.io.IOException", + "parameters": [ + { + "type": "javax.servlet.ServletContext", + "name": "ctx", + "annotations": [], + "modifiers": [], + "start_line": 256, + "end_line": 256, + "start_column": 15, + "end_column": 32 + }, + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 256, + "end_line": 256, + "start_column": 35, + "end_column": 56 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 256, + "end_line": 256, + "start_column": 59, + "end_column": 82 + }, + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 256, + "end_line": 256, + "start_column": 85, + "end_column": 97 + }, + { + "type": "java.lang.String", + "name": "results", + "annotations": [], + "modifiers": [], + "start_line": 256, + "end_line": 256, + "start_column": 100, + "end_column": 113 + } + ], + "code": "{\n\n try {\n AccountDataBean accountData = tAction.getAccountData(userID);\n Collection holdingDataBeans = tAction.getHoldings(userID);\n\n // Edge Caching:\n // Getting the MarketSummary has been moved to the JSP\n // MarketSummary.jsp. This makes the MarketSummary a\n // standalone \"fragment\", and thus is a candidate for\n // Edge caching.\n // marketSummaryData = tAction.getMarketSummary();\n\n req.setAttribute(\"accountData\", accountData);\n req.setAttribute(\"holdingDataBeans\", holdingDataBeans);\n // See Edge Caching above\n // req.setAttribute(\"marketSummaryData\", marketSummaryData);\n req.setAttribute(\"results\", results);\n } catch (java.lang.IllegalArgumentException e) { // this is a user\n // error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"check userID = \" + userID + \" and that the database is populated\");\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doHome(...)\" + \"illegal argument, information should be in exception string\"\n + \"treating this as a user error and forwarding on to a new page\", e);\n } catch (javax.ejb.FinderException e) {\n // this is a user error so I will\n // forward them to another page rather than throw a 500\n req.setAttribute(\"results\", results + \"\\nCould not find account for + \" + userID);\n // requestDispatch(ctx, req, resp,\n // TradeConfig.getPage(TradeConfig.HOME_PAGE));\n // log the exception with an error level of 3 which means, handled\n // exception but would invalidate a automation run\n Log.error(\"TradeServletAction.doHome(...)\" + \"Error finding account for user \" + userID\n + \"treating this as a user error and forwarding on to a new page\", e);\n } catch (Exception e) {\n // log the exception with error page\n throw new ServletException(\"TradeServletAction.doHome(...)\" + \" exception user =\" + userID, e);\n }\n\n requestDispatch(ctx, req, resp, userID, TradeConfig.getPage(TradeConfig.HOME_PAGE));\n }", + "start_line": 256, + "end_line": 300, + "code_start_line": 257, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.util.Collection" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.servlet.TradeServletAction.tAction", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.HOME_PAGE" + ], + "call_sites": [ + { + "method_name": "getAccountData", + "comment": null, + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountData(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 260, + "start_column": 37, + "end_line": 260, + "end_column": 66 + }, + { + "method_name": "getHoldings", + "comment": null, + "receiver_expr": "tAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "userID" + ], + "return_type": "java.util.Collection", + "callee_signature": "getHoldings(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 261, + "start_column": 40, + "end_line": 261, + "end_column": 66 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "argument_expr": [ + "\"accountData\"", + "accountData" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 270, + "start_column": 7, + "end_line": 270, + "end_column": 50 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.util.Collection" + ], + "argument_expr": [ + "\"holdingDataBeans\"", + "holdingDataBeans" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 271, + "start_column": 7, + "end_line": 271, + "end_column": 60 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " req.setAttribute(\"marketSummaryData\", marketSummaryData);", + "start_line": 273, + "end_line": 273, + "start_column": 7, + "end_column": 66, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 274, + "start_column": 7, + "end_line": 274, + "end_column": 42 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page rather than throw a 500", + "start_line": 277, + "end_line": 277, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"check userID = \" + userID + \" and that the database is populated\"" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 278, + "start_column": 7, + "end_line": 278, + "end_column": 111 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.HOME_PAGE)" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 279, + "start_column": 7, + "end_line": 279, + "end_column": 89 + }, + { + "method_name": "getPage", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "" + ], + "argument_expr": [ + "TradeConfig.HOME_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 279, + "start_column": 47, + "end_line": 279, + "end_column": 88 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 281, + "end_line": 281, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.IllegalArgumentException" + ], + "argument_expr": [ + "\"TradeServletAction.doHome(...)\" + \"illegal argument, information should be in exception string\" + \"treating this as a user error and forwarding on to a new page\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 282, + "start_column": 7, + "end_line": 283, + "end_column": 79 + }, + { + "method_name": "setAttribute", + "comment": { + "content": " forward them to another page rather than throw a 500", + "start_line": 286, + "end_line": 286, + "start_column": 7, + "end_column": 61, + "is_javadoc": false + }, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"results\"", + "results + \"\\nCould not find account for + \" + userID" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 287, + "start_column": 7, + "end_line": 287, + "end_column": 87 + }, + { + "method_name": "error", + "comment": { + "content": " exception but would invalidate a automation run", + "start_line": 291, + "end_line": 291, + "start_column": 7, + "end_column": 56, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "javax.ejb.FinderException" + ], + "argument_expr": [ + "\"TradeServletAction.doHome(...)\" + \"Error finding account for user \" + userID + \"treating this as a user error and forwarding on to a new page\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 292, + "start_column": 7, + "end_line": 293, + "end_column": 79 + }, + { + "method_name": "requestDispatch", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.ServletContext", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "TradeConfig.getPage(TradeConfig.HOME_PAGE)" + ], + "return_type": "", + "callee_signature": "requestDispatch(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 299, + "start_column": 5, + "end_line": 299, + "end_column": 87 + }, + { + "method_name": "getPage", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "" + ], + "argument_expr": [ + "TradeConfig.HOME_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 299, + "start_column": 45, + "end_line": 299, + "end_column": 86 }, { "method_name": "", "comment": { "content": " log the exception with error page", - "start_line": 360, - "end_line": 360, + "start_line": 295, + "end_line": 295, "start_column": 7, "end_column": 42, "is_javadoc": false @@ -59823,6 +62398,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doHome(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "javax.servlet.ServletException", "callee_signature": "ServletException(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -59833,30 +62412,13 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 361, + "start_line": 296, "start_column": 13, - "end_line": 361, - "end_column": 137 + "end_line": 296, + "end_column": 100 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "results", - "type": "java.lang.String", - "initializer": "\"\"", - "start_line": 328, - "start_column": 12, - "end_line": 328, - "end_column": 23 - }, { "comment": { "content": null, @@ -59868,11 +62430,11 @@ }, "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "tAction.login(userID, passwd)", - "start_line": 333, + "initializer": "tAction.getAccountData(userID)", + "start_line": 260, "start_column": 23, - "end_line": 333, - "end_column": 65 + "end_line": 260, + "end_column": 66 }, { "comment": { @@ -59883,18 +62445,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "session", - "type": "javax.servlet.http.HttpSession", - "initializer": "req.getSession(true)", - "start_line": 336, + "name": "holdingDataBeans", + "type": "java.util.Collection", + "initializer": "tAction.getHoldings(userID)", + "start_line": 261, "start_column": 21, - "end_line": 336, - "end_column": 50 + "end_line": 261, + "end_column": 66 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 4, "is_entrypoint": true } }, @@ -60117,107 +62679,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 94, - "end_line": 99, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n \n\n }", - "start_line": 100, - "end_line": 106, - "code_start_line": 101, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 5, - "end_line": 102, - "end_column": 22 - }, - { - "method_name": "now", - "comment": null, - "receiver_expr": "LocalDateTime", - "receiver_type": "java.time.LocalDateTime", - "argument_types": [], - "return_type": "java.time.LocalDateTime", - "callee_signature": "now()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 16, - "end_line": 103, - "end_column": 34 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -60280,6 +62744,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -60302,47 +62770,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 84, - "end_line": 88, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 89, - "end_line": 92, - "code_start_line": 90, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -60409,6 +62839,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -60430,6 +62863,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -60453,6 +62887,9 @@ "argument_types": [ "java.time.LocalDateTime" ], + "argument_expr": [ + "initTime" + ], "return_type": "", "callee_signature": "getHitCount(java.time.LocalDateTime)", "is_public": true, @@ -60474,6 +62911,7 @@ "receiver_expr": "hitCountBean", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.List", "callee_signature": "hitList()", "is_public": true, @@ -60497,6 +62935,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet Bean Validation CDI\" + \"

Ping Servlet Bean Validation CDI
Init time : \" + initTime + \"

Hit Count: \" + currentHitCount + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -60521,6 +62962,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -60545,6 +62990,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -60566,6 +63015,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -60622,6 +63072,146 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 84, + "end_line": 88, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 89, + "end_line": 92, + "code_start_line": 90, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValCDI.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 94, + "end_line": 99, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n \n\n }", + "start_line": 100, + "end_line": 106, + "code_start_line": 101, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValCDI.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 5, + "end_line": 102, + "end_column": 22 + }, + { + "method_name": "now", + "comment": null, + "receiver_expr": "LocalDateTime", + "receiver_type": "java.time.LocalDateTime", + "argument_types": [], + "argument_expr": [], + "return_type": "java.time.LocalDateTime", + "callee_signature": "now()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 16, + "end_line": 103, + "end_column": 34 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -60862,9 +63452,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -60927,6 +63517,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -60949,9 +63543,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Jsp.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -61017,6 +63611,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \" + hitCount" + ], "return_type": "", "callee_signature": "setMsg(java.lang.String)", "is_public": true, @@ -61041,6 +63638,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.prims.PingBean" ], + "argument_expr": [ + "\"ab\"", + "ab" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -61065,6 +63666,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -61088,6 +63693,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/PingServlet2Jsp.jsp\"" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -61109,6 +63717,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -61130,6 +63739,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -61154,6 +63764,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ex", + "\"PingServlet2Jsp.doGet(...): request error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -61178,6 +63792,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Jsp.doGet(...): request error\" + ex.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -61199,6 +63817,7 @@ "receiver_expr": "ex", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -61220,6 +63839,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "callee_signature": "PingBean()", "is_public": false, @@ -61388,9 +64008,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "decode(String)": { + "decode(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", - "signature": "decode(String)", + "signature": "decode(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -61433,6 +64053,7 @@ "receiver_expr": "Json.createReader(new StringReader(json))", "receiver_type": "javax.json.JsonReader", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "readObject()", "is_public": true, @@ -61456,6 +64077,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(json)" + ], "return_type": "javax.json.JsonReader", "callee_signature": "createReader(java.io.Reader)", "is_public": true, @@ -61479,6 +64103,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "jsonObject.getString(\"key\")" + ], "return_type": "", "callee_signature": "setKey(java.lang.String)", "is_public": true, @@ -61502,6 +64129,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"key\"" + ], "return_type": "java.lang.String", "callee_signature": "getString(java.lang.String)", "is_public": true, @@ -61525,6 +64155,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "jsonObject.getString(\"value\")" + ], "return_type": "", "callee_signature": "setValue(java.lang.String)", "is_public": true, @@ -61548,6 +64181,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"value\"" + ], "return_type": "java.lang.String", "callee_signature": "getString(java.lang.String)", "is_public": true, @@ -61571,6 +64207,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "json" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -61592,6 +64231,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "callee_signature": "JsonMessage()", "is_public": false, @@ -61649,9 +64289,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "init(EndpointConfig)": { + "init(javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", - "signature": "init(EndpointConfig)", + "signature": "init(javax.websocket.EndpointConfig)", "comments": [], "annotations": [ "@Override" @@ -61689,9 +64329,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "willDecode(String)": { + "willDecode(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonDecoder.java", - "signature": "willDecode(String)", + "signature": "willDecode(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -61729,6 +64369,7 @@ "receiver_expr": "Json.createReader(new StringReader(json))", "receiver_type": "javax.json.JsonReader", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "readObject()", "is_public": true, @@ -61752,6 +64393,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(json)" + ], "return_type": "javax.json.JsonReader", "callee_signature": "createReader(java.io.Reader)", "is_public": true, @@ -61775,6 +64419,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "json" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -61875,7 +64522,7 @@ "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", - "signature": "LoginValidator()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -61900,9 +64547,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "validate(FacesContext, UIComponent, Object)": { + "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/LoginValidator.java", - "signature": "validate(FacesContext, UIComponent, Object)", + "signature": "validate(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)", "comments": [], "annotations": [ "@Override" @@ -61972,6 +64619,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"LoginValidator.validate\"", + "\"Validating submitted login name -- \" + value.toString()" + ], "return_type": "", "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, @@ -61993,6 +64644,7 @@ "receiver_expr": "value", "receiver_type": "java.lang.Object", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -62016,6 +64668,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "value.toString()" + ], "return_type": "java.util.regex.Matcher", "callee_signature": "matcher(java.lang.CharSequence)", "is_public": true, @@ -62037,6 +64692,7 @@ "receiver_expr": "value", "receiver_type": "java.lang.Object", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -62058,6 +64714,7 @@ "receiver_expr": "matcher", "receiver_type": "java.util.regex.Matcher", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "matches()", "is_public": true, @@ -62081,6 +64738,9 @@ "argument_types": [ "javax.faces.application.FacesMessage.Severity" ], + "argument_expr": [ + "FacesMessage.SEVERITY_ERROR" + ], "return_type": "", "callee_signature": "setSeverity(javax.faces.application.FacesMessage.Severity)", "is_public": true, @@ -62104,6 +64764,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Username validation failed. Please provide username in this format: uid:#\"" + ], "return_type": "javax.faces.application.FacesMessage", "callee_signature": "FacesMessage(java.lang.String)", "is_public": false, @@ -62127,6 +64790,9 @@ "argument_types": [ "javax.faces.application.FacesMessage" ], + "argument_expr": [ + "msg" + ], "return_type": "javax.faces.validator.ValidatorException", "callee_signature": "ValidatorException(javax.faces.application.FacesMessage)", "is_public": false, @@ -62374,9 +65040,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "init(EndpointConfig)": { + "init(javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", - "signature": "init(EndpointConfig)", + "signature": "init(javax.websocket.EndpointConfig)", "comments": [ { "content": " TODO Auto-generated method stub", @@ -62423,9 +65089,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "encode(CopyOnWriteArrayList)": { + "encode(java.util.concurrent.CopyOnWriteArrayList)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/QuotePriceChangeListEncoder.java", - "signature": "encode(CopyOnWriteArrayList)", + "signature": "encode(java.util.concurrent.CopyOnWriteArrayList)", "comments": [], "annotations": [], "modifiers": [ @@ -62469,6 +65135,7 @@ "receiver_expr": "jsonObjectFactory", "receiver_type": "javax.json.JsonBuilderFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "createObjectBuilder()", "is_public": true, @@ -62490,6 +65157,7 @@ "receiver_expr": "list", "receiver_type": "java.util.concurrent.CopyOnWriteArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -62511,6 +65179,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -62532,6 +65201,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -62556,6 +65226,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"change\" + i + \"_stock\"", + "quotedata.getSymbol()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -62577,6 +65251,7 @@ "receiver_expr": "quotedata", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -62601,6 +65276,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"change\" + i + \"_price\"", + "\"$\" + quotedata.getPrice()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -62622,6 +65301,7 @@ "receiver_expr": "quotedata", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -62646,6 +65326,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"change\" + i + \"_change\"", + "quotedata.getChange()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, double)", "is_public": true, @@ -62667,6 +65351,7 @@ "receiver_expr": "quotedata", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -62688,6 +65373,7 @@ "receiver_expr": "jObjectBuilder.build()", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -62709,6 +65395,7 @@ "receiver_expr": "jObjectBuilder", "receiver_type": "javax.json.JsonObjectBuilder", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "build()", "is_public": true, @@ -63062,84 +65749,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 127, - "end_line": 132, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 134, - "end_line": 134, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n\n }", - "start_line": 133, - "end_line": 137, - "code_start_line": 134, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 135, - "start_column": 9, - "end_line": 135, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -63193,6 +65805,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -63215,47 +65831,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 117, - "end_line": 121, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 122, - "end_line": 125, - "code_start_line": 123, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " The following 2 lines are the difference between PingServlet and", @@ -63388,6 +65966,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -63409,6 +65990,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -63432,6 +66014,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"numReentries\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -63455,6 +66040,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "req.getParameter(\"numReentries\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -63478,6 +66066,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"numReentries\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -63501,6 +66092,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sleep\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -63524,6 +66118,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "req.getParameter(\"sleep\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -63547,6 +66144,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sleep\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -63570,6 +66170,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "sleepTime" + ], "return_type": "", "callee_signature": "sleep(long)", "is_public": true, @@ -63593,6 +66196,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "numReentriesLeft" + ], "return_type": "", "callee_signature": "println(int)", "is_public": true, @@ -63614,6 +66220,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getServerName()", "is_public": true, @@ -63635,6 +66242,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getServerPort()", "is_public": true, @@ -63656,6 +66264,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getContextPath()", "is_public": true, @@ -63677,6 +66286,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getRequestURI()", "is_public": true, @@ -63698,6 +66308,7 @@ "receiver_expr": "obj", "receiver_type": "java.net.URL", "argument_types": [], + "argument_expr": [], "return_type": "java.net.HttpURLConnection", "callee_signature": "openConnection()", "is_public": true, @@ -63721,6 +66332,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"GET\"" + ], "return_type": "", "callee_signature": "setRequestMethod(java.lang.String)", "is_public": true, @@ -63745,6 +66359,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"User-Agent\"", + "\"Mozilla/5.0\"" + ], "return_type": "", "callee_signature": "setRequestProperty(java.lang.String, java.lang.String)", "is_public": true, @@ -63766,6 +66384,7 @@ "receiver_expr": "con", "receiver_type": "java.net.HttpURLConnection", "argument_types": [], + "argument_expr": [], "return_type": "java.io.InputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -63787,6 +66406,7 @@ "receiver_expr": "in", "receiver_type": "java.io.BufferedReader", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "readLine()", "is_public": true, @@ -63810,6 +66430,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "inputLine" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -63831,6 +66454,7 @@ "receiver_expr": "in", "receiver_type": "java.io.BufferedReader", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -63854,6 +66478,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "sleepTime" + ], "return_type": "", "callee_signature": "sleep(long)", "is_public": true, @@ -63877,6 +66504,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "saveNumReentriesLeft + response.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -63898,6 +66528,7 @@ "receiver_expr": "response", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -63929,6 +66560,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -63950,6 +66585,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -63973,6 +66609,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "url" + ], "return_type": "java.net.URL", "callee_signature": "URL(java.lang.String)", "is_public": false, @@ -63996,6 +66635,9 @@ "argument_types": [ "java.io.InputStreamReader" ], + "argument_expr": [ + "new InputStreamReader(con.getInputStream())" + ], "return_type": "java.io.BufferedReader", "callee_signature": "BufferedReader(java.io.Reader)", "is_public": false, @@ -64019,6 +66661,9 @@ "argument_types": [ "java.io.InputStream" ], + "argument_expr": [ + "con.getInputStream()" + ], "return_type": "java.io.InputStreamReader", "callee_signature": "InputStreamReader(java.io.InputStream)", "is_public": false, @@ -64040,6 +66685,7 @@ "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer()", "is_public": false, @@ -64283,6 +66929,122 @@ "crud_queries": [], "cyclomatic_complexity": 6, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 117, + "end_line": 121, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 122, + "end_line": 125, + "code_start_line": 123, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingReentryServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 127, + "end_line": 132, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 134, + "end_line": 134, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n\n }", + "start_line": 133, + "end_line": 137, + "code_start_line": 134, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 135, + "start_column": 9, + "end_line": 135, + "end_column": 26 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -64384,172 +67146,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", - "start_line": 62, - "end_line": 67, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 69, - "end_line": 69, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 68, - "end_line": 74, - "code_start_line": 69, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 71, - "start_column": 16, - "end_line": 71, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 71, - "start_column": 16, - "end_line": 71, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "onEvent(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", - "signature": "onEvent(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onEvent(@Observes @Hit String event)", - "parameters": [ - { - "type": "java.lang.String", - "name": "event", - "annotations": [ - "@Observes", - "@Hit" - ], - "modifiers": [], - "start_line": 76, - "end_line": 76, - "start_column": 23, - "end_column": 49 - } - ], - "code": "{\n hitCount++;\n }", - "start_line": 76, - "end_line": 78, - "code_start_line": 76, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.hitCount" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -64605,6 +67204,7 @@ "receiver_expr": "cdiEventProducer", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.CDIEventProducer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "produceSyncEvent()", "is_public": true, @@ -64626,6 +67226,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -64649,6 +67250,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet CDI Event\" + \"

Ping Servlet CDI Event
Init time : \" + initTime + \"

\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -64672,6 +67276,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount1: \" + hitCount + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -64693,6 +67300,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -64714,6 +67322,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -64735,6 +67344,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -64774,6 +67384,174 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", + "start_line": 62, + "end_line": 67, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 69, + "end_line": 69, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 68, + "end_line": 74, + "code_start_line": 69, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 5, + "end_line": 70, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 71, + "start_column": 16, + "end_line": 71, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 71, + "start_column": 16, + "end_line": 71, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "onEvent(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEvent.java", + "signature": "onEvent(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onEvent(@Observes @Hit String event)", + "parameters": [ + { + "type": "java.lang.String", + "name": "event", + "annotations": [ + "@Observes", + "@Hit" + ], + "modifiers": [], + "start_line": 76, + "end_line": 76, + "start_column": 23, + "end_column": 49 + } + ], + "code": "{\n hitCount++;\n }", + "start_line": 76, + "end_line": 78, + "code_start_line": 76, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEvent.hitCount" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -64969,40 +67747,127 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderType(String)": { + "getOrderStatus()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setOrderType(String)", + "signature": "getOrderStatus()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderType(String orderType)", + "declaration": "public String getOrderStatus()", + "parameters": [], + "code": "{\n return orderStatus;\n }", + "start_line": 72, + "end_line": 74, + "code_start_line": 72, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderStatus" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getSymbol()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", + "signature": "getSymbol()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getSymbol()", + "parameters": [], + "code": "{\n return symbol;\n }", + "start_line": 120, + "end_line": 122, + "code_start_line": 120, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.symbol" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", + "signature": "getOrderID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getOrderID()", + "parameters": [], + "code": "{\n return orderID;\n }", + "start_line": 64, + "end_line": 66, + "code_start_line": 64, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOrderID(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", + "signature": "setOrderID(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderID(Integer orderID)", "parameters": [ { - "type": "java.lang.String", - "name": "orderType", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 30, - "end_column": 45 + "start_line": 60, + "end_line": 60, + "start_column": 28, + "end_column": 42 } ], - "code": "{\n this.orderType = orderType;\n }", - "start_line": 100, - "end_line": 102, - "code_start_line": 100, + "code": "{\n this.orderID = orderID;\n }", + "start_line": 60, + "end_line": 62, + "code_start_line": 60, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderType" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderID" ], "call_sites": [], "variable_declarations": [], @@ -65011,32 +67876,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPrice(BigDecimal)": { + "setTotal(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setPrice(BigDecimal)", + "signature": "setTotal(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPrice(BigDecimal price)", + "declaration": "public void setTotal(BigDecimal total)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "price", + "name": "total", "annotations": [], "modifiers": [], - "start_line": 132, - "end_line": 132, + "start_line": 124, + "end_line": 124, "start_column": 26, "end_column": 41 } ], - "code": "{\n this.price = price;\n }", - "start_line": 132, - "end_line": 134, - "code_start_line": 132, + "code": "{\n this.total = total;\n }", + "start_line": 124, + "end_line": 126, + "code_start_line": 124, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -65044,7 +67909,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.price" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.total" ], "call_sites": [], "variable_declarations": [], @@ -65053,40 +67918,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderStatus(String)": { + "setCompletionDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setOrderStatus(String)", + "signature": "setCompletionDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderStatus(String orderStatus)", + "declaration": "public void setCompletionDate(Date completionDate)", "parameters": [ { - "type": "java.lang.String", - "name": "orderStatus", + "type": "java.util.Date", + "name": "completionDate", "annotations": [], "modifiers": [], - "start_line": 68, - "end_line": 68, - "start_column": 32, - "end_column": 49 + "start_line": 84, + "end_line": 84, + "start_column": 35, + "end_column": 53 } ], - "code": "{\n this.orderStatus = orderStatus;\n }", - "start_line": 68, - "end_line": 70, - "code_start_line": 68, + "code": "{\n this.completionDate = completionDate;\n }", + "start_line": 84, + "end_line": 86, + "code_start_line": 84, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderStatus" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.completionDate" ], "call_sites": [], "variable_declarations": [], @@ -65095,27 +67960,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrderStatus()": { + "setPrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getOrderStatus()", + "signature": "setPrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getOrderStatus()", - "parameters": [], - "code": "{\n return orderStatus;\n }", - "start_line": 72, - "end_line": 74, - "code_start_line": 72, - "return_type": "java.lang.String", + "declaration": "public void setPrice(BigDecimal price)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 132, + "end_line": 132, + "start_column": 26, + "end_column": 41 + } + ], + "code": "{\n this.price = price;\n }", + "start_line": 132, + "end_line": 134, + "code_start_line": 132, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.math.BigDecimal" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderStatus" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.price" ], "call_sites": [], "variable_declarations": [], @@ -65124,27 +68002,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getSymbol()": { + "setOrderStatus(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getSymbol()", + "signature": "setOrderStatus(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getSymbol()", - "parameters": [], - "code": "{\n return symbol;\n }", - "start_line": 120, - "end_line": 122, - "code_start_line": 120, - "return_type": "java.lang.String", + "declaration": "public void setOrderStatus(String orderStatus)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderStatus", + "annotations": [], + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 32, + "end_column": 49 + } + ], + "code": "{\n this.orderStatus = orderStatus;\n }", + "start_line": 68, + "end_line": 70, + "code_start_line": 68, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.symbol" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderStatus" ], "call_sites": [], "variable_declarations": [], @@ -65153,27 +68044,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrderID()": { + "getOpenDate()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getOrderID()", + "signature": "getOpenDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Integer getOrderID()", + "declaration": "public Date getOpenDate()", "parameters": [], - "code": "{\n return orderID;\n }", - "start_line": 64, - "end_line": 66, - "code_start_line": 64, - "return_type": "java.lang.Integer", + "code": "{\n return openDate;\n }", + "start_line": 80, + "end_line": 82, + "code_start_line": 80, + "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderID" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.openDate" ], "call_sites": [], "variable_declarations": [], @@ -65182,9 +68073,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSymbol(String)": { + "setSymbol(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setSymbol(String)", + "signature": "setSymbol(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -65224,69 +68115,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderFee(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setOrderFee(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderFee(BigDecimal orderFee)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "orderFee", - "annotations": [], - "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 29, - "end_column": 47 - } - ], - "code": "{\n this.orderFee = orderFee;\n }", - "start_line": 92, - "end_line": 94, - "code_start_line": 92, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderFee" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOpenDate()": { + "getCompletionDate()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getOpenDate()", + "signature": "getCompletionDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Date getOpenDate()", + "declaration": "public Date getCompletionDate()", "parameters": [], - "code": "{\n return openDate;\n }", - "start_line": 80, - "end_line": 82, - "code_start_line": 80, + "code": "{\n return completionDate;\n }", + "start_line": 88, + "end_line": 90, + "code_start_line": 88, "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.openDate" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.completionDate" ], "call_sites": [], "variable_declarations": [], @@ -65295,40 +68144,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenDate(Date)": { + "setOrderType(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setOpenDate(Date)", + "signature": "setOrderType(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOpenDate(Date openDate)", + "declaration": "public void setOrderType(String orderType)", "parameters": [ { - "type": "java.util.Date", - "name": "openDate", + "type": "java.lang.String", + "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 76, - "end_line": 76, - "start_column": 29, - "end_column": 41 + "start_line": 100, + "end_line": 100, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n this.openDate = openDate;\n }", - "start_line": 76, - "end_line": 78, - "code_start_line": 76, + "code": "{\n this.orderType = orderType;\n }", + "start_line": 100, + "end_line": 102, + "code_start_line": 100, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.openDate" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderType" ], "call_sites": [], "variable_declarations": [], @@ -65337,27 +68186,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCompletionDate()": { + "getPrice()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getCompletionDate()", + "signature": "getPrice()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public Date getCompletionDate()", + "declaration": "public BigDecimal getPrice()", "parameters": [], - "code": "{\n return completionDate;\n }", - "start_line": 88, - "end_line": 90, - "code_start_line": 88, - "return_type": "java.util.Date", + "code": "{\n return price;\n }", + "start_line": 136, + "end_line": 138, + "code_start_line": 136, + "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.completionDate" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.price" ], "call_sites": [], "variable_declarations": [], @@ -65366,9 +68215,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)": { + "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String, BigDecimal)", + "signature": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String, java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -65502,6 +68351,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "new BigDecimal(quantity)" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -65525,6 +68377,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quantity" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -65547,27 +68402,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getPrice()": { + "getOrderType()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getPrice()", + "signature": "getOrderType()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public BigDecimal getPrice()", + "declaration": "public String getOrderType()", "parameters": [], - "code": "{\n return price;\n }", - "start_line": 136, - "end_line": 138, - "code_start_line": 136, - "return_type": "java.math.BigDecimal", + "code": "{\n return orderType;\n }", + "start_line": 104, + "end_line": 106, + "code_start_line": 104, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.price" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderType" ], "call_sites": [], "variable_declarations": [], @@ -65576,27 +68431,67 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrderType()": { + "setQuantity(double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getOrderType()", + "signature": "setQuantity(double)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getOrderType()", + "declaration": "public void setQuantity(double quantity)", + "parameters": [ + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 108, + "end_line": 108, + "start_column": 29, + "end_column": 43 + } + ], + "code": "{\n this.quantity = quantity;\n }", + "start_line": 108, + "end_line": 110, + "code_start_line": 108, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getTotal()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", + "signature": "getTotal()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public BigDecimal getTotal()", "parameters": [], - "code": "{\n return orderType;\n }", - "start_line": 104, - "end_line": 106, - "code_start_line": 104, - "return_type": "java.lang.String", + "code": "{\n return total;\n }", + "start_line": 128, + "end_line": 130, + "code_start_line": 128, + "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderType" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.total" ], "call_sites": [], "variable_declarations": [], @@ -65605,9 +68500,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Integer, String, Date, Date, BigDecimal, String, double, String)": { + "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "OrderData(Integer, String, Date, Date, BigDecimal, String, double, String)", + "signature": "(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -65727,151 +68622,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderID(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setOrderID(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderID(Integer orderID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 60, - "end_line": 60, - "start_column": 28, - "end_column": 42 - } - ], - "code": "{\n this.orderID = orderID;\n }", - "start_line": 60, - "end_line": 62, - "code_start_line": 60, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setQuantity(double)": { + "setOpenDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setQuantity(double)", + "signature": "setOpenDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setQuantity(double quantity)", + "declaration": "public void setOpenDate(Date openDate)", "parameters": [ { - "type": "double", - "name": "quantity", + "type": "java.util.Date", + "name": "openDate", "annotations": [], "modifiers": [], - "start_line": 108, - "end_line": 108, + "start_line": 76, + "end_line": 76, "start_column": 29, - "end_column": 43 - } - ], - "code": "{\n this.quantity = quantity;\n }", - "start_line": 108, - "end_line": 110, - "code_start_line": 108, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getTotal()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "getTotal()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BigDecimal getTotal()", - "parameters": [], - "code": "{\n return total;\n }", - "start_line": 128, - "end_line": 130, - "code_start_line": 128, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.total" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setTotal(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setTotal(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setTotal(BigDecimal total)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "total", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 26, "end_column": 41 } ], - "code": "{\n this.total = total;\n }", - "start_line": 124, - "end_line": 126, - "code_start_line": 124, + "code": "{\n this.openDate = openDate;\n }", + "start_line": 76, + "end_line": 78, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.total" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.openDate" ], "call_sites": [], "variable_declarations": [], @@ -65880,40 +68664,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCompletionDate(Date)": { + "setOrderFee(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderData.java", - "signature": "setCompletionDate(Date)", + "signature": "setOrderFee(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCompletionDate(Date completionDate)", + "declaration": "public void setOrderFee(BigDecimal orderFee)", "parameters": [ { - "type": "java.util.Date", - "name": "completionDate", + "type": "java.math.BigDecimal", + "name": "orderFee", "annotations": [], "modifiers": [], - "start_line": 84, - "end_line": 84, - "start_column": 35, - "end_column": 53 + "start_line": 92, + "end_line": 92, + "start_column": 29, + "end_column": 47 } ], - "code": "{\n this.completionDate = completionDate;\n }", - "start_line": 84, - "end_line": 86, - "code_start_line": 84, + "code": "{\n this.orderFee = orderFee;\n }", + "start_line": 92, + "end_line": 94, + "code_start_line": 92, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.completionDate" + "com.ibm.websphere.samples.daytrader.web.jsf.OrderData.orderFee" ], "call_sites": [], "variable_declarations": [], @@ -66300,129 +69084,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 123, - "end_line": 128, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 129, - "end_line": 134, - "code_start_line": 130, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 131, - "start_column": 9, - "end_line": 131, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -66485,6 +69149,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -66507,47 +69175,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 113, - "end_line": 117, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n }", - "start_line": 118, - "end_line": 121, - "code_start_line": 119, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " TradeJDBC uses prepared statements so I am going to make use of", @@ -66634,6 +69264,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -66655,6 +69288,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -66676,6 +69310,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -66697,6 +69332,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -66720,6 +69356,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -66743,6 +69382,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JDBC Read w/ Prepared Stmt.\" + \"
Ping JDBC Read w/ Prep Stmt:
Init time : \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -66766,6 +69408,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
Hit Count: \" + hitCount" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -66789,6 +69434,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
Quote Information

: \" + quoteData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -66810,6 +69458,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -66833,6 +69482,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -66856,6 +69508,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -66877,6 +69532,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -66902,6 +69558,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJDBCRead w/ Prep Stmt -- error getting quote for symbol\"", + "symbol" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "is_public": true, @@ -66926,6 +69587,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingJDBCRead Exception caught: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -66947,6 +69612,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -66970,6 +69636,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -67094,6 +69763,169 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 113, + "end_line": 117, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n }", + "start_line": 118, + "end_line": 121, + "code_start_line": 119, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 123, + "end_line": 128, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 129, + "end_line": 134, + "code_start_line": 130, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCRead.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 131, + "start_column": 9, + "end_line": 131, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 20, + "end_line": 133, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 20, + "end_line": 133, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -67250,9 +70082,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "onClose(Session, CloseReason)": { + "onClose(javax.websocket.Session, javax.websocket.CloseReason)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", - "signature": "onClose(Session, CloseReason)", + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", "comments": [], "annotations": [ "@OnClose" @@ -67300,6 +70132,7 @@ "receiver_expr": "session", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isOpen()", "is_public": true, @@ -67321,6 +70154,7 @@ "receiver_expr": "session", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -67342,6 +70176,7 @@ "receiver_expr": "e", "receiver_type": "java.io.IOException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -67364,96 +70199,9 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "ping(ByteBuffer)": { + "onError(java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", - "signature": "ping(ByteBuffer)", - "comments": [], - "annotations": [ - "@OnMessage" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void ping(ByteBuffer data)", - "parameters": [ - { - "type": "java.nio.ByteBuffer", - "name": "data", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 22, - "end_column": 36 - } - ], - "code": "{ \n currentSession.getAsyncRemote().sendBinary(data);\n }", - "start_line": 43, - "end_line": 46, - "code_start_line": 44, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketBinary.currentSession" - ], - "call_sites": [ - { - "method_name": "sendBinary", - "comment": null, - "receiver_expr": "currentSession.getAsyncRemote()", - "receiver_type": "javax.websocket.RemoteEndpoint.Async", - "argument_types": [ - "java.nio.ByteBuffer" - ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "sendBinary(java.nio.ByteBuffer)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 9, - "end_line": 45, - "end_column": 56 - }, - { - "method_name": "getAsyncRemote", - "comment": null, - "receiver_expr": "currentSession", - "receiver_type": "javax.websocket.Session", - "argument_types": [], - "return_type": "javax.websocket.RemoteEndpoint.Async", - "callee_signature": "getAsyncRemote()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 9, - "end_line": 45, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "onError(Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", - "signature": "onError(Throwable)", + "signature": "onError(java.lang.Throwable)", "comments": [], "annotations": [ "@OnError" @@ -67491,6 +70239,7 @@ "receiver_expr": "t", "receiver_type": "java.lang.Throwable", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -67513,9 +70262,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "onOpen(Session, EndpointConfig)": { + "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", - "signature": "onOpen(Session, EndpointConfig)", + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", "comments": [], "annotations": [ "@OnOpen" @@ -67566,6 +70315,97 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + }, + "ping(java.nio.ByteBuffer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketBinary.java", + "signature": "ping(java.nio.ByteBuffer)", + "comments": [], + "annotations": [ + "@OnMessage" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void ping(ByteBuffer data)", + "parameters": [ + { + "type": "java.nio.ByteBuffer", + "name": "data", + "annotations": [], + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 22, + "end_column": 36 + } + ], + "code": "{ \n currentSession.getAsyncRemote().sendBinary(data);\n }", + "start_line": 43, + "end_line": 46, + "code_start_line": 44, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketBinary.currentSession" + ], + "call_sites": [ + { + "method_name": "sendBinary", + "comment": null, + "receiver_expr": "currentSession.getAsyncRemote()", + "receiver_type": "javax.websocket.RemoteEndpoint.Async", + "argument_types": [ + "java.nio.ByteBuffer" + ], + "argument_expr": [ + "data" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "sendBinary(java.nio.ByteBuffer)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 9, + "end_line": 45, + "end_column": 56 + }, + { + "method_name": "getAsyncRemote", + "comment": null, + "receiver_expr": "currentSession", + "receiver_type": "javax.websocket.Session", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.websocket.RemoteEndpoint.Async", + "callee_signature": "getAsyncRemote()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 9, + "end_line": 45, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -67637,182 +70477,6 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "(BigDecimal, BigDecimal, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "QuoteData(BigDecimal, BigDecimal, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteData(BigDecimal price, BigDecimal open, String symbol)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 36, - "end_line": 36, - "start_column": 22, - "end_column": 37 - }, - { - "type": "java.math.BigDecimal", - "name": "open", - "annotations": [], - "modifiers": [], - "start_line": 36, - "end_line": 36, - "start_column": 40, - "end_column": 54 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 36, - "end_line": 36, - "start_column": 57, - "end_column": 69 - } - ], - "code": "{\n this.open = open;\n this.price = price;\n this.symbol = symbol;\n this.change = price.subtract(open).setScale(2).doubleValue();\n }", - "start_line": 36, - "end_line": 41, - "code_start_line": 36, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "java.math.BigDecimal", - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.change", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol" - ], - "call_sites": [ - { - "method_name": "doubleValue", - "comment": null, - "receiver_expr": "price.subtract(open).setScale(2)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "", - "callee_signature": "doubleValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 23, - "end_line": 40, - "end_column": 68 - }, - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "price.subtract(open)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 23, - "end_line": 40, - "end_column": 54 - }, - { - "method_name": "subtract", - "comment": null, - "receiver_expr": "price", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 23, - "end_line": 40, - "end_column": 42 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setRange(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setRange(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setRange(String range)", - "parameters": [ - { - "type": "java.lang.String", - "name": "range", - "annotations": [], - "modifiers": [], - "start_line": 121, - "end_line": 121, - "start_column": 26, - "end_column": 37 - } - ], - "code": "{\n this.range = range;\n }", - "start_line": 121, - "end_line": 123, - "code_start_line": 121, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.range" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getGainHTML()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "signature": "getGainHTML()", @@ -67844,6 +70508,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gain" + ], "return_type": "java.lang.String", "callee_signature": "printGainHTML(java.math.BigDecimal)", "is_public": true, @@ -67866,156 +70533,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSymbol(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setSymbol(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSymbol(String symbol)", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 27, - "end_column": 39 - } - ], - "code": "{\n this.symbol = symbol;\n }", - "start_line": 57, - "end_line": 59, - "code_start_line": 57, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setHigh(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setHigh(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHigh(BigDecimal high)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "high", - "annotations": [], - "modifiers": [], - "start_line": 81, - "end_line": 81, - "start_column": 25, - "end_column": 39 - } - ], - "code": "{\n this.high = high;\n }", - "start_line": 81, - "end_line": 83, - "code_start_line": 81, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.high" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setGainPercent(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setGainPercent(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setGainPercent(BigDecimal gainPercent)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "gainPercent", - "annotations": [], - "modifiers": [], - "start_line": 129, - "end_line": 129, - "start_column": 32, - "end_column": 53 - } - ], - "code": "{\n this.gainPercent = gainPercent.setScale(2);\n }", - "start_line": 129, - "end_line": 131, - "code_start_line": 129, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gainPercent" - ], - "call_sites": [ - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "gainPercent", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 28, - "end_line": 130, - "end_column": 50 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getChangeHTML()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "signature": "getChangeHTML()", @@ -68050,6 +70567,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "change" + ], "return_type": "java.lang.String", "callee_signature": "format(double)", "is_public": true, @@ -68073,6 +70593,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"####0.00\"" + ], "return_type": "java.text.DecimalFormat", "callee_signature": "DecimalFormat(java.lang.String)", "is_public": false, @@ -68147,6 +70670,48 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, + "setSymbol(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "setSymbol(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSymbol(String symbol)", + "parameters": [ + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 27, + "end_column": 39 + } + ], + "code": "{\n this.symbol = symbol;\n }", + "start_line": 57, + "end_line": 59, + "code_start_line": 57, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getCompanyName()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "signature": "getCompanyName()", @@ -68176,42 +70741,276 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setGain(BigDecimal)": { + "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setGain(BigDecimal)", + "signature": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.math.BigDecimal, java.math.BigDecimal, java.lang.String, java.lang.Double, java.lang.Double)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setGain(BigDecimal gain)", + "declaration": "public QuoteData(BigDecimal open, BigDecimal price, String symbol, BigDecimal high, BigDecimal low, String companyName, Double volume, Double change)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "gain", + "name": "open", "annotations": [], "modifiers": [], - "start_line": 137, - "end_line": 137, - "start_column": 25, - "end_column": 39 + "start_line": 43, + "end_line": 43, + "start_column": 22, + "end_column": 36 + }, + { + "type": "java.math.BigDecimal", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 39, + "end_column": 54 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 57, + "end_column": 69 + }, + { + "type": "java.math.BigDecimal", + "name": "high", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 72, + "end_column": 86 + }, + { + "type": "java.math.BigDecimal", + "name": "low", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 89, + "end_column": 102 + }, + { + "type": "java.lang.String", + "name": "companyName", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 105, + "end_column": 122 + }, + { + "type": "java.lang.Double", + "name": "volume", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 125, + "end_column": 137 + }, + { + "type": "java.lang.Double", + "name": "change", + "annotations": [], + "modifiers": [], + "start_line": 43, + "end_line": 43, + "start_column": 140, + "end_column": 152 } ], - "code": "{\n this.gain = gain;\n }", - "start_line": 137, - "end_line": 139, - "code_start_line": 137, - "return_type": "void", + "code": "{\n this.open = open;\n this.price = price;\n this.symbol = symbol;\n this.high = high;\n this.low = low;\n this.companyName = companyName;\n this.volume = volume;\n this.change = change;\n this.range = high.toString() + \"-\" + low.toString();\n this.gainPercent = FinancialUtils.computeGainPercent(price, open).setScale(2);\n this.gain = FinancialUtils.computeGain(price, open).setScale(2);\n }", + "start_line": 43, + "end_line": 55, + "code_start_line": 43, + "return_type": null, "is_implicit": false, - "is_constructor": false, + "is_constructor": true, "referenced_types": [ - "java.math.BigDecimal" + "java.math.BigDecimal", + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.change", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.range", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.low", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.companyName", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.high", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gainPercent", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.volume" + ], + "call_sites": [ + { + "method_name": "toString", + "comment": null, + "receiver_expr": "high", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 22, + "end_line": 52, + "end_column": 36 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "low", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 46, + "end_line": 52, + "end_column": 59 + }, + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "FinancialUtils.computeGainPercent(price, open)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "2" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 28, + "end_line": 53, + "end_column": 85 + }, + { + "method_name": "computeGainPercent", + "comment": null, + "receiver_expr": "FinancialUtils", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", + "argument_types": [ + "java.math.BigDecimal", + "java.math.BigDecimal" + ], + "argument_expr": [ + "price", + "open" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 28, + "end_line": 53, + "end_column": 73 + }, + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "FinancialUtils.computeGain(price, open)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "2" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 21, + "end_line": 54, + "end_column": 71 + }, + { + "method_name": "computeGain", + "comment": null, + "receiver_expr": "FinancialUtils", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", + "argument_types": [ + "java.math.BigDecimal", + "java.math.BigDecimal" + ], + "argument_expr": [ + "price", + "open" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 21, + "end_line": 54, + "end_column": 59 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -68316,40 +71115,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpen(BigDecimal)": { + "getGain()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setOpen(BigDecimal)", + "signature": "getGain()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOpen(BigDecimal open)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "open", - "annotations": [], - "modifiers": [], - "start_line": 73, - "end_line": 73, - "start_column": 25, - "end_column": 39 - } - ], - "code": "{\n this.open = open;\n }", - "start_line": 73, - "end_line": 75, - "code_start_line": 73, - "return_type": "void", + "declaration": "public BigDecimal getGain()", + "parameters": [], + "code": "{\n return gain;\n }", + "start_line": 141, + "end_line": 143, + "code_start_line": 141, + "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain" ], "call_sites": [], "variable_declarations": [], @@ -68358,27 +71144,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getGain()": { + "setCompanyName(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "getGain()", + "signature": "setCompanyName(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public BigDecimal getGain()", - "parameters": [], - "code": "{\n return gain;\n }", - "start_line": 141, - "end_line": 143, - "code_start_line": 141, - "return_type": "java.math.BigDecimal", + "declaration": "public void setCompanyName(String companyName)", + "parameters": [ + { + "type": "java.lang.String", + "name": "companyName", + "annotations": [], + "modifiers": [], + "start_line": 97, + "end_line": 97, + "start_column": 32, + "end_column": 49 + } + ], + "code": "{\n this.companyName = companyName;\n }", + "start_line": 97, + "end_line": 99, + "code_start_line": 97, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.companyName" ], "call_sites": [], "variable_declarations": [], @@ -68456,6 +71255,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setHigh(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "setHigh(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setHigh(BigDecimal high)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "high", + "annotations": [], + "modifiers": [], + "start_line": 81, + "end_line": 81, + "start_column": 25, + "end_column": 39 + } + ], + "code": "{\n this.high = high;\n }", + "start_line": 81, + "end_line": 83, + "code_start_line": 81, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.high" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getLow()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", "signature": "getLow()", @@ -68543,40 +71384,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPrice(BigDecimal)": { + "setRange(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setPrice(BigDecimal)", + "signature": "setRange(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPrice(BigDecimal price)", + "declaration": "public void setRange(String range)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "price", + "type": "java.lang.String", + "name": "range", "annotations": [], "modifiers": [], - "start_line": 65, - "end_line": 65, + "start_line": 121, + "end_line": 121, "start_column": 26, - "end_column": 41 + "end_column": 37 } ], - "code": "{\n this.price = price;\n }", - "start_line": 65, - "end_line": 67, - "code_start_line": 65, + "code": "{\n this.range = range;\n }", + "start_line": 121, + "end_line": 123, + "code_start_line": 121, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.range" ], "call_sites": [], "variable_declarations": [], @@ -68674,6 +71515,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gainPercent" + ], "return_type": "java.lang.String", "callee_signature": "printGainPercentHTML(java.math.BigDecimal)", "is_public": true, @@ -68696,32 +71540,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLow(BigDecimal)": { + "setGain(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setLow(BigDecimal)", + "signature": "setGain(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setLow(BigDecimal low)", + "declaration": "public void setGain(BigDecimal gain)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "low", + "name": "gain", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 24, - "end_column": 37 + "start_line": 137, + "end_line": 137, + "start_column": 25, + "end_column": 39 } ], - "code": "{\n this.low = low;\n }", - "start_line": 89, - "end_line": 91, - "code_start_line": 89, + "code": "{\n this.gain = gain;\n }", + "start_line": 137, + "end_line": 139, + "code_start_line": 137, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -68729,7 +71573,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.low" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain" ], "call_sites": [], "variable_declarations": [], @@ -68738,173 +71582,179 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)": { + "setPrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "QuoteData(BigDecimal, BigDecimal, String, BigDecimal, BigDecimal, String, Double, Double)", + "signature": "setPrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public QuoteData(BigDecimal open, BigDecimal price, String symbol, BigDecimal high, BigDecimal low, String companyName, Double volume, Double change)", + "declaration": "public void setPrice(BigDecimal price)", "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "open", - "annotations": [], - "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 22, - "end_column": 36 - }, { "type": "java.math.BigDecimal", "name": "price", "annotations": [], "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 39, - "end_column": 54 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 57, - "end_column": 69 - }, - { - "type": "java.math.BigDecimal", - "name": "high", - "annotations": [], - "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 72, - "end_column": 86 - }, + "start_line": 65, + "end_line": 65, + "start_column": 26, + "end_column": 41 + } + ], + "code": "{\n this.price = price;\n }", + "start_line": 65, + "end_line": 67, + "code_start_line": 65, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOpen(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "setOpen(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOpen(BigDecimal open)", + "parameters": [ { "type": "java.math.BigDecimal", - "name": "low", - "annotations": [], - "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 89, - "end_column": 102 - }, - { - "type": "java.lang.String", - "name": "companyName", + "name": "open", "annotations": [], "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 105, - "end_column": 122 - }, + "start_line": 73, + "end_line": 73, + "start_column": 25, + "end_column": 39 + } + ], + "code": "{\n this.open = open;\n }", + "start_line": 73, + "end_line": 75, + "code_start_line": 73, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setLow(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "setLow(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setLow(BigDecimal low)", + "parameters": [ { - "type": "java.lang.Double", - "name": "volume", + "type": "java.math.BigDecimal", + "name": "low", "annotations": [], "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 125, - "end_column": 137 - }, + "start_line": 89, + "end_line": 89, + "start_column": 24, + "end_column": 37 + } + ], + "code": "{\n this.low = low;\n }", + "start_line": 89, + "end_line": 91, + "code_start_line": 89, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.low" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setGainPercent(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "setGainPercent(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setGainPercent(BigDecimal gainPercent)", + "parameters": [ { - "type": "java.lang.Double", - "name": "change", + "type": "java.math.BigDecimal", + "name": "gainPercent", "annotations": [], "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 140, - "end_column": 152 + "start_line": 129, + "end_line": 129, + "start_column": 32, + "end_column": 53 } ], - "code": "{\n this.open = open;\n this.price = price;\n this.symbol = symbol;\n this.high = high;\n this.low = low;\n this.companyName = companyName;\n this.volume = volume;\n this.change = change;\n this.range = high.toString() + \"-\" + low.toString();\n this.gainPercent = FinancialUtils.computeGainPercent(price, open).setScale(2);\n this.gain = FinancialUtils.computeGain(price, open).setScale(2);\n }", - "start_line": 43, - "end_line": 55, - "code_start_line": 43, - "return_type": null, + "code": "{\n this.gainPercent = gainPercent.setScale(2);\n }", + "start_line": 129, + "end_line": 131, + "code_start_line": 129, + "return_type": "void", "is_implicit": false, - "is_constructor": true, + "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", - "java.lang.String" + "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.change", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.range", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.low", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.companyName", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.high", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gain", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gainPercent", - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.volume" + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.gainPercent" ], "call_sites": [ - { - "method_name": "toString", - "comment": null, - "receiver_expr": "high", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 22, - "end_line": 52, - "end_column": 36 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "low", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 46, - "end_line": 52, - "end_column": 59 - }, { "method_name": "setScale", "comment": null, - "receiver_expr": "FinancialUtils.computeGainPercent(price, open)", + "receiver_expr": "gainPercent", "receiver_type": "java.math.BigDecimal", "argument_types": [ "" ], + "argument_expr": [ + "2" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int)", "is_public": true, @@ -68915,43 +71765,111 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 53, + "start_line": 130, "start_column": 28, - "end_line": 53, - "end_column": 85 + "end_line": 130, + "end_column": 50 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", + "signature": "(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteData(BigDecimal price, BigDecimal open, String symbol)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 36, + "end_line": 36, + "start_column": 22, + "end_column": 37 }, { - "method_name": "computeGainPercent", + "type": "java.math.BigDecimal", + "name": "open", + "annotations": [], + "modifiers": [], + "start_line": 36, + "end_line": 36, + "start_column": 40, + "end_column": 54 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 36, + "end_line": 36, + "start_column": 57, + "end_column": 69 + } + ], + "code": "{\n this.open = open;\n this.price = price;\n this.symbol = symbol;\n this.change = price.subtract(open).setScale(2).doubleValue();\n }", + "start_line": 36, + "end_line": 41, + "code_start_line": 36, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "java.math.BigDecimal", + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.change", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.open", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.price", + "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.symbol" + ], + "call_sites": [ + { + "method_name": "doubleValue", "comment": null, - "receiver_expr": "FinancialUtils", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "argument_types": [ - "java.math.BigDecimal", - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "receiver_expr": "price.subtract(open).setScale(2)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "doubleValue()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 53, - "start_column": 28, - "end_line": 53, - "end_column": 73 + "start_line": 40, + "start_column": 23, + "end_line": 40, + "end_column": 68 }, { "method_name": "setScale", "comment": null, - "receiver_expr": "FinancialUtils.computeGain(price, open)", + "receiver_expr": "price.subtract(open)", "receiver_type": "java.math.BigDecimal", "argument_types": [ "" ], + "argument_expr": [ + "2" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int)", "is_public": true, @@ -68962,78 +71880,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 54, - "start_column": 21, - "end_line": 54, - "end_column": 71 + "start_line": 40, + "start_column": 23, + "end_line": 40, + "end_column": 54 }, { - "method_name": "computeGain", + "method_name": "subtract", "comment": null, - "receiver_expr": "FinancialUtils", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", + "receiver_expr": "price", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.math.BigDecimal", "java.math.BigDecimal" ], + "argument_expr": [ + "open" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 54, - "start_column": 21, - "end_line": 54, - "end_column": 59 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setCompanyName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/QuoteData.java", - "signature": "setCompanyName(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCompanyName(String companyName)", - "parameters": [ - { - "type": "java.lang.String", - "name": "companyName", - "annotations": [], - "modifiers": [], - "start_line": 97, - "end_line": 97, - "start_column": 32, - "end_column": 49 + "start_line": 40, + "start_column": 23, + "end_line": 40, + "end_column": 42 } ], - "code": "{\n this.companyName = companyName;\n }", - "start_line": 97, - "end_line": 99, - "code_start_line": 97, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData.companyName" - ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -69425,6 +72303,218 @@ "parent_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", "nested_type_declarations": [], "callable_declarations": { + "(javax.servlet.ServletOutputStream, java.util.Queue, javax.servlet.AsyncContext)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "(javax.servlet.ServletOutputStream, java.util.Queue, javax.servlet.AsyncContext)", + "comments": [ + { + "content": " TODO Auto-generated catch block", + "start_line": 124, + "end_line": 124, + "start_column": 17, + "end_column": 50, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [], + "declaration": "WriteListenerImpl(ServletOutputStream sos, Queue q, AsyncContext c)", + "parameters": [ + { + "type": "javax.servlet.ServletOutputStream", + "name": "sos", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 27, + "end_column": 49 + }, + { + "type": "java.util.Queue", + "name": "q", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 52, + "end_column": 66 + }, + { + "type": "javax.servlet.AsyncContext", + "name": "c", + "annotations": [], + "modifiers": [], + "start_line": 113, + "end_line": 113, + "start_column": 69, + "end_column": 82 + } + ], + "code": "{\n output = sos;\n queue = q;\n ac = c;\n \n try {\n output.print(\"Ping Servlet 3.1 Async\"\n + \"

Ping Servlet 3.1 Async\"\n + \"
Init time : \" + initTime\n + \"

Hit Count: \" + ++hitCount + \"
Data Received: \");\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", + "start_line": 113, + "end_line": 127, + "code_start_line": 113, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.queue", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.output", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.ac" + ], + "call_sites": [ + { + "method_name": "print", + "comment": null, + "receiver_expr": "output", + "receiver_type": "javax.servlet.ServletOutputStream", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Ping Servlet 3.1 Async\" + \"

Ping Servlet 3.1 Async\" + \"
Init time : \" + initTime + \"

Hit Count: \" + ++hitCount + \"
Data Received: \"" + ], + "return_type": "", + "callee_signature": "print(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 17, + "end_line": 122, + "end_column": 102 + }, + { + "method_name": "printStackTrace", + "comment": { + "content": " TODO Auto-generated catch block", + "start_line": 124, + "end_line": 124, + "start_column": 17, + "end_column": 50, + "is_javadoc": false + }, + "receiver_expr": "e", + "receiver_type": "java.io.IOException", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 125, + "start_column": 17, + "end_line": 125, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "onError(java.lang.Throwable)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "onError(java.lang.Throwable)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onError(final Throwable t)", + "parameters": [ + { + "type": "java.lang.Throwable", + "name": "t", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 142, + "end_line": 142, + "start_column": 29, + "end_column": 45 + } + ], + "code": "{\n ac.complete();\n t.printStackTrace();\n }", + "start_line": 142, + "end_line": 145, + "code_start_line": 142, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.ac" + ], + "call_sites": [ + { + "method_name": "complete", + "comment": null, + "receiver_expr": "ac", + "receiver_type": "javax.servlet.AsyncContext", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "complete()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 13, + "end_line": 143, + "end_column": 25 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "t", + "receiver_type": "java.lang.Throwable", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 144, + "start_column": 13, + "end_line": 144, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "onWritePossible()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "signature": "onWritePossible()", @@ -69460,6 +72550,7 @@ "receiver_expr": "queue", "receiver_type": "java.util.Queue", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "peek()", "is_public": true, @@ -69481,6 +72572,7 @@ "receiver_expr": "output", "receiver_type": "javax.servlet.ServletOutputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isReady()", "is_public": true, @@ -69502,6 +72594,7 @@ "receiver_expr": "queue", "receiver_type": "java.util.Queue", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "poll()", "is_public": true, @@ -69525,6 +72618,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "data" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -69546,6 +72642,7 @@ "receiver_expr": "queue", "receiver_type": "java.util.Queue", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "peek()", "is_public": true, @@ -69569,6 +72666,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -69590,6 +72690,7 @@ "receiver_expr": "ac", "receiver_type": "javax.servlet.AsyncContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "complete()", "is_public": true, @@ -69629,212 +72730,6 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": false - }, - "(ServletOutputStream, Queue, AsyncContext)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "WriteListenerImpl(ServletOutputStream, Queue, AsyncContext)", - "comments": [ - { - "content": " TODO Auto-generated catch block", - "start_line": 124, - "end_line": 124, - "start_column": 17, - "end_column": 50, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [], - "declaration": "WriteListenerImpl(ServletOutputStream sos, Queue q, AsyncContext c)", - "parameters": [ - { - "type": "javax.servlet.ServletOutputStream", - "name": "sos", - "annotations": [], - "modifiers": [], - "start_line": 113, - "end_line": 113, - "start_column": 27, - "end_column": 49 - }, - { - "type": "java.util.Queue", - "name": "q", - "annotations": [], - "modifiers": [], - "start_line": 113, - "end_line": 113, - "start_column": 52, - "end_column": 66 - }, - { - "type": "javax.servlet.AsyncContext", - "name": "c", - "annotations": [], - "modifiers": [], - "start_line": 113, - "end_line": 113, - "start_column": 69, - "end_column": 82 - } - ], - "code": "{\n output = sos;\n queue = q;\n ac = c;\n \n try {\n output.print(\"Ping Servlet 3.1 Async\"\n + \"

Ping Servlet 3.1 Async\"\n + \"
Init time : \" + initTime\n + \"

Hit Count: \" + ++hitCount + \"
Data Received: \");\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", - "start_line": 113, - "end_line": 127, - "code_start_line": 113, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.queue", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.output", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.ac" - ], - "call_sites": [ - { - "method_name": "print", - "comment": null, - "receiver_expr": "output", - "receiver_type": "javax.servlet.ServletOutputStream", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "print(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 17, - "end_line": 122, - "end_column": 102 - }, - { - "method_name": "printStackTrace", - "comment": { - "content": " TODO Auto-generated catch block", - "start_line": 124, - "end_line": 124, - "start_column": 17, - "end_column": 50, - "is_javadoc": false - }, - "receiver_expr": "e", - "receiver_type": "java.io.IOException", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 17, - "end_line": 125, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "onError(Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "onError(Throwable)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onError(final Throwable t)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "t", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 142, - "end_line": 142, - "start_column": 29, - "end_column": 45 - } - ], - "code": "{\n ac.complete();\n t.printStackTrace();\n }", - "start_line": 142, - "end_line": 145, - "code_start_line": 142, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl.ac" - ], - "call_sites": [ - { - "method_name": "complete", - "comment": null, - "receiver_expr": "ac", - "receiver_type": "javax.servlet.AsyncContext", - "argument_types": [], - "return_type": "", - "callee_signature": "complete()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 13, - "end_line": 143, - "end_column": 25 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "t", - "receiver_type": "java.lang.Throwable", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 144, - "start_column": 13, - "end_line": 144, - "end_column": 31 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -69974,129 +72869,9 @@ "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl" ], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 173, - "end_line": 178, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 180, - "end_line": 180, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 179, - "end_line": 185, - "code_start_line": 180, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 181, - "start_column": 9, - "end_line": 181, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 182, - "start_column": 20, - "end_line": 182, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 182, - "start_column": 20, - "end_line": 182, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -70162,6 +72937,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -70183,6 +72961,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.AsyncContext", "callee_signature": "startAsync()", "is_public": true, @@ -70204,6 +72983,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletInputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -70227,6 +73007,9 @@ "argument_types": [ "javax.servlet.ReadListener" ], + "argument_expr": [ + "readListener" + ], "return_type": "", "callee_signature": "setReadListener(javax.servlet.ReadListener)", "is_public": true, @@ -70252,6 +73035,11 @@ "javax.servlet.http.HttpServletResponse", "javax.servlet.AsyncContext" ], + "argument_expr": [ + "input", + "res", + "ac" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl", "callee_signature": "ReadListenerImpl(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)", "is_public": false, @@ -70326,47 +73114,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 163, - "end_line": 167, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 168, - "end_line": 171, - "code_start_line": 169, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -70429,6 +73179,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -70450,75 +73204,238 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": true - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 47, - "end_line": 47, - "variables": [ - "serialVersionUID" + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 163, + "end_line": 167, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" ], "modifiers": [ - "private", - "static", - "final" + "public" ], - "annotations": [] + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 168, + "end_line": 171, + "code_start_line": 169, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 48, - "end_line": 48, - "variables": [ - "initTime" + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 173, + "end_line": 178, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" ], "modifiers": [ - "private", - "static" + "public" ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 49, - "end_line": 49, - "variables": [ - "hitCount" + "thrown_exceptions": [ + "javax.servlet.ServletException" ], - "modifiers": [ - "private", - "static" + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 180, + "end_line": 180, + "start_column": 22, + "end_column": 41 + } ], - "annotations": [] + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 179, + "end_line": 185, + "code_start_line": 180, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 181, + "start_column": 9, + "end_line": 181, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 182, + "start_column": 20, + "end_line": 182, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 182, + "start_column": 20, + "end_line": 182, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 47, + "end_line": 47, + "variables": [ + "serialVersionUID" + ], + "modifiers": [ + "private", + "static", + "final" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 48, + "end_line": 48, + "variables": [ + "initTime" + ], + "modifiers": [ + "private", + "static" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 49, + "end_line": 49, + "variables": [ + "hitCount" + ], + "modifiers": [ + "private", + "static" + ], + "annotations": [] } ], "enum_constants": [], @@ -70545,66 +73462,6 @@ "parent_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async", "nested_type_declarations": [], "callable_declarations": { - "(ServletInputStream, HttpServletResponse, AsyncContext)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "ReadListenerImpl(ServletInputStream, HttpServletResponse, AsyncContext)", - "comments": [], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [], - "declaration": "ReadListenerImpl(ServletInputStream in, HttpServletResponse r, AsyncContext c)", - "parameters": [ - { - "type": "javax.servlet.ServletInputStream", - "name": "in", - "annotations": [], - "modifiers": [], - "start_line": 77, - "end_line": 77, - "start_column": 26, - "end_column": 46 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "r", - "annotations": [], - "modifiers": [], - "start_line": 77, - "end_line": 77, - "start_column": 49, - "end_column": 69 - }, - { - "type": "javax.servlet.AsyncContext", - "name": "c", - "annotations": [], - "modifiers": [], - "start_line": 77, - "end_line": 77, - "start_column": 72, - "end_column": 85 - } - ], - "code": "{\n input = in;\n res = r;\n ac = c;\n }", - "start_line": 77, - "end_line": 81, - "code_start_line": 77, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.res", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.input", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.ac" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, "onAllDataRead()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "signature": "onAllDataRead()", @@ -70641,6 +73498,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -70664,6 +73522,9 @@ "argument_types": [ "javax.servlet.WriteListener" ], + "argument_expr": [ + "writeListener" + ], "return_type": "", "callee_signature": "setWriteListener(javax.servlet.WriteListener)", "is_public": true, @@ -70689,8 +73550,13 @@ "java.util.Queue", "javax.servlet.AsyncContext" ], + "argument_expr": [ + "output", + "queue", + "ac" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.WriteListenerImpl", - "callee_signature": "WriteListenerImpl(javax.servlet.ServletOutputStream, java.util.Queue, javax.servlet.AsyncContext)", + "callee_signature": "WriteListenerImpl(javax.servlet.ServletOutputStream, java.util.Queue, javax.servlet.AsyncContext)", "is_public": false, "is_protected": false, "is_private": false, @@ -70746,6 +73612,153 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)", + "comments": [], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [], + "declaration": "ReadListenerImpl(ServletInputStream in, HttpServletResponse r, AsyncContext c)", + "parameters": [ + { + "type": "javax.servlet.ServletInputStream", + "name": "in", + "annotations": [], + "modifiers": [], + "start_line": 77, + "end_line": 77, + "start_column": 26, + "end_column": 46 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "r", + "annotations": [], + "modifiers": [], + "start_line": 77, + "end_line": 77, + "start_column": 49, + "end_column": 69 + }, + { + "type": "javax.servlet.AsyncContext", + "name": "c", + "annotations": [], + "modifiers": [], + "start_line": 77, + "end_line": 77, + "start_column": 72, + "end_column": 85 + } + ], + "code": "{\n input = in;\n res = r;\n ac = c;\n }", + "start_line": 77, + "end_line": 81, + "code_start_line": 77, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.res", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.input", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.ac" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "onError(java.lang.Throwable)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", + "signature": "onError(java.lang.Throwable)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onError(final Throwable t)", + "parameters": [ + { + "type": "java.lang.Throwable", + "name": "t", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 102, + "end_line": 102, + "start_column": 29, + "end_column": 45 + } + ], + "code": "{\n ac.complete();\n t.printStackTrace();\n }", + "start_line": 102, + "end_line": 105, + "code_start_line": 102, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.ac" + ], + "call_sites": [ + { + "method_name": "complete", + "comment": null, + "receiver_expr": "ac", + "receiver_type": "javax.servlet.AsyncContext", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "complete()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 13, + "end_line": 103, + "end_column": 25 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "t", + "receiver_type": "java.lang.Throwable", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 104, + "start_column": 13, + "end_line": 104, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "onDataAvailable()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", "signature": "onDataAvailable()", @@ -70781,6 +73794,7 @@ "receiver_expr": "input", "receiver_type": "javax.servlet.ServletInputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isReady()", "is_public": true, @@ -70804,6 +73818,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "b" + ], "return_type": "", "callee_signature": "read(byte[])", "is_public": true, @@ -70827,6 +73844,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "data" + ], "return_type": "java.lang.StringBuilder", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -70850,8 +73870,11 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "sb.toString()" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -70871,6 +73894,7 @@ "receiver_expr": "sb", "receiver_type": "java.lang.StringBuilder", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -70892,6 +73916,7 @@ "receiver_expr": "", "receiver_type": "java.lang.StringBuilder", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.StringBuilder", "callee_signature": "StringBuilder()", "is_public": false, @@ -70917,6 +73942,11 @@ "", "" ], + "argument_expr": [ + "b", + "0", + "len" + ], "return_type": "java.lang.String", "callee_signature": "String(byte[], int, int)", "is_public": false, @@ -71007,91 +74037,6 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": false - }, - "onError(Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31Async.java", - "signature": "onError(Throwable)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onError(final Throwable t)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "t", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 102, - "end_line": 102, - "start_column": 29, - "end_column": 45 - } - ], - "code": "{\n ac.complete();\n t.printStackTrace();\n }", - "start_line": 102, - "end_line": 105, - "code_start_line": 102, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31Async.ReadListenerImpl.ac" - ], - "call_sites": [ - { - "method_name": "complete", - "comment": null, - "receiver_expr": "ac", - "receiver_type": "javax.servlet.AsyncContext", - "argument_types": [], - "return_type": "", - "callee_signature": "complete()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 13, - "end_line": 103, - "end_column": 25 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "t", - "receiver_type": "java.lang.Throwable", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 104, - "start_column": 13, - "end_line": 104, - "end_column": 31 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -71353,9 +74298,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "init(FilterConfig)": { + "init(javax.servlet.FilterConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", - "signature": "init(FilterConfig)", + "signature": "init(javax.servlet.FilterConfig)", "comments": [], "annotations": [ "@Override" @@ -71399,163 +74344,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { + "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", - "signature": "OrdersAlertFilter(Instance)", - "comments": [], - "annotations": [ - "@Inject" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public OrdersAlertFilter(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 46, - "end_line": 46, - "start_column": 28, - "end_column": 64 - } - ], - "code": "{\n super();\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 45, - "end_line": 49, - "code_start_line": 46, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter.tradeAction" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 48, - "start_column": 19, - "end_line": 48, - "end_column": 133 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 48, - "start_column": 19, - "end_line": 48, - "end_column": 127 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 48, - "start_column": 63, - "end_line": 48, - "end_column": 95 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 48, - "start_column": 97, - "end_line": 48, - "end_column": 124 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 48, - "start_column": 35, - "end_line": 48, - "end_column": 126 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doFilter(ServletRequest, ServletResponse, FilterChain)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", "comments": [ { "content": " wrapper ", @@ -71639,6 +74430,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getDisplayOrderAlerts()", "is_public": true, @@ -71662,6 +74454,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -71683,6 +74478,7 @@ "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -71704,6 +74500,7 @@ "receiver_expr": "action", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -71727,6 +74524,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"logout\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -71750,6 +74550,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"login\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -71773,6 +74576,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uid\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -71796,6 +74602,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -71817,6 +74626,7 @@ "receiver_expr": "((HttpServletRequest) req)", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession()", "is_public": true, @@ -71838,6 +74648,7 @@ "receiver_expr": "userID.trim()", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -71859,6 +74670,7 @@ "receiver_expr": "userID", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -71882,6 +74694,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getClosedOrders(java.lang.String)", "is_public": false, @@ -71903,6 +74718,7 @@ "receiver_expr": "closedOrders", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -71927,6 +74743,10 @@ "java.lang.String", "java.util.Collection" ], + "argument_expr": [ + "\"closedOrders\"", + "closedOrders" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -71948,6 +74768,7 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doTrace()", "is_public": true, @@ -71972,8 +74793,12 @@ "java.lang.String", "java.util.Collection" ], + "argument_expr": [ + "\"OrderAlertFilter: userID=\" + userID + \" closedOrders=\"", + "closedOrders" + ], "return_type": "", - "callee_signature": "printCollection(java.lang.String, java.util.Collection)", + "callee_signature": "printCollection(java.lang.String, java.util.Collection)", "is_public": true, "is_protected": false, "is_private": false, @@ -71996,6 +74821,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"OrdersAlertFilter - Error checking for closedOrders\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -72020,6 +74849,10 @@ "javax.servlet.ServletRequest", "javax.servlet.ServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -72093,6 +74926,169 @@ "crud_queries": [], "cyclomatic_complexity": 13, "is_entrypoint": false + }, + "(javax.enterprise.inject.Instance)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/OrdersAlertFilter.java", + "signature": "(javax.enterprise.inject.Instance)", + "comments": [], + "annotations": [ + "@Inject" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrdersAlertFilter(@Any Instance services)", + "parameters": [ + { + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], + "modifiers": [], + "start_line": 46, + "end_line": 46, + "start_column": 28, + "end_column": 64 + } + ], + "code": "{\n super();\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 45, + "end_line": 49, + "code_start_line": 46, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.servlet.OrdersAlertFilter.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 48, + "start_column": 19, + "end_line": 48, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 48, + "start_column": 19, + "end_line": 48, + "end_column": 127 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 48, + "start_column": 63, + "end_line": 48, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 48, + "start_column": 97, + "end_line": 48, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 48, + "start_column": 35, + "end_line": 48, + "end_column": 126 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -73260,6 +76256,7 @@ "receiver_expr": "MDBStats.getInstance()", "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "reset()", "is_public": true, @@ -73281,6 +76278,7 @@ "receiver_expr": "MDBStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "callee_signature": "getInstance()", "is_public": true, @@ -73302,6 +76300,7 @@ "receiver_expr": "datasource", "receiver_type": "javax.sql.DataSource", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConnection()", "is_public": true, @@ -73326,6 +76325,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from quoteejb\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73347,6 +76350,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73368,6 +76372,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73392,6 +76397,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from accountejb\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73413,6 +76422,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73434,6 +76444,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73458,6 +76469,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from accountprofileejb\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73479,6 +76494,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73500,6 +76516,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73524,6 +76541,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from holdingejb\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73545,6 +76566,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73566,6 +76588,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73590,6 +76613,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from orderejb\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73611,6 +76638,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73632,6 +76660,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73660,6 +76689,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -73684,6 +76714,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeDirect:resetTrade(deleteAll) -- Error deleting Trade users and stock from the Trade database\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -73708,6 +76742,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from holdingejb where holdingejb.account_accountid is null\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73729,6 +76767,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73750,6 +76789,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73774,6 +76814,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from accountprofileejb where userid like 'ru:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73795,6 +76839,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73816,6 +76861,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73840,6 +76886,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from orderejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73861,6 +76911,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73882,6 +76933,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73906,6 +76958,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from holdingejb where account_accountid in (select accountid from accountejb a where a.profile_userid like 'ru:%')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73927,6 +76983,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -73948,6 +77005,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -73972,6 +77030,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from accountejb where profile_userid like 'ru:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -73993,6 +77055,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -74016,6 +77079,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "newUserCount" + ], "return_type": "", "callee_signature": "setNewUserCount(int)", "is_public": true, @@ -74037,6 +77103,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74061,6 +77128,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(accountid) as \\\"tradeUserCount\\\" from accountejb a where a.profile_userid like 'uid:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74082,6 +77153,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74103,6 +77175,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74126,6 +77199,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"tradeUserCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74149,6 +77225,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "tradeUserCount" + ], "return_type": "", "callee_signature": "setTradeUserCount(int)", "is_public": true, @@ -74170,6 +77249,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74191,6 +77271,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74215,6 +77296,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(symbol) as \\\"tradeStockCount\\\" from quoteejb a where a.symbol like 's:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74236,6 +77321,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74257,6 +77343,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74280,6 +77367,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"tradeStockCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74303,6 +77393,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "tradeStockCount" + ], "return_type": "", "callee_signature": "setTradeStockCount(int)", "is_public": true, @@ -74324,6 +77417,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74348,6 +77442,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select sum(loginCount) as \\\"sumLoginCount\\\", sum(logoutCount) as \\\"sumLogoutCount\\\" from accountejb a where a.profile_userID like 'uid:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74369,6 +77467,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74390,6 +77489,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74413,6 +77513,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sumLoginCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74436,6 +77539,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sumLogoutCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74459,6 +77565,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "sumLoginCount" + ], "return_type": "", "callee_signature": "setSumLoginCount(int)", "is_public": true, @@ -74482,6 +77591,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "sumLogoutCount" + ], "return_type": "", "callee_signature": "setSumLogoutCount(int)", "is_public": true, @@ -74503,6 +77615,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74524,6 +77637,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74548,6 +77662,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"update accountejb set logoutCount=0,loginCount=0 where profile_userID like 'uid:%'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74569,6 +77687,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -74590,6 +77709,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74614,6 +77734,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(holdingid) as \\\"holdingCount\\\" from holdingejb h where h.account_accountid in \" + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74635,6 +77759,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74656,6 +77781,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74679,6 +77805,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"holdingCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74702,6 +77831,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingCount" + ], "return_type": "", "callee_signature": "setHoldingCount(int)", "is_public": true, @@ -74723,6 +77855,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74744,6 +77877,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74768,6 +77902,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(orderid) as \\\"orderCount\\\" from orderejb o where o.account_accountid in \" + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74789,6 +77927,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74810,6 +77949,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74833,6 +77973,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"orderCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -74856,6 +77999,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "orderCount" + ], "return_type": "", "callee_signature": "setOrderCount(int)", "is_public": true, @@ -74877,6 +78023,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74898,6 +78045,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -74922,6 +78070,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(orderid) \\\"buyOrderCount\\\"from orderejb o where (o.account_accountid in \" + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderType='buy')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -74943,6 +78095,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -74964,6 +78117,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -74987,6 +78141,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"buyOrderCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -75010,6 +78167,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "buyOrderCount" + ], "return_type": "", "callee_signature": "setBuyOrderCount(int)", "is_public": true, @@ -75031,6 +78191,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75052,6 +78213,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75076,6 +78238,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(orderid) \\\"sellOrderCount\\\"from orderejb o where (o.account_accountid in \" + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderType='sell')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -75097,6 +78263,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -75118,6 +78285,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -75141,6 +78309,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sellOrderCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -75164,6 +78335,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "sellOrderCount" + ], "return_type": "", "callee_signature": "setSellOrderCount(int)", "is_public": true, @@ -75185,6 +78359,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75206,6 +78381,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75230,6 +78406,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from orderejb where orderStatus='cancelled'\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -75251,6 +78431,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -75274,6 +78455,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "cancelledOrderCount" + ], "return_type": "", "callee_signature": "setCancelledOrderCount(int)", "is_public": true, @@ -75295,6 +78479,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75316,6 +78501,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75340,6 +78526,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"select count(orderid) \\\"openOrderCount\\\"from orderejb o where (o.account_accountid in \" + \"(select accountid from accountejb a where a.profile_userid like 'uid:%')) AND \" + \" (o.orderStatus='open')\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -75361,6 +78551,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -75382,6 +78573,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -75405,6 +78597,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"openOrderCount\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -75428,6 +78623,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "openOrderCount" + ], "return_type": "", "callee_signature": "setOpenOrderCount(int)", "is_public": true, @@ -75449,6 +78647,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75470,6 +78669,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75494,6 +78694,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"delete from orderejb where holding_holdingid is null\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -75515,6 +78719,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -75538,6 +78743,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "deletedOrderCount" + ], "return_type": "", "callee_signature": "setDeletedOrderCount(int)", "is_public": true, @@ -75559,6 +78767,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75580,6 +78789,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75601,6 +78811,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -75624,6 +78835,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:reset Run stats data\\n\\n\" + runStatsData" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -75648,6 +78862,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"Failed to reset Trade\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -75669,6 +78887,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rollback()", "is_public": true, @@ -75690,6 +78909,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -75711,6 +78931,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "RunStatsDataBean()", "is_public": false, @@ -76006,9 +79227,9 @@ "cyclomatic_complexity": 5, "is_entrypoint": false }, - "recreateDBTables(Object[], java.io.PrintWriter)": { + "recreateDBTables(java.lang.Object[], java.io.PrintWriter)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", "comments": [ { "content": " Clear MDB Statistics", @@ -76094,6 +79315,7 @@ "receiver_expr": "MDBStats.getInstance()", "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "reset()", "is_public": true, @@ -76115,6 +79337,7 @@ "receiver_expr": "MDBStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "callee_signature": "getInstance()", "is_public": true, @@ -76136,6 +79359,7 @@ "receiver_expr": "datasource", "receiver_type": "javax.sql.DataSource", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConnection()", "is_public": true, @@ -76157,6 +79381,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Statement", "callee_signature": "createStatement()", "is_public": true, @@ -76180,6 +79405,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "(String) sqlBuffer[i]" + ], "return_type": "", "callee_signature": "executeUpdate(java.lang.String)", "is_public": true, @@ -76203,6 +79431,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DROP \"" + ], "return_type": "", "callee_signature": "indexOf(java.lang.String)", "is_public": true, @@ -76227,6 +79458,10 @@ "java.lang.String", "java.sql.SQLException" ], + "argument_expr": [ + "\"TradeDirect:recreateDBTables SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i]", + "ex" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -76250,6 +79485,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i] + \" . Check log for details.
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -76271,6 +79509,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.Statement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -76292,6 +79531,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -76316,6 +79556,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -76337,6 +79581,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -76480,6 +79725,7 @@ "receiver_expr": "datasource", "receiver_type": "javax.sql.DataSource", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConnection()", "is_public": true, @@ -76501,6 +79747,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.DatabaseMetaData", "callee_signature": "getMetaData()", "is_public": true, @@ -76522,6 +79769,7 @@ "receiver_expr": "dbmd", "receiver_type": "java.sql.DatabaseMetaData", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getDatabaseProductName()", "is_public": true, @@ -76546,6 +79794,10 @@ "java.sql.SQLException", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeDirect:checkDBProductName() -- Error checking the Daytrader Database Product Name\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -76567,6 +79819,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -76641,9 +79894,9 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "parseDDLToBuffer(InputStream)": { + "parseDDLToBuffer(java.io.InputStream)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", - "signature": "parseDDLToBuffer(InputStream)", + "signature": "parseDDLToBuffer(java.io.InputStream)", "comments": [ { "content": "initial capacity 30 assuming we have 30 ddl-sql statements to read", @@ -76718,6 +79971,7 @@ "receiver_expr": "br", "receiver_type": "java.io.BufferedReader", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "readLine()", "is_public": true, @@ -76739,6 +79993,7 @@ "receiver_expr": "s", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -76760,6 +80015,7 @@ "receiver_expr": "s", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -76783,6 +80039,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0" + ], "return_type": "", "callee_signature": "charAt(int)", "is_public": true, @@ -76806,6 +80065,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\";\"" + ], "return_type": "", "callee_signature": "endsWith(java.lang.String)", "is_public": true, @@ -76830,6 +80092,10 @@ "", "" ], + "argument_expr": [ + "';'", + "' '" + ], "return_type": "java.lang.String", "callee_signature": "replace(char, char)", "is_public": true, @@ -76853,8 +80119,11 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "sql" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -76877,6 +80146,10 @@ "java.lang.String", "java.io.IOException" ], + "argument_expr": [ + "\"TradeBuildDB:parseDDLToBuffer Exeception during open/read of File: \" + ddlFile", + "ex" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -76898,6 +80171,7 @@ "receiver_expr": "br", "receiver_type": "java.io.BufferedReader", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -76922,6 +80196,10 @@ "java.lang.String", "java.io.IOException" ], + "argument_expr": [ + "\"TradeBuildDB:parseDDLToBuffer Failed to close BufferedReader\"", + "ex" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -76943,6 +80221,7 @@ "receiver_expr": "sqlBuffer", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "toArray()", "is_public": true, @@ -76966,6 +80245,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "30" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -76989,6 +80271,9 @@ "argument_types": [ "java.io.InputStreamReader" ], + "argument_expr": [ + "new InputStreamReader(ddlFile)" + ], "return_type": "java.io.BufferedReader", "callee_signature": "BufferedReader(java.io.Reader)", "is_public": false, @@ -77012,6 +80297,9 @@ "argument_types": [ "java.io.InputStream" ], + "argument_expr": [ + "ddlFile" + ], "return_type": "java.io.InputStreamReader", "callee_signature": "InputStreamReader(java.io.InputStream)", "is_public": false, @@ -77033,6 +80321,7 @@ "receiver_expr": "", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "String()", "is_public": false, @@ -77124,9 +80413,9 @@ "cyclomatic_complexity": 11, "is_entrypoint": false }, - "buildDB(java.io.PrintWriter, InputStream)": { + "buildDB(java.io.PrintWriter, java.io.InputStream)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", - "signature": "buildDB(java.io.PrintWriter, InputStream)", + "signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", "comments": [ { "content": " end of createDBTables", @@ -77326,6 +80615,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: Building DayTrader Database...
This operation will take several minutes. Please wait...\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77349,6 +80641,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77372,6 +80667,9 @@ "argument_types": [ "java.io.InputStream" ], + "argument_expr": [ + "ddlFile" + ], "return_type": "", "callee_signature": "parseDDLToBuffer(java.io.InputStream)", "is_public": true, @@ -77396,6 +80694,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to parse DDL file\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -77419,6 +80721,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** Unable to parse DDL file for the specified database ****
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77442,6 +80747,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** Parsing DDL file returned empty buffer, please check that a valid DB specific DDL file is available and retry ****
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77472,6 +80780,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** Dropping and Recreating the DayTrader tables... ****
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77496,6 +80807,10 @@ "", "java.io.PrintWriter" ], + "argument_expr": [ + "sqlBuffer", + "out" + ], "return_type": "", "callee_signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", "is_public": false, @@ -77520,6 +80835,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -77543,6 +80862,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeBuildDB: Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77566,6 +80888,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** Unable to drop and recreate DayTrader Db Tables, please check for database consistency before continuing ****
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77589,6 +80914,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** DayTrader tables successfully created! ****

Please Stop and Re-start your Daytrader application (or your application server) and then use the \\\"Repopulate Daytrader Database\\\" link to populate your database.


\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77612,6 +80940,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
TradeBuildDB: **** Creating \" + TradeConfig.getMAX_QUOTES() + \" Quotes ****
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77633,6 +80964,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -77656,6 +80988,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "resetTrade(boolean)", "is_public": true, @@ -77680,6 +81015,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to delete Trade users (uid:0, uid:1, ...) and Trade Quotes (s:0, s:1, ...)\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -77701,6 +81040,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -77726,6 +81066,11 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "symbol", + "companyName", + "new java.math.BigDecimal(TradeConfig.rndPrice())" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -77747,6 +81092,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndPrice()", "is_public": true, @@ -77770,6 +81116,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\".....\" + symbol" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -77793,6 +81142,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" -
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77814,6 +81166,7 @@ "receiver_expr": "out", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -77835,6 +81188,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -77859,6 +81213,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "error" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -77882,6 +81240,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77905,6 +81266,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
**** Registering \" + TradeConfig.getMAX_USERS() + \" Users **** \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -77926,6 +81290,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -77947,6 +81312,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -77968,6 +81334,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndFullName()", "is_public": true, @@ -77991,6 +81358,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.lang.String", "callee_signature": "rndEmail(java.lang.String)", "is_public": true, @@ -78012,6 +81382,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndAddress()", "is_public": true, @@ -78033,6 +81404,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndCreditCard()", "is_public": true, @@ -78056,6 +81428,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -78085,6 +81460,15 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "userID", + "\"xxx\"", + "fullname", + "address", + "email", + "creditcard", + "new BigDecimal(initialBalance)" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -78108,6 +81492,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
Account# \" + accountData.getAccountID() + \" userID=\" + userID" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -78129,6 +81516,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -78152,6 +81540,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.getMAX_HOLDINGS() + 1" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -78173,6 +81564,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_HOLDINGS()", "is_public": true, @@ -78194,6 +81586,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -78215,6 +81608,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndQuantity()", "is_public": true, @@ -78241,6 +81635,12 @@ "", "" ], + "argument_expr": [ + "userID", + "symbol", + "quantity", + "TradeConfig.getOrderProcessingMode()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "buy(java.lang.String, java.lang.String, double, int)", "is_public": false, @@ -78262,6 +81662,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -78285,6 +81686,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" has \" + holdings + \" holdings.\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -78306,6 +81710,7 @@ "receiver_expr": "out", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -78329,6 +81734,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
UID \" + userID + \" already registered.
\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -78350,6 +81758,7 @@ "receiver_expr": "out", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -78371,6 +81780,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -78395,6 +81805,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "error" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -78425,6 +81839,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -78448,6 +81865,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndPrice()" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -78471,6 +81891,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "initialBalance" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -78817,9 +82240,9 @@ "cyclomatic_complexity": 21, "is_entrypoint": false }, - "getStatement(Connection, String)": { + "getStatement(java.sql.Connection, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirectDBUtils.java", - "signature": "getStatement(Connection, String)", + "signature": "getStatement(java.sql.Connection, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -78869,6 +82292,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "sql" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "prepareStatement(java.lang.String)", "is_public": true, @@ -79260,6 +82686,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -79311,9 +82738,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPurchasePrice(BigDecimal)": { + "getPurchaseDate()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "getPurchaseDate()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Date getPurchaseDate()", + "parameters": [], + "code": "{\n return purchaseDate;\n }", + "start_line": 148, + "end_line": 150, + "code_start_line": 148, + "return_type": "java.util.Date", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchaseDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPurchasePrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setPurchasePrice(BigDecimal)", + "signature": "setPurchasePrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -79353,114 +82809,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "equals(Object)": { + "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "equals(Object)", + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", "comments": [], - "annotations": [ - "@Override" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean equals(Object object)", + "declaration": "public void setAccount(AccountDataBean account)", "parameters": [ { - "type": "java.lang.Object", - "name": "object", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", "annotations": [], "modifiers": [], - "start_line": 191, - "end_line": 191, - "start_column": 27, - "end_column": 39 + "start_line": 171, + "end_line": 171, + "start_column": 28, + "end_column": 50 } ], - "code": "{\n \n if (!(object instanceof HoldingDataBean)) {\n return false;\n }\n HoldingDataBean other = (HoldingDataBean) object;\n\n if (this.holdingID != other.holdingID && (this.holdingID == null || !this.holdingID.equals(other.holdingID))) {\n return false;\n }\n\n return true;\n }", - "start_line": 190, - "end_line": 203, - "code_start_line": 191, - "return_type": "boolean", + "code": "{\n this.account = account;\n }", + "start_line": 171, + "end_line": 173, + "code_start_line": 171, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" - ], - "call_sites": [ - { - "method_name": "equals", - "comment": null, - "receiver_expr": "this.holdingID", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.Integer" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 198, - "start_column": 78, - "end_line": 198, - "end_column": 115 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "other", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "(HoldingDataBean) object", - "start_line": 196, - "start_column": 25, - "end_line": 196, - "end_column": 56 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, - "getPurchaseDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "getPurchaseDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" ], - "thrown_exceptions": [], - "declaration": "public Date getPurchaseDate()", - "parameters": [], - "code": "{\n return purchaseDate;\n }", - "start_line": 148, - "end_line": 150, - "code_start_line": 148, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchaseDate" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.account" ], "call_sites": [], "variable_declarations": [], @@ -79498,6 +82880,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getHoldingID()", "is_public": true, @@ -79519,6 +82902,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -79540,6 +82924,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPurchasePrice()", "is_public": true, @@ -79561,6 +82946,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getPurchaseDate()", "is_public": true, @@ -79582,6 +82968,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getQuoteID()", "is_public": true, @@ -79604,40 +82991,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAccount(AccountDataBean)": { + "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setAccount(AccountDataBean)", + "signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAccount(AccountDataBean account)", + "declaration": "public void setQuote(QuoteDataBean quote)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", "annotations": [], "modifiers": [], - "start_line": 171, - "end_line": 171, - "start_column": 28, - "end_column": 50 + "start_line": 179, + "end_line": 179, + "start_column": 26, + "end_column": 44 } ], - "code": "{\n this.account = account;\n }", - "start_line": 171, - "end_line": 173, - "code_start_line": 171, + "code": "{\n this.quote = quote;\n }", + "start_line": 179, + "end_line": 181, + "code_start_line": 179, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.account" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.quote" ], "call_sites": [], "variable_declarations": [], @@ -79734,6 +83121,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -79755,6 +83145,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndQuantity()", "is_public": true, @@ -79778,6 +83169,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -79808,6 +83202,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.MAX_VALUE" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -79829,6 +83226,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -79856,6 +83254,13 @@ "java.util.Date", "java.lang.String" ], + "argument_expr": [ + "// holdingID\nnew Integer(TradeConfig.rndInt(100000))", + "// quantity\nTradeConfig.rndQuantity()", + "// purchasePrice\nTradeConfig.rndBigDecimal(1000.0f)", + "// purchaseDate\nnew java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE))", + "// symbol\nTradeConfig.rndSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", "is_public": false, @@ -79879,6 +83284,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(100000)" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -79902,6 +83310,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(Integer.MAX_VALUE)" + ], "return_type": "java.util.Date", "callee_signature": "Date(long)", "is_public": false, @@ -79924,9 +83335,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)": { + "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "HoldingDataBean(double, BigDecimal, Date, AccountDataBean, QuoteDataBean)", + "signature": "(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "comments": [], "annotations": [], "modifiers": [ @@ -80010,6 +83421,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quantity" + ], "return_type": "", "callee_signature": "setQuantity(double)", "is_public": true, @@ -80033,6 +83447,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "purchasePrice" + ], "return_type": "", "callee_signature": "setPurchasePrice(java.math.BigDecimal)", "is_public": true, @@ -80056,6 +83473,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "purchaseDate" + ], "return_type": "", "callee_signature": "setPurchaseDate(java.util.Date)", "is_public": true, @@ -80079,6 +83499,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" ], + "argument_expr": [ + "account" + ], "return_type": "", "callee_signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", "is_public": true, @@ -80102,6 +83525,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quote" + ], "return_type": "", "callee_signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "is_public": true, @@ -80124,40 +83550,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPurchaseDate(Date)": { + "setHoldingID(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setPurchaseDate(Date)", + "signature": "setHoldingID(java.lang.Integer)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPurchaseDate(Date purchaseDate)", + "declaration": "public void setHoldingID(Integer holdingID)", "parameters": [ { - "type": "java.util.Date", - "name": "purchaseDate", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 152, - "end_line": 152, - "start_column": 33, - "end_column": 49 + "start_line": 128, + "end_line": 128, + "start_column": 30, + "end_column": 46 } ], - "code": "{\n this.purchaseDate = purchaseDate;\n }", - "start_line": 152, - "end_line": 154, - "code_start_line": 152, + "code": "{\n this.holdingID = holdingID;\n }", + "start_line": 128, + "end_line": 130, + "code_start_line": 128, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchaseDate" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" ], "call_sites": [], "variable_declarations": [], @@ -80199,6 +83625,7 @@ "receiver_expr": "this.holdingID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hashCode()", "is_public": true, @@ -80239,9 +83666,252 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setQuoteID(String)": { + "print()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "print()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void print()", + "parameters": [], + "code": "{\n Log.log(this.toString());\n }", + "start_line": 120, + "end_line": 122, + "code_start_line": 120, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "log", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "this.toString()" + ], + "return_type": "", + "callee_signature": "log(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 9, + "end_line": 121, + "end_column": 32 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 17, + "end_line": 121, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public HoldingDataBean()", + "parameters": [], + "code": "{\n }", + "start_line": 81, + "end_line": 82, + "code_start_line": 81, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getHoldingID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "getHoldingID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getHoldingID()", + "parameters": [], + "code": "{\n return holdingID;\n }", + "start_line": 124, + "end_line": 126, + "code_start_line": 124, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setQuantity(double)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "setQuantity(double)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setQuantity(double quantity)", + "parameters": [ + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 136, + "end_line": 136, + "start_column": 29, + "end_column": 43 + } + ], + "code": "{\n this.quantity = quantity;\n }", + "start_line": 136, + "end_line": 138, + "code_start_line": 136, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPurchaseDate(java.util.Date)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "setPurchaseDate(java.util.Date)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPurchaseDate(Date purchaseDate)", + "parameters": [ + { + "type": "java.util.Date", + "name": "purchaseDate", + "annotations": [], + "modifiers": [], + "start_line": 152, + "end_line": 152, + "start_column": 33, + "end_column": 49 + } + ], + "code": "{\n this.purchaseDate = purchaseDate;\n }", + "start_line": 152, + "end_line": 154, + "code_start_line": 152, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Date" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchaseDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getPurchasePrice()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", + "signature": "getPurchasePrice()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public BigDecimal getPurchasePrice()", + "parameters": [], + "code": "{\n return purchasePrice;\n }", + "start_line": 140, + "end_line": 142, + "code_start_line": 140, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchasePrice" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setQuoteID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setQuoteID(String)", + "signature": "setQuoteID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -80281,58 +83951,124 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "print()": { + "toHTML()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "print()", + "signature": "toHTML()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void print()", + "declaration": "public String toHTML()", "parameters": [], - "code": "{\n Log.log(this.toString());\n }", - "start_line": 120, - "end_line": 122, - "code_start_line": 120, - "return_type": "void", + "code": "{\n return \"
Holding Data for holding: \" + getHoldingID() + \"\" + \"
  • quantity:\" + getQuantity() + \"
  • \" + \"
  • purchasePrice:\"\n + getPurchasePrice() + \"
  • \" + \"
  • purchaseDate:\" + getPurchaseDate() + \"
  • \" + \"
  • quoteID:\" + getQuoteID() + \"
  • \";\n }", + "start_line": 115, + "end_line": 118, + "code_start_line": 115, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [], "call_sites": [ { - "method_name": "log", + "method_name": "getHoldingID", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getHoldingID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 51, + "end_line": 116, + "end_column": 64 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "log(java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 9, - "end_line": 121, - "end_column": 32 + "start_line": 116, + "start_column": 101, + "end_line": 116, + "end_column": 113 }, { - "method_name": "toString", + "method_name": "getPurchasePrice", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPurchasePrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 117, + "start_column": 19, + "end_line": 117, + "end_column": 36 + }, + { + "method_name": "getPurchaseDate", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "getPurchaseDate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 117, + "start_column": 74, + "end_line": 117, + "end_column": 90 + }, + { + "method_name": "getQuoteID", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "toString()", + "callee_signature": "getQuoteID()", "is_public": true, "is_protected": false, "is_private": false, @@ -80341,10 +84077,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 17, - "end_line": 121, - "end_column": 31 + "start_line": 117, + "start_column": 128, + "end_line": 117, + "end_column": 139 } ], "variable_declarations": [], @@ -80353,36 +84089,99 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { + "equals(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "HoldingDataBean()", + "signature": "equals(java.lang.Object)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public HoldingDataBean()", - "parameters": [], - "code": "{\n }", - "start_line": 81, - "end_line": 82, - "code_start_line": 81, - "return_type": null, + "declaration": "public boolean equals(Object object)", + "parameters": [ + { + "type": "java.lang.Object", + "name": "object", + "annotations": [], + "modifiers": [], + "start_line": 191, + "end_line": 191, + "start_column": 27, + "end_column": 39 + } + ], + "code": "{\n \n if (!(object instanceof HoldingDataBean)) {\n return false;\n }\n HoldingDataBean other = (HoldingDataBean) object;\n\n if (this.holdingID != other.holdingID && (this.holdingID == null || !this.holdingID.equals(other.holdingID))) {\n return false;\n }\n\n return true;\n }", + "start_line": 190, + "end_line": 203, + "code_start_line": 191, + "return_type": "boolean", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.holdingID", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.Integer" + ], + "argument_expr": [ + "other.holdingID" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 198, + "start_column": 78, + "end_line": 198, + "end_column": 115 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "other", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "(HoldingDataBean) object", + "start_line": 196, + "start_column": 25, + "end_line": 196, + "end_column": 56 + } + ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false }, - "(Integer, double, BigDecimal, Date, String)": { + "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "HoldingDataBean(Integer, double, BigDecimal, Date, String)", + "signature": "(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -80466,6 +84265,9 @@ "argument_types": [ "java.lang.Integer" ], + "argument_expr": [ + "holdingID" + ], "return_type": "", "callee_signature": "setHoldingID(java.lang.Integer)", "is_public": true, @@ -80489,6 +84291,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quantity" + ], "return_type": "", "callee_signature": "setQuantity(double)", "is_public": true, @@ -80512,6 +84317,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "purchasePrice" + ], "return_type": "", "callee_signature": "setPurchasePrice(java.math.BigDecimal)", "is_public": true, @@ -80535,6 +84343,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "purchaseDate" + ], "return_type": "", "callee_signature": "setPurchaseDate(java.util.Date)", "is_public": true, @@ -80558,6 +84369,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "quoteID" + ], "return_type": "", "callee_signature": "setQuoteID(java.lang.String)", "is_public": true, @@ -80580,321 +84394,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setQuote(QuoteDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setQuote(QuoteDataBean)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuote(QuoteDataBean quote)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", - "annotations": [], - "modifiers": [], - "start_line": 179, - "end_line": 179, - "start_column": 26, - "end_column": 44 - } - ], - "code": "{\n this.quote = quote;\n }", - "start_line": 179, - "end_line": 181, - "code_start_line": 179, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.quote" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getHoldingID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "getHoldingID()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getHoldingID()", - "parameters": [], - "code": "{\n return holdingID;\n }", - "start_line": 124, - "end_line": 126, - "code_start_line": 124, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setQuantity(double)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setQuantity(double)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setQuantity(double quantity)", - "parameters": [ - { - "type": "double", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 136, - "end_line": 136, - "start_column": 29, - "end_column": 43 - } - ], - "code": "{\n this.quantity = quantity;\n }", - "start_line": 136, - "end_line": 138, - "code_start_line": 136, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setHoldingID(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "setHoldingID(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHoldingID(Integer holdingID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 128, - "end_line": 128, - "start_column": 30, - "end_column": 46 - } - ], - "code": "{\n this.holdingID = holdingID;\n }", - "start_line": 128, - "end_line": 130, - "code_start_line": 128, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.holdingID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPurchasePrice()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "getPurchasePrice()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BigDecimal getPurchasePrice()", - "parameters": [], - "code": "{\n return purchasePrice;\n }", - "start_line": 140, - "end_line": 142, - "code_start_line": 140, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean.purchasePrice" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "toHTML()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", - "signature": "toHTML()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String toHTML()", - "parameters": [], - "code": "{\n return \"
    Holding Data for holding: \" + getHoldingID() + \"\" + \"
  • quantity:\" + getQuantity() + \"
  • \" + \"
  • purchasePrice:\"\n + getPurchasePrice() + \"
  • \" + \"
  • purchaseDate:\" + getPurchaseDate() + \"
  • \" + \"
  • quoteID:\" + getQuoteID() + \"
  • \";\n }", - "start_line": 115, - "end_line": 118, - "code_start_line": 115, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "getHoldingID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getHoldingID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 51, - "end_line": 116, - "end_column": 64 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 101, - "end_line": 116, - "end_column": 113 - }, - { - "method_name": "getPurchasePrice", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPurchasePrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 19, - "end_line": 117, - "end_column": 36 - }, - { - "method_name": "getPurchaseDate", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "getPurchaseDate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 74, - "end_line": 117, - "end_column": 90 - }, - { - "method_name": "getQuoteID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getQuoteID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 128, - "end_line": 117, - "end_column": 139 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getAccount()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/HoldingDataBean.java", "signature": "getAccount()", @@ -82319,6 +85818,7 @@ "receiver_expr": "(new Float(random() * i))", "receiver_type": "java.lang.Float", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "floatValue()", "is_public": true, @@ -82340,6 +85840,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "random()", "is_public": true, @@ -82363,6 +85864,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "random() * i" + ], "return_type": "java.lang.Float", "callee_signature": "Float(double)", "is_public": false, @@ -82544,6 +86048,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -82608,6 +86115,7 @@ "receiver_expr": "java.net.InetAddress.getLocalHost()", "receiver_type": "java.net.InetAddress", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getHostName()", "is_public": true, @@ -82629,6 +86137,7 @@ "receiver_expr": "java.net.InetAddress", "receiver_type": "java.net.InetAddress", "argument_types": [], + "argument_expr": [], "return_type": "java.net.InetAddress", "callee_signature": "getLocalHost()", "is_public": true, @@ -82653,6 +86162,10 @@ "", "" ], + "argument_expr": [ + "0", + "hostName.indexOf('.')" + ], "return_type": "java.lang.String", "callee_signature": "substring(int, int)", "is_public": true, @@ -82676,6 +86189,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "'.'" + ], "return_type": "", "callee_signature": "indexOf(int)", "is_public": true, @@ -82700,6 +86216,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"Exception getting local host name using 'localhost' - \"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -82915,6 +86435,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -82938,6 +86461,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "5000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -83196,6 +86722,7 @@ "receiver_expr": "(new Integer(rndInt(200)))", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "floatValue()", "is_public": true, @@ -83219,6 +86746,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "200" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -83242,6 +86772,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "rndInt(200)" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -83412,6 +86945,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -83436,8 +86970,12 @@ "", "java.lang.Integer" ], + "argument_expr": [ + "i", + "new Integer(i)" + ], "return_type": "", - "callee_signature": "add(int, E)", + "callee_signature": "add(int, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -83460,8 +86998,12 @@ "java.util.ArrayList", "java.util.Random" ], + "argument_expr": [ + "deck", + "r0" + ], "return_type": "", - "callee_signature": "shuffle(java.util.List, java.util.Random)", + "callee_signature": "shuffle(java.util.List, java.util.Random)", "is_public": true, "is_protected": false, "is_private": false, @@ -83483,6 +87025,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "card++" + ], "return_type": "java.lang.Integer", "callee_signature": "get(int)", "is_public": true, @@ -83506,6 +87051,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "numUsers" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -83529,6 +87077,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -83957,6 +87508,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getHostname()", "is_public": false, @@ -83978,6 +87530,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -84028,6 +87581,7 @@ "receiver_expr": "(new Integer(rndInt(200)))", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "floatValue()", "is_public": true, @@ -84051,6 +87605,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "200" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -84074,6 +87631,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "rndInt(200)" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -84135,95 +87695,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getOrderFee(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "getOrderFee(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static BigDecimal getOrderFee(String orderType)", - "parameters": [ - { - "type": "java.lang.String", - "name": "orderType", - "annotations": [], - "modifiers": [], - "start_line": 273, - "end_line": 273, - "start_column": 40, - "end_column": 55 - } - ], - "code": "{\n if ((orderType.compareToIgnoreCase(\"BUY\") == 0) || (orderType.compareToIgnoreCase(\"SELL\") == 0)) {\n return orderFee;\n }\n\n return cashFee;\n\n }", - "start_line": 273, - "end_line": 280, - "code_start_line": 273, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.orderFee", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.cashFee" - ], - "call_sites": [ - { - "method_name": "compareToIgnoreCase", - "comment": null, - "receiver_expr": "orderType", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 274, - "start_column": 10, - "end_line": 274, - "end_column": 45 - }, - { - "method_name": "compareToIgnoreCase", - "comment": null, - "receiver_expr": "orderType", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 274, - "start_column": 57, - "end_line": 274, - "end_column": 93 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, "getScenarioAction(boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "signature": "getScenarioAction(boolean)", @@ -84302,6 +87773,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -84323,6 +87797,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "incrementScenarioCount()", "is_public": true, @@ -84690,6 +88165,7 @@ "receiver_expr": "randomNumberGenerator", "receiver_type": "java.util.Random", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "nextBoolean()", "is_public": true, @@ -84712,6 +88188,101 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "getOrderFee(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "signature": "getOrderFee(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static BigDecimal getOrderFee(String orderType)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderType", + "annotations": [], + "modifiers": [], + "start_line": 273, + "end_line": 273, + "start_column": 40, + "end_column": 55 + } + ], + "code": "{\n if ((orderType.compareToIgnoreCase(\"BUY\") == 0) || (orderType.compareToIgnoreCase(\"SELL\") == 0)) {\n return orderFee;\n }\n\n return cashFee;\n\n }", + "start_line": 273, + "end_line": 280, + "code_start_line": 273, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.orderFee", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.cashFee" + ], + "call_sites": [ + { + "method_name": "compareToIgnoreCase", + "comment": null, + "receiver_expr": "orderType", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"BUY\"" + ], + "return_type": "", + "callee_signature": "compareToIgnoreCase(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 274, + "start_column": 10, + "end_line": 274, + "end_column": 45 + }, + { + "method_name": "compareToIgnoreCase", + "comment": null, + "receiver_expr": "orderType", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"SELL\"" + ], + "return_type": "", + "callee_signature": "compareToIgnoreCase(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 274, + "start_column": 57, + "end_line": 274, + "end_column": 93 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, "setScenarioCount(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "signature": "setScenarioCount(int)", @@ -84833,9 +88404,188 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setConfigParam(String, String)": { + "getWebInterface()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "signature": "getWebInterface()", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static int getWebInterface()", + "parameters": [], + "code": "{\n return webInterface;\n }", + "start_line": 733, + "end_line": 735, + "code_start_line": 733, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.webInterface" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrderProcessingModeNames()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "signature": "getOrderProcessingModeNames()", + "comments": [ + { + "content": "\n * Gets the orderProcessingModeNames\n *\n * @return Returns a String[]\n ", + "start_line": 516, + "end_line": 520, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static String[] getOrderProcessingModeNames()", + "parameters": [], + "code": "{\n return orderProcessingModeNames;\n }", + "start_line": 521, + "end_line": 523, + "code_start_line": 521, + "return_type": "java.lang.String[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.orderProcessingModeNames" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "rndInt(int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "signature": "rndInt(int)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static int rndInt(int i)", + "parameters": [ + { + "type": "int", + "name": "i", + "annotations": [], + "modifiers": [], + "start_line": 326, + "end_line": 326, + "start_column": 28, + "end_column": 32 + } + ], + "code": "{\n return (new Float(random() * i)).intValue();\n }", + "start_line": 326, + "end_line": 328, + "code_start_line": 326, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "intValue", + "comment": null, + "receiver_expr": "(new Float(random() * i))", + "receiver_type": "java.lang.Float", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 327, + "start_column": 12, + "end_line": 327, + "end_column": 47 + }, + { + "method_name": "random", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "random()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 327, + "start_column": 23, + "end_line": 327, + "end_column": 30 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Float", + "argument_types": [ + "" + ], + "argument_expr": [ + "random() * i" + ], + "return_type": "java.lang.Float", + "callee_signature": "Float(double)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 327, + "start_column": 13, + "end_line": 327, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setConfigParam(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "setConfigParam(String, String)", + "signature": "setConfigParam(java.lang.String, java.lang.String)", "comments": [ { "content": " Compare the parm value to valid TradeConfig parameters that can be", @@ -85000,6 +88750,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeConfig setting parameter: \" + parm + \"=\" + value" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -85021,6 +88774,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -85042,6 +88796,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -85063,6 +88818,7 @@ "receiver_expr": "value", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -85086,6 +88842,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"orderProcessingMode\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85109,6 +88868,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderProcessingModeNames[i]" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85133,6 +88895,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set orderProcessingMode to \" + value + \"reverting to current value: \" + orderProcessingModeNames[orderProcessingMode]", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85156,6 +88922,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"accessMode\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85179,6 +88948,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accessModeNames[i]" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85203,6 +88975,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set accessMode to \" + value + \"reverting to current value: \" + accessModeNames[accessMode]", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85226,6 +89002,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"WebInterface\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85249,6 +89028,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "webInterfaceNames[i]" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85273,6 +89055,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(..): minor exception caught\" + \"trying to set WebInterface to \" + value + \"reverting to current value: \" + webInterfaceNames[webInterface]", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85296,6 +89082,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxUsers\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85319,6 +89108,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "value" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -85343,6 +89135,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(..): minor exception caught\" + \"Setting maxusers, error parsing string to int:\" + value + \"revering to current value: \" + MAX_USERS", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85366,6 +89162,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"maxQuotes\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85389,6 +89188,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "value" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -85420,6 +89222,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(...) minor exception caught\" + \"Setting max_quotes, error parsing string to int \" + value + \"reverting to current value: \" + MAX_QUOTES", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85443,6 +89249,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"primIterations\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -85466,6 +89275,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "value" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -85490,6 +89302,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeConfig.setConfigParm(..): minor exception caught\" + \"Setting primIterations, error parsing string to int:\" + value + \"revering to current value: \" + primIterations", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -85564,180 +89380,6 @@ "cyclomatic_complexity": 22, "is_entrypoint": false }, - "getWebInterface()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "getWebInterface()", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static int getWebInterface()", - "parameters": [], - "code": "{\n return webInterface;\n }", - "start_line": 733, - "end_line": 735, - "code_start_line": 733, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.webInterface" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrderProcessingModeNames()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "getOrderProcessingModeNames()", - "comments": [ - { - "content": "\n * Gets the orderProcessingModeNames\n *\n * @return Returns a String[]\n ", - "start_line": 516, - "end_line": 520, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static String[] getOrderProcessingModeNames()", - "parameters": [], - "code": "{\n return orderProcessingModeNames;\n }", - "start_line": 521, - "end_line": 523, - "code_start_line": 521, - "return_type": "java.lang.String[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.orderProcessingModeNames" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "rndInt(int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "rndInt(int)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static int rndInt(int i)", - "parameters": [ - { - "type": "int", - "name": "i", - "annotations": [], - "modifiers": [], - "start_line": 326, - "end_line": 326, - "start_column": 28, - "end_column": 32 - } - ], - "code": "{\n return (new Float(random() * i)).intValue();\n }", - "start_line": 326, - "end_line": 328, - "code_start_line": 326, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "(new Float(random() * i))", - "receiver_type": "java.lang.Float", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 327, - "start_column": 12, - "end_line": 327, - "end_column": 47 - }, - { - "method_name": "random", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "random()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 327, - "start_column": 23, - "end_line": 327, - "end_column": 30 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Float", - "argument_types": [ - "" - ], - "return_type": "java.lang.Float", - "callee_signature": "Float(double)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 327, - "start_column": 13, - "end_line": 327, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "random()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "signature": "random()", @@ -85768,6 +89410,7 @@ "receiver_expr": "randomNumberGenerator", "receiver_type": "java.util.Random", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "nextDouble()", "is_public": true, @@ -85855,6 +89498,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "QUOTES_PER_PAGE" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -85878,6 +89524,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "MAX_QUOTES - 1" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -85952,6 +89601,100 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, + "rndEmail(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", + "signature": "rndEmail(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static String rndEmail(String userID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 318, + "end_line": 318, + "start_column": 33, + "end_column": 45 + } + ], + "code": "{\n return userID.replace(\":\", \"\") + \"@\" + rndInt(100) + \".com\";\n }", + "start_line": 318, + "end_line": 320, + "code_start_line": 318, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "replace", + "comment": null, + "receiver_expr": "userID", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\":\"", + "\"\"" + ], + "return_type": "java.lang.String", + "callee_signature": "replace(java.lang.CharSequence, java.lang.CharSequence)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 319, + "start_column": 12, + "end_line": 319, + "end_column": 34 + }, + { + "method_name": "rndInt", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "100" + ], + "return_type": "", + "callee_signature": "rndInt(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 319, + "start_column": 44, + "end_line": 319, + "end_column": 54 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getRandomPriceChangeFactor()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "signature": "getRandomPriceChangeFactor()", @@ -86004,6 +89747,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1" + ], "return_type": "", "callee_signature": "rndFloat(int)", "is_public": true, @@ -86025,6 +89771,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "random()", "is_public": true, @@ -86049,6 +89796,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -86070,6 +89821,7 @@ "receiver_expr": "percentGainBD", "receiver_type": "java.math.BigDecimal", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doubleValue()", "is_public": true, @@ -86093,6 +89845,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "percentGain" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -86182,6 +89937,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -86203,6 +89959,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "nextUserID()", "is_public": true, @@ -86275,6 +90032,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "MAX_QUOTES - 1" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -86297,93 +90057,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "rndEmail(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", - "signature": "rndEmail(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static String rndEmail(String userID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 318, - "end_line": 318, - "start_column": 33, - "end_column": 45 - } - ], - "code": "{\n return userID.replace(\":\", \"\") + \"@\" + rndInt(100) + \".com\";\n }", - "start_line": 318, - "end_line": 320, - "code_start_line": 318, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "replace", - "comment": null, - "receiver_expr": "userID", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "replace(java.lang.CharSequence, java.lang.CharSequence)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 319, - "start_column": 12, - "end_line": 319, - "end_column": 34 - }, - { - "method_name": "rndInt", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "rndInt(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 319, - "start_column": 44, - "end_line": 319, - "end_column": 54 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getScenarioCount()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeConfig.java", "signature": "getScenarioCount()", @@ -86453,6 +90126,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -86476,6 +90152,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -86499,6 +90178,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -86522,6 +90204,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -86618,6 +90303,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -86639,6 +90328,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "random()", "is_public": true, @@ -86662,6 +90352,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "random() * f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -86755,6 +90448,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getNextUserIDFromDeck()", "is_public": false, @@ -86778,6 +90472,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeConfig:rndUserID -- new trader = \" + nextUser" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -88569,6 +92266,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -88593,6 +92294,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -88616,6 +92321,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0.01" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -88639,6 +92347,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "600.0" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -88681,6 +92392,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -88705,6 +92420,10 @@ "", "" ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -88728,6 +92447,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "400" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(int)", "is_public": false, @@ -88751,6 +92473,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0.5" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -88921,129 +92646,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 145, - "end_line": 150, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 152, - "end_line": 152, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 151, - "end_line": 157, - "code_start_line": 152, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 9, - "end_line": 153, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 20, - "end_line": 154, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 20, - "end_line": 154, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (01/29/2006\n * 20:10:00 PM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -89106,6 +92711,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -89128,47 +92737,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 135, - "end_line": 139, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Generate Explicit GC to VM\";\n }", - "start_line": 140, - "end_line": 143, - "code_start_line": 141, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " Invoke the GC.", @@ -89243,6 +92814,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -89264,6 +92838,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -89285,6 +92860,7 @@ "receiver_expr": "Runtime.getRuntime()", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "totalMemory()", "is_public": true, @@ -89306,6 +92882,7 @@ "receiver_expr": "Runtime", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runtime", "callee_signature": "getRuntime()", "is_public": true, @@ -89327,6 +92904,7 @@ "receiver_expr": "Runtime.getRuntime()", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "maxMemory()", "is_public": true, @@ -89348,6 +92926,7 @@ "receiver_expr": "Runtime", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runtime", "callee_signature": "getRuntime()", "is_public": true, @@ -89369,6 +92948,7 @@ "receiver_expr": "Runtime.getRuntime()", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "freeMemory()", "is_public": true, @@ -89390,6 +92970,7 @@ "receiver_expr": "Runtime", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runtime", "callee_signature": "getRuntime()", "is_public": true, @@ -89411,6 +92992,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -89439,6 +93021,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "gc()", "is_public": true, @@ -89460,6 +93043,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -89481,6 +93065,7 @@ "receiver_expr": "Runtime.getRuntime()", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "maxMemory()", "is_public": true, @@ -89502,6 +93087,7 @@ "receiver_expr": "Runtime", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runtime", "callee_signature": "getRuntime()", "is_public": true, @@ -89523,6 +93109,7 @@ "receiver_expr": "Runtime.getRuntime()", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "freeMemory()", "is_public": true, @@ -89544,6 +93131,7 @@ "receiver_expr": "Runtime", "receiver_type": "java.lang.Runtime", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runtime", "callee_signature": "getRuntime()", "is_public": true, @@ -89567,6 +93155,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ExplicitGC\" + \"

    Explicit Garbage Collection
    Init time : \" + initTime + \"

    Hit Count: \" + hitCount + \"
    \" + \"\" + \"\" + \"
    Total Memory\" + totalMemory + \"
    \" + \"\" + \"\" + \"\" + \"\" + \"\" + \"\" + \"\" + \"\" + \"\" + \"
    \" + \"Statistics before GC
    \" + \"Max Memory\" + maxMemoryBeforeGC + \"
    \" + \"Free Memory\" + freeMemoryBeforeGC + \"
    \" + \"Used Memory\" + (totalMemory - freeMemoryBeforeGC) + \"
    Statistics after GC
    \" + \"Max Memory\" + maxMemoryAfterGC + \"
    \" + \"Free Memory\" + freeMemoryAfterGC + \"
    \" + \"Used Memory\" + (totalMemory - freeMemoryAfterGC) + \"
    \" + \"Total Time in GC\" + Float.toString((endTime - startTime) / 1000) + \"s
    \" + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -89590,6 +93181,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "(endTime - startTime) / 1000" + ], "return_type": "java.lang.String", "callee_signature": "toString(float)", "is_public": true, @@ -89614,6 +93208,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"ExplicitGC.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -89638,6 +93236,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -89659,6 +93261,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -89817,6 +93420,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 135, + "end_line": 139, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Generate Explicit GC to VM\";\n }", + "start_line": 140, + "end_line": 143, + "code_start_line": 141, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ExplicitGC.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 145, + "end_line": 150, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 152, + "end_line": 152, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 151, + "end_line": 157, + "code_start_line": 152, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ExplicitGC.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 153, + "start_column": 9, + "end_line": 153, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 20, + "end_line": 154, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 20, + "end_line": 154, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -90180,6 +93946,48 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { + "setPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "signature": "setPassword(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPassword(String password)", + "parameters": [ + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 29, + "end_column": 43 + } + ], + "code": "{\n this.passwd = password;\n }", + "start_line": 119, + "end_line": 121, + "code_start_line": 119, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.passwd" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getCreditCard()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "signature": "getCreditCard()", @@ -90209,55 +94017,107 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "equals(Object)": { + "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "equals(Object)", + "signature": "(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "comments": [], - "annotations": [ - "@Override" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean equals(Object object)", + "declaration": "public AccountProfileDataBean(String userID, String password, String fullName, String address, String email, String creditCard)", "parameters": [ { - "type": "java.lang.Object", - "name": "object", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 171, - "end_line": 171, - "start_column": 27, - "end_column": 39 + "start_line": 72, + "end_line": 72, + "start_column": 35, + "end_column": 47 + }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 50, + "end_column": 64 + }, + { + "type": "java.lang.String", + "name": "fullName", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 67, + "end_column": 81 + }, + { + "type": "java.lang.String", + "name": "address", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 84, + "end_column": 97 + }, + { + "type": "java.lang.String", + "name": "email", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 100, + "end_column": 111 + }, + { + "type": "java.lang.String", + "name": "creditCard", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 114, + "end_column": 130 } ], - "code": "{\n \n if (!(object instanceof AccountProfileDataBean)) {\n return false;\n }\n AccountProfileDataBean other = (AccountProfileDataBean) object;\n\n if (this.userID != other.userID && (this.userID == null || !this.userID.equals(other.userID))) {\n return false;\n }\n\n return true;\n }", - "start_line": 170, - "end_line": 183, - "code_start_line": 171, - "return_type": "boolean", + "code": "{\n setUserID(userID);\n setPassword(password);\n setFullName(fullName);\n setAddress(address);\n setEmail(email);\n setCreditCard(creditCard);\n }", + "start_line": 72, + "end_line": 79, + "code_start_line": 72, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.fullName", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.address", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.creditCard", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.email" ], "call_sites": [ { - "method_name": "equals", + "method_name": "setUserID", "comment": null, - "receiver_expr": "this.userID", - "receiver_type": "java.lang.String", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "setUserID(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -90266,70 +94126,182 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 178, - "start_column": 69, - "end_line": 178, - "end_column": 100 - } - ], - "variable_declarations": [ + "start_line": 73, + "start_column": 9, + "end_line": 73, + "end_column": 25 + }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "other", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "(AccountProfileDataBean) object", - "start_line": 176, - "start_column": 32, - "end_line": 176, - "end_column": 70 + "method_name": "setPassword", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "password" + ], + "return_type": "", + "callee_signature": "setPassword(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 9, + "end_line": 74, + "end_column": 29 + }, + { + "method_name": "setFullName", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "fullName" + ], + "return_type": "", + "callee_signature": "setFullName(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 75, + "start_column": 9, + "end_line": 75, + "end_column": 29 + }, + { + "method_name": "setAddress", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "address" + ], + "return_type": "", + "callee_signature": "setAddress(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 9, + "end_line": 76, + "end_column": 27 + }, + { + "method_name": "setEmail", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "email" + ], + "return_type": "", + "callee_signature": "setEmail(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 77, + "start_column": 9, + "end_line": 77, + "end_column": 23 + }, + { + "method_name": "setCreditCard", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "creditCard" + ], + "return_type": "", + "callee_signature": "setCreditCard(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 78, + "start_column": 9, + "end_line": 78, + "end_column": 33 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setEmail(String)": { + "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setEmail(String)", + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setEmail(String email)", + "declaration": "public void setAccount(AccountDataBean account)", "parameters": [ { - "type": "java.lang.String", - "name": "email", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", "annotations": [], "modifiers": [], - "start_line": 143, - "end_line": 143, - "start_column": 26, - "end_column": 37 + "start_line": 159, + "end_line": 159, + "start_column": 28, + "end_column": 50 } ], - "code": "{\n this.email = email;\n }", - "start_line": 143, - "end_line": 145, - "code_start_line": 143, + "code": "{\n this.account = account;\n }", + "start_line": 159, + "end_line": 161, + "code_start_line": 159, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.email" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.account" ], "call_sites": [], "variable_declarations": [], @@ -90367,6 +94339,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getUserID()", "is_public": true, @@ -90388,6 +94361,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getPassword()", "is_public": true, @@ -90409,6 +94383,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getFullName()", "is_public": true, @@ -90430,6 +94405,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getAddress()", "is_public": true, @@ -90451,6 +94427,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getEmail()", "is_public": true, @@ -90472,6 +94449,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCreditCard()", "is_public": true, @@ -90494,48 +94472,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAccount(AccountDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setAccount(AccountDataBean)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setAccount(AccountDataBean account)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", - "annotations": [], - "modifiers": [], - "start_line": 159, - "end_line": 159, - "start_column": 28, - "end_column": 50 - } - ], - "code": "{\n this.account = account;\n }", - "start_line": 159, - "end_line": 161, - "code_start_line": 159, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.account" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getRandomInstance()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "signature": "getRandomInstance()", @@ -90621,6 +94557,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -90642,6 +94579,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -90663,6 +94601,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndFullName()", "is_public": true, @@ -90684,6 +94623,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndAddress()", "is_public": true, @@ -90707,6 +94647,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.rndUserID()" + ], "return_type": "java.lang.String", "callee_signature": "rndEmail(java.lang.String)", "is_public": true, @@ -90735,6 +94678,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -90756,6 +94700,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndCreditCard()", "is_public": true, @@ -90784,6 +94729,14 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "// userID\nTradeConfig.rndUserID()", + "// passwd\nTradeConfig.rndUserID()", + "// fullname\nTradeConfig.rndFullName()", + "// address\nTradeConfig.rndAddress()", + "// email\nTradeConfig.rndEmail(TradeConfig.rndUserID())", + "// creditCard\nTradeConfig.rndCreditCard()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -90806,32 +94759,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setUserID(String)": { + "setEmail(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setUserID(String)", + "signature": "setEmail(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setUserID(String userID)", + "declaration": "public void setEmail(String email)", "parameters": [ { "type": "java.lang.String", - "name": "userID", + "name": "email", "annotations": [], "modifiers": [], - "start_line": 111, - "end_line": 111, - "start_column": 27, - "end_column": 39 + "start_line": 143, + "end_line": 143, + "start_column": 26, + "end_column": 37 } ], - "code": "{\n this.userID = userID;\n }", - "start_line": 111, - "end_line": 113, - "code_start_line": 111, + "code": "{\n this.email = email;\n }", + "start_line": 143, + "end_line": 145, + "code_start_line": 143, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -90839,7 +94792,49 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.email" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setFullName(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "signature": "setFullName(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setFullName(String fullName)", + "parameters": [ + { + "type": "java.lang.String", + "name": "fullName", + "annotations": [], + "modifiers": [], + "start_line": 127, + "end_line": 127, + "start_column": 29, + "end_column": 43 + } + ], + "code": "{\n this.fullName = fullName;\n }", + "start_line": 127, + "end_line": 129, + "code_start_line": 127, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.fullName" ], "call_sites": [], "variable_declarations": [], @@ -90939,6 +94934,7 @@ "receiver_expr": "this.userID", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hashCode()", "is_public": true, @@ -90979,48 +94975,6 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setFullName(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setFullName(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setFullName(String fullName)", - "parameters": [ - { - "type": "java.lang.String", - "name": "fullName", - "annotations": [], - "modifiers": [], - "start_line": 127, - "end_line": 127, - "start_column": 29, - "end_column": 43 - } - ], - "code": "{\n this.fullName = fullName;\n }", - "start_line": 127, - "end_line": 129, - "code_start_line": 127, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.fullName" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getAddress()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "signature": "getAddress()", @@ -91079,6 +95033,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "this.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -91100,6 +95057,7 @@ "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -91122,9 +95080,51 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setCreditCard(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", + "signature": "setCreditCard(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCreditCard(String creditCard)", + "parameters": [ + { + "type": "java.lang.String", + "name": "creditCard", + "annotations": [], + "modifiers": [], + "start_line": 151, + "end_line": 151, + "start_column": 31, + "end_column": 47 + } + ], + "code": "{\n this.creditCard = creditCard;\n }", + "start_line": 151, + "end_line": 153, + "code_start_line": 151, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.creditCard" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "AccountProfileDataBean()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -91178,32 +95178,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCreditCard(String)": { + "setUserID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setCreditCard(String)", + "signature": "setUserID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCreditCard(String creditCard)", + "declaration": "public void setUserID(String userID)", "parameters": [ { "type": "java.lang.String", - "name": "creditCard", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 151, - "end_line": 151, - "start_column": 31, - "end_column": 47 + "start_line": 111, + "end_line": 111, + "start_column": 27, + "end_column": 39 } ], - "code": "{\n this.creditCard = creditCard;\n }", - "start_line": 151, - "end_line": 153, - "code_start_line": 151, + "code": "{\n this.userID = userID;\n }", + "start_line": 111, + "end_line": 113, + "code_start_line": 111, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -91211,7 +95211,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.creditCard" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID" ], "call_sites": [], "variable_declarations": [], @@ -91220,239 +95220,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, String, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "AccountProfileDataBean(String, String, String, String, String, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public AccountProfileDataBean(String userID, String password, String fullName, String address, String email, String creditCard)", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 35, - "end_column": 47 - }, - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 50, - "end_column": 64 - }, - { - "type": "java.lang.String", - "name": "fullName", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 67, - "end_column": 81 - }, - { - "type": "java.lang.String", - "name": "address", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 84, - "end_column": 97 - }, - { - "type": "java.lang.String", - "name": "email", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 100, - "end_column": 111 - }, - { - "type": "java.lang.String", - "name": "creditCard", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 114, - "end_column": 130 - } - ], - "code": "{\n setUserID(userID);\n setPassword(password);\n setFullName(fullName);\n setAddress(address);\n setEmail(email);\n setCreditCard(creditCard);\n }", - "start_line": 72, - "end_line": 79, - "code_start_line": 72, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.fullName", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.address", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.creditCard", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.email" - ], - "call_sites": [ - { - "method_name": "setUserID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setUserID(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 9, - "end_line": 73, - "end_column": 25 - }, - { - "method_name": "setPassword", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setPassword(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 9, - "end_line": 74, - "end_column": 29 - }, - { - "method_name": "setFullName", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setFullName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 75, - "start_column": 9, - "end_line": 75, - "end_column": 29 - }, - { - "method_name": "setAddress", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAddress(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 76, - "start_column": 9, - "end_line": 76, - "end_column": 27 - }, - { - "method_name": "setEmail", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setEmail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 77, - "start_column": 9, - "end_line": 77, - "end_column": 23 - }, - { - "method_name": "setCreditCard", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setCreditCard(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 78, - "start_column": 9, - "end_line": 78, - "end_column": 33 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "toHTML()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", "signature": "toHTML()", @@ -91480,6 +95247,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getUserID()", "is_public": true, @@ -91501,6 +95269,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getPassword()", "is_public": true, @@ -91522,6 +95291,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getFullName()", "is_public": true, @@ -91543,6 +95313,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getAddress()", "is_public": true, @@ -91564,6 +95335,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getEmail()", "is_public": true, @@ -91585,6 +95357,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCreditCard()", "is_public": true, @@ -91607,46 +95380,94 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPassword(String)": { + "equals(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setPassword(String)", + "signature": "equals(java.lang.Object)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPassword(String password)", + "declaration": "public boolean equals(Object object)", "parameters": [ { - "type": "java.lang.String", - "name": "password", + "type": "java.lang.Object", + "name": "object", "annotations": [], "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 29, - "end_column": 43 + "start_line": 171, + "end_line": 171, + "start_column": 27, + "end_column": 39 } ], - "code": "{\n this.passwd = password;\n }", - "start_line": 119, - "end_line": 121, - "code_start_line": 119, - "return_type": "void", + "code": "{\n \n if (!(object instanceof AccountProfileDataBean)) {\n return false;\n }\n AccountProfileDataBean other = (AccountProfileDataBean) object;\n\n if (this.userID != other.userID && (this.userID == null || !this.userID.equals(other.userID))) {\n return false;\n }\n\n return true;\n }", + "start_line": 170, + "end_line": 183, + "code_start_line": 171, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.passwd" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean.userID" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.userID", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "other.userID" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 178, + "start_column": 69, + "end_line": 178, + "end_column": 100 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "other", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "(AccountProfileDataBean) object", + "start_line": 176, + "start_column": 32, + "end_line": 176, + "end_column": 70 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false }, "getFullName()": { @@ -91678,9 +95499,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAddress(String)": { + "setAddress(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountProfileDataBean.java", - "signature": "setAddress(String)", + "signature": "setAddress(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -92081,129 +95902,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 105, - "end_line": 110, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 112, - "end_line": 112, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 111, - "end_line": 117, - "code_start_line": 112, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 113, - "start_column": 9, - "end_line": 113, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 20, - "end_line": 114, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 20, - "end_line": 114, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -92274,6 +95975,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -92295,6 +95999,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.AsyncContext", "callee_signature": "startAsync()", "is_public": true, @@ -92316,6 +96021,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletInputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -92339,6 +96045,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "b" + ], "return_type": "", "callee_signature": "read(byte[])", "is_public": true, @@ -92362,6 +96071,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "data" + ], "return_type": "java.lang.StringBuilder", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -92383,6 +96095,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -92406,6 +96119,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet 3.0 Async\" + \"

    Ping Servlet 3.0 Async
    \" + \"Init time : \" + initTime + \"

    Hit Count: \" + ++hitCount + \"
    Data Received: \" + sb.toString() + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -92427,6 +96143,7 @@ "receiver_expr": "sb", "receiver_type": "java.lang.StringBuilder", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -92448,6 +96165,7 @@ "receiver_expr": "ac", "receiver_type": "javax.servlet.AsyncContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "complete()", "is_public": true, @@ -92469,6 +96187,7 @@ "receiver_expr": "", "receiver_type": "java.lang.StringBuilder", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.StringBuilder", "callee_signature": "StringBuilder()", "is_public": false, @@ -92494,6 +96213,11 @@ "", "" ], + "argument_expr": [ + "b", + "0", + "len" + ], "return_type": "java.lang.String", "callee_signature": "String(byte[], int, int)", "is_public": false, @@ -92636,6 +96360,97 @@ "cyclomatic_complexity": 2, "is_entrypoint": true }, + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", + "start_line": 81, + "end_line": 89, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 23, + "end_column": 44 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "res", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 47, + "end_column": 69 + } + ], + "code": "{\n doPost(req,res);\n \n }", + "start_line": 90, + "end_line": 94, + "code_start_line": 91, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "doPost", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "res" + ], + "return_type": "", + "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 92, + "start_column": 9, + "end_line": 92, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, "getServletInfo()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", "signature": "getServletInfo()", @@ -92674,14 +96489,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "init(javax.servlet.ServletConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet30Async.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "init(javax.servlet.ServletConfig)", "comments": [ { - "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", - "start_line": 81, - "end_line": 89, + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 105, + "end_line": 110, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -92694,53 +96509,47 @@ "public" ], "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" + "javax.servlet.ServletException" ], - "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "declaration": "public void init(ServletConfig config) throws ServletException", "parameters": [ { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 23, - "end_column": 44 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", + "type": "javax.servlet.ServletConfig", + "name": "config", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 47, - "end_column": 69 + "start_line": 112, + "end_line": 112, + "start_column": 22, + "end_column": 41 } ], - "code": "{\n doPost(req,res);\n \n }", - "start_line": 90, - "end_line": 94, - "code_start_line": 91, + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 111, + "end_line": 117, + "code_start_line": 112, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet30Async.hitCount" + ], "call_sites": [ { - "method_name": "doPost", + "method_name": "init", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" ], "return_type": "", - "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, "is_protected": false, "is_private": false, @@ -92749,17 +96558,61 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, + "start_line": 113, "start_column": 9, - "end_line": 92, - "end_column": 23 + "end_line": 113, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 20, + "end_line": 114, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 20, + "end_line": 114, + "end_column": 39 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false } }, "field_declarations": [ @@ -92989,120 +96842,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 116, - "end_line": 116, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 115, - "end_line": 120, - "code_start_line": 116, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 117, - "start_column": 9, - "end_line": 117, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 20, - "end_line": 119, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -93156,6 +96898,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -93178,38 +96924,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n\n }", - "start_line": 109, - "end_line": 113, - "code_start_line": 110, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " use a stringbuffer to avoid concatenation of Strings", @@ -93310,6 +97027,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -93331,6 +97051,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -93354,6 +97075,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2SessionLocal\" + \"
    PingServlet2SessionLocal
    \" + \"\" + \"Tests the basis path from a Servlet to a Session Bean.\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93375,6 +97099,7 @@ "receiver_expr": "Math", "receiver_type": "java.lang.Math", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "random()", "is_public": true, @@ -93396,6 +97121,7 @@ "receiver_expr": "Math", "receiver_type": "java.lang.Math", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "random()", "is_public": true, @@ -93417,6 +97143,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -93441,6 +97168,10 @@ "", "" ], + "argument_expr": [ + "rnd1", + "rnd2" + ], "return_type": "", "callee_signature": "investmentReturn(double, double)", "is_public": false, @@ -93471,6 +97202,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93494,6 +97228,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93517,6 +97254,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Investment Return Information

    investment: \" + rnd1" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93540,6 +97280,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    current Value: \" + rnd2" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93563,6 +97306,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    investment return \" + increase + \"
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -93586,6 +97332,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -93607,6 +97356,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -93630,6 +97380,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2Session.doGet(...):exception calling trade.investmentReturn \"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -93654,6 +97407,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -93678,6 +97435,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Session.doGet(...): error, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -93699,6 +97460,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -93722,6 +97484,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -93863,6 +97628,151 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n\n }", + "start_line": 109, + "end_line": 113, + "code_start_line": 110, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 116, + "end_line": 116, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 115, + "end_line": 120, + "code_start_line": 116, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 117, + "start_column": 9, + "end_line": 117, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 20, + "end_line": 119, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -94157,100 +98067,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": " hitCount = 0;", - "start_line": 125, - "end_line": 125, - "start_column": 9, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " initTime = new java.util.Date().toString();", - "start_line": 126, - "end_line": 126, - "start_column": 9, - "end_column": 54, - "is_javadoc": false - }, - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 116, - "end_line": 121, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 123, - "end_line": 123, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n }", - "start_line": 122, - "end_line": 127, - "code_start_line": 123, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 9, - "end_line": 124, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -94313,6 +98132,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -94335,47 +98158,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 106, - "end_line": 110, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JDBC Read using a prepared statment forwarded to a JSP, makes use of TradeJDBC class\";\n }", - "start_line": 111, - "end_line": 114, - "code_start_line": 112, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " req.setAttribute(\"hitCount\", hitCount);", @@ -94457,6 +98242,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -94478,6 +98264,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -94499,6 +98286,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -94520,6 +98308,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -94543,6 +98332,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -94567,6 +98359,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "\"quoteData\"", + "quoteData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -94591,6 +98387,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -94614,6 +98414,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/quoteDataPrimitive.jsp\"" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -94639,6 +98442,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJDBCRead2JPS -- error getting quote for symbol\"", + "symbol" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "is_public": true, @@ -94663,6 +98471,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingJDBCRead2JSP Exception caught: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -94684,6 +98496,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -94791,6 +98604,138 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 106, + "end_line": 110, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JDBC Read using a prepared statment forwarded to a JSP, makes use of TradeJDBC class\";\n }", + "start_line": 111, + "end_line": 114, + "code_start_line": 112, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCRead2JSP.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": " hitCount = 0;", + "start_line": 125, + "end_line": 125, + "start_column": 9, + "end_column": 24, + "is_javadoc": false + }, + { + "content": " initTime = new java.util.Date().toString();", + "start_line": 126, + "end_line": 126, + "start_column": 9, + "end_column": 54, + "is_javadoc": false + }, + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 116, + "end_line": 121, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 123, + "end_line": 123, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n }", + "start_line": 122, + "end_line": 127, + "code_start_line": 123, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 9, + "end_line": 124, + "end_column": 26 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -94973,9 +98918,40 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getHitCount(LocalDateTime)": { + "hitList()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", - "signature": "getHitCount(LocalDateTime)", + "signature": "hitList()", + "comments": [], + "annotations": [ + "@Size(max = 1)" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public List<@Min(1) Integer> hitList()", + "parameters": [], + "code": "{\n return list;\n }", + "start_line": 42, + "end_line": 45, + "code_start_line": 43, + "return_type": "java.util.List", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean.list" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getHitCount(java.time.LocalDateTime)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", + "signature": "getHitCount(java.time.LocalDateTime)", "comments": [], "annotations": [ "@Min(1)" @@ -95021,8 +98997,11 @@ "argument_types": [ "" ], + "argument_expr": [ + "++hitCount" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -95042,37 +99021,6 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - }, - "hitList()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/CDIMethodConstraintBean.java", - "signature": "hitList()", - "comments": [], - "annotations": [ - "@Size(max = 1)" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public List<@Min(1) Integer> hitList()", - "parameters": [], - "code": "{\n return list;\n }", - "start_line": 42, - "end_line": 45, - "code_start_line": 43, - "return_type": "java.util.List", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.beanval.CDIMethodConstraintBean.list" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -95302,129 +99250,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 139, - "end_line": 144, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 146, - "end_line": 146, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 145, - "end_line": 150, - "code_start_line": 146, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 147, - "start_column": 9, - "end_line": 147, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 20, - "end_line": 148, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 20, - "end_line": 148, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -95487,6 +99315,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -95509,47 +99341,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 129, - "end_line": 133, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", - "start_line": 134, - "end_line": 137, - "code_start_line": 135, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " JSON generate", @@ -95638,6 +99432,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -95659,6 +99456,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -95682,6 +99480,9 @@ "argument_types": [ "java.io.StringWriter" ], + "argument_expr": [ + "sw" + ], "return_type": "javax.json.stream.JsonGenerator", "callee_signature": "createGenerator(java.io.Writer)", "is_public": true, @@ -95703,6 +99504,7 @@ "receiver_expr": "generator", "receiver_type": "javax.json.stream.JsonGenerator", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.stream.JsonGenerator", "callee_signature": "writeStartObject()", "is_public": true, @@ -95727,6 +99529,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"initTime\"", + "initTime" + ], "return_type": "javax.json.stream.JsonGenerator", "callee_signature": "write(java.lang.String, java.lang.String)", "is_public": true, @@ -95751,6 +99557,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"hitCount\"", + "hitCount" + ], "return_type": "javax.json.stream.JsonGenerator", "callee_signature": "write(java.lang.String, int)", "is_public": true, @@ -95772,6 +99582,7 @@ "receiver_expr": "generator", "receiver_type": "javax.json.stream.JsonGenerator", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.stream.JsonGenerator", "callee_signature": "writeEnd()", "is_public": true, @@ -95793,6 +99604,7 @@ "receiver_expr": "generator", "receiver_type": "javax.json.stream.JsonGenerator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -95814,6 +99626,7 @@ "receiver_expr": "sw", "receiver_type": "java.io.StringWriter", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -95837,6 +99650,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(generatedJSON)" + ], "return_type": "javax.json.stream.JsonParser", "callee_signature": "createParser(java.io.Reader)", "is_public": true, @@ -95858,6 +99674,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -95879,6 +99696,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.stream.JsonParser.Event", "callee_signature": "next()", "is_public": true, @@ -95902,6 +99720,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parser.getString() + \":\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -95923,6 +99744,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getString()", "is_public": true, @@ -95946,6 +99768,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parser.getString() + \" \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -95967,6 +99792,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getString()", "is_public": true, @@ -95990,6 +99816,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JSONP\" + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -96014,6 +99843,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJSONP.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -96038,6 +99871,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -96059,6 +99896,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -96080,6 +99918,7 @@ "receiver_expr": "", "receiver_type": "java.io.StringWriter", "argument_types": [], + "argument_expr": [], "return_type": "java.io.StringWriter", "callee_signature": "StringWriter()", "is_public": false, @@ -96101,6 +99940,7 @@ "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer()", "is_public": false, @@ -96124,6 +99964,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "generatedJSON" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -96265,6 +100108,169 @@ "crud_queries": [], "cyclomatic_complexity": 23, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 129, + "end_line": 133, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", + "start_line": 134, + "end_line": 137, + "code_start_line": 135, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPStreaming.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 139, + "end_line": 144, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 146, + "end_line": 146, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 145, + "end_line": 150, + "code_start_line": 146, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPStreaming.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 9, + "end_line": 147, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 148, + "start_column": 20, + "end_line": 148, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 148, + "start_column": 20, + "end_line": 148, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -96524,9 +100530,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -96589,6 +100595,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -96611,9 +100621,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2PDF.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " MIME type for pdf doc", @@ -96719,6 +100729,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \" + hitCount" + ], "return_type": "", "callee_signature": "setMsg(java.lang.String)", "is_public": true, @@ -96743,6 +100756,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.prims.PingBean" ], + "argument_expr": [ + "\"ab\"", + "ab" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -96764,6 +100781,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -96794,6 +100812,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"application/pdf\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -96815,6 +100836,7 @@ "receiver_expr": "url", "receiver_type": "java.net.URL", "argument_types": [], + "argument_expr": [], "return_type": "java.net.URLConnection", "callee_signature": "openConnection()", "is_public": true, @@ -96836,6 +100858,7 @@ "receiver_expr": "conn", "receiver_type": "java.net.URLConnection", "argument_types": [], + "argument_expr": [], "return_type": "java.io.InputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -96861,6 +100884,11 @@ "", "" ], + "argument_expr": [ + "buff", + "0", + "buff.length" + ], "return_type": "", "callee_signature": "read(byte[], int, int)", "is_public": true, @@ -96886,6 +100914,11 @@ "", "" ], + "argument_expr": [ + "buff", + "0", + "bytesRead" + ], "return_type": "", "callee_signature": "write(byte[], int, int)", "is_public": true, @@ -96910,6 +100943,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ex", + "\"PingServlet2Jsp.doGet(...): request error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -96934,6 +100971,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Jsp.doGet(...): request error\" + ex.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -96955,6 +100996,7 @@ "receiver_expr": "ex", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -96976,6 +101018,7 @@ "receiver_expr": "bis", "receiver_type": "java.io.BufferedInputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -96997,6 +101040,7 @@ "receiver_expr": "bos", "receiver_type": "java.io.BufferedOutputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -97018,6 +101062,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "callee_signature": "PingBean()", "is_public": false, @@ -97041,6 +101086,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "fileURL" + ], "return_type": "java.net.URL", "callee_signature": "URL(java.lang.String)", "is_public": false, @@ -97064,6 +101112,9 @@ "argument_types": [ "java.io.InputStream" ], + "argument_expr": [ + "conn.getInputStream()" + ], "return_type": "java.io.BufferedInputStream", "callee_signature": "BufferedInputStream(java.io.InputStream)", "is_public": false, @@ -97087,6 +101138,9 @@ "argument_types": [ "javax.servlet.ServletOutputStream" ], + "argument_expr": [ + "out" + ], "return_type": "java.io.BufferedOutputStream", "callee_signature": "BufferedOutputStream(java.io.OutputStream)", "is_public": false, @@ -97763,14 +101817,14 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { + "sell(java.lang.String, java.lang.Integer, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", + "signature": "sell(java.lang.String, java.lang.Integer, int)", "comments": [ { - "content": "\n * Create an order (buy or sell)\n *\n * @param accoount\n * the accountdatabean\n * @param quote\n * the quptedatabean\n * @param holding\n * the holdingdatabean\n * @param orderType\n * buy or sell\n * @param quantity\n * quantity \n * @return Collection OrderDataBeans providing detailed order information\n ", - "start_line": 55, - "end_line": 69, + "content": "\n * Sell a stock holding and removed the holding for the given user. Given a\n * Holding, retrieve current quote, credit user's account, and reduce\n * holdings in user's portfolio.\n *\n * @param userID\n * the customer requesting the sell\n * @param holdingID\n * the users holding to be sold\n * @return OrderDataBean providing the status of the newly created sell\n * order\n ", + "start_line": 91, + "end_line": 102, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -97781,64 +101835,91 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity) throws Exception", + "declaration": "abstract OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 31, - "end_column": 53 + "start_line": 103, + "end_line": 103, + "start_column": 24, + "end_column": 36 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 56, - "end_column": 74 + "start_line": 103, + "end_line": 103, + "start_column": 39, + "end_column": 55 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holding", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 77, - "end_column": 99 - }, + "start_line": 103, + "end_line": 103, + "start_column": 58, + "end_column": 80 + } + ], + "code": "", + "start_line": 103, + "end_line": 103, + "code_start_line": -1, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrders(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "getOrders(java.lang.String)", + "comments": [ { - "type": "java.lang.String", - "name": "orderType", - "annotations": [], - "modifiers": [], - "start_line": 70, - "end_line": 70, - "start_column": 102, - "end_column": 117 - }, + "content": "\n * Get the collection of all orders for a given account\n *\n * @param userID\n * the customer account to retrieve orders for\n * @return Collection OrderDataBeans providing detailed order information\n ", + "start_line": 174, + "end_line": 180, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract Collection getOrders(String userID) throws Exception", + "parameters": [ { - "type": "double", - "name": "quantity", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 9, - "end_column": 23 + "start_line": 181, + "end_line": 181, + "start_column": 29, + "end_column": 41 } ], "code": "", - "start_line": 70, - "end_line": 71, + "start_line": 181, + "end_line": 181, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -97934,6 +102015,74 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "buy(java.lang.String, java.lang.String, double, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "comments": [], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 23, + "end_column": 35 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 38, + "end_column": 50 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 53, + "end_column": 67 + }, + { + "type": "int", + "name": "orderProcessingMode", + "annotations": [], + "modifiers": [], + "start_line": 89, + "end_line": 89, + "start_column": 70, + "end_column": 92 + } + ], + "code": "", + "start_line": 89, + "end_line": 89, + "code_start_line": -1, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getAllQuotes()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", "signature": "getAllQuotes()", @@ -97970,9 +102119,104 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "register(String, String, String, String, String, String, BigDecimal)": { + "logout(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "logout(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract void logout(String userID) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 304, + "end_line": 304, + "start_column": 17, + "end_column": 29 + } + ], + "code": "", + "start_line": 304, + "end_line": 304, + "code_start_line": -1, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "completeOrder(java.lang.Integer, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "completeOrder(java.lang.Integer, boolean)", + "comments": [ + { + "content": "\n * Complete the Order identified by orderID. This method completes\n * the order For a buy, the stock is purchased creating a holding and the\n * users account is debited For a sell, the stock holding is removed and the\n * users account is credited with the proceeds\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order to complete\n * @return OrderDataBean providing the status of the completed order\n ", + "start_line": 120, + "end_line": 132, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract OrderDataBean completeOrder(Integer orderID, boolean twoPhase) throws Exception", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 33, + "end_column": 47 + }, + { + "type": "boolean", + "name": "twoPhase", + "annotations": [], + "modifiers": [], + "start_line": 133, + "end_line": 133, + "start_column": 50, + "end_column": 65 + } + ], + "code": "", + "start_line": 133, + "end_line": 133, + "code_start_line": -1, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "register(String, String, String, String, String, String, BigDecimal)", + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [ { "content": "\n * Register a new Trade customer. Create a new user profile, user registry\n * entry, account with initial balance, and empty portfolio.\n *\n * @param userID\n * the new customer to register\n * @param password\n * the customers password\n * @param fullname\n * the customers fullname\n * @param address\n * the customers street address\n * @param email\n * the customers email address\n * @param creditcard\n * the customers creditcard number\n * @param initialBalance\n * the amount to charge to the customers credit to open the\n * account and set the initial balance\n * @return the userID if successful, null otherwise\n ", @@ -98077,61 +102321,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getHoldings(String)": { + "orderCompleted(java.lang.String, java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getHoldings(String)", + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", "comments": [ { - "content": "\n * Return the portfolio of stock holdings for the specified customer as a\n * collection of HoldingDataBeans\n *\n * @param userID\n * the customer requesting the portfolio\n * @return Collection of the users portfolio of stock holdings\n ", - "start_line": 236, - "end_line": 243, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract Collection getHoldings(String userID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 244, - "end_line": 244, - "start_column": 45, - "end_column": 57 - } - ], - "code": "", - "start_line": 244, - "end_line": 244, - "code_start_line": -1, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "login(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "login(String, String)", - "comments": [ - { - "content": "\n * Attempt to authenticate and login a user with the given password\n *\n * @param userID\n * the customer to login\n * @param password\n * the password entered by the customer for authentication\n * @return User account data in AccountDataBean\n ", - "start_line": 285, - "end_line": 293, + "content": "\n * Signify an order has been completed for the given userID\n *\n * @param userID\n * the user for which an order has completed\n * @param orderID\n * the order which has completed\n *\n ", + "start_line": 163, + "end_line": 171, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98142,34 +102339,34 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract AccountDataBean login(String userID, String password) throws Exception", + "declaration": "abstract void orderCompleted(String userID, Integer orderID) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 27, - "end_column": 39 + "start_line": 172, + "end_line": 172, + "start_column": 25, + "end_column": 37 }, { - "type": "java.lang.String", - "name": "password", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 42, - "end_column": 56 + "start_line": 172, + "end_line": 172, + "start_column": 40, + "end_column": 54 } ], "code": "", - "start_line": 294, - "end_line": 294, + "start_line": 172, + "end_line": 172, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -98217,14 +102414,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrder(Integer, boolean)": { + "getClosedOrders(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "completeOrder(Integer, boolean)", + "signature": "getClosedOrders(java.lang.String)", "comments": [ { - "content": "\n * Complete the Order identified by orderID. This method completes\n * the order For a buy, the stock is purchased creating a holding and the\n * users account is debited For a sell, the stock holding is removed and the\n * users account is credited with the proceeds\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order to complete\n * @return OrderDataBean providing the status of the completed order\n ", - "start_line": 120, - "end_line": 132, + "content": "\n * Get the collection of completed orders for a given account that need to\n * be alerted to the user\n *\n * @param userID\n * the customer account to retrieve orders for\n * @return Collection OrderDataBeans providing detailed order information\n ", + "start_line": 183, + "end_line": 190, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98235,34 +102432,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract OrderDataBean completeOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "abstract Collection getClosedOrders(String userID) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "orderID", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 33, + "start_line": 191, + "end_line": 191, + "start_column": 35, "end_column": 47 - }, - { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 133, - "end_line": 133, - "start_column": 50, - "end_column": 65 } ], "code": "", - "start_line": 133, - "end_line": 133, + "start_line": 191, + "end_line": 191, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -98274,14 +102461,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "updateQuotePriceVolume(String, BigDecimal, double)": { + "login(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", + "signature": "login(java.lang.String, java.lang.String)", "comments": [ { - "content": "\n * Update the stock quote price and volume for the specified stock symbol\n *\n * @param symbol\n * for stock quote to update\n * @param price\n * the updated quote price\n * @return the QuoteDataBean describing the stock\n ", - "start_line": 225, - "end_line": 233, + "content": "\n * Attempt to authenticate and login a user with the given password\n *\n * @param userID\n * the customer to login\n * @param password\n * the password entered by the customer for authentication\n * @return User account data in AccountDataBean\n ", + "start_line": 285, + "end_line": 293, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98292,44 +102479,34 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal newPrice, double sharesTraded) throws Exception", + "declaration": "abstract AccountDataBean login(String userID, String password) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 234, - "end_line": 234, - "start_column": 42, - "end_column": 54 - }, - { - "type": "java.math.BigDecimal", - "name": "newPrice", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 234, - "end_line": 234, - "start_column": 57, - "end_column": 75 + "start_line": 294, + "end_line": 294, + "start_column": 27, + "end_column": 39 }, { - "type": "double", - "name": "sharesTraded", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 234, - "end_line": 234, - "start_column": 78, - "end_column": 96 + "start_line": 294, + "end_line": 294, + "start_column": 42, + "end_column": 56 } ], "code": "", - "start_line": 234, - "end_line": 234, + "start_line": 294, + "end_line": 294, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -98341,14 +102518,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "cancelOrder(Integer, boolean)": { + "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "cancelOrder(Integer, boolean)", + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "comments": [ { - "content": "\n * Cancel the Order identefied by orderID\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order to complete\n * @return OrderDataBean providing the status of the completed order\n ", - "start_line": 151, - "end_line": 160, + "content": "\n * Create an order (buy or sell)\n *\n * @param accoount\n * the accountdatabean\n * @param quote\n * the quptedatabean\n * @param holding\n * the holdingdatabean\n * @param orderType\n * buy or sell\n * @param quantity\n * quantity \n * @return Collection OrderDataBeans providing detailed order information\n ", + "start_line": 55, + "end_line": 69, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98359,242 +102536,64 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "abstract OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "orderID", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", "annotations": [], "modifiers": [], - "start_line": 161, - "end_line": 161, - "start_column": 22, - "end_column": 36 + "start_line": 70, + "end_line": 70, + "start_column": 31, + "end_column": 53 }, { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 161, - "end_line": 161, - "start_column": 39, - "end_column": 54 - } - ], - "code": "", - "start_line": 161, - "end_line": 161, - "code_start_line": -1, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrders(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getOrders(String)", - "comments": [ - { - "content": "\n * Get the collection of all orders for a given account\n *\n * @param userID\n * the customer account to retrieve orders for\n * @return Collection OrderDataBeans providing detailed order information\n ", - "start_line": 174, - "end_line": 180, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract Collection getOrders(String userID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 181, - "end_line": 181, - "start_column": 29, - "end_column": 41 - } - ], - "code": "", - "start_line": 181, - "end_line": 181, - "code_start_line": -1, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuote(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getQuote(String)", - "comments": [ - { - "content": "\n * Return a {@link QuoteDataBean} describing a current quote for the given\n * stock symbol\n *\n * @param symbol\n * the stock symbol to retrieve the current Quote\n * @return the QuoteDataBean\n ", - "start_line": 207, - "end_line": 214, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract QuoteDataBean getQuote(String symbol) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", "annotations": [], "modifiers": [], - "start_line": 215, - "end_line": 215, - "start_column": 28, - "end_column": 40 - } - ], - "code": "", - "start_line": 215, - "end_line": 215, - "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "createQuote(String, String, BigDecimal)", - "comments": [ - { - "content": "\n * Given a market symbol, price, and details, create and return a new\n * {@link QuoteDataBean}\n *\n * @param symbol\n * the symbol of the stock\n * @param price\n * the current stock price\n * @param details\n * a short description of the stock or company\n * @return a new QuoteDataBean or null if Quote could not be created\n ", - "start_line": 193, - "end_line": 204, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", - "parameters": [ + "start_line": 70, + "end_line": 70, + "start_column": 56, + "end_column": 74 + }, { - "type": "java.lang.String", - "name": "symbol", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holding", "annotations": [], "modifiers": [], - "start_line": 205, - "end_line": 205, - "start_column": 31, - "end_column": 43 + "start_line": 70, + "end_line": 70, + "start_column": 77, + "end_column": 99 }, { "type": "java.lang.String", - "name": "companyName", + "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 205, - "end_line": 205, - "start_column": 46, - "end_column": 63 + "start_line": 70, + "end_line": 70, + "start_column": 102, + "end_column": 117 }, { - "type": "java.math.BigDecimal", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 205, - "end_line": 205, - "start_column": 66, - "end_column": 81 - } - ], - "code": "", - "start_line": 205, - "end_line": 205, - "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "updateAccountProfile(AccountProfileDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "comments": [ - { - "content": "\n * Update userID's account profile information using the provided\n * AccountProfileDataBean object\n *\n * @param userID\n * the account userID to lookup\n * @param User\n * account profile data in AccountProfileDataBean\n ", - "start_line": 274, - "end_line": 282, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profileData", + "type": "double", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 283, - "end_line": 283, - "start_column": 49, - "end_column": 82 + "start_line": 71, + "end_line": 71, + "start_column": 9, + "end_column": 23 } ], "code": "", - "start_line": 283, - "end_line": 283, + "start_line": 70, + "end_line": 71, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -98606,14 +102605,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "queueOrder(Integer, boolean)": { + "cancelOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "queueOrder(Integer, boolean)", + "signature": "cancelOrder(java.lang.Integer, boolean)", "comments": [ { - "content": "\n * Queue the Order identified by orderID to be processed\n *\n * Orders are submitted through JMS to a Trading Broker and completed\n * asynchronously. This method queues the order for processing\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order being queued for processing\n * @return OrderDataBean providing the status of the completed order\n ", - "start_line": 105, - "end_line": 117, + "content": "\n * Cancel the Order identefied by orderID\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order to complete\n * @return OrderDataBean providing the status of the completed order\n ", + "start_line": 151, + "end_line": 160, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98624,32 +102623,32 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract void queueOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "abstract void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ { "type": "java.lang.Integer", "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 118, - "end_line": 118, - "start_column": 21, - "end_column": 35 + "start_line": 161, + "end_line": 161, + "start_column": 22, + "end_column": 36 }, { "type": "boolean", "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 118, - "end_line": 118, - "start_column": 38, - "end_column": 53 + "start_line": 161, + "end_line": 161, + "start_column": 39, + "end_column": 54 } ], "code": "", - "start_line": 118, - "end_line": 118, + "start_line": 161, + "end_line": 161, "code_start_line": -1, "return_type": "void", "is_implicit": false, @@ -98663,9 +102662,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountData(String)": { + "getAccountData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getAccountData(String)", + "signature": "getAccountData(java.lang.String)", "comments": [ { "content": "\n * Return an AccountDataBean object for userID describing the account\n *\n * @param userID\n * the account userID to lookup\n * @return User account data in AccountDataBean\n ", @@ -98710,9 +102709,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountProfileData(String)": { + "getAccountProfileData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getAccountProfileData(String)", + "signature": "getAccountProfileData(java.lang.String)", "comments": [ { "content": "\n * Return an AccountProfileDataBean for userID providing the users profile\n *\n * @param userID\n * the account userID to lookup\n * @param User\n * account profile data in AccountProfileDataBean\n ", @@ -98757,9 +102756,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "pingTwoPhase(String)": { + "pingTwoPhase(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "pingTwoPhase(String)", + "signature": "pingTwoPhase(java.lang.String)", "comments": [], "annotations": [], "modifiers": [], @@ -98795,14 +102794,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "orderCompleted(String, Integer)": { + "queueOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "orderCompleted(String, Integer)", + "signature": "queueOrder(java.lang.Integer, boolean)", "comments": [ { - "content": "\n * Signify an order has been completed for the given userID\n *\n * @param userID\n * the user for which an order has completed\n * @param orderID\n * the order which has completed\n *\n ", - "start_line": 163, - "end_line": 171, + "content": "\n * Queue the Order identified by orderID to be processed\n *\n * Orders are submitted through JMS to a Trading Broker and completed\n * asynchronously. This method queues the order for processing\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order being queued for processing\n * @return OrderDataBean providing the status of the completed order\n ", + "start_line": 105, + "end_line": 117, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -98813,70 +102812,32 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract void orderCompleted(String userID, Integer orderID) throws Exception", + "declaration": "abstract void queueOrder(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 172, - "end_line": 172, - "start_column": 25, - "end_column": 37 - }, { "type": "java.lang.Integer", "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 172, - "end_line": 172, - "start_column": 40, - "end_column": 54 - } - ], - "code": "", - "start_line": 172, - "end_line": 172, - "code_start_line": -1, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "logout(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "logout(String)", - "comments": [], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "abstract void logout(String userID) throws Exception", - "parameters": [ + "start_line": 118, + "end_line": 118, + "start_column": 21, + "end_column": 35 + }, { - "type": "java.lang.String", - "name": "userID", + "type": "boolean", + "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 304, - "end_line": 304, - "start_column": 17, - "end_column": 29 + "start_line": 118, + "end_line": 118, + "start_column": 38, + "end_column": 53 } ], "code": "", - "start_line": 304, - "end_line": 304, + "start_line": 118, + "end_line": 118, "code_start_line": -1, "return_type": "void", "is_implicit": false, @@ -98915,63 +102876,109 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "buy(String, String, double, int)": { + "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "buy(String, String, double, int)", - "comments": [], + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "comments": [ + { + "content": "\n * Update the stock quote price and volume for the specified stock symbol\n *\n * @param symbol\n * for stock quote to update\n * @param price\n * the updated quote price\n * @return the QuoteDataBean describing the stock\n ", + "start_line": 225, + "end_line": 233, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], "annotations": [], "modifiers": [], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", + "declaration": "abstract QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal newPrice, double sharesTraded) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "userID", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 23, - "end_column": 35 + "start_line": 234, + "end_line": 234, + "start_column": 42, + "end_column": 54 }, { - "type": "java.lang.String", - "name": "symbol", + "type": "java.math.BigDecimal", + "name": "newPrice", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 38, - "end_column": 50 + "start_line": 234, + "end_line": 234, + "start_column": 57, + "end_column": 75 }, { "type": "double", - "name": "quantity", + "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 53, - "end_column": 67 - }, + "start_line": 234, + "end_line": 234, + "start_column": 78, + "end_column": 96 + } + ], + "code": "", + "start_line": 234, + "end_line": 234, + "code_start_line": -1, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getHolding(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "getHolding(java.lang.Integer)", + "comments": [ { - "type": "int", - "name": "orderProcessingMode", + "content": "\n * Return a specific user stock holding identifed by the holdingID\n *\n * @param holdingID\n * the holdingID to return\n * @return a HoldingDataBean describing the holding\n ", + "start_line": 246, + "end_line": 252, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract HoldingDataBean getHolding(Integer holdingID) throws Exception", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 89, - "end_line": 89, - "start_column": 70, - "end_column": 92 + "start_line": 253, + "end_line": 253, + "start_column": 32, + "end_column": 48 } ], "code": "", - "start_line": 89, - "end_line": 89, + "start_line": 253, + "end_line": 253, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -98983,14 +102990,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "sell(String, Integer, int)": { + "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "sell(String, Integer, int)", + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [ { - "content": "\n * Sell a stock holding and removed the holding for the given user. Given a\n * Holding, retrieve current quote, credit user's account, and reduce\n * holdings in user's portfolio.\n *\n * @param userID\n * the customer requesting the sell\n * @param holdingID\n * the users holding to be sold\n * @return OrderDataBean providing the status of the newly created sell\n * order\n ", - "start_line": 91, - "end_line": 102, + "content": "\n * Given a market symbol, price, and details, create and return a new\n * {@link QuoteDataBean}\n *\n * @param symbol\n * the symbol of the stock\n * @param price\n * the current stock price\n * @param details\n * a short description of the stock or company\n * @return a new QuoteDataBean or null if Quote could not be created\n ", + "start_line": 193, + "end_line": 204, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -99001,44 +103008,44 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", + "declaration": "abstract QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "userID", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 24, - "end_column": 36 + "start_line": 205, + "end_line": 205, + "start_column": 31, + "end_column": 43 }, { - "type": "java.lang.Integer", - "name": "holdingID", + "type": "java.lang.String", + "name": "companyName", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 39, - "end_column": 55 + "start_line": 205, + "end_line": 205, + "start_column": 46, + "end_column": 63 }, { - "type": "int", - "name": "orderProcessingMode", + "type": "java.math.BigDecimal", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 58, - "end_column": 80 + "start_line": 205, + "end_line": 205, + "start_column": 66, + "end_column": 81 } ], "code": "", - "start_line": 103, - "end_line": 103, + "start_line": 205, + "end_line": 205, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -99050,14 +103057,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getHolding(Integer)": { + "getQuote(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getHolding(Integer)", + "signature": "getQuote(java.lang.String)", "comments": [ { - "content": "\n * Return a specific user stock holding identifed by the holdingID\n *\n * @param holdingID\n * the holdingID to return\n * @return a HoldingDataBean describing the holding\n ", - "start_line": 246, - "end_line": 252, + "content": "\n * Return a {@link QuoteDataBean} describing a current quote for the given\n * stock symbol\n *\n * @param symbol\n * the stock symbol to retrieve the current Quote\n * @return the QuoteDataBean\n ", + "start_line": 207, + "end_line": 214, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -99068,24 +103075,24 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract HoldingDataBean getHolding(Integer holdingID) throws Exception", + "declaration": "abstract QuoteDataBean getQuote(String symbol) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "holdingID", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 253, - "end_line": 253, - "start_column": 32, - "end_column": 48 + "start_line": 215, + "end_line": 215, + "start_column": 28, + "end_column": 40 } ], "code": "", - "start_line": 253, - "end_line": 253, + "start_line": 215, + "end_line": 215, "code_start_line": -1, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -99097,9 +103104,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrderAsync(Integer, boolean)": { + "completeOrderAsync(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "completeOrderAsync(Integer, boolean)", + "signature": "completeOrderAsync(java.lang.Integer, boolean)", "comments": [ { "content": "\n * Complete the Order identefied by orderID Orders are completed \n * asynchronously. This method completes\n * the order For a buy, the stock is purchased creating a holding and the\n * users account is debited For a sell, the stock holding is removed and the\n * users account is credited with the proceeds\n *\n * The boolean twoPhase specifies to the server implementation whether or\n * not the method is to participate in a global transaction\n *\n * @param orderID\n * the Order to complete\n * @return OrderDataBean providing the status of the completed order\n ", @@ -99154,14 +103161,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getClosedOrders(String)": { + "getHoldings(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", - "signature": "getClosedOrders(String)", + "signature": "getHoldings(java.lang.String)", "comments": [ { - "content": "\n * Get the collection of completed orders for a given account that need to\n * be alerted to the user\n *\n * @param userID\n * the customer account to retrieve orders for\n * @return Collection OrderDataBeans providing detailed order information\n ", - "start_line": 183, - "end_line": 190, + "content": "\n * Return the portfolio of stock holdings for the specified customer as a\n * collection of HoldingDataBeans\n *\n * @param userID\n * the customer requesting the portfolio\n * @return Collection of the users portfolio of stock holdings\n ", + "start_line": 236, + "end_line": 243, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -99172,24 +103179,71 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "abstract Collection getClosedOrders(String userID) throws Exception", + "declaration": "abstract Collection getHoldings(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 191, - "end_line": 191, - "start_column": 35, - "end_column": 47 + "start_line": 244, + "end_line": 244, + "start_column": 45, + "end_column": 57 } ], "code": "", - "start_line": 191, - "end_line": 191, + "start_line": 244, + "end_line": 244, "code_start_line": -1, - "return_type": "java.util.Collection", + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/interfaces/TradeServices.java", + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "comments": [ + { + "content": "\n * Update userID's account profile information using the provided\n * AccountProfileDataBean object\n *\n * @param userID\n * the account userID to lookup\n * @param User\n * account profile data in AccountProfileDataBean\n ", + "start_line": 274, + "end_line": 282, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "abstract AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profileData", + "annotations": [], + "modifiers": [], + "start_line": 283, + "end_line": 283, + "start_column": 49, + "end_column": 82 + } + ], + "code": "", + "start_line": 283, + "end_line": 283, + "code_start_line": -1, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -99362,38 +103416,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getKey()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", - "signature": "getKey()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getKey()", - "parameters": [], - "code": "{\n return key;\n }", - "start_line": 23, - "end_line": 25, - "code_start_line": 23, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage.key" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setValue(String)": { + "setValue(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", - "signature": "setValue(String)", + "signature": "setValue(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -99433,9 +103458,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setKey(String)": { + "getKey()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", + "signature": "getKey()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getKey()", + "parameters": [], + "code": "{\n return key;\n }", + "start_line": 23, + "end_line": 25, + "code_start_line": 23, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage.key" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setKey(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonMessage.java", - "signature": "setKey(String)", + "signature": "setKey(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -99635,6 +103689,7 @@ "receiver_expr": "CDI.current()", "receiver_type": "javax.enterprise.inject.spi.CDI", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.inject.spi.BeanManager", "callee_signature": "getBeanManager()", "is_public": true, @@ -99656,6 +103711,7 @@ "receiver_expr": "CDI", "receiver_type": "javax.enterprise.inject.spi.CDI", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.inject.spi.CDI", "callee_signature": "current()", "is_public": true, @@ -99679,8 +103735,11 @@ "argument_types": [ "java.lang.Class" ], + "argument_expr": [ + "Object.class" + ], "return_type": "java.util.Set>", - "callee_signature": "getBeans(java.lang.reflect.Type, java.lang.annotation.Annotation...)", + "callee_signature": "getBeans(java.lang.reflect.Type, java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -99700,6 +103759,7 @@ "receiver_expr": "beans", "receiver_type": "java.util.Set>", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -99793,6 +103853,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"java:comp/BeanManager\"" + ], "return_type": "javax.enterprise.inject.spi.BeanManager", "callee_signature": "lookup(java.lang.String)", "is_public": true, @@ -99816,8 +103879,11 @@ "argument_types": [ "java.lang.Class" ], + "argument_expr": [ + "Object.class" + ], "return_type": "java.util.Set>", - "callee_signature": "getBeans(java.lang.reflect.Type, java.lang.annotation.Annotation...)", + "callee_signature": "getBeans(java.lang.reflect.Type, java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -99837,6 +103903,7 @@ "receiver_expr": "beans", "receiver_type": "java.util.Set>", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -99858,6 +103925,7 @@ "receiver_expr": "", "receiver_type": "javax.naming.InitialContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.naming.InitialContext", "callee_signature": "InitialContext()", "is_public": false, @@ -100035,9 +104103,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "submitOrder(Integer, boolean)": { + "submitOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrderSubmitter.java", - "signature": "submitOrder(Integer, boolean)", + "signature": "submitOrder(java.lang.Integer, boolean)", "comments": [], "annotations": [], "modifiers": [ @@ -100092,6 +104160,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "", "callee_signature": "setProperties(java.lang.Integer, boolean)", "is_public": true, @@ -100117,6 +104189,11 @@ "", "java.util.concurrent.TimeUnit" ], + "argument_expr": [ + "asyncOrder", + "500", + "TimeUnit.MILLISECONDS" + ], "return_type": "java.util.concurrent.ScheduledFuture", "callee_signature": "schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit)", "is_public": true, @@ -100397,129 +104474,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 99, - "end_line": 104, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 106, - "end_line": 106, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 105, - "end_line": 111, - "code_start_line": 106, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 9, - "end_line": 107, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 108, - "start_column": 20, - "end_line": 108, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 108, - "start_column": 20, - "end_line": 108, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -100582,6 +104539,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -100604,47 +104565,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 89, - "end_line": 93, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 94, - "end_line": 97, - "code_start_line": 95, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " The following 2 lines are the difference between PingServlet and", @@ -100751,6 +104674,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -100772,6 +104698,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -100795,6 +104722,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet\" + \"

    Ping Servlet
    Init time : \" + initTime + \"

    Hit Count: \" + hitCount + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -100819,6 +104749,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -100843,6 +104777,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -100864,6 +104802,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -100903,6 +104842,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 89, + "end_line": 93, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 94, + "end_line": 97, + "code_start_line": 95, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 99, + "end_line": 104, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 106, + "end_line": 106, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 105, + "end_line": 111, + "code_start_line": 106, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 9, + "end_line": 107, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 20, + "end_line": 108, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 20, + "end_line": 108, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -101149,120 +105251,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 142, - "end_line": 142, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 141, - "end_line": 146, - "code_start_line": 142, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 143, - "start_column": 9, - "end_line": 143, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 145, - "start_column": 20, - "end_line": 145, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 145, - "start_column": 20, - "end_line": 145, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -101316,6 +105307,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -101338,38 +105333,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n }", - "start_line": 136, - "end_line": 139, - "code_start_line": 137, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " use a stringbuffer to avoid concatenation of Strings", @@ -101474,6 +105440,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -101495,6 +105464,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -101518,6 +105488,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2MDBTopic\" + \"
    PingServlet2MDBTopic
    \" + \"\" + \"Tests the basic operation of a servlet posting a message to an EJB MDB (and other subscribers) through a JMS Topic.
    \" + \"Note: Not intended for performance testing.\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101539,6 +105512,7 @@ "receiver_expr": "topicConnectionFactory", "receiver_type": "javax.jms.ConnectionFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.Connection", "callee_signature": "createConnection()", "is_public": true, @@ -101560,6 +105534,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -101581,6 +105556,7 @@ "receiver_expr": "topicConnectionFactory", "receiver_type": "javax.jms.ConnectionFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.JMSContext", "callee_signature": "createContext()", "is_public": true, @@ -101602,6 +105578,7 @@ "receiver_expr": "context", "receiver_type": "javax.jms.JMSContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.TextMessage", "callee_signature": "createTextMessage()", "is_public": true, @@ -101626,6 +105603,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"command\"", + "\"ping\"" + ], "return_type": "", "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, @@ -101650,6 +105631,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" + ], "return_type": "", "callee_signature": "setLongProperty(java.lang.String, long)", "is_public": true, @@ -101671,6 +105656,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -101694,6 +105680,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping message for topic java:comp/env/jms/TradeStreamerTopic sent from PingServlet2MDBTopic at \" + new java.util.Date()" + ], "return_type": "", "callee_signature": "setText(java.lang.String)", "is_public": true, @@ -101718,6 +105707,10 @@ "javax.jms.Topic", "javax.jms.TextMessage" ], + "argument_expr": [ + "tradeStreamerTopic", + "message" + ], "return_type": "javax.jms.JMSProducer", "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", "is_public": true, @@ -101739,6 +105732,7 @@ "receiver_expr": "context", "receiver_type": "javax.jms.JMSContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.JMSProducer", "callee_signature": "createProducer()", "is_public": true, @@ -101769,6 +105763,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101792,6 +105789,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101815,6 +105815,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -101838,6 +105841,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101861,6 +105867,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Posted Text message to java:comp/env/jms/TradeStreamerTopic topic\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101884,6 +105893,9 @@ "argument_types": [ "javax.jms.TextMessage" ], + "argument_expr": [ + "message" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.Object)", "is_public": true, @@ -101907,6 +105919,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Message: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101930,6 +105945,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message.getText()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101953,6 +105971,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    Message text: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -101974,6 +105995,7 @@ "receiver_expr": "message", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -101997,6 +106019,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -102020,6 +106045,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -102041,6 +106069,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -102064,6 +106093,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2MDBTopic.doGet(...):exception posting message to TradeStreamerTopic topic\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -102085,6 +106117,7 @@ "receiver_expr": "conn", "receiver_type": "javax.jms.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -102109,6 +106142,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2MDBTopic.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -102133,6 +106170,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2MDBTopic.doGet(...): error, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -102154,6 +106195,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -102177,6 +106219,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -102198,6 +106243,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -102339,6 +106385,151 @@ "crud_queries": [], "cyclomatic_complexity": 5, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n }", + "start_line": 136, + "end_line": 139, + "code_start_line": 137, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBTopic.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 142, + "end_line": 142, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 141, + "end_line": 146, + "code_start_line": 142, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBTopic.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 143, + "start_column": 9, + "end_line": 143, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 145, + "start_column": 20, + "end_line": 145, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 145, + "start_column": 20, + "end_line": 145, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -102559,9 +106750,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -102624,6 +106815,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -102646,9 +106841,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Servlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -102714,6 +106909,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \" + hitCount" + ], "return_type": "", "callee_signature": "setMsg(java.lang.String)", "is_public": true, @@ -102738,6 +106936,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.prims.PingBean" ], + "argument_expr": [ + "\"ab\"", + "ab" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -102762,6 +106964,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -102785,6 +106991,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/servlet/PingServlet2ServletRcv\"" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -102806,6 +107015,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -102827,6 +107037,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -102851,6 +107062,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ex", + "\"PingServlet2Servlet.doGet(...): general exception\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -102875,6 +107090,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Servlet.doGet(...): general exception\" + ex.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -102896,6 +107115,7 @@ "receiver_expr": "ex", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -102917,6 +107137,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "callee_signature": "PingBean()", "is_public": false, @@ -103095,6 +107316,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": false, @@ -103116,6 +107341,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -103138,9 +107364,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setProperties(Integer, boolean)": { + "setProperties(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", - "signature": "setProperties(Integer, boolean)", + "signature": "setProperties(java.lang.Integer, boolean)", "comments": [], "annotations": [], "modifiers": [ @@ -103191,9 +107417,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/AsyncScheduledOrder.java", - "signature": "AsyncScheduledOrder(Instance)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], "annotations": [ "@Inject" @@ -103235,6 +107461,7 @@ "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", "receiver_type": "javax.enterprise.inject.Instance", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "callee_signature": "get()", "is_public": true, @@ -103258,8 +107485,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", + "callee_signature": "select(java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -103279,6 +107509,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -103300,6 +107531,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -103323,6 +107555,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", "is_public": false, @@ -103566,84 +107801,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 111, - "end_line": 116, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 118, - "end_line": 118, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n }", - "start_line": 117, - "end_line": 120, - "code_start_line": 118, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 9, - "end_line": 119, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (02/07/2013\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -103706,6 +107866,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -103728,47 +107892,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 101, - "end_line": 105, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet, with \" + \"contentLength set by contentLength parameter.\";\n }", - "start_line": 106, - "end_line": 109, - "code_start_line": 107, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " Add characters (a's) to the SOS to equal the requested length", @@ -103850,6 +107976,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -103873,6 +108002,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"contentLength\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -103896,6 +108028,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "lengthParam" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -103917,6 +108052,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -103940,6 +108076,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet\" + \"

    Ping Servlet
    \" + buffer + \"
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -103964,6 +108103,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -103988,6 +108131,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -104009,6 +108156,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -104116,6 +108264,122 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 101, + "end_line": 105, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet, with \" + \"contentLength set by contentLength parameter.\";\n }", + "start_line": 106, + "end_line": 109, + "code_start_line": 107, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletSetContentLength.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 111, + "end_line": 116, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 118, + "end_line": 118, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n }", + "start_line": 117, + "end_line": 120, + "code_start_line": 118, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 9, + "end_line": 119, + "end_column": 26 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -104207,9 +108471,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "getQuotes(String)": { + "getQuotes(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", - "signature": "getQuotes(String)", + "signature": "getQuotes(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -104253,6 +108517,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\",\"" + ], "return_type": "", "callee_signature": "split(java.lang.String)", "is_public": true, @@ -104276,6 +108543,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -104299,8 +108569,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quoteData" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -104320,6 +108593,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -104341,6 +108615,7 @@ "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList()", "is_public": false, @@ -104432,9 +108707,36 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "quotesGet(String)": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteResource()", + "parameters": [], + "code": "{\n }", + "start_line": 46, + "end_line": 47, + "code_start_line": 46, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "quotesGet(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", - "signature": "quotesGet(String)", + "signature": "quotesGet(java.lang.String)", "comments": [], "annotations": [ "@GET", @@ -104478,6 +108780,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbols" + ], "return_type": "java.util.List", "callee_signature": "getQuotes(java.lang.String)", "is_public": false, @@ -104500,36 +108805,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", - "signature": "QuoteResource()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteResource()", - "parameters": [], - "code": "{\n }", - "start_line": 46, - "end_line": 47, - "code_start_line": 46, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Instance)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", - "signature": "QuoteResource(Instance)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], "annotations": [ "@Inject" @@ -104571,6 +108849,7 @@ "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", "receiver_type": "javax.enterprise.inject.Instance", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "callee_signature": "get()", "is_public": true, @@ -104594,8 +108873,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", + "callee_signature": "select(java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -104615,6 +108897,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -104636,6 +108919,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -104659,6 +108943,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", "is_public": false, @@ -104681,9 +108968,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "quotesPost(String)": { + "quotesPost(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/QuoteResource.java", - "signature": "quotesPost(String)", + "signature": "quotesPost(java.lang.String)", "comments": [], "annotations": [ "@POST", @@ -104727,6 +109014,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbols" + ], "return_type": "java.util.List", "callee_signature": "getQuotes(java.lang.String)", "is_public": false, @@ -104876,9 +109166,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "methodInterceptor(InvocationContext)": { + "methodInterceptor(javax.interceptor.InvocationContext)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingInterceptor.java", - "signature": "methodInterceptor(InvocationContext)", + "signature": "methodInterceptor(javax.interceptor.InvocationContext)", "comments": [ { "content": "noop", @@ -104934,6 +109224,7 @@ "receiver_expr": "ctx", "receiver_type": "javax.interceptor.InvocationContext", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Object", "callee_signature": "proceed()", "is_public": true, @@ -105121,129 +109412,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 107, - "end_line": 112, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 114, - "end_line": 114, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 113, - "end_line": 118, - "code_start_line": 114, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 9, - "end_line": 115, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 20, - "end_line": 116, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 20, - "end_line": 116, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (03/18/2014\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -105306,6 +109477,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": false, @@ -105328,47 +109503,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 97, - "end_line": 101, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Tests a ManagedExecutor\";\n }", - "start_line": 102, - "end_line": 105, - "code_start_line": 103, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " Runnable task", @@ -105443,6 +109580,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.AsyncContext", "callee_signature": "startAsync()", "is_public": true, @@ -105464,6 +109602,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -105487,6 +109626,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -105510,6 +109652,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping ManagedExecutor\" + \"

    Ping ManagedExecutor
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -105540,6 +109685,9 @@ "argument_types": [ "java.lang.Runnable" ], + "argument_expr": [ + "new Runnable() {\n\n @Override\n public void run() {\n try {\n out.println(\"HitCount: \" + ++hitCount + \"
    \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n asyncContext.complete();\n }\n}" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "submit(java.lang.Runnable)", "is_public": true, @@ -105563,6 +109711,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HitCount: \" + ++hitCount + \"
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -105584,6 +109735,7 @@ "receiver_expr": "e", "receiver_type": "java.io.IOException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -105605,6 +109757,7 @@ "receiver_expr": "asyncContext", "receiver_type": "javax.servlet.AsyncContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "complete()", "is_public": true, @@ -105626,6 +109779,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -105647,8 +109801,9 @@ "receiver_expr": "", "receiver_type": "java.lang.Runnable", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-c4f908eb-db77-401e-9327-a9ccc5d3aa01()", + "callee_signature": "Anonymous-278569bf-4262-4f32-a6de-1d3f97e75d89()", "is_public": false, "is_protected": false, "is_private": false, @@ -105703,6 +109858,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 97, + "end_line": 101, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Tests a ManagedExecutor\";\n }", + "start_line": 102, + "end_line": 105, + "code_start_line": 103, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedExecutor.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 107, + "end_line": 112, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 114, + "end_line": 114, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 113, + "end_line": 118, + "code_start_line": 114, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingManagedExecutor.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 9, + "end_line": 115, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 20, + "end_line": 116, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 20, + "end_line": 116, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -106039,6 +110357,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setOrderProcessingMode(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", + "signature": "setOrderProcessingMode(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderProcessingMode(String orderProcessingMode)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderProcessingMode", + "annotations": [], + "modifiers": [], + "start_line": 217, + "end_line": 217, + "start_column": 38, + "end_column": 63 + } + ], + "code": "{\n this.orderProcessingMode = orderProcessingMode;\n }", + "start_line": 217, + "end_line": 219, + "code_start_line": 217, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.orderProcessingMode" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getRuntimeModeList()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "getRuntimeModeList()", @@ -106097,46 +110457,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setWebInterfaceList(String[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setWebInterfaceList(String[])", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setWebInterfaceList(String[] webInterfaceList)", - "parameters": [ - { - "type": "java.lang.String[]", - "name": "webInterfaceList", - "annotations": [], - "modifiers": [], - "start_line": 315, - "end_line": 315, - "start_column": 35, - "end_column": 59 - } - ], - "code": "{\n this.webInterfaceList = webInterfaceList;\n }", - "start_line": 315, - "end_line": 317, - "code_start_line": 315, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.webInterfaceList" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getRuntimeMode()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "getRuntimeMode()", @@ -106380,38 +110700,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderProcessingModeList(String[])": { + "setLongRun(boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setOrderProcessingModeList(String[])", + "signature": "setLongRun(boolean)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderProcessingModeList(String[] orderProcessingModeList)", + "declaration": "public void setLongRun(boolean longRun)", "parameters": [ { - "type": "java.lang.String[]", - "name": "orderProcessingModeList", + "type": "boolean", + "name": "longRun", "annotations": [], "modifiers": [], - "start_line": 299, - "end_line": 299, - "start_column": 42, - "end_column": 73 + "start_line": 283, + "end_line": 283, + "start_column": 26, + "end_column": 40 } ], - "code": "{\n this.orderProcessingModeList = orderProcessingModeList;\n }", - "start_line": 299, - "end_line": 301, - "code_start_line": 299, + "code": "{\n this.longRun = longRun;\n }", + "start_line": 283, + "end_line": 285, + "code_start_line": 283, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.orderProcessingModeList" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.longRun" ], "call_sites": [], "variable_declarations": [], @@ -106420,9 +110740,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setWebInterface(String)": { + "setWebInterface(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setWebInterface(String)", + "signature": "setWebInterface(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -106462,38 +110782,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLongRun(boolean)": { + "setRuntimeModeList(java.lang.String[])": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setLongRun(boolean)", + "signature": "setRuntimeModeList(java.lang.String[])", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setLongRun(boolean longRun)", + "declaration": "public void setRuntimeModeList(String[] runtimeModeList)", "parameters": [ { - "type": "boolean", - "name": "longRun", + "type": "java.lang.String[]", + "name": "runtimeModeList", "annotations": [], "modifiers": [], - "start_line": 283, - "end_line": 283, - "start_column": 26, - "end_column": 40 + "start_line": 295, + "end_line": 295, + "start_column": 34, + "end_column": 57 } ], - "code": "{\n this.longRun = longRun;\n }", - "start_line": 283, - "end_line": 285, - "code_start_line": 283, + "code": "{\n this.runtimeModeList = runtimeModeList;\n }", + "start_line": 295, + "end_line": 297, + "code_start_line": 295, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.longRun" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.runtimeModeList" ], "call_sites": [], "variable_declarations": [], @@ -106502,32 +110822,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setResult(String)": { + "setRuntimeMode(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setResult(String)", + "signature": "setRuntimeMode(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setResult(String result)", + "declaration": "public void setRuntimeMode(String runtimeMode)", "parameters": [ { "type": "java.lang.String", - "name": "result", + "name": "runtimeMode", "annotations": [], "modifiers": [], - "start_line": 323, - "end_line": 323, - "start_column": 25, - "end_column": 37 + "start_line": 213, + "end_line": 213, + "start_column": 30, + "end_column": 47 } ], - "code": "{\n this.result = result;\n }", - "start_line": 323, - "end_line": 325, - "code_start_line": 323, + "code": "{\n this.runtimeMode = runtimeMode;\n }", + "start_line": 213, + "end_line": 215, + "code_start_line": 213, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -106535,7 +110855,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.result" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.runtimeMode" ], "call_sites": [], "variable_declarations": [], @@ -106664,6 +110984,46 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setOrderProcessingModeList(java.lang.String[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", + "signature": "setOrderProcessingModeList(java.lang.String[])", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderProcessingModeList(String[] orderProcessingModeList)", + "parameters": [ + { + "type": "java.lang.String[]", + "name": "orderProcessingModeList", + "annotations": [], + "modifiers": [], + "start_line": 299, + "end_line": 299, + "start_column": 42, + "end_column": 73 + } + ], + "code": "{\n this.orderProcessingModeList = orderProcessingModeList;\n }", + "start_line": 299, + "end_line": 301, + "code_start_line": 299, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.orderProcessingModeList" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getWebInterface()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "getWebInterface()", @@ -106730,6 +111090,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -106753,6 +111116,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "resetTrade(boolean)", "is_public": true, @@ -106777,6 +111143,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean" ], + "argument_expr": [ + "\"runStatsData\"", + "runStatsData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -106801,6 +111171,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.util.TradeConfig" ], + "argument_expr": [ + "\"tradeConfig\"", + "currentConfig" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -106825,6 +111199,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"result\"", + "result" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -106849,6 +111227,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "result" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -106870,6 +111252,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "RunStatsDataBean()", "is_public": false, @@ -106891,6 +111274,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "callee_signature": "TradeConfig()", "is_public": false, @@ -107027,6 +111411,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -107048,6 +111433,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -107071,6 +111457,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderProcessingModeList[i]" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -107094,6 +111483,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "setOrderProcessingMode(int)", "is_public": true, @@ -107120,6 +111512,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigJSF.updateConfig(..): minor exception caught\"", + "\"trying to set orderProcessing to \" + orderProcessingModeStr", + "\"reverting to current value\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -107141,6 +111539,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingModeNames()", "is_public": true, @@ -107162,6 +111561,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -107185,6 +111585,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "webInterfaceList[i]" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -107208,6 +111611,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "setWebInterface(int)", "is_public": true, @@ -107234,6 +111640,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigJSF.updateConfig(..): minor exception caught\"", + "\"trying to set WebInterface to \" + webInterfaceStr", + "\"reverting to current value\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -107255,6 +111667,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterfaceNames()", "is_public": true, @@ -107276,6 +111689,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterface()", "is_public": true, @@ -107299,6 +111713,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "maxUsers" + ], "return_type": "", "callee_signature": "setMAX_USERS(int)", "is_public": true, @@ -107322,6 +111739,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "maxQuotes" + ], "return_type": "", "callee_signature": "setMAX_QUOTES(int)", "is_public": true, @@ -107343,6 +111763,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -107364,6 +111785,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -107387,6 +111809,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "marketSummaryInterval" + ], "return_type": "", "callee_signature": "setMarketSummaryInterval(int)", "is_public": true, @@ -107408,6 +111833,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMarketSummaryInterval()", "is_public": true, @@ -107431,6 +111857,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "primIterations" + ], "return_type": "", "callee_signature": "setPrimIterations(int)", "is_public": true, @@ -107452,6 +111881,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -107475,6 +111905,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "publishQuotePriceChange" + ], "return_type": "", "callee_signature": "setPublishQuotePriceChange(boolean)", "is_public": true, @@ -107496,6 +111929,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPublishQuotePriceChange()", "is_public": true, @@ -107519,6 +111953,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "listQuotePriceChangeFrequency" + ], "return_type": "", "callee_signature": "setListQuotePriceChangeFrequency(int)", "is_public": true, @@ -107540,6 +111977,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getListQuotePriceChangeFrequency()", "is_public": true, @@ -107563,6 +112001,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "longRun" + ], "return_type": "", "callee_signature": "setLongRun(boolean)", "is_public": true, @@ -107584,6 +112025,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLongRun()", "is_public": true, @@ -107607,6 +112049,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "displayOrderAlerts" + ], "return_type": "", "callee_signature": "setDisplayOrderAlerts(boolean)", "is_public": true, @@ -107628,6 +112073,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getDisplayOrderAlerts()", "is_public": true, @@ -107651,6 +112097,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "currentConfigStr" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -107674,6 +112123,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DayTrader Configuration Updated\"" + ], "return_type": "", "callee_signature": "setResult(java.lang.String)", "is_public": true, @@ -107782,6 +112234,46 @@ "cyclomatic_complexity": 9, "is_entrypoint": false }, + "setWebInterfaceList(java.lang.String[])": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", + "signature": "setWebInterfaceList(java.lang.String[])", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setWebInterfaceList(String[] webInterfaceList)", + "parameters": [ + { + "type": "java.lang.String[]", + "name": "webInterfaceList", + "annotations": [], + "modifiers": [], + "start_line": 315, + "end_line": 315, + "start_column": 35, + "end_column": 59 + } + ], + "code": "{\n this.webInterfaceList = webInterfaceList;\n }", + "start_line": 315, + "end_line": 317, + "code_start_line": 315, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.webInterfaceList" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "setPublishQuotePriceChange(boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "setPublishQuotePriceChange(boolean)", @@ -107891,46 +112383,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setRuntimeModeList(String[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setRuntimeModeList(String[])", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setRuntimeModeList(String[] runtimeModeList)", - "parameters": [ - { - "type": "java.lang.String[]", - "name": "runtimeModeList", - "annotations": [], - "modifiers": [], - "start_line": 295, - "end_line": 295, - "start_column": 34, - "end_column": 57 - } - ], - "code": "{\n this.runtimeModeList = runtimeModeList;\n }", - "start_line": 295, - "end_line": 297, - "code_start_line": 295, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.runtimeModeList" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "isDisplayOrderAlerts()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "isDisplayOrderAlerts()", @@ -107989,48 +112441,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setRuntimeMode(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setRuntimeMode(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setRuntimeMode(String runtimeMode)", - "parameters": [ - { - "type": "java.lang.String", - "name": "runtimeMode", - "annotations": [], - "modifiers": [], - "start_line": 213, - "end_line": 213, - "start_column": 30, - "end_column": 47 - } - ], - "code": "{\n this.runtimeMode = runtimeMode;\n }", - "start_line": 213, - "end_line": 215, - "code_start_line": 213, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.runtimeMode" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "setmaxQuotes(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", "signature": "setmaxQuotes(int)", @@ -108107,6 +112517,10 @@ "java.io.PrintWriter", "" ], + "argument_expr": [ + "new java.io.PrintWriter(System.out)", + "null" + ], "return_type": "", "callee_signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", "is_public": true, @@ -108128,6 +112542,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -108149,6 +112564,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -108170,6 +112586,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -108193,6 +112610,9 @@ "argument_types": [ "java.io.PrintStream" ], + "argument_expr": [ + "System.out" + ], "return_type": "java.io.PrintWriter", "callee_signature": "PrintWriter(java.io.OutputStream)", "is_public": false, @@ -108299,6 +112719,7 @@ "receiver_expr": "dbUtils", "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "checkDBProductName()", "is_public": true, @@ -108323,6 +112744,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to check DB Product name\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -108346,6 +112771,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DB2/\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -108369,6 +112797,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Apache Derby\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -108392,6 +112823,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Oracle\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -108416,6 +112850,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to locate DDL file for the specified database\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -108440,6 +112878,10 @@ "java.io.PrintWriter", "java.io.InputStream" ], + "argument_expr": [ + "new java.io.PrintWriter(System.out)", + "context.getResourceAsStream(ddlFile)" + ], "return_type": "", "callee_signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", "is_public": true, @@ -108463,6 +112905,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "ddlFile" + ], "return_type": "java.io.InputStream", "callee_signature": "getResourceAsStream(java.lang.String)", "is_public": true, @@ -108484,6 +112929,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -108507,6 +112953,9 @@ "argument_types": [ "java.io.PrintStream" ], + "argument_expr": [ + "System.out" + ], "return_type": "java.io.PrintWriter", "callee_signature": "PrintWriter(java.io.OutputStream)", "is_public": false, @@ -108564,32 +113013,32 @@ "cyclomatic_complexity": 8, "is_entrypoint": false }, - "setOrderProcessingMode(String)": { + "setResult(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeConfigJSF.java", - "signature": "setOrderProcessingMode(String)", + "signature": "setResult(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderProcessingMode(String orderProcessingMode)", + "declaration": "public void setResult(String result)", "parameters": [ { "type": "java.lang.String", - "name": "orderProcessingMode", + "name": "result", "annotations": [], "modifiers": [], - "start_line": 217, - "end_line": 217, - "start_column": 38, - "end_column": 63 + "start_line": 323, + "end_line": 323, + "start_column": 25, + "end_column": 37 } ], - "code": "{\n this.orderProcessingMode = orderProcessingMode;\n }", - "start_line": 217, - "end_line": 219, - "code_start_line": 217, + "code": "{\n this.result = result;\n }", + "start_line": 323, + "end_line": 325, + "code_start_line": 323, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -108597,7 +113046,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.orderProcessingMode" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeConfigJSF.result" ], "call_sites": [], "variable_declarations": [], @@ -109402,6 +113851,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getTotalTime()", "is_public": true, @@ -109423,6 +113873,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -109866,9 +114317,95 @@ "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener" ], "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "protected" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "protected void doGet(final HttpServletRequest req, final HttpServletResponse res) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 40, + "end_line": 40, + "start_column": 24, + "end_column": 51 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "res", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 40, + "end_line": 40, + "start_column": 54, + "end_column": 82 + } + ], + "code": "{\n doPost(req,res);\n }", + "start_line": 39, + "end_line": 42, + "code_start_line": 40, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "doPost", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "res" + ], + "return_type": "", + "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": false, + "is_protected": true, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 41, + "start_column": 5, + "end_line": 41, + "end_column": 19 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -109925,6 +114462,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet:doPost\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -109948,6 +114488,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "req.getHeader(\"Upgrade\")" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -109971,6 +114514,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Upgrade\"" + ], "return_type": "java.lang.String", "callee_signature": "getHeader(java.lang.String)", "is_public": true, @@ -109994,6 +114540,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet:doPost -- found echo, doing upgrade\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -110017,6 +114566,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "101" + ], "return_type": "", "callee_signature": "setStatus(int)", "is_public": true, @@ -110041,6 +114593,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"Upgrade\"", + "\"echo\"" + ], "return_type": "", "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -110065,6 +114621,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"Connection\"", + "\"Upgrade\"" + ], "return_type": "", "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -110088,8 +114648,11 @@ "argument_types": [ "java.lang.Class" ], + "argument_expr": [ + "Handler.class" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Handler", - "callee_signature": "upgrade(java.lang.Class)", + "callee_signature": "upgrade(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -110111,6 +114674,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet:doPost -- did not find echo, no upgrade\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -110134,6 +114700,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"No upgrade: \" + req.getHeader(\"Upgrade\")" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -110155,6 +114724,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -110178,6 +114748,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Upgrade\"" + ], "return_type": "java.lang.String", "callee_signature": "getHeader(java.lang.String)", "is_public": true, @@ -110199,88 +114772,6 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true - }, - "doGet(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "protected" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" - ], - "declaration": "protected void doGet(final HttpServletRequest req, final HttpServletResponse res) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 40, - "end_line": 40, - "start_column": 24, - "end_column": 51 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 40, - "end_line": 40, - "start_column": 54, - "end_column": 82 - } - ], - "code": "{\n doPost(req,res);\n }", - "start_line": 39, - "end_line": 42, - "code_start_line": 40, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "doPost", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "is_public": false, - "is_protected": true, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 41, - "start_column": 5, - "end_line": 41, - "end_column": 19 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true } }, "field_declarations": [ @@ -110335,6 +114826,101 @@ "parent_type": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet", "nested_type_declarations": [], "callable_declarations": { + "(javax.servlet.http.WebConnection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", + "signature": "(javax.servlet.http.WebConnection)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.io.IOException" + ], + "declaration": "private Listener(final WebConnection connection) throws IOException", + "parameters": [ + { + "type": "javax.servlet.http.WebConnection", + "name": "connection", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 111, + "end_line": 111, + "start_column": 22, + "end_column": 51 + } + ], + "code": "{\n this.connection = connection;\n this.input = connection.getInputStream();\n this.output = connection.getOutputStream();\n }", + "start_line": 111, + "end_line": 115, + "code_start_line": 111, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [ + "javax.servlet.http.WebConnection", + "javax.servlet.ServletOutputStream", + "javax.servlet.ServletInputStream" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.connection", + "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.input", + "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.output" + ], + "call_sites": [ + { + "method_name": "getInputStream", + "comment": null, + "receiver_expr": "connection", + "receiver_type": "javax.servlet.http.WebConnection", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletInputStream", + "callee_signature": "getInputStream()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 20, + "end_line": 113, + "end_column": 46 + }, + { + "method_name": "getOutputStream", + "comment": null, + "receiver_expr": "connection", + "receiver_type": "javax.servlet.http.WebConnection", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletOutputStream", + "callee_signature": "getOutputStream()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 21, + "end_line": 114, + "end_column": 48 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "onAllDataRead()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "signature": "onAllDataRead()", @@ -110366,6 +114952,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "closeConnection()", "is_public": false, @@ -110388,6 +114975,71 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "onError(java.lang.Throwable)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", + "signature": "onError(java.lang.Throwable)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onError(final Throwable t)", + "parameters": [ + { + "type": "java.lang.Throwable", + "name": "t", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 153, + "end_line": 153, + "start_column": 25, + "end_column": 41 + } + ], + "code": "{\n closeConnection();\n }", + "start_line": 152, + "end_line": 155, + "code_start_line": 153, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "closeConnection", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "closeConnection()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 7, + "end_line": 154, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "onDataAvailable()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", "signature": "onDataAvailable()", @@ -110426,6 +115078,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet$Listener.onDataAvailable() called\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -110447,6 +115102,7 @@ "receiver_expr": "input", "receiver_type": "javax.servlet.ServletInputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isReady()", "is_public": true, @@ -110470,6 +115126,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "data" + ], "return_type": "", "callee_signature": "read(byte[])", "is_public": true, @@ -110493,6 +115152,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet$Listener.onDataAvailable() -- Adding data to queue -->\" + dataRead + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -110516,6 +115178,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dataRead" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -110537,6 +115202,7 @@ "receiver_expr": "output", "receiver_type": "javax.servlet.ServletOutputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -110558,6 +115224,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "closeConnection()", "is_public": false, @@ -110583,6 +115250,11 @@ "", "" ], + "argument_expr": [ + "data", + "0", + "len" + ], "return_type": "java.lang.String", "callee_signature": "String(byte[], int, int)", "is_public": false, @@ -110686,6 +115358,7 @@ "receiver_expr": "connection", "receiver_type": "javax.servlet.http.WebConnection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -110709,6 +115382,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "e.toString()" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -110730,6 +115406,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -110751,163 +115428,6 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": false - }, - "onError(Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", - "signature": "onError(Throwable)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onError(final Throwable t)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "t", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 153, - "end_line": 153, - "start_column": 25, - "end_column": 41 - } - ], - "code": "{\n closeConnection();\n }", - "start_line": 152, - "end_line": 155, - "code_start_line": 153, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "closeConnection", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "closeConnection()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 7, - "end_line": 154, - "end_column": 23 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(WebConnection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", - "signature": "Listener(WebConnection)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.io.IOException" - ], - "declaration": "private Listener(final WebConnection connection) throws IOException", - "parameters": [ - { - "type": "javax.servlet.http.WebConnection", - "name": "connection", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 111, - "end_line": 111, - "start_column": 22, - "end_column": 51 - } - ], - "code": "{\n this.connection = connection;\n this.input = connection.getInputStream();\n this.output = connection.getOutputStream();\n }", - "start_line": 111, - "end_line": 115, - "code_start_line": 111, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [ - "javax.servlet.http.WebConnection", - "javax.servlet.ServletOutputStream", - "javax.servlet.ServletInputStream" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.connection", - "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.input", - "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener.output" - ], - "call_sites": [ - { - "method_name": "getInputStream", - "comment": null, - "receiver_expr": "connection", - "receiver_type": "javax.servlet.http.WebConnection", - "argument_types": [], - "return_type": "javax.servlet.ServletInputStream", - "callee_signature": "getInputStream()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 113, - "start_column": 20, - "end_line": 113, - "end_column": 46 - }, - { - "method_name": "getOutputStream", - "comment": null, - "receiver_expr": "connection", - "receiver_type": "javax.servlet.http.WebConnection", - "argument_types": [], - "return_type": "javax.servlet.ServletOutputStream", - "callee_signature": "getOutputStream()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 21, - "end_line": 114, - "end_column": 48 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -111051,6 +115571,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet$Handler.destroy() -- Destroying Handler\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -111073,9 +115596,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "init(WebConnection)": { + "init(javax.servlet.http.WebConnection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingUpgradeServlet.java", - "signature": "init(WebConnection)", + "signature": "init(javax.servlet.http.WebConnection)", "comments": [ { "content": " TODO Auto-generated catch block", @@ -111141,6 +115664,7 @@ "receiver_expr": "e1", "receiver_type": "java.io.IOException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -111164,6 +115688,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingUpgradeServlet$Handler.init() -- Initializing Handler\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -111192,6 +115719,7 @@ "receiver_expr": "wc.getOutputStream()", "receiver_type": "javax.servlet.ServletOutputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -111213,6 +115741,7 @@ "receiver_expr": "wc", "receiver_type": "javax.servlet.http.WebConnection", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -111236,6 +115765,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener" ], + "argument_expr": [ + "listener" + ], "return_type": "", "callee_signature": "setReadListener(javax.servlet.ReadListener)", "is_public": true, @@ -111257,6 +115789,7 @@ "receiver_expr": "wc", "receiver_type": "javax.servlet.http.WebConnection", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletInputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -111280,6 +115813,9 @@ "argument_types": [ "javax.servlet.http.WebConnection" ], + "argument_expr": [ + "wc" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingUpgradeServlet.Listener", "callee_signature": "Listener(javax.servlet.http.WebConnection)", "is_public": false, @@ -111303,6 +115839,9 @@ "argument_types": [ "java.io.IOException" ], + "argument_expr": [ + "e" + ], "return_type": "java.lang.IllegalArgumentException", "callee_signature": "IllegalArgumentException(java.lang.Throwable)", "is_public": false, @@ -111395,9 +115934,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "submitOrder(Integer, boolean)": { + "submitOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrderSubmitter.java", - "signature": "submitOrder(Integer, boolean)", + "signature": "submitOrder(java.lang.Integer, boolean)", "comments": [], "annotations": [], "modifiers": [ @@ -111449,6 +115988,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "", "callee_signature": "setProperties(java.lang.Integer, boolean)", "is_public": true, @@ -111472,6 +116015,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrder" ], + "argument_expr": [ + "asyncOrder" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "submit(java.lang.Runnable)", "is_public": true, @@ -112389,246 +116935,6 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * Servlet initialization method.\n ", - "start_line": 49, - "end_line": 51, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 53, - "end_line": 53, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n java.util.Enumeration en = config.getInitParameterNames();\n while (en.hasMoreElements()) {\n String parm = en.nextElement();\n String value = config.getInitParameter(parm);\n TradeConfig.setConfigParam(parm, value);\n }\n }", - "start_line": 52, - "end_line": 61, - "code_start_line": 53, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Enumeration", - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 9, - "end_line": 54, - "end_column": 26 - }, - { - "method_name": "getInitParameterNames", - "comment": null, - "receiver_expr": "config", - "receiver_type": "javax.servlet.ServletConfig", - "argument_types": [], - "return_type": "java.util.Enumeration", - "callee_signature": "getInitParameterNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 55, - "start_column": 44, - "end_line": 55, - "end_column": 73 - }, - { - "method_name": "hasMoreElements", - "comment": null, - "receiver_expr": "en", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "", - "callee_signature": "hasMoreElements()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 16, - "end_line": 56, - "end_column": 35 - }, - { - "method_name": "nextElement", - "comment": null, - "receiver_expr": "en", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "nextElement()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 57, - "start_column": 27, - "end_line": 57, - "end_column": 42 - }, - { - "method_name": "getInitParameter", - "comment": null, - "receiver_expr": "config", - "receiver_type": "javax.servlet.ServletConfig", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getInitParameter(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 28, - "end_line": 58, - "end_column": 56 - }, - { - "method_name": "setConfigParam", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setConfigParam(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 59, - "start_column": 13, - "end_line": 59, - "end_column": 51 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "en", - "type": "java.util.Enumeration", - "initializer": "config.getInitParameterNames()", - "start_line": 55, - "start_column": 39, - "end_line": 55, - "end_column": 73 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "parm", - "type": "java.lang.String", - "initializer": "en.nextElement()", - "start_line": 57, - "start_column": 20, - "end_line": 57, - "end_column": 42 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "value", - "type": "java.lang.String", - "initializer": "config.getInitParameter(parm)", - "start_line": 58, - "start_column": 20, - "end_line": 58, - "end_column": 56 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", @@ -112694,6 +117000,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "request", + "response" + ], "return_type": "", "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -112781,6 +117091,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "request", + "response" + ], "return_type": "", "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -112841,9 +117155,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performTask(HttpServletRequest, HttpServletResponse)": { + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " String to create full dispatch path to TradeAppServlet w/ request", @@ -113231,6 +117545,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -113254,6 +117571,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -113275,6 +117595,7 @@ "receiver_expr": "scenarioAction", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -113298,6 +117619,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0" + ], "return_type": "", "callee_signature": "charAt(int)", "is_public": true, @@ -113319,6 +117643,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -113342,6 +117667,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeScenarioServletHello\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -113363,6 +117691,7 @@ "receiver_expr": "out", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -113387,6 +117716,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"trade_client.TradeScenarioServlet.service(...)\" + \"error creating printwriter from responce.getOutputStream\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -113411,6 +117744,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"trade_client.TradeScenarioServlet.service(...): erorr creating and writing to PrintStream created from response.getOutputStream()\"" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -113432,6 +117769,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -113453,6 +117791,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -113476,6 +117815,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -113499,6 +117841,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -113523,6 +117868,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"trade_client.TradeScenarioServlet.service(...): performing \" + scenarioAction + \"error getting ServletContext,HttpSession, or UserID from session\" + \"will make scenarioAction a login and try to recover from there\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -113544,6 +117893,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "incrementScenarioCount()", "is_public": true, @@ -113567,6 +117917,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "userID.startsWith(TradeConfig.newUserPrefix)" + ], "return_type": "", "callee_signature": "getScenarioAction(boolean)", "is_public": true, @@ -113590,6 +117943,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.newUserPrefix" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -113611,6 +117967,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbols()", "is_public": true, @@ -113635,6 +117992,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113658,6 +118019,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113682,6 +118046,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113705,6 +118073,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113729,6 +118100,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113752,6 +118127,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113773,6 +118151,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -113797,6 +118176,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113820,6 +118203,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113844,6 +118230,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113867,6 +118257,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113888,6 +118281,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getUserID()", "is_public": true, @@ -113912,6 +118306,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -113935,6 +118333,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -113958,6 +118359,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.Object", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -113981,6 +118385,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeScenario login failed. Reset DB between runs\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -114005,6 +118412,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114028,6 +118439,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114052,6 +118466,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114075,6 +118493,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114106,6 +118527,10 @@ "java.lang.String", "java.lang.Boolean" ], + "argument_expr": [ + "\"TSS-RecreateSessionInLogout\"", + "Boolean.TRUE" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -114130,6 +118555,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114153,6 +118582,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114174,6 +118606,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndNewUserID()", "is_public": true, @@ -114195,6 +118628,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndFullName()", "is_public": true, @@ -114216,6 +118650,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndCreditCard()", "is_public": true, @@ -114237,6 +118672,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndBalance()", "is_public": true, @@ -114260,6 +118696,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.lang.String", "callee_signature": "rndEmail(java.lang.String)", "is_public": true, @@ -114281,6 +118720,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndAddress()", "is_public": true, @@ -114305,6 +118745,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114328,6 +118772,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114352,6 +118799,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114375,6 +118826,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114398,6 +118852,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"holdingDataBeans\"" + ], "return_type": "java.util.Collection", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -114419,6 +118876,7 @@ "receiver_expr": "holdings", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -114440,6 +118898,7 @@ "receiver_expr": "holdings", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -114461,6 +118920,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -114482,6 +118942,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "next()", "is_public": true, @@ -114505,6 +118966,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "new java.util.Date(0)" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -114526,6 +118990,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getPurchaseDate()", "is_public": true, @@ -114547,6 +119012,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getHoldingID()", "is_public": true, @@ -114571,6 +119037,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114594,6 +119064,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114617,6 +119090,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeScenario: No holding to sell -switch to buy -- userID = \" + userID + \" Collection count = \" + numHoldings" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -114640,6 +119116,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.newUserPrefix" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -114661,6 +119140,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "incrementSellDeficit()", "is_public": true, @@ -114682,6 +119162,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -114703,6 +119184,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndQuantity()", "is_public": true, @@ -114727,6 +119209,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114750,6 +119236,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114774,6 +119263,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -114797,6 +119290,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "dispPath" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -114820,6 +119316,9 @@ "argument_types": [ "javax.servlet.ServletOutputStream" ], + "argument_expr": [ + "resp.getOutputStream()" + ], "return_type": "java.io.PrintWriter", "callee_signature": "PrintWriter(java.io.OutputStream)", "is_public": false, @@ -114843,6 +119342,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "0" + ], "return_type": "java.util.Date", "callee_signature": "Date(long)", "is_public": false, @@ -115273,6 +119775,259 @@ "crud_queries": [], "cyclomatic_complexity": 56, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeScenarioServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * Servlet initialization method.\n ", + "start_line": 49, + "end_line": 51, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 53, + "end_line": 53, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n java.util.Enumeration en = config.getInitParameterNames();\n while (en.hasMoreElements()) {\n String parm = en.nextElement();\n String value = config.getInitParameter(parm);\n TradeConfig.setConfigParam(parm, value);\n }\n }", + "start_line": 52, + "end_line": 61, + "code_start_line": 53, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Enumeration", + "java.lang.String" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 9, + "end_line": 54, + "end_column": 26 + }, + { + "method_name": "getInitParameterNames", + "comment": null, + "receiver_expr": "config", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Enumeration", + "callee_signature": "getInitParameterNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 55, + "start_column": 44, + "end_line": 55, + "end_column": 73 + }, + { + "method_name": "hasMoreElements", + "comment": null, + "receiver_expr": "en", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasMoreElements()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 56, + "start_column": 16, + "end_line": 56, + "end_column": 35 + }, + { + "method_name": "nextElement", + "comment": null, + "receiver_expr": "en", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "nextElement()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 57, + "start_column": 27, + "end_line": 57, + "end_column": 42 + }, + { + "method_name": "getInitParameter", + "comment": null, + "receiver_expr": "config", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "parm" + ], + "return_type": "java.lang.String", + "callee_signature": "getInitParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 28, + "end_line": 58, + "end_column": 56 + }, + { + "method_name": "setConfigParam", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "parm", + "value" + ], + "return_type": "", + "callee_signature": "setConfigParam(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 59, + "start_column": 13, + "end_line": 59, + "end_column": 51 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "en", + "type": "java.util.Enumeration", + "initializer": "config.getInitParameterNames()", + "start_line": 55, + "start_column": 39, + "end_line": 55, + "end_column": 73 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "parm", + "type": "java.lang.String", + "initializer": "en.nextElement()", + "start_line": 57, + "start_column": 20, + "end_line": 57, + "end_column": 42 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "value", + "type": "java.lang.String", + "initializer": "config.getInitParameter(parm)", + "start_line": 58, + "start_column": 20, + "end_line": 58, + "end_column": 56 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false } }, "field_declarations": [ @@ -115445,107 +120200,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 93, - "end_line": 98, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n\n\n }", - "start_line": 99, - "end_line": 105, - "code_start_line": 100, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 5, - "end_line": 101, - "end_column": 22 - }, - { - "method_name": "now", - "comment": null, - "receiver_expr": "LocalDateTime", - "receiver_type": "java.time.LocalDateTime", - "argument_types": [], - "return_type": "java.time.LocalDateTime", - "callee_signature": "now()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 16, - "end_line": 102, - "end_column": 34 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -115608,6 +120265,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -115630,47 +120291,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 83, - "end_line": 87, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 88, - "end_line": 91, - "code_start_line": 89, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -115738,6 +120361,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -115759,6 +120385,7 @@ "receiver_expr": "simpleBean2", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "checkInjectionValidation()", "is_public": true, @@ -115780,6 +120407,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -115803,6 +120431,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet Bean Validation Simple\" + \"

    Ping Servlet Bean Validation Simple
    Init time : \" + initTime + \"

    Hit Count: \" + currentHitCount + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -115827,6 +120458,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -115851,6 +120486,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -115872,6 +120511,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -115893,6 +120533,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean2", "callee_signature": "SimpleBean2()", "is_public": false, @@ -115966,6 +120607,146 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 83, + "end_line": 87, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 88, + "end_line": 91, + "code_start_line": 89, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple2.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 93, + "end_line": 98, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n\n\n }", + "start_line": 99, + "end_line": 105, + "code_start_line": 100, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple2.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 5, + "end_line": 101, + "end_column": 22 + }, + { + "method_name": "now", + "comment": null, + "receiver_expr": "LocalDateTime", + "receiver_type": "java.time.LocalDateTime", + "argument_types": [], + "argument_expr": [], + "return_type": "java.time.LocalDateTime", + "callee_signature": "now()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 16, + "end_line": 102, + "end_column": 34 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -116230,92 +121011,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": " hitCount = 0;", - "start_line": 103, - "end_line": 103, - "start_column": 9, - "end_column": 24, - "is_javadoc": false - }, - { - "content": " initTime = new java.util.Date().toString();", - "start_line": 104, - "end_line": 104, - "start_column": 9, - "end_column": 54, - "is_javadoc": false - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n }", - "start_line": 100, - "end_line": 105, - "code_start_line": 101, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 9, - "end_line": 102, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -116369,6 +121067,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -116391,38 +121093,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB to JSP path\";\n\n }", - "start_line": 94, - "end_line": 98, - "code_start_line": 95, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " req.setAttribute(\"hitCount\", hitCount);", @@ -116520,6 +121193,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -116541,6 +121215,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -116562,6 +121237,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -116583,6 +121259,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -116606,6 +121283,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -116630,6 +121310,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "\"quoteData\"", + "quoteData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -116654,6 +121338,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -116677,6 +121365,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/quoteDataPrimitive.jsp\"" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -116701,6 +121392,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ne", + "\"PingServlet2Session2Entity2JSP.goGet(...): exception getting QuoteData through Trade\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -116725,6 +121420,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session2Entity2JSP.doGet(...): General Exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -116749,6 +121448,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"General Exception caught, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -116770,6 +121473,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -116877,6 +121581,121 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB to JSP path\";\n\n }", + "start_line": 94, + "end_line": 98, + "code_start_line": 95, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity2JSP.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": " hitCount = 0;", + "start_line": 103, + "end_line": 103, + "start_column": 9, + "end_column": 24, + "is_javadoc": false + }, + { + "content": " initTime = new java.util.Date().toString();", + "start_line": 104, + "end_line": 104, + "start_column": 9, + "end_column": 54, + "is_javadoc": false + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 101, + "end_line": 101, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n // hitCount = 0;\n // initTime = new java.util.Date().toString();\n }", + "start_line": 100, + "end_line": 105, + "code_start_line": 101, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 9, + "end_line": 102, + "end_column": 26 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -117415,6 +122234,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -117443,6 +122263,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -117466,6 +122287,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndFloat(int)", "is_public": true, @@ -117489,6 +122313,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -117512,6 +122339,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -117535,6 +122365,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -117558,6 +122391,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -117581,6 +122417,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndFloat(int)", "is_public": true, @@ -117611,6 +122450,16 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "// symbol\nTradeConfig.rndSymbol()", + "// Company Name\nTradeConfig.rndSymbol() + \" Incorporated\"", + "// volume\nTradeConfig.rndFloat(100000)", + "// price\nTradeConfig.rndBigDecimal(1000.0f)", + "// open1\nTradeConfig.rndBigDecimal(1000.0f)", + "// low\nTradeConfig.rndBigDecimal(1000.0f)", + "// high\nTradeConfig.rndBigDecimal(1000.0f)", + "// volume\nTradeConfig.rndFloat(100000)" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", "is_public": false, @@ -117633,9 +122482,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSymbol(String)": { + "setSymbol(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setSymbol(String)", + "signature": "setSymbol(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -117675,48 +122524,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHigh(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setHigh(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHigh(BigDecimal high)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "high", - "annotations": [], - "modifiers": [], - "start_line": 174, - "end_line": 174, - "start_column": 25, - "end_column": 39 - } - ], - "code": "{\n this.high = high;\n }", - "start_line": 174, - "end_line": 176, - "code_start_line": 174, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.high" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getCompanyName()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "signature": "getCompanyName()", @@ -117779,6 +122586,7 @@ "receiver_expr": "this.symbol", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hashCode()", "is_public": true, @@ -117859,70 +122667,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "QuoteDataBean(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteDataBean(String symbol)", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 26, - "end_column": 38 - } - ], - "code": "{\n setSymbol(symbol);\n }", - "start_line": 109, - "end_line": 111, - "code_start_line": 109, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.symbol" - ], - "call_sites": [ - { - "method_name": "setSymbol", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setSymbol(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 9, - "end_line": 110, - "end_column": 25 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getPrice()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "signature": "getPrice()", @@ -117981,6 +122725,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "this.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -118002,6 +122749,7 @@ "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -118024,41 +122772,26 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpen(BigDecimal)": { + "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setOpen(BigDecimal)", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOpen(BigDecimal open)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "open", - "annotations": [], - "modifiers": [], - "start_line": 158, - "end_line": 158, - "start_column": 25, - "end_column": 39 - } - ], - "code": "{\n this.open1 = open;\n }", - "start_line": 158, - "end_line": 160, - "code_start_line": 158, - "return_type": "void", + "declaration": "public QuoteDataBean()", + "parameters": [], + "code": "{\n }", + "start_line": 82, + "end_line": 83, + "code_start_line": 82, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.open1" - ], + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], "call_sites": [], "variable_declarations": [], "crud_operations": [], @@ -118066,26 +122799,41 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { + "setCompanyName(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "QuoteDataBean()", + "signature": "setCompanyName(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public QuoteDataBean()", - "parameters": [], - "code": "{\n }", - "start_line": 82, - "end_line": 83, - "code_start_line": 82, - "return_type": null, + "declaration": "public void setCompanyName(String companyName)", + "parameters": [ + { + "type": "java.lang.String", + "name": "companyName", + "annotations": [], + "modifiers": [], + "start_line": 142, + "end_line": 142, + "start_column": 32, + "end_column": 49 + } + ], + "code": "{\n this.companyName = companyName;\n }", + "start_line": 142, + "end_line": 144, + "code_start_line": 142, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.companyName" + ], "call_sites": [], "variable_declarations": [], "crud_operations": [], @@ -118160,6 +122908,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -118181,6 +122930,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCompanyName()", "is_public": true, @@ -118202,6 +122952,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -118223,6 +122974,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -118244,6 +122996,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -118265,6 +123018,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getLow()", "is_public": true, @@ -118286,6 +123040,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getHigh()", "is_public": true, @@ -118307,6 +123062,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -118358,6 +123114,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setHigh(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "signature": "setHigh(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setHigh(BigDecimal high)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "high", + "annotations": [], + "modifiers": [], + "start_line": 174, + "end_line": 174, + "start_column": 25, + "end_column": 39 + } + ], + "code": "{\n this.high = high;\n }", + "start_line": 174, + "end_line": 176, + "code_start_line": 174, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.high" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getLow()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "signature": "getLow()", @@ -118445,135 +123243,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPrice(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setPrice(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPrice(BigDecimal price)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 150, - "end_line": 150, - "start_column": 26, - "end_column": 41 - } - ], - "code": "{\n this.price = price;\n }", - "start_line": 150, - "end_line": 152, - "code_start_line": 150, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.price" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "equals(Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "equals(Object)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean equals(Object object)", - "parameters": [ - { - "type": "java.lang.Object", - "name": "object", - "annotations": [], - "modifiers": [], - "start_line": 202, - "end_line": 202, - "start_column": 27, - "end_column": 39 - } - ], - "code": "{\n \n if (!(object instanceof QuoteDataBean)) {\n return false;\n }\n QuoteDataBean other = (QuoteDataBean) object;\n if (this.symbol != other.symbol && (this.symbol == null || !this.symbol.equals(other.symbol))) {\n return false;\n }\n return true;\n }", - "start_line": 201, - "end_line": 212, - "code_start_line": 202, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.symbol" - ], - "call_sites": [ - { - "method_name": "equals", - "comment": null, - "receiver_expr": "this.symbol", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 208, - "start_column": 69, - "end_line": 208, - "end_column": 100 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "other", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "(QuoteDataBean) object", - "start_line": 207, - "start_column": 23, - "end_line": 207, - "end_column": 52 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, "getSymbol()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", "signature": "getSymbol()", @@ -118632,6 +123301,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -118653,6 +123323,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCompanyName()", "is_public": true, @@ -118674,6 +123345,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -118695,6 +123367,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -118716,6 +123389,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -118737,6 +123411,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getLow()", "is_public": true, @@ -118758,6 +123433,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getHigh()", "is_public": true, @@ -118779,6 +123455,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -118801,9 +123478,93 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLow(BigDecimal)": { + "setPrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setLow(BigDecimal)", + "signature": "setPrice(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPrice(BigDecimal price)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 150, + "end_line": 150, + "start_column": 26, + "end_column": 41 + } + ], + "code": "{\n this.price = price;\n }", + "start_line": 150, + "end_line": 152, + "code_start_line": 150, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.price" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOpen(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "signature": "setOpen(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOpen(BigDecimal open)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "open", + "annotations": [], + "modifiers": [], + "start_line": 158, + "end_line": 158, + "start_column": 25, + "end_column": 39 + } + ], + "code": "{\n this.open1 = open;\n }", + "start_line": 158, + "end_line": 160, + "code_start_line": 158, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.open1" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setLow(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "signature": "setLow(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -118843,9 +123604,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)": { + "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "QuoteDataBean(String, String, double, BigDecimal, BigDecimal, BigDecimal, BigDecimal, double)", + "signature": "(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", "comments": [], "annotations": [], "modifiers": [ @@ -118960,6 +123721,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "", "callee_signature": "setSymbol(java.lang.String)", "is_public": true, @@ -118983,6 +123747,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "companyName" + ], "return_type": "", "callee_signature": "setCompanyName(java.lang.String)", "is_public": true, @@ -119006,6 +123773,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "volume" + ], "return_type": "", "callee_signature": "setVolume(double)", "is_public": true, @@ -119029,6 +123799,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "price" + ], "return_type": "", "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, @@ -119052,6 +123825,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "open" + ], "return_type": "", "callee_signature": "setOpen(java.math.BigDecimal)", "is_public": true, @@ -119075,6 +123851,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "low" + ], "return_type": "", "callee_signature": "setLow(java.math.BigDecimal)", "is_public": true, @@ -119098,6 +123877,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "high" + ], "return_type": "", "callee_signature": "setHigh(java.math.BigDecimal)", "is_public": true, @@ -119121,6 +123903,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "change" + ], "return_type": "", "callee_signature": "setChange(double)", "is_public": true, @@ -119143,75 +123928,190 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCompanyName(String)": { + "getVolume()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "setCompanyName(String)", + "signature": "getVolume()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCompanyName(String companyName)", + "declaration": "public double getVolume()", + "parameters": [], + "code": "{\n return volume;\n }", + "start_line": 186, + "end_line": 188, + "code_start_line": 186, + "return_type": "double", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.volume" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", + "signature": "(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteDataBean(String symbol)", "parameters": [ { "type": "java.lang.String", - "name": "companyName", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 142, - "end_line": 142, - "start_column": 32, - "end_column": 49 + "start_line": 109, + "end_line": 109, + "start_column": 26, + "end_column": 38 } ], - "code": "{\n this.companyName = companyName;\n }", - "start_line": 142, - "end_line": 144, - "code_start_line": 142, - "return_type": "void", + "code": "{\n setSymbol(symbol);\n }", + "start_line": 109, + "end_line": 111, + "code_start_line": 109, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.companyName" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.symbol" + ], + "call_sites": [ + { + "method_name": "setSymbol", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "symbol" + ], + "return_type": "", + "callee_signature": "setSymbol(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 9, + "end_line": 110, + "end_column": 25 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getVolume()": { + "equals(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/QuoteDataBean.java", - "signature": "getVolume()", + "signature": "equals(java.lang.Object)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public double getVolume()", - "parameters": [], - "code": "{\n return volume;\n }", - "start_line": 186, - "end_line": 188, - "code_start_line": 186, - "return_type": "double", + "declaration": "public boolean equals(Object object)", + "parameters": [ + { + "type": "java.lang.Object", + "name": "object", + "annotations": [], + "modifiers": [], + "start_line": 202, + "end_line": 202, + "start_column": 27, + "end_column": 39 + } + ], + "code": "{\n \n if (!(object instanceof QuoteDataBean)) {\n return false;\n }\n QuoteDataBean other = (QuoteDataBean) object;\n if (this.symbol != other.symbol && (this.symbol == null || !this.symbol.equals(other.symbol))) {\n return false;\n }\n return true;\n }", + "start_line": 201, + "end_line": 212, + "code_start_line": 202, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.volume" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean.symbol" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.symbol", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "other.symbol" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 208, + "start_column": 69, + "end_line": 208, + "end_column": 100 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "other", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "(QuoteDataBean) object", + "start_line": 207, + "start_column": 23, + "end_line": 207, + "end_column": 52 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false } }, @@ -119515,120 +124415,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 68, - "end_line": 68, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 67, - "end_line": 72, - "code_start_line": 68, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 5, - "end_line": 69, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 16, - "end_line": 70, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 16, - "end_line": 70, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "System.out.println(\"Sending hit count: \" + hitCount);", @@ -119694,6 +124483,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "newPushBuilder()", "is_public": true, @@ -119715,6 +124505,7 @@ "receiver_expr": "pushBuilder.path(\"images/graph.gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -119738,6 +124529,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/graph.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -119761,6 +124555,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HTTP/2 not enabled or Push not supported\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -119782,6 +124579,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -119803,6 +124601,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -119833,6 +124632,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet HTTP/2\" + \"

    Ping Servlet HTTP/2
    Init time : \" + initTime + \"

    Hit Count: \" + hitCount + \"
    \" + \"\" + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -119889,6 +124691,122 @@ "crud_queries": [], "cyclomatic_complexity": 7, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletPush.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 68, + "end_line": 68, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 67, + "end_line": 72, + "code_start_line": 68, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletPush.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 5, + "end_line": 69, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 16, + "end_line": 70, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 16, + "end_line": 70, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -120088,129 +125006,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 97, - "end_line": 102, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 104, - "end_line": 104, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 103, - "end_line": 108, - "code_start_line": 104, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 9, - "end_line": 105, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 20, - "end_line": 107, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 107, - "start_column": 20, - "end_line": 107, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -120273,6 +125071,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -120295,47 +125097,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 87, - "end_line": 91, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JNDI look up of a JDBC DataSource\";\n }", - "start_line": 92, - "end_line": 95, - "code_start_line": 93, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -120403,6 +125167,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -120424,6 +125191,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -120447,6 +125215,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JNDI -- lookup of JDBC DataSource\" + \"
    Ping JNDI -- lookup of JDBC DataSource
    Init time : \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -120470,6 +125241,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -120493,6 +125267,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -120516,6 +125293,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -120537,6 +125317,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -120561,6 +125342,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2JNDI -- error look up of a JDBC DataSource\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -120585,6 +125370,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2JNDI Exception caught: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -120606,6 +125395,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -120629,6 +125419,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -120685,6 +125478,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 87, + "end_line": 91, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JNDI look up of a JDBC DataSource\";\n }", + "start_line": 92, + "end_line": 95, + "code_start_line": 93, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2JNDI.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 97, + "end_line": 102, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 104, + "end_line": 104, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 103, + "end_line": 108, + "code_start_line": 104, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2JNDI.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 9, + "end_line": 105, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 20, + "end_line": 107, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 107, + "start_column": 20, + "end_line": 107, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -120883,6 +125839,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -120906,6 +125865,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -120927,6 +125889,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLongRun()", "is_public": true, @@ -120950,6 +125913,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.ArrayList", "callee_signature": "getOrders(java.lang.String)", "is_public": false, @@ -120971,6 +125937,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -120992,6 +125959,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -121013,6 +125981,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -121034,6 +126003,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -121055,6 +126025,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -121076,6 +126047,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -121097,6 +126069,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -121118,6 +126091,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -121139,6 +126113,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -121162,6 +126137,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "((OrderDataBean) order).getPrice()" + ], "return_type": "", "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, @@ -121183,6 +126161,7 @@ "receiver_expr": "((OrderDataBean) order)", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -121206,6 +126185,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "r.getPrice().multiply(new BigDecimal(r.getQuantity()))" + ], "return_type": "", "callee_signature": "setTotal(java.math.BigDecimal)", "is_public": true, @@ -121229,6 +126211,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "new BigDecimal(r.getQuantity())" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -121250,6 +126235,7 @@ "receiver_expr": "r", "receiver_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -121271,6 +126257,7 @@ "receiver_expr": "r", "receiver_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -121294,6 +126281,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "orders" + ], "return_type": "", "callee_signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", "is_public": true, @@ -121315,6 +126305,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -121336,6 +126327,7 @@ "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList()", "is_public": false, @@ -121366,6 +126358,16 @@ "", "java.lang.String" ], + "argument_expr": [ + "((OrderDataBean) order).getOrderID()", + "((OrderDataBean) order).getOrderStatus()", + "((OrderDataBean) order).getOpenDate()", + "((OrderDataBean) order).getCompletionDate()", + "((OrderDataBean) order).getOrderFee()", + "((OrderDataBean) order).getOrderType()", + "((OrderDataBean) order).getQuantity()", + "((OrderDataBean) order).getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", "is_public": false, @@ -121389,6 +126391,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "r.getQuantity()" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -121567,6 +126572,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -121590,6 +126598,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"orderData\"" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -121613,6 +126624,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.jsf.OrderData" ], + "argument_expr": [ + "order" + ], "return_type": "", "callee_signature": "setOrderData(com.ibm.websphere.samples.daytrader.web.jsf.OrderData)", "is_public": true, @@ -121699,9 +126713,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAllOrders(OrderData[])": { + "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", - "signature": "setAllOrders(OrderData[])", + "signature": "setAllOrders(com.ibm.websphere.samples.daytrader.web.jsf.OrderData[])", "comments": [], "annotations": [], "modifiers": [ @@ -121739,9 +126753,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", - "signature": "OrderDataJSF(Instance)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], "annotations": [ "@Inject" @@ -121783,6 +126797,7 @@ "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", "receiver_type": "javax.enterprise.inject.Instance", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "callee_signature": "get()", "is_public": true, @@ -121806,8 +126821,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", + "callee_signature": "select(java.lang.annotation.Annotation[])", "is_public": true, "is_protected": false, "is_private": false, @@ -121827,6 +126845,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -121848,6 +126867,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -121871,6 +126891,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", "is_public": false, @@ -121893,9 +126916,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderData(OrderData)": { + "setOrderData(com.ibm.websphere.samples.daytrader.web.jsf.OrderData)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/OrderDataJSF.java", - "signature": "setOrderData(OrderData)", + "signature": "setOrderData(com.ibm.websphere.samples.daytrader.web.jsf.OrderData)", "comments": [], "annotations": [], "modifiers": [ @@ -122217,10 +127240,19 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", - "signature": "init(ServletConfig)", - "comments": [], + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\n * Process incoming HTTP GET requests\n *\n * @param request\n * Object that encapsulates the request to the servlet\n * @param response\n * Object that encapsulates the response from the servlet\n ", + "start_line": 53, + "end_line": 60, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], "annotations": [ "@Override" ], @@ -122228,25 +127260,36 @@ "public" ], "thrown_exceptions": [ - "javax.servlet.ServletException" + "javax.servlet.ServletException", + "java.io.IOException" ], - "declaration": "public void init(ServletConfig config) throws ServletException", + "declaration": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", "parameters": [ { - "type": "javax.servlet.ServletConfig", - "name": "config", + "type": "javax.servlet.http.HttpServletRequest", + "name": "request", "annotations": [], "modifiers": [], - "start_line": 49, - "end_line": 49, - "start_column": 22, - "end_column": 41 + "start_line": 62, + "end_line": 62, + "start_column": 23, + "end_column": 48 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "response", + "annotations": [], + "modifiers": [], + "start_line": 62, + "end_line": 62, + "start_column": 51, + "end_column": 78 } ], - "code": "{\n super.init(config);\n }", - "start_line": 48, - "end_line": 51, - "code_start_line": 49, + "code": "{\n performTask(request, response);\n }", + "start_line": 61, + "end_line": 64, + "code_start_line": 62, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -122254,15 +127297,20 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "init", + "method_name": "performTask", "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "javax.servlet.ServletConfig" + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "request", + "response" ], "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", + "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, "is_protected": false, "is_private": false, @@ -122271,21 +127319,21 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 50, + "start_line": 63, "start_column": 9, - "end_line": 50, - "end_column": 26 + "end_line": 63, + "end_column": 38 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": false + "is_entrypoint": true }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * Process incoming HTTP POST requests\n *\n * @param request\n * Object that encapsulates the request to the servlet\n * @param response\n * Object that encapsulates the response from the servlet\n ", @@ -122348,6 +127396,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "request", + "response" + ], "return_type": "", "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -122370,9 +127422,172 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "performTask(HttpServletRequest, HttpServletResponse)": { + "(javax.enterprise.inject.Instance)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", + "signature": "(javax.enterprise.inject.Instance)", + "comments": [], + "annotations": [ + "@Inject" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public TestServlet(@Any Instance services)", + "parameters": [ + { + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 24, + "end_column": 60 + } + ], + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 43, + "end_line": 46, + "code_start_line": 44, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 21, + "end_line": 45, + "end_column": 135 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 21, + "end_line": 45, + "end_column": 129 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 65, + "end_line": 45, + "end_column": 97 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 99, + "end_line": 45, + "end_column": 126 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 37, + "end_line": 45, + "end_column": 128 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n *\n * AccountDataBean accountData = new TradeAction().register(\"user1\",\n * \"password\", \"fullname\", \"address\", \"email\", \"creditCard\", new\n * BigDecimal(123.45), false);\n *\n * OrderDataBean orderData = new TradeAction().buy(\"user1\", \"s:1\",\n * 100.0); orderData = new TradeAction().buy(\"user1\", \"s:2\", 200.0);\n * Thread.sleep(5000); accountData = new\n * TradeAction().getAccountData(\"user1\"); Collection\n * holdingDataBeans = new TradeAction().getHoldings(\"user1\");\n * PrintWriter out = resp.getWriter();\n * resp.setContentType(\"text/html\");\n * out.write(\"

    \");\n * out.write(accountData.toString());\n * Log.printCollection(\"user1 Holdings\", holdingDataBeans);\n * ServletContext sc = getServletContext();\n * req.setAttribute(\"results\", \"Success\");\n * req.setAttribute(\"accountData\", accountData);\n * req.setAttribute(\"holdingDataBeans\", holdingDataBeans);\n * getServletContext\n * ().getRequestDispatcher(\"/tradehome.jsp\").include(req, resp);\n * out.write(\"

    done.\");\n ", @@ -122450,6 +127665,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Enter TestServlet doGet\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -122475,6 +127693,11 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "\"s:\" + i", + "\"Company \" + i", + "new BigDecimal(i * 1.1)" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -122499,6 +127722,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TestServletException\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -122522,6 +127749,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i * 1.1" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -122562,19 +127792,10 @@ "cyclomatic_complexity": 3, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "init(javax.servlet.ServletConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": "\n * Process incoming HTTP GET requests\n *\n * @param request\n * Object that encapsulates the request to the servlet\n * @param response\n * Object that encapsulates the response from the servlet\n ", - "start_line": 53, - "end_line": 60, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], "annotations": [ "@Override" ], @@ -122582,36 +127803,25 @@ "public" ], "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" + "javax.servlet.ServletException" ], - "declaration": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException", + "declaration": "public void init(ServletConfig config) throws ServletException", "parameters": [ { - "type": "javax.servlet.http.HttpServletRequest", - "name": "request", - "annotations": [], - "modifiers": [], - "start_line": 62, - "end_line": 62, - "start_column": 23, - "end_column": 48 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "response", + "type": "javax.servlet.ServletConfig", + "name": "config", "annotations": [], "modifiers": [], - "start_line": 62, - "end_line": 62, - "start_column": 51, - "end_column": 78 + "start_line": 49, + "end_line": 49, + "start_column": 22, + "end_column": 41 } ], - "code": "{\n performTask(request, response);\n }", - "start_line": 61, - "end_line": 64, - "code_start_line": 62, + "code": "{\n super.init(config);\n }", + "start_line": 48, + "end_line": 51, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -122619,16 +127829,18 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "performTask", + "method_name": "init", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" ], "return_type": "", - "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, "is_protected": false, "is_private": false, @@ -122637,164 +127849,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 63, + "start_line": 50, "start_column": 9, - "end_line": 63, - "end_column": 38 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "(Instance)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TestServlet.java", - "signature": "TestServlet(Instance)", - "comments": [], - "annotations": [ - "@Inject" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public TestServlet(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 24, - "end_column": 60 - } - ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 43, - "end_line": 46, - "code_start_line": 44, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.servlet.TestServlet.tradeAction" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 21, - "end_line": 45, - "end_column": 135 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 21, - "end_line": 45, - "end_column": 129 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 65, - "end_line": 45, - "end_column": 97 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 99, - "end_line": 45, - "end_column": 126 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 37, - "end_line": 45, - "end_column": 128 + "end_line": 50, + "end_column": 26 } ], "variable_declarations": [], @@ -123372,129 +128430,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 169, - "end_line": 174, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 175, - "end_line": 181, - "code_start_line": 176, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingSession3.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingSession3.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 177, - "start_column": 9, - "end_line": 177, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 179, - "start_column": 20, - "end_line": 179, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 179, - "start_column": 20, - "end_line": 179, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -123557,6 +128495,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -123579,47 +128521,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 159, - "end_line": 163, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"HTTP Session Object: Tests management of a large custom session class\";\n }", - "start_line": 164, - "end_line": 167, - "code_start_line": 165, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " this is a general try/catch block. The catch block at the end of this", @@ -123880,6 +128784,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -123903,6 +128808,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -123926,6 +128834,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -123950,6 +128861,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession3.doGet(...): error getting session\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -123973,6 +128888,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"num_objects\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -123996,6 +128914,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "num_objects" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -124020,6 +128941,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession3.doGet(...): input should be an integer, input=\" + num_objects" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -124043,6 +128968,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" Session object size set to \" + NUM_OBJECTS + \"K bytes \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124064,6 +128992,7 @@ "receiver_expr": "session", "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "invalidate()", "is_public": true, @@ -124087,6 +129016,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "outputBuffer.toString()" + ], "return_type": "", "callee_signature": "print(java.lang.String)", "is_public": true, @@ -124108,6 +129040,7 @@ "receiver_expr": "outputBuffer", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -124129,6 +129062,7 @@ "receiver_expr": "out", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -124152,6 +129086,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sessiontest.sessionData\"" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3Object[]", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -124176,6 +129113,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"sessiontest.sessionData\"", + "sessionData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -124200,6 +129141,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"SessionTrackingTest-largeSessionData\"", + "num_bytes + \"bytes\"" + ], "return_type": "", "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -124223,6 +129168,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"


    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124246,6 +129194,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124269,6 +129220,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Session Large Data Test

    HTTP Session Test 3: Large Data
    Init time: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124292,6 +129246,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Session object updated. Session Object size = \" + num_bytes + \" bytes \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124315,6 +129272,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -124338,6 +129298,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -124368,6 +129331,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "outputBuffer.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -124389,6 +129355,7 @@ "receiver_expr": "outputBuffer", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -124420,6 +129387,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession3.doGet(..l.): error.\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -124451,6 +129422,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingSession3.doGet(...): error. \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -124472,6 +129447,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -124493,6 +129469,7 @@ "receiver_expr": "", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer()", "is_public": false, @@ -124514,6 +129491,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3Object", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingSession3Object", "callee_signature": "PingSession3Object()", "is_public": false, @@ -124672,297 +129650,53 @@ "crud_queries": [], "cyclomatic_complexity": 9, "is_entrypoint": true - } - }, - "field_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "long", - "start_line": 42, - "end_line": 42, - "variables": [ - "serialVersionUID" - ], - "modifiers": [ - "private", - "static", - "final" - ], - "annotations": [] }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 43, - "end_line": 43, - "variables": [ - "NUM_OBJECTS" - ], - "modifiers": [ - "private", - "static" - ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "java.lang.String", - "start_line": 44, - "end_line": 44, - "variables": [ - "initTime" - ], - "modifiers": [ - "private", - "static" + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 159, + "end_line": 163, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } ], - "annotations": [] - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": null, - "type": "int", - "start_line": 45, - "end_line": 45, - "variables": [ - "hitCount" + "annotations": [ + "@Override" ], "modifiers": [ - "private", - "static" + "public" ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": true - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", - "package_name": "com.ibm.websphere.samples.daytrader.web.prims", - "comments": [ - { - "content": "\n *\n * PingJDBCReadPrepStmt uses a prepared statement for database update. Statement\n * parameters are set dynamically on each request. This primative uses\n * {@link com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect} to set the\n * price of a random stock (generated by\n * {@link com.ibm.websphere.samples.daytrader.util.TradeConfig}) through the use\n * of prepared statements.\n *\n ", - "start_line": 35, - "end_line": 44, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - }, - { - "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", - "start_line": 56, - "end_line": 64, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": " get a random symbol to update and a random price.", - "start_line": 75, - "end_line": 75, - "start_column": 13, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " update the price of our symbol", - "start_line": 80, - "end_line": 80, - "start_column": 13, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " write the output", - "start_line": 87, - "end_line": 87, - "start_column": 13, - "end_column": 31, - "is_javadoc": false - }, - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 103, - "end_line": 107, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 113, - "end_line": 118, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", - "start_line": 127, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\n * (C) Copyright IBM Corporation 2015.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", - "start_line": 1, - "end_line": 15, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "imports": [ - "java.io.IOException", - "java.math.BigDecimal", - "javax.inject.Inject", - "javax.servlet.ServletConfig", - "javax.servlet.ServletException", - "javax.servlet.annotation.WebServlet", - "javax.servlet.http.HttpServlet", - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", - "com.ibm.websphere.samples.daytrader.interfaces.TradeJDBC", - "com.ibm.websphere.samples.daytrader.util.Log", - "com.ibm.websphere.samples.daytrader.util.TradeConfig" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [ - "javax.servlet.http.HttpServlet" - ], - "comments": [ - { - "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", - "start_line": 56, - "end_line": 64, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": " get a random symbol to update and a random price.", - "start_line": 75, - "end_line": 75, - "start_column": 13, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " update the price of our symbol", - "start_line": 80, - "end_line": 80, - "start_column": 13, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " write the output", - "start_line": 87, - "end_line": 87, - "start_column": 13, - "end_column": 31, - "is_javadoc": false - }, - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 103, - "end_line": 107, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 113, - "end_line": 118, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - }, - { - "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", - "start_line": 127, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"HTTP Session Object: Tests management of a large custom session class\";\n }", + "start_line": 164, + "end_line": 167, + "code_start_line": 165, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false }, - { - "content": "\n *\n * PingJDBCReadPrepStmt uses a prepared statement for database update. Statement\n * parameters are set dynamically on each request. This primative uses\n * {@link com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect} to set the\n * price of a random stock (generated by\n * {@link com.ibm.websphere.samples.daytrader.util.TradeConfig}) through the use\n * of prepared statements.\n *\n ", - "start_line": 35, - "end_line": 44, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@WebServlet(name = \"PingJDBCWrite\", urlPatterns = { \"/servlet/PingJDBCWrite\" })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", - "signature": "init(ServletConfig)", + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3.java", + "signature": "init(javax.servlet.ServletConfig)", "comments": [ { "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 113, - "end_line": 118, + "start_line": 169, + "end_line": 174, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -124984,23 +129718,23 @@ "name": "config", "annotations": [], "modifiers": [], - "start_line": 120, - "end_line": 120, + "start_line": 176, + "end_line": 176, "start_column": 22, "end_column": 41 } ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 119, - "end_line": 125, - "code_start_line": 120, + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 175, + "end_line": 181, + "code_start_line": 176, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite.initTime" + "com.ibm.websphere.samples.daytrader.web.prims.PingSession3.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingSession3.hitCount" ], "call_sites": [ { @@ -125011,6 +129745,9 @@ "argument_types": [ "javax.servlet.ServletConfig" ], + "argument_expr": [ + "config" + ], "return_type": "", "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, @@ -125021,9 +129758,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, + "start_line": 177, "start_column": 9, - "end_line": 121, + "end_line": 177, "end_column": 26 }, { @@ -125032,6 +129769,7 @@ "receiver_expr": "new java.util.Date()", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -125042,9 +129780,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 122, + "start_line": 179, "start_column": 20, - "end_line": 122, + "end_line": 179, "end_column": 50 }, { @@ -125053,6 +129791,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -125063,9 +129802,9 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 122, + "start_line": 179, "start_column": 20, - "end_line": 122, + "end_line": 179, "end_column": 39 } ], @@ -125074,135 +129813,292 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", - "comments": [ - { - "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", - "start_line": 127, - "end_line": 135, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" + } + }, + "field_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "long", + "start_line": 42, + "end_line": 42, + "variables": [ + "serialVersionUID" ], "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" + "private", + "static", + "final" ], - "declaration": "public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 137, - "end_line": 137, - "start_column": 24, - "end_column": 45 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", - "annotations": [], - "modifiers": [], - "start_line": 137, - "end_line": 137, - "start_column": 48, - "end_column": 70 - } + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 43, + "end_line": 43, + "variables": [ + "NUM_OBJECTS" ], - "code": "{\n doGet(req, res);\n }", - "start_line": 136, - "end_line": 139, - "code_start_line": 137, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "doGet", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 9, - "end_line": 138, - "end_column": 23 - } + "modifiers": [ + "private", + "static" ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true + "annotations": [] }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 103, - "end_line": 107, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "java.lang.String", + "start_line": 44, + "end_line": 44, + "variables": [ + "initTime" ], - "annotations": [ - "@Override" + "modifiers": [ + "private", + "static" + ], + "annotations": [] + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": null, + "type": "int", + "start_line": 45, + "end_line": 45, + "variables": [ + "hitCount" ], "modifiers": [ - "public" + "private", + "static" ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JDBC Write using a prepared statment makes use of TradeJDBC code.\";\n }", - "start_line": 108, - "end_line": 111, - "code_start_line": 109, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": true + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", + "package_name": "com.ibm.websphere.samples.daytrader.web.prims", + "comments": [ + { + "content": "\n *\n * PingJDBCReadPrepStmt uses a prepared statement for database update. Statement\n * parameters are set dynamically on each request. This primative uses\n * {@link com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect} to set the\n * price of a random stock (generated by\n * {@link com.ibm.websphere.samples.daytrader.util.TradeConfig}) through the use\n * of prepared statements.\n *\n ", + "start_line": 35, + "end_line": 44, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + }, + { + "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", + "start_line": 56, + "end_line": 64, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": " get a random symbol to update and a random price.", + "start_line": 75, + "end_line": 75, + "start_column": 13, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " update the price of our symbol", + "start_line": 80, + "end_line": 80, + "start_column": 13, + "end_column": 45, + "is_javadoc": false + }, + { + "content": " write the output", + "start_line": 87, + "end_line": 87, + "start_column": 13, + "end_column": 31, + "is_javadoc": false + }, + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 103, + "end_line": 107, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 113, + "end_line": 118, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", + "start_line": 127, + "end_line": 135, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "\n * (C) Copyright IBM Corporation 2015.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", + "start_line": 1, + "end_line": 15, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "imports": [ + "java.io.IOException", + "java.math.BigDecimal", + "javax.inject.Inject", + "javax.servlet.ServletConfig", + "javax.servlet.ServletException", + "javax.servlet.annotation.WebServlet", + "javax.servlet.http.HttpServlet", + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", + "com.ibm.websphere.samples.daytrader.interfaces.TradeJDBC", + "com.ibm.websphere.samples.daytrader.util.Log", + "com.ibm.websphere.samples.daytrader.util.TradeConfig" + ], + "type_declarations": { + "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [ + "javax.servlet.http.HttpServlet" + ], + "comments": [ + { + "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", + "start_line": 56, + "end_line": 64, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": " get a random symbol to update and a random price.", + "start_line": 75, + "end_line": 75, + "start_column": 13, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " update the price of our symbol", + "start_line": 80, + "end_line": 80, + "start_column": 13, + "end_column": 45, + "is_javadoc": false }, - "doGet(HttpServletRequest, HttpServletResponse)": { + { + "content": " write the output", + "start_line": 87, + "end_line": 87, + "start_column": 13, + "end_column": 31, + "is_javadoc": false + }, + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 103, + "end_line": 107, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 113, + "end_line": 118, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + }, + { + "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", + "start_line": 127, + "end_line": 135, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "\n *\n * PingJDBCReadPrepStmt uses a prepared statement for database update. Statement\n * parameters are set dynamically on each request. This primative uses\n * {@link com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect} to set the\n * price of a random stock (generated by\n * {@link com.ibm.websphere.samples.daytrader.util.TradeConfig}) through the use\n * of prepared statements.\n *\n ", + "start_line": 35, + "end_line": 44, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@WebServlet(name = \"PingJDBCWrite\", urlPatterns = { \"/servlet/PingJDBCWrite\" })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " get a random symbol to update and a random price.", @@ -125298,6 +130194,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -125319,6 +130218,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -125340,6 +130240,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -125361,6 +130262,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getRandomPriceChangeFactor()", "is_public": true, @@ -125382,6 +130284,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -125408,6 +130311,12 @@ "", "" ], + "argument_expr": [ + "symbol", + "newPrice", + "100.0", + "false" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", "is_public": true, @@ -125438,6 +130347,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JDBC Write w/ Prepared Stmt.\" + \"
    Ping JDBC Write w/ Prep Stmt:
    Init time : \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -125461,6 +130373,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -125484,6 +130399,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Update Information
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -125507,6 +130425,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    \" + quoteData.toHTML() + \"
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -125528,6 +130449,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -125551,6 +130473,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -125572,6 +130497,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -125597,6 +130523,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJDBCWrite -- error updating quote for symbol\"", + "symbol" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "is_public": true, @@ -125621,6 +130552,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingJDBCWrite Exception caught: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -125642,6 +130577,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -125665,6 +130601,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -125806,6 +130745,260 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": true + }, + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", + "start_line": 127, + "end_line": 135, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 137, + "end_line": 137, + "start_column": 24, + "end_column": 45 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "res", + "annotations": [], + "modifiers": [], + "start_line": 137, + "end_line": 137, + "start_column": 48, + "end_column": 70 + } + ], + "code": "{\n doGet(req, res);\n }", + "start_line": 136, + "end_line": 139, + "code_start_line": 137, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "doGet", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "res" + ], + "return_type": "", + "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 138, + "start_column": 9, + "end_line": 138, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 103, + "end_line": 107, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JDBC Write using a prepared statment makes use of TradeJDBC code.\";\n }", + "start_line": 108, + "end_line": 111, + "code_start_line": 109, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJDBCWrite.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 113, + "end_line": 118, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 120, + "end_line": 120, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 119, + "end_line": 125, + "code_start_line": 120, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingJDBCWrite.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 9, + "end_line": 121, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 20, + "end_line": 122, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 20, + "end_line": 122, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -126249,84 +131442,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { + "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * Servlet initialization method.\n ", - "start_line": 51, - "end_line": 53, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 55, - "end_line": 55, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n }", - "start_line": 54, - "end_line": 57, - "code_start_line": 55, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 5, - "end_line": 56, - "end_column": 22 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "service(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", - "signature": "service(HttpServletRequest, HttpServletResponse)", + "signature": "service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "Locate DDL file for the specified database", @@ -126424,6 +131542,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -126447,6 +131568,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -126472,6 +131596,11 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "req", + "resp", + "result + \"
    Current DayTrader Configuration:
    \"" + ], "return_type": "", "callee_signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -126495,6 +131624,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"updateConfig\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -126519,6 +131651,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": false, @@ -126542,6 +131678,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"resetTrade\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -126567,6 +131706,11 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "req", + "resp", + "\"\"" + ], "return_type": "", "callee_signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -126590,6 +131734,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"buildDB\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -126613,6 +131760,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -126637,6 +131787,10 @@ "java.io.PrintWriter", "" ], + "argument_expr": [ + "resp.getWriter()", + "null" + ], "return_type": "", "callee_signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", "is_public": true, @@ -126658,6 +131812,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -126679,6 +131834,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -126702,6 +131858,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"buildDBTables\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -126725,6 +131884,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -126746,6 +131908,7 @@ "receiver_expr": "dbUtils", "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "checkDBProductName()", "is_public": true, @@ -126770,6 +131933,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to check DB Product name\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -126793,6 +131960,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    TradeBuildDB: **** Unable to check DB Product name, please check Database/AppServer configuration and retry ****
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -126814,6 +131984,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -126837,6 +132008,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    TradeBuildDB: **** Database Product detected: \" + dbProductName + \" ****
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -126858,6 +132032,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -126881,6 +132056,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DB2/\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -126904,6 +132082,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Apache Derby\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -126927,6 +132108,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Oracle\"" + ], "return_type": "", "callee_signature": "startsWith(java.lang.String)", "is_public": true, @@ -126950,6 +132134,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    TradeBuildDB: **** This Database is unsupported/untested use at your own risk ****
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -126971,6 +132158,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -126994,6 +132182,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    TradeBuildDB: **** The DDL file at path \" + ddlFile + \" will be used ****
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -127015,6 +132206,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -127036,6 +132228,7 @@ "receiver_expr": "resp.getWriter()", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -127057,6 +132250,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -127081,6 +132275,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeBuildDB: Unable to locate DDL file for the specified database\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -127104,6 +132302,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    TradeBuildDB: **** Unable to locate DDL file for the specified database ****
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -127125,6 +132326,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -127149,6 +132351,10 @@ "java.io.PrintWriter", "java.io.InputStream" ], + "argument_expr": [ + "resp.getWriter()", + "getServletContext().getResourceAsStream(ddlFile)" + ], "return_type": "", "callee_signature": "buildDB(java.io.PrintWriter, java.io.InputStream)", "is_public": true, @@ -127170,6 +132376,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -127193,6 +132400,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "ddlFile" + ], "return_type": "java.io.InputStream", "callee_signature": "getResourceAsStream(java.lang.String)", "is_public": true, @@ -127214,6 +132424,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -127239,6 +132450,11 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "req", + "resp", + "result + \"Current DayTrader Configuration:\"" + ], "return_type": "", "callee_signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -127264,6 +132480,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet.service(...)\"", + "\"Exception trying to perform action=\" + action" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "is_public": true, @@ -127288,6 +132509,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"TradeConfigServlet.service(...)\" + \"Exception trying to perform action=\" + action + \"\\nException details: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -127309,6 +132534,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -127400,9 +132626,379 @@ "cyclomatic_complexity": 13, "is_entrypoint": true }, - "doResetTrade(HttpServletRequest, HttpServletResponse, String)": { + "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", + "signature": "doConfigDisplay(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", + "comments": [ + { + "content": "\n * Create the TradeConfig bean and pass it the config.jsp page\n * to display the current Trade runtime configuration\n * Creation date: (2/8/2000 3:43:59 PM)\n ", + "start_line": 59, + "end_line": 63, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "void doConfigDisplay(HttpServletRequest req, HttpServletResponse resp, String results) throws Exception", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 64, + "end_line": 64, + "start_column": 24, + "end_column": 45 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "resp", + "annotations": [], + "modifiers": [], + "start_line": 64, + "end_line": 64, + "start_column": 48, + "end_column": 71 + }, + { + "type": "java.lang.String", + "name": "results", + "annotations": [], + "modifiers": [], + "start_line": 64, + "end_line": 64, + "start_column": 74, + "end_column": 87 + } + ], + "code": "{\n\n TradeConfig currentConfig = new TradeConfig();\n\n req.setAttribute(\"tradeConfig\", currentConfig);\n req.setAttribute(\"status\", results);\n getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.CONFIG_PAGE)).include(req, resp);\n }", + "start_line": 64, + "end_line": 71, + "code_start_line": 64, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.CONFIG_PAGE" + ], + "call_sites": [ + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "com.ibm.websphere.samples.daytrader.util.TradeConfig" + ], + "argument_expr": [ + "\"tradeConfig\"", + "currentConfig" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 5, + "end_line": 68, + "end_column": 50 + }, + { + "method_name": "setAttribute", + "comment": null, + "receiver_expr": "req", + "receiver_type": "javax.servlet.http.HttpServletRequest", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"status\"", + "results" + ], + "return_type": "", + "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 5, + "end_line": 69, + "end_column": 39 + }, + { + "method_name": "include", + "comment": null, + "receiver_expr": "getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.CONFIG_PAGE))", + "receiver_type": "javax.servlet.RequestDispatcher", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "resp" + ], + "return_type": "", + "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 5, + "end_line": 70, + "end_column": 128 + }, + { + "method_name": "getRequestDispatcher", + "comment": null, + "receiver_expr": "getServletConfig().getServletContext()", + "receiver_type": "javax.servlet.ServletContext", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getPage(TradeConfig.CONFIG_PAGE)" + ], + "return_type": "javax.servlet.RequestDispatcher", + "callee_signature": "getRequestDispatcher(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 5, + "end_line": 70, + "end_column": 109 + }, + { + "method_name": "getServletContext", + "comment": null, + "receiver_expr": "getServletConfig()", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletContext", + "callee_signature": "getServletContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 5, + "end_line": 70, + "end_column": 42 + }, + { + "method_name": "getServletConfig", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.servlet.ServletConfig", + "callee_signature": "getServletConfig()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 5, + "end_line": 70, + "end_column": 22 + }, + { + "method_name": "getPage", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "" + ], + "argument_expr": [ + "TradeConfig.CONFIG_PAGE" + ], + "return_type": "java.lang.String", + "callee_signature": "getPage(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 65, + "end_line": 70, + "end_column": 108 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "callee_signature": "TradeConfig()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 33, + "end_line": 66, + "end_column": 49 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "currentConfig", + "type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "initializer": "new TradeConfig()", + "start_line": 66, + "start_column": 17, + "end_line": 66, + "end_column": 49 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * Servlet initialization method.\n ", + "start_line": 51, + "end_line": 53, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 55, + "end_line": 55, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n }", + "start_line": 54, + "end_line": 57, + "code_start_line": 55, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 56, + "start_column": 5, + "end_line": 56, + "end_column": 22 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", - "signature": "doResetTrade(HttpServletRequest, HttpServletResponse, String)", + "signature": "doResetTrade(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "comments": [], "annotations": [], "modifiers": [], @@ -127466,6 +133062,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "resetTrade(boolean)", "is_public": true, @@ -127490,6 +133089,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean" ], + "argument_expr": [ + "\"runStatsData\"", + "runStatsData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -127514,6 +133117,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.util.TradeConfig" ], + "argument_expr": [ + "\"tradeConfig\"", + "currentConfig" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -127538,6 +133145,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"status\"", + "results" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -127562,6 +133173,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "results" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -127586,6 +133201,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -127609,6 +133228,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "TradeConfig.getPage(TradeConfig.STATS_PAGE)" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -127630,6 +133252,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -127651,6 +133274,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -127674,6 +133298,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.STATS_PAGE" + ], "return_type": "java.lang.String", "callee_signature": "getPage(int)", "is_public": true, @@ -127695,6 +133322,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.RunStatsDataBean", "callee_signature": "RunStatsDataBean()", "is_public": false, @@ -127716,6 +133344,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "callee_signature": "TradeConfig()", "is_public": false, @@ -127773,280 +133402,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": true }, - "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)": { + "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", - "signature": "doConfigDisplay(HttpServletRequest, HttpServletResponse, String)", - "comments": [ - { - "content": "\n * Create the TradeConfig bean and pass it the config.jsp page\n * to display the current Trade runtime configuration\n * Creation date: (2/8/2000 3:43:59 PM)\n ", - "start_line": 59, - "end_line": 63, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "void doConfigDisplay(HttpServletRequest req, HttpServletResponse resp, String results) throws Exception", - "parameters": [ - { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 64, - "end_line": 64, - "start_column": 24, - "end_column": 45 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "resp", - "annotations": [], - "modifiers": [], - "start_line": 64, - "end_line": 64, - "start_column": 48, - "end_column": 71 - }, - { - "type": "java.lang.String", - "name": "results", - "annotations": [], - "modifiers": [], - "start_line": 64, - "end_line": 64, - "start_column": 74, - "end_column": 87 - } - ], - "code": "{\n\n TradeConfig currentConfig = new TradeConfig();\n\n req.setAttribute(\"tradeConfig\", currentConfig);\n req.setAttribute(\"status\", results);\n getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.CONFIG_PAGE)).include(req, resp);\n }", - "start_line": 64, - "end_line": 71, - "code_start_line": 64, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.CONFIG_PAGE" - ], - "call_sites": [ - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.util.TradeConfig" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 5, - "end_line": 68, - "end_column": 50 - }, - { - "method_name": "setAttribute", - "comment": null, - "receiver_expr": "req", - "receiver_type": "javax.servlet.http.HttpServletRequest", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 5, - "end_line": 69, - "end_column": 39 - }, - { - "method_name": "include", - "comment": null, - "receiver_expr": "getServletConfig().getServletContext().getRequestDispatcher(TradeConfig.getPage(TradeConfig.CONFIG_PAGE))", - "receiver_type": "javax.servlet.RequestDispatcher", - "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" - ], - "return_type": "", - "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 128 - }, - { - "method_name": "getRequestDispatcher", - "comment": null, - "receiver_expr": "getServletConfig().getServletContext()", - "receiver_type": "javax.servlet.ServletContext", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.servlet.RequestDispatcher", - "callee_signature": "getRequestDispatcher(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 109 - }, - { - "method_name": "getServletContext", - "comment": null, - "receiver_expr": "getServletConfig()", - "receiver_type": "javax.servlet.ServletConfig", - "argument_types": [], - "return_type": "javax.servlet.ServletContext", - "callee_signature": "getServletContext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 42 - }, - { - "method_name": "getServletConfig", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "javax.servlet.ServletConfig", - "callee_signature": "getServletConfig()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 5, - "end_line": 70, - "end_column": 22 - }, - { - "method_name": "getPage", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "getPage(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 65, - "end_line": 70, - "end_column": 108 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "callee_signature": "TradeConfig()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 33, - "end_line": 66, - "end_column": 49 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "currentConfig", - "type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "initializer": "new TradeConfig()", - "start_line": 66, - "start_column": 17, - "end_line": 66, - "end_column": 49 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "doConfigUpdate(HttpServletRequest, HttpServletResponse)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeConfigServlet.java", - "signature": "doConfigUpdate(HttpServletRequest, HttpServletResponse)", + "signature": "doConfigUpdate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " If the value is bad, simply revert to current", @@ -128179,6 +133537,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeModeNames()", "is_public": true, @@ -128200,6 +133559,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -128223,6 +133583,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"OrderProcessingMode\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -128246,6 +133609,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderProcessingModeStr" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -128267,6 +133633,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingModeNames()", "is_public": true, @@ -128290,6 +133657,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "setOrderProcessingMode(int)", "is_public": true, @@ -128323,6 +133693,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet.doConfigUpdate(..): minor exception caught\"", + "\"trying to set orderProcessing to \" + orderProcessingModeStr", + "\"reverting to current value\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -128344,6 +133720,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingModeNames()", "is_public": true, @@ -128365,6 +133742,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -128388,6 +133766,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"WebInterface\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -128411,6 +133792,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "webInterfaceStr" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -128432,6 +133816,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterfaceNames()", "is_public": true, @@ -128455,6 +133840,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "i" + ], "return_type": "", "callee_signature": "setWebInterface(int)", "is_public": true, @@ -128481,6 +133869,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet.doConfigUpdate(..): minor exception caught\"", + "\"trying to set WebInterface to \" + webInterfaceStr", + "\"reverting to current value\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -128502,6 +133896,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterfaceNames()", "is_public": true, @@ -128523,6 +133918,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterface()", "is_public": true, @@ -128546,6 +133942,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MaxUsers\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -128567,6 +133966,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -128590,6 +133990,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(parm)" + ], "return_type": "", "callee_signature": "setMAX_USERS(int)", "is_public": true, @@ -128613,6 +134016,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parm" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -128639,6 +134045,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet.doConfigUpdate(..): minor exception caught\"", + "\"Setting maxusers, probably error parsing string to int:\" + parm", + "\"revertying to current value: \" + TradeConfig.getMAX_USERS()" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -128660,6 +134072,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -128683,6 +134096,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MaxQuotes\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -128704,6 +134120,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -128727,6 +134144,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(parm)" + ], "return_type": "", "callee_signature": "setMAX_QUOTES(int)", "is_public": true, @@ -128750,6 +134170,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parm" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -128783,6 +134206,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet: minor exception caught\"", + "\"trying to set max_quotes, error on parsing int \" + parm", + "\"reverting to current value \" + TradeConfig.getMAX_QUOTES()" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -128804,6 +134233,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -128825,6 +134255,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_USERS()", "is_public": true, @@ -128846,6 +134277,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMAX_QUOTES()", "is_public": true, @@ -128869,6 +134301,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"marketSummaryInterval\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -128890,6 +134325,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -128913,6 +134349,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(parm)" + ], "return_type": "", "callee_signature": "setMarketSummaryInterval(int)", "is_public": true, @@ -128936,6 +134375,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parm" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -128962,6 +134404,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet: minor exception caught\"", + "\"trying to set marketSummaryInterval, error on parsing int \" + parm", + "\"reverting to current value \" + TradeConfig.getMarketSummaryInterval()" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -128983,6 +134431,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMarketSummaryInterval()", "is_public": true, @@ -129004,6 +134453,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMarketSummaryInterval()", "is_public": true, @@ -129027,6 +134477,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"primIterations\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -129048,6 +134501,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -129071,6 +134525,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(parm)" + ], "return_type": "", "callee_signature": "setPrimIterations(int)", "is_public": true, @@ -129094,6 +134551,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parm" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -129120,6 +134580,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet: minor exception caught\"", + "\"trying to set primIterations, error on parsing int \" + parm", + "\"reverting to current value \" + TradeConfig.getPrimIterations()" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -129141,6 +134607,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -129162,6 +134629,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -129185,6 +134653,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"EnablePublishQuotePriceChange\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -129208,6 +134679,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setPublishQuotePriceChange(boolean)", "is_public": true, @@ -129231,6 +134705,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "", "callee_signature": "setPublishQuotePriceChange(boolean)", "is_public": true, @@ -129252,6 +134729,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPublishQuotePriceChange()", "is_public": true, @@ -129275,6 +134753,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ListQuotePriceChangeFrequency\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -129296,6 +134777,7 @@ "receiver_expr": "parm", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -129319,6 +134801,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.parseInt(parm)" + ], "return_type": "", "callee_signature": "setListQuotePriceChangeFrequency(int)", "is_public": true, @@ -129342,6 +134827,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "parm" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -129368,6 +134856,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeConfigServlet: minor exception caught\"", + "\"trying to set percentSentToWebSocket, error on parsing int \" + parm", + "\"reverting to current value \" + TradeConfig.getListQuotePriceChangeFrequency()" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -129389,6 +134883,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getListQuotePriceChangeFrequency()", "is_public": true, @@ -129410,6 +134905,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getListQuotePriceChangeFrequency()", "is_public": true, @@ -129433,6 +134929,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"EnableLongRun\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -129456,6 +134955,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setLongRun(boolean)", "is_public": true, @@ -129479,6 +134981,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "", "callee_signature": "setLongRun(boolean)", "is_public": true, @@ -129500,6 +135005,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLongRun()", "is_public": true, @@ -129523,6 +135029,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DisplayOrderAlerts\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -129546,6 +135055,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "", "callee_signature": "setDisplayOrderAlerts(boolean)", "is_public": true, @@ -129569,6 +135081,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "", "callee_signature": "setDisplayOrderAlerts(boolean)", "is_public": true, @@ -129590,6 +135105,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getDisplayOrderAlerts()", "is_public": true, @@ -129613,6 +135129,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "currentConfigStr" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -129917,9 +135436,49 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "encode(JsonMessage)": { + "init(javax.websocket.EndpointConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", + "signature": "init(javax.websocket.EndpointConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void init(EndpointConfig ec)", + "parameters": [ + { + "type": "javax.websocket.EndpointConfig", + "name": "ec", + "annotations": [], + "modifiers": [], + "start_line": 31, + "end_line": 31, + "start_column": 22, + "end_column": 38 + } + ], + "code": "{\n }", + "start_line": 30, + "end_line": 32, + "code_start_line": 31, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", - "signature": "encode(JsonMessage)", + "signature": "encode(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", "comments": [], "annotations": [ "@Override" @@ -129961,6 +135520,7 @@ "receiver_expr": "Json.createObjectBuilder().add(\"key\", message.getKey()).add(\"value\", message.getValue())", "receiver_type": "javax.json.JsonObjectBuilder", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "build()", "is_public": true, @@ -129985,6 +135545,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"value\"", + "message.getValue()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -130009,6 +135573,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"key\"", + "message.getKey()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -130030,6 +135598,7 @@ "receiver_expr": "Json", "receiver_type": "javax.json.Json", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "createObjectBuilder()", "is_public": true, @@ -130051,6 +135620,7 @@ "receiver_expr": "message", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getKey()", "is_public": true, @@ -130072,6 +135642,7 @@ "receiver_expr": "message", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getValue()", "is_public": true, @@ -130093,6 +135664,7 @@ "receiver_expr": "jsonObject", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -130132,46 +135704,6 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - }, - "init(EndpointConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/JsonEncoder.java", - "signature": "init(EndpointConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void init(EndpointConfig ec)", - "parameters": [ - { - "type": "javax.websocket.EndpointConfig", - "name": "ec", - "annotations": [], - "modifiers": [], - "start_line": 31, - "end_line": 31, - "start_column": 22, - "end_column": 38 - } - ], - "code": "{\n }", - "start_line": 30, - "end_line": 32, - "code_start_line": 31, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [], @@ -130704,6 +136236,55 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setTSIA(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", + "signature": "setTSIA(java.math.BigDecimal)", + "comments": [ + { + "content": "\n * Sets the tSIA\n *\n * @param tSIA\n * The tSIA to set\n ", + "start_line": 182, + "end_line": 187, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setTSIA(BigDecimal tSIA)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "tSIA", + "annotations": [], + "modifiers": [], + "start_line": 188, + "end_line": 188, + "start_column": 25, + "end_column": 39 + } + ], + "code": "{\n TSIA = tSIA;\n }", + "start_line": 188, + "end_line": 190, + "code_start_line": 188, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.TSIA" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getGainPercent()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "signature": "getGainPercent()", @@ -130736,6 +136317,10 @@ "java.math.BigDecimal", "java.math.BigDecimal" ], + "argument_expr": [ + "getTSIA()", + "getOpenTSIA()" + ], "return_type": "java.math.BigDecimal", "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", "is_public": true, @@ -130757,6 +136342,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getTSIA()", "is_public": true, @@ -130778,6 +136364,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenTSIA()", "is_public": true, @@ -130833,6 +136420,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getSummaryDate()", "is_public": true, @@ -130854,6 +136442,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getTSIA()", "is_public": true, @@ -130875,6 +136464,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenTSIA()", "is_public": true, @@ -130896,6 +136486,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getGainPercent()", "is_public": true, @@ -130917,6 +136508,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -130938,6 +136530,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopGainers()", "is_public": true, @@ -130959,6 +136552,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopLosers()", "is_public": true, @@ -130980,6 +136574,7 @@ "receiver_expr": "getTopGainers()", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -131001,6 +136596,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopGainers()", "is_public": true, @@ -131022,6 +136618,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -131043,6 +136640,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -131064,6 +136662,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -131085,6 +136684,7 @@ "receiver_expr": "getTopLosers()", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -131106,6 +136706,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopLosers()", "is_public": true, @@ -131127,6 +136728,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -131148,6 +136750,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -131169,6 +136772,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -131291,6 +136895,7 @@ "receiver_expr": "QuoteDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getRandomInstance()", "is_public": true, @@ -131312,6 +136917,7 @@ "receiver_expr": "QuoteDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getRandomInstance()", "is_public": true, @@ -131335,8 +136941,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quote1" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -131358,8 +136967,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quote2" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -131381,6 +136993,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -131404,6 +137019,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -131425,6 +137043,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndQuantity()", "is_public": true, @@ -131446,6 +137065,7 @@ "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList()", "is_public": false, @@ -131467,6 +137087,7 @@ "receiver_expr": "", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList()", "is_public": false, @@ -131494,8 +137115,15 @@ "java.util.Collection", "java.util.Collection" ], + "argument_expr": [ + "TradeConfig.rndBigDecimal(1000000.0f)", + "TradeConfig.rndBigDecimal(1000000.0f)", + "TradeConfig.rndQuantity()", + "gain", + "lose" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", "is_public": false, "is_protected": false, "is_private": false, @@ -131602,17 +137230,57 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setOpenTSIA(BigDecimal)": { + "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "setOpenTSIA(BigDecimal)", + "signature": "(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", "comments": [ { - "content": "\n * Sets the openTSIA\n *\n * @param openTSIA\n * The openTSIA to set\n ", - "start_line": 201, - "end_line": 206, - "start_column": 5, - "end_column": 7, - "is_javadoc": true + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false + }, + { + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false + }, + { + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false + }, + { + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false + }, + { + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false + }, + { + "content": " , Collection topVolume", + "start_line": 58, + "end_line": 58, + "start_column": 160, + "end_column": 184, + "is_javadoc": false } ], "annotations": [], @@ -131620,47 +137288,367 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setOpenTSIA(BigDecimal openTSIA)", + "declaration": "public MarketSummaryDataBean(BigDecimal TSIA, BigDecimal openTSIA, double volume, Collection topGainers, Collection topLosers)", "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "TSIA", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 34, + "end_column": 48 + }, { "type": "java.math.BigDecimal", "name": "openTSIA", "annotations": [], "modifiers": [], - "start_line": 207, - "end_line": 207, - "start_column": 29, - "end_column": 47 + "start_line": 58, + "end_line": 58, + "start_column": 51, + "end_column": 69 + }, + { + "type": "double", + "name": "volume", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 72, + "end_column": 84 + }, + { + "type": "java.util.Collection", + "name": "topGainers", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 87, + "end_column": 122 + }, + { + "type": "java.util.Collection", + "name": "topLosers", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 125, + "end_column": 159 } ], - "code": "{\n this.openTSIA = openTSIA;\n }", - "start_line": 207, - "end_line": 209, - "code_start_line": 207, - "return_type": "void", + "code": "{\n setTSIA(TSIA);\n setOpenTSIA(openTSIA);\n setVolume(volume);\n setTopGainers(topGainers);\n setTopLosers(topLosers);\n setSummaryDate(new java.sql.Date(System.currentTimeMillis()));\n gainPercent = FinancialUtils.computeGainPercent(getTSIA(), getOpenTSIA());\n\n }", + "start_line": 58, + "end_line": 68, + "code_start_line": 59, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.openTSIA" + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.topGainers", + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.openTSIA", + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.volume", + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.topLosers", + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.gainPercent", + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.TSIA" + ], + "call_sites": [ + { + "method_name": "setTSIA", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "TSIA" + ], + "return_type": "", + "callee_signature": "setTSIA(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 9, + "end_line": 60, + "end_column": 21 + }, + { + "method_name": "setOpenTSIA", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "openTSIA" + ], + "return_type": "", + "callee_signature": "setOpenTSIA(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 9, + "end_line": 61, + "end_column": 29 + }, + { + "method_name": "setVolume", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "volume" + ], + "return_type": "", + "callee_signature": "setVolume(double)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 62, + "start_column": 9, + "end_line": 62, + "end_column": 25 + }, + { + "method_name": "setTopGainers", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.util.Collection" + ], + "argument_expr": [ + "topGainers" + ], + "return_type": "", + "callee_signature": "setTopGainers(java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 9, + "end_line": 63, + "end_column": 33 + }, + { + "method_name": "setTopLosers", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.util.Collection" + ], + "argument_expr": [ + "topLosers" + ], + "return_type": "", + "callee_signature": "setTopLosers(java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 64, + "start_column": 9, + "end_line": 64, + "end_column": 31 + }, + { + "method_name": "setSummaryDate", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Date" + ], + "argument_expr": [ + "new java.sql.Date(System.currentTimeMillis())" + ], + "return_type": "", + "callee_signature": "setSummaryDate(java.util.Date)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 65, + "start_column": 9, + "end_line": 65, + "end_column": 69 + }, + { + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 65, + "start_column": 42, + "end_line": 65, + "end_column": 67 + }, + { + "method_name": "computeGainPercent", + "comment": null, + "receiver_expr": "FinancialUtils", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", + "argument_types": [ + "java.math.BigDecimal", + "java.math.BigDecimal" + ], + "argument_expr": [ + "getTSIA()", + "getOpenTSIA()" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 23, + "end_line": 66, + "end_column": 81 + }, + { + "method_name": "getTSIA", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getTSIA()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 57, + "end_line": 66, + "end_column": 65 + }, + { + "method_name": "getOpenTSIA", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOpenTSIA()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 68, + "end_line": 66, + "end_column": 80 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.sql.Date", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Date", + "callee_signature": "Date(long)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 65, + "start_column": 24, + "end_line": 65, + "end_column": 68 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setTSIA(BigDecimal)": { + "setSummaryDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "setTSIA(BigDecimal)", + "signature": "setSummaryDate(java.util.Date)", "comments": [ { - "content": "\n * Sets the tSIA\n *\n * @param tSIA\n * The tSIA to set\n ", - "start_line": 182, - "end_line": 187, + "content": "\n * Sets the summaryDate\n *\n * @param summaryDate\n * The summaryDate to set\n ", + "start_line": 277, + "end_line": 282, "start_column": 5, "end_column": 7, "is_javadoc": true @@ -131671,29 +137659,31 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void setTSIA(BigDecimal tSIA)", + "declaration": "public void setSummaryDate(Date summaryDate)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "tSIA", + "type": "java.util.Date", + "name": "summaryDate", "annotations": [], "modifiers": [], - "start_line": 188, - "end_line": 188, - "start_column": 25, - "end_column": 39 + "start_line": 283, + "end_line": 283, + "start_column": 32, + "end_column": 47 } ], - "code": "{\n TSIA = tSIA;\n }", - "start_line": 188, - "end_line": 190, - "code_start_line": 188, + "code": "{\n this.summaryDate = summaryDate;\n }", + "start_line": 283, + "end_line": 285, + "code_start_line": 283, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Date" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.TSIA" + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.summaryDate" ], "call_sites": [], "variable_declarations": [], @@ -131751,9 +137741,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setTopLosers(Collection)": { + "setTopLosers(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "setTopLosers(Collection)", + "signature": "setTopLosers(java.util.Collection)", "comments": [ { "content": "\n * Sets the topLosers\n *\n * @param topLosers\n * The topLosers to set\n ", @@ -131840,57 +137830,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSummaryDate(Date)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "setSummaryDate(Date)", - "comments": [ - { - "content": "\n * Sets the summaryDate\n *\n * @param summaryDate\n * The summaryDate to set\n ", - "start_line": 277, - "end_line": 282, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setSummaryDate(Date summaryDate)", - "parameters": [ - { - "type": "java.util.Date", - "name": "summaryDate", - "annotations": [], - "modifiers": [], - "start_line": 283, - "end_line": 283, - "start_column": 32, - "end_column": 47 - } - ], - "code": "{\n this.summaryDate = summaryDate;\n }", - "start_line": 283, - "end_line": 285, - "code_start_line": 283, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.summaryDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "print()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", "signature": "print()", @@ -131920,6 +137859,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "this.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -131941,6 +137883,7 @@ "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -132003,7 +137946,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "MarketSummaryDataBean()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -132066,57 +138009,17 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(BigDecimal, BigDecimal, double, Collection, Collection)": { + "setOpenTSIA(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "MarketSummaryDataBean(BigDecimal, BigDecimal, double, Collection, Collection)", + "signature": "setOpenTSIA(java.math.BigDecimal)", "comments": [ { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false - }, - { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false - }, - { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false - }, - { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false - }, - { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false - }, - { - "content": " , Collection topVolume", - "start_line": 58, - "end_line": 58, - "start_column": 160, - "end_column": 184, - "is_javadoc": false + "content": "\n * Sets the openTSIA\n *\n * @param openTSIA\n * The openTSIA to set\n ", + "start_line": 201, + "end_line": 206, + "start_column": 5, + "end_column": 7, + "is_javadoc": true } ], "annotations": [], @@ -132124,325 +138027,33 @@ "public" ], "thrown_exceptions": [], - "declaration": "public MarketSummaryDataBean(BigDecimal TSIA, BigDecimal openTSIA, double volume, Collection topGainers, Collection topLosers)", + "declaration": "public void setOpenTSIA(BigDecimal openTSIA)", "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "TSIA", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 34, - "end_column": 48 - }, { "type": "java.math.BigDecimal", "name": "openTSIA", "annotations": [], "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 51, - "end_column": 69 - }, - { - "type": "double", - "name": "volume", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 72, - "end_column": 84 - }, - { - "type": "java.util.Collection", - "name": "topGainers", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 87, - "end_column": 122 - }, - { - "type": "java.util.Collection", - "name": "topLosers", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 125, - "end_column": 159 + "start_line": 207, + "end_line": 207, + "start_column": 29, + "end_column": 47 } ], - "code": "{\n setTSIA(TSIA);\n setOpenTSIA(openTSIA);\n setVolume(volume);\n setTopGainers(topGainers);\n setTopLosers(topLosers);\n setSummaryDate(new java.sql.Date(System.currentTimeMillis()));\n gainPercent = FinancialUtils.computeGainPercent(getTSIA(), getOpenTSIA());\n\n }", - "start_line": 58, - "end_line": 68, - "code_start_line": 59, - "return_type": null, + "code": "{\n this.openTSIA = openTSIA;\n }", + "start_line": 207, + "end_line": 209, + "code_start_line": 207, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.topGainers", - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.openTSIA", - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.volume", - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.topLosers", - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.gainPercent", - "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.TSIA" + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" ], - "call_sites": [ - { - "method_name": "setTSIA", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "", - "callee_signature": "setTSIA(java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 9, - "end_line": 60, - "end_column": 21 - }, - { - "method_name": "setOpenTSIA", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "", - "callee_signature": "setOpenTSIA(java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 9, - "end_line": 61, - "end_column": 29 - }, - { - "method_name": "setVolume", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setVolume(double)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 62, - "start_column": 9, - "end_line": 62, - "end_column": 25 - }, - { - "method_name": "setTopGainers", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.util.Collection" - ], - "return_type": "", - "callee_signature": "setTopGainers(java.util.Collection)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 9, - "end_line": 63, - "end_column": 33 - }, - { - "method_name": "setTopLosers", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.util.Collection" - ], - "return_type": "", - "callee_signature": "setTopLosers(java.util.Collection)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 64, - "start_column": 9, - "end_line": 64, - "end_column": 31 - }, - { - "method_name": "setSummaryDate", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Date" - ], - "return_type": "", - "callee_signature": "setSummaryDate(java.util.Date)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 65, - "start_column": 9, - "end_line": 65, - "end_column": 69 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 65, - "start_column": 42, - "end_line": 65, - "end_column": 67 - }, - { - "method_name": "computeGainPercent", - "comment": null, - "receiver_expr": "FinancialUtils", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.FinancialUtils", - "argument_types": [ - "java.math.BigDecimal", - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 23, - "end_line": 66, - "end_column": 81 - }, - { - "method_name": "getTSIA", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getTSIA()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 57, - "end_line": 66, - "end_column": 65 - }, - { - "method_name": "getOpenTSIA", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOpenTSIA()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 68, - "end_line": 66, - "end_column": 80 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Date", - "argument_types": [ - "" - ], - "return_type": "java.sql.Date", - "callee_signature": "Date(long)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 65, - "start_column": 24, - "end_line": 65, - "end_column": 68 - } + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean.openTSIA" ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -132556,6 +138167,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getSummaryDate()", "is_public": true, @@ -132577,6 +138189,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getTSIA()", "is_public": true, @@ -132598,6 +138211,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenTSIA()", "is_public": true, @@ -132619,6 +138233,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -132640,6 +138255,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopGainers()", "is_public": true, @@ -132661,6 +138277,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopLosers()", "is_public": true, @@ -132682,6 +138299,7 @@ "receiver_expr": "getTopGainers()", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -132703,6 +138321,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopGainers()", "is_public": true, @@ -132724,6 +138343,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -132745,6 +138365,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -132766,6 +138387,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -132787,6 +138409,7 @@ "receiver_expr": "getTopLosers()", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -132808,6 +138431,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopLosers()", "is_public": true, @@ -132829,6 +138453,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -132850,6 +138475,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -132871,6 +138497,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -132999,6 +138626,7 @@ "receiver_expr": "Json", "receiver_type": "javax.json.Json", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "createObjectBuilder()", "is_public": true, @@ -133020,6 +138648,7 @@ "receiver_expr": "topGainers", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -133041,6 +138670,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -133062,6 +138692,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -133086,6 +138717,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"gainer\" + i + \"_stock\"", + "quote.getSymbol()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -133107,6 +138742,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -133131,6 +138767,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"gainer\" + i + \"_price\"", + "\"$\" + quote.getPrice()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -133152,6 +138792,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -133176,6 +138817,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"gainer\" + i + \"_change\"", + "quote.getChange()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, double)", "is_public": true, @@ -133197,6 +138842,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -133218,6 +138864,7 @@ "receiver_expr": "topLosers", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -133239,6 +138886,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -133260,6 +138908,7 @@ "receiver_expr": "iterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -133284,6 +138933,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"loser\" + i + \"_stock\"", + "quote.getSymbol()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -133305,6 +138958,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -133329,6 +138983,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"loser\" + i + \"_price\"", + "\"$\" + quote.getPrice()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -133350,6 +139008,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -133374,6 +139033,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"loser\" + i + \"_change\"", + "quote.getChange()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, double)", "is_public": true, @@ -133395,6 +139058,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -133419,6 +139083,10 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "\"tsia\"", + "TSIA" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.math.BigDecimal)", "is_public": true, @@ -133443,6 +139111,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"volume\"", + "volume" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, double)", "is_public": true, @@ -133467,6 +139139,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"date\"", + "summaryDate.toString()" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -133488,6 +139164,7 @@ "receiver_expr": "summaryDate", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -133509,6 +139186,7 @@ "receiver_expr": "jObjectBuilder", "receiver_type": "javax.json.JsonObjectBuilder", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "build()", "is_public": true, @@ -133634,9 +139312,9 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "setTopGainers(Collection)": { + "setTopGainers(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/beans/MarketSummaryDataBean.java", - "signature": "setTopGainers(Collection)", + "signature": "setTopGainers(java.util.Collection)", "comments": [ { "content": "\n * Sets the topGainers\n *\n * @param topGainers\n * The topGainers to set\n ", @@ -133930,120 +139608,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 50, - "end_line": 50, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 49, - "end_line": 54, - "code_start_line": 50, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletSimple.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletSimple.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 51, - "start_column": 5, - "end_line": 51, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 16, - "end_line": 52, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 16, - "end_line": 52, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "System.out.println(\"Sending hit count: \" + hitCount);", @@ -134108,6 +139675,7 @@ "receiver_expr": "resp", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -134138,6 +139706,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet HTTP/2\" + \"

    Ping Servlet HTTP/2
    Init time : \" + initTime + \"

    Hit Count: \" + hitCount + \"
    \" + \"\" + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -134177,6 +139748,122 @@ "crud_queries": [], "cyclomatic_complexity": 5, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/http2/PingServletSimple.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 50, + "end_line": 50, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 49, + "end_line": 54, + "code_start_line": 50, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletSimple.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.http2.PingServletSimple.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 51, + "start_column": 5, + "end_line": 51, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 16, + "end_line": 52, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 16, + "end_line": 52, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -134585,7 +140272,7 @@ "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession3Object.java", - "signature": "PingSession3Object()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [], @@ -134961,93 +140648,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", - "signature": "DTStreamer3MDB()", - "comments": [ - { - "content": " Creates a new instance of TradeSteamerMDB ", - "start_line": 54, - "end_line": 54, - "start_column": 3, - "end_column": 50, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public DTStreamer3MDB()", - "parameters": [], - "code": "{\n Log.trace(\"DTStreamer3MDB:DTStreamer3MDB()\");\n \n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n }", - "start_line": 55, - "end_line": 62, - "code_start_line": 55, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB.mdbStats", - "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB.statInterval" - ], - "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 5, - "end_line": 56, - "end_column": 48 - }, - { - "method_name": "getInstance", - "comment": null, - "receiver_expr": "MDBStats", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "callee_signature": "getInstance()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 16, - "end_line": 61, - "end_column": 37 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "onMessage(Message)": { + "onMessage(javax.jms.Message)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", - "signature": "onMessage(Message)", + "signature": "onMessage(javax.jms.Message)", "comments": [ { "content": " JMS onMessage should handle all exceptions", @@ -135111,6 +140714,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTStreamer3MDB:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\" + message.getStringProperty(\"command\") + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -135132,6 +140738,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -135155,6 +140762,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"command\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -135178,6 +140788,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"command\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -135201,6 +140814,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTStreamer3MDB:onMessage -- received message with null command. Message-->\" + message" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -135224,6 +140840,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"updateQuote\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -135247,6 +140866,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTStreamer3MDB:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"\\n\\t symbol = \" + message.getStringProperty(\"symbol\") + \"\\n\\t current price =\" + message.getStringProperty(\"price\") + \"\\n\\t old price =\" + message.getStringProperty(\"oldPrice\")" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -135268,6 +140890,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -135291,6 +140914,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbol\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -135314,6 +140940,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"price\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -135337,6 +140966,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"oldPrice\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -135360,6 +140992,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"publishTime\"" + ], "return_type": "", "callee_signature": "getLongProperty(java.lang.String)", "is_public": true, @@ -135381,6 +141016,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -135406,6 +141042,11 @@ "", "" ], + "argument_expr": [ + "\"DTStreamer3MDB:udpateQuote\"", + "publishTime", + "receiveTime" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "addTiming(java.lang.String, long, long)", "is_public": true, @@ -135427,6 +141068,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -135450,6 +141092,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" DTStreamer3MDB: \" + statInterval + \" prices updated:\" + \" Total message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -135471,6 +141116,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -135492,6 +141138,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMinSecs()", "is_public": true, @@ -135513,6 +141160,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMaxSecs()", "is_public": true, @@ -135534,6 +141182,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getAvgSecs()", "is_public": true, @@ -135557,6 +141206,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ping\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -135580,6 +141232,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTStreamer3MDB:onMessage received ping command -- message: \" + ((TextMessage) message).getText()" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -135601,6 +141256,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -135624,6 +141280,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"publishTime\"" + ], "return_type": "", "callee_signature": "getLongProperty(java.lang.String)", "is_public": true, @@ -135645,6 +141304,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -135670,6 +141330,11 @@ "", "" ], + "argument_expr": [ + "\"DTStreamer3MDB:ping\"", + "publishTime", + "receiveTime" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "addTiming(java.lang.String, long, long)", "is_public": true, @@ -135691,6 +141356,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -135714,6 +141380,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" DTStreamer3MDB: received \" + statInterval + \" ping messages.\" + \" Total message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -135735,6 +141404,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -135756,6 +141426,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMinSecs()", "is_public": true, @@ -135777,6 +141448,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMaxSecs()", "is_public": true, @@ -135798,6 +141470,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getAvgSecs()", "is_public": true, @@ -135821,6 +141494,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTStreamer3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText()" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -135842,6 +141518,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -135873,6 +141550,10 @@ "java.lang.String", "java.lang.Throwable" ], + "argument_expr": [ + "\"DTStreamer3MDB: Exception\"", + "t" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -135901,6 +141582,7 @@ "receiver_expr": "mdc", "receiver_type": "javax.ejb.MessageDrivenContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "setRollbackOnly()", "is_public": true, @@ -136042,6 +141724,94 @@ "crud_queries": [], "cyclomatic_complexity": 7, "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTStreamer3MDB.java", + "signature": "()", + "comments": [ + { + "content": " Creates a new instance of TradeSteamerMDB ", + "start_line": 54, + "end_line": 54, + "start_column": 3, + "end_column": 50, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public DTStreamer3MDB()", + "parameters": [], + "code": "{\n Log.trace(\"DTStreamer3MDB:DTStreamer3MDB()\");\n \n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n }", + "start_line": 55, + "end_line": 62, + "code_start_line": 55, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB.mdbStats", + "com.ibm.websphere.samples.daytrader.mdb.DTStreamer3MDB.statInterval" + ], + "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"DTStreamer3MDB:DTStreamer3MDB()\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 56, + "start_column": 5, + "end_line": 56, + "end_column": 48 + }, + { + "method_name": "getInstance", + "comment": null, + "receiver_expr": "MDBStats", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "callee_signature": "getInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 16, + "end_line": 61, + "end_column": 37 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false } }, "field_declarations": [ @@ -136386,6 +142156,7 @@ "receiver_expr": "ut", "receiver_type": "javax.transaction.UserTransaction", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "begin()", "is_public": true, @@ -136410,6 +142181,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": false, @@ -136431,6 +142206,7 @@ "receiver_expr": "ut", "receiver_type": "javax.transaction.UserTransaction", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -136452,6 +142228,7 @@ "receiver_expr": "ut", "receiver_type": "javax.transaction.UserTransaction", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rollback()", "is_public": true, @@ -136473,6 +142250,7 @@ "receiver_expr": "e2", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -136501,6 +142279,7 @@ "receiver_expr": "e1", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -136524,6 +142303,9 @@ "argument_types": [ "java.lang.Exception" ], + "argument_expr": [ + "e1" + ], "return_type": "java.lang.Exception", "callee_signature": "Exception(java.lang.Throwable)", "is_public": false, @@ -136547,6 +142329,9 @@ "argument_types": [ "java.lang.Exception" ], + "argument_expr": [ + "e" + ], "return_type": "java.lang.Exception", "callee_signature": "Exception(java.lang.Throwable)", "is_public": false, @@ -136569,9 +142354,9 @@ "cyclomatic_complexity": 5, "is_entrypoint": false }, - "setProperties(Integer, boolean)": { + "setProperties(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/AsyncOrder.java", - "signature": "setProperties(Integer, boolean)", + "signature": "setProperties(java.lang.Integer, boolean)", "comments": [], "annotations": [], "modifiers": [ @@ -136791,9 +142576,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "onClose(Session, CloseReason)": { + "onClose(javax.websocket.Session, javax.websocket.CloseReason)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", - "signature": "onClose(Session, CloseReason)", + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", "comments": [], "annotations": [ "@OnClose" @@ -136841,207 +142626,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "ping(JsonMessage)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", - "signature": "ping(JsonMessage)", - "comments": [], - "annotations": [ - "@OnMessage" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.io.IOException" - ], - "declaration": "public void ping(JsonMessage message) throws IOException", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 98, - "end_line": 98, - "start_column": 22, - "end_column": 40 - } - ], - "code": "{\n receivedHitCount++;\n JsonMessage response = new JsonMessage();\n response.setKey(\"receivedHitCount\");\n response.setValue(receivedHitCount.toString());\n currentSession.getAsyncRemote().sendObject(response);\n }", - "start_line": 97, - "end_line": 104, - "code_start_line": 98, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson.currentSession", - "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson.receivedHitCount" - ], - "call_sites": [ - { - "method_name": "setKey", - "comment": null, - "receiver_expr": "response", - "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setKey(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 9, - "end_line": 101, - "end_column": 43 - }, - { - "method_name": "setValue", - "comment": null, - "receiver_expr": "response", - "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setValue(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 9, - "end_line": 102, - "end_column": 54 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "receivedHitCount", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 27, - "end_line": 102, - "end_column": 53 - }, - { - "method_name": "sendObject", - "comment": null, - "receiver_expr": "currentSession.getAsyncRemote()", - "receiver_type": "javax.websocket.RemoteEndpoint.Async", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage" - ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "sendObject(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 9, - "end_line": 103, - "end_column": 60 - }, - { - "method_name": "getAsyncRemote", - "comment": null, - "receiver_expr": "currentSession", - "receiver_type": "javax.websocket.Session", - "argument_types": [], - "return_type": "javax.websocket.RemoteEndpoint.Async", - "callee_signature": "getAsyncRemote()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 9, - "end_line": 103, - "end_column": 39 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "callee_signature": "JsonMessage()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 32, - "end_line": 100, - "end_column": 48 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "response", - "type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", - "initializer": "new JsonMessage()", - "start_line": 100, - "start_column": 21, - "end_line": 100, - "end_column": 48 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "onError(Throwable)": { + "onError(java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", - "signature": "onError(Throwable)", + "signature": "onError(java.lang.Throwable)", "comments": [], "annotations": [ "@OnError" @@ -137079,6 +142666,7 @@ "receiver_expr": "t", "receiver_type": "java.lang.Throwable", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -137101,9 +142689,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "onOpen(Session, EndpointConfig)": { + "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", - "signature": "onOpen(Session, EndpointConfig)", + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", "comments": [ { "content": " TODO Auto-generated catch block", @@ -137173,6 +142761,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"java:comp/DefaultManagedThreadFactory\"" + ], "return_type": "javax.enterprise.concurrent.ManagedThreadFactory", "callee_signature": "lookup(java.lang.String)", "is_public": true, @@ -137201,6 +142792,7 @@ "receiver_expr": "e1", "receiver_type": "javax.naming.NamingException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -137224,6 +142816,9 @@ "argument_types": [ "java.lang.Runnable" ], + "argument_expr": [ + "new Runnable() {\n\n @Override\n public void run() {\n try {\n Thread.sleep(500);\n while (currentSession.isOpen()) {\n sentHitCount++;\n JsonMessage response = new JsonMessage();\n response.setKey(\"sentHitCount\");\n response.setValue(sentHitCount.toString());\n currentSession.getAsyncRemote().sendObject(response);\n Thread.sleep(100);\n }\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n}" + ], "return_type": "java.lang.Thread", "callee_signature": "newThread(java.lang.Runnable)", "is_public": true, @@ -137247,6 +142842,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "500" + ], "return_type": "", "callee_signature": "sleep(long)", "is_public": true, @@ -137268,6 +142866,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isOpen()", "is_public": true, @@ -137291,6 +142890,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sentHitCount\"" + ], "return_type": "", "callee_signature": "setKey(java.lang.String)", "is_public": true, @@ -137314,6 +142916,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "sentHitCount.toString()" + ], "return_type": "", "callee_signature": "setValue(java.lang.String)", "is_public": true, @@ -137335,6 +142940,7 @@ "receiver_expr": "sentHitCount", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -137358,6 +142964,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage" ], + "argument_expr": [ + "response" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "sendObject(java.lang.Object)", "is_public": true, @@ -137379,6 +142988,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Async", "callee_signature": "getAsyncRemote()", "is_public": true, @@ -137402,6 +143012,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "", "callee_signature": "sleep(long)", "is_public": true, @@ -137423,6 +143036,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.InterruptedException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -137444,6 +143058,7 @@ "receiver_expr": "thread", "receiver_type": "java.lang.Thread", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "start()", "is_public": true, @@ -137465,6 +143080,7 @@ "receiver_expr": "", "receiver_type": "javax.naming.InitialContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.naming.InitialContext", "callee_signature": "InitialContext()", "is_public": false, @@ -137486,8 +143102,9 @@ "receiver_expr": "", "receiver_type": "java.lang.Runnable", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-7341251b-dfba-485b-8f29-c2b0eef53621()", + "callee_signature": "Anonymous-2e8cca24-1763-4169-b573-ec364b1a1d1d()", "is_public": false, "is_protected": false, "is_private": false, @@ -137507,6 +143124,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", "callee_signature": "JsonMessage()", "is_public": false, @@ -137597,6 +143215,216 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": false + }, + "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketJson.java", + "signature": "ping(com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage)", + "comments": [], + "annotations": [ + "@OnMessage" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.io.IOException" + ], + "declaration": "public void ping(JsonMessage message) throws IOException", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 98, + "end_line": 98, + "start_column": 22, + "end_column": 40 + } + ], + "code": "{\n receivedHitCount++;\n JsonMessage response = new JsonMessage();\n response.setKey(\"receivedHitCount\");\n response.setValue(receivedHitCount.toString());\n currentSession.getAsyncRemote().sendObject(response);\n }", + "start_line": 97, + "end_line": 104, + "code_start_line": 98, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson.currentSession", + "com.ibm.websphere.samples.daytrader.web.prims.PingWebSocketJson.receivedHitCount" + ], + "call_sites": [ + { + "method_name": "setKey", + "comment": null, + "receiver_expr": "response", + "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"receivedHitCount\"" + ], + "return_type": "", + "callee_signature": "setKey(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 9, + "end_line": 101, + "end_column": 43 + }, + { + "method_name": "setValue", + "comment": null, + "receiver_expr": "response", + "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "receivedHitCount.toString()" + ], + "return_type": "", + "callee_signature": "setValue(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 9, + "end_line": 102, + "end_column": 54 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "receivedHitCount", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 27, + "end_line": 102, + "end_column": 53 + }, + { + "method_name": "sendObject", + "comment": null, + "receiver_expr": "currentSession.getAsyncRemote()", + "receiver_type": "javax.websocket.RemoteEndpoint.Async", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage" + ], + "argument_expr": [ + "response" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "sendObject(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 9, + "end_line": 103, + "end_column": 60 + }, + { + "method_name": "getAsyncRemote", + "comment": null, + "receiver_expr": "currentSession", + "receiver_type": "javax.websocket.Session", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.websocket.RemoteEndpoint.Async", + "callee_signature": "getAsyncRemote()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 9, + "end_line": 103, + "end_column": 39 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "callee_signature": "JsonMessage()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 32, + "end_line": 100, + "end_column": 48 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "response", + "type": "com.ibm.websphere.samples.daytrader.web.websocket.JsonMessage", + "initializer": "new JsonMessage()", + "start_line": 100, + "start_column": 21, + "end_line": 100, + "end_column": 48 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -137960,9 +143788,9 @@ "parent_type": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", "nested_type_declarations": [], "callable_declarations": { - "compare(QuoteDataBean, QuoteDataBean)": { + "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "compare(QuoteDataBean, QuoteDataBean)", + "signature": "compare(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "comments": [], "annotations": [ "@Override" @@ -138010,6 +143838,7 @@ "receiver_expr": "quote1", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -138031,6 +143860,7 @@ "receiver_expr": "quote2", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getChange()", "is_public": true, @@ -138054,6 +143884,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "change1" + ], "return_type": "", "callee_signature": "compareTo(java.lang.Double)", "is_public": true, @@ -138077,6 +143910,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "change2" + ], "return_type": "java.lang.Double", "callee_signature": "Double(double)", "is_public": false, @@ -138380,114 +144216,171 @@ "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.quotePriceComparator" ], "callable_declarations": { - "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)": { + "sell(java.lang.String, java.lang.Integer, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", + "signature": "sell(java.lang.String, java.lang.Integer, int)", "comments": [ { - "content": " pass the exception", - "start_line": 533, - "end_line": 533, - "start_column": 57, - "end_column": 77, + "content": " UPDATE the holding purchase data to signify this holding is", + "start_line": 174, + "end_line": 174, + "start_column": 13, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " \"inflight\" to be sold", + "start_line": 175, + "end_line": 175, + "start_column": 13, + "end_column": 36, + "is_javadoc": false + }, + { + "content": " -- could add a new holdingStatus attribute to holdingEJB", + "start_line": 176, + "end_line": 176, + "start_column": 13, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " UPDATE - account should be credited during completeOrder", + "start_line": 179, + "end_line": 179, + "start_column": 13, + "end_column": 71, + "is_javadoc": false + }, + { + "content": " if (order != null) order.cancel();", + "start_line": 197, + "end_line": 197, + "start_column": 13, + "end_column": 49, + "is_javadoc": false + }, + { + "content": " UPDATE - handle all exceptions like:", + "start_line": 198, + "end_line": 198, + "start_column": 13, + "end_column": 51, "is_javadoc": false } ], "annotations": [ - "@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)" + "@Override", + "@NotNull" ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void publishQuotePriceChange(QuoteDataBean quote, BigDecimal oldPrice, BigDecimal changeFactor, double sharesTraded)", + "declaration": "public OrderDataBean sell(final String userID, final Integer holdingID, int orderProcessingMode)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", - "annotations": [], - "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 41, - "end_column": 59 - }, - { - "type": "java.math.BigDecimal", - "name": "oldPrice", + "type": "java.lang.String", + "name": "userID", "annotations": [], - "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 62, - "end_column": 80 + "modifiers": [ + "final" + ], + "start_line": 150, + "end_line": 150, + "start_column": 31, + "end_column": 49 }, { - "type": "java.math.BigDecimal", - "name": "changeFactor", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], - "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 83, - "end_column": 105 + "modifiers": [ + "final" + ], + "start_line": 150, + "end_line": 150, + "start_column": 52, + "end_column": 74 }, { - "type": "double", - "name": "sharesTraded", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 108, - "end_column": 126 + "start_line": 150, + "end_line": 150, + "start_column": 77, + "end_column": 99 } ], - "code": "{\n if (!TradeConfig.getPublishQuotePriceChange()) {\n return;\n }\n\n try (JMSContext topicContext = topicConnectionFactory.createContext();) {\n TextMessage message = topicContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"updateQuote\");\n message.setStringProperty(\"symbol\", quote.getSymbol());\n message.setStringProperty(\"company\", quote.getCompanyName());\n message.setStringProperty(\"price\", quote.getPrice().toString());\n message.setStringProperty(\"oldPrice\", oldPrice.toString());\n message.setStringProperty(\"open\", quote.getOpen().toString());\n message.setStringProperty(\"low\", quote.getLow().toString());\n message.setStringProperty(\"high\", quote.getHigh().toString());\n message.setDoubleProperty(\"volume\", quote.getVolume());\n message.setStringProperty(\"changeFactor\", changeFactor.toString());\n message.setDoubleProperty(\"sharesTraded\", sharesTraded);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Update Stock price for \" + quote.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quote.getPrice());\n\n topicContext.createProducer().send(tradeStreamerTopic, message);\n } catch (Exception e) {\n throw new EJBException(e.getMessage(), e); // pass the exception\n }\n }", - "start_line": 508, - "end_line": 535, - "code_start_line": 509, - "return_type": "void", + "code": "{\n OrderDataBean order=null;\n BigDecimal total;\n try {\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n\n HoldingDataBean holding = entityManager.find(HoldingDataBean.class, holdingID);\n\n if (holding == null) {\n Log.debug(\"TradeSLSBBean:sell User \" + userID + \" attempted to sell holding \" + holdingID + \" which has already been sold\");\n\n OrderDataBean orderData = new OrderDataBean();\n orderData.setOrderStatus(\"cancelled\");\n entityManager.persist(orderData);\n\n return orderData;\n }\n\n QuoteDataBean quote = holding.getQuote();\n double quantity = holding.getQuantity();\n\n order = createOrder(account, quote, holding, \"sell\", quantity);\n\n // UPDATE the holding purchase data to signify this holding is\n // \"inflight\" to be sold\n // -- could add a new holdingStatus attribute to holdingEJB\n holding.setPurchaseDate(new java.sql.Timestamp(0));\n\n // UPDATE - account should be credited during completeOrder\n BigDecimal price = quote.getPrice();\n BigDecimal orderFee = order.getOrderFee();\n BigDecimal balance = account.getBalance();\n total = (new BigDecimal(quantity).multiply(price)).subtract(orderFee);\n account.setBalance(balance.add(total));\n final Integer orderID=order.getOrderID(); \n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true);\n }\n\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \") --> failed\", e);\n // if (order != null) order.cancel();\n // UPDATE - handle all exceptions like:\n throw new EJBException(\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \")\", e);\n }\n return order;\n }", + "start_line": 148, + "end_line": 202, + "code_start_line": 150, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.jms.JMSContext", - "javax.jms.TextMessage" + "java.math.BigDecimal", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.lang.Integer", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeStreamerTopic", - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.topicConnectionFactory" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH" ], "call_sites": [ { - "method_name": "getPublishQuotePriceChange", + "method_name": "find", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getPublishQuotePriceChange()", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 154, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 510, - "start_column": 14, - "end_line": 510, - "end_column": 53 + "start_line": 154, + "start_column": 46, + "end_line": 154, + "end_column": 101 }, { - "method_name": "createContext", + "method_name": "getAccount", "comment": null, - "receiver_expr": "topicConnectionFactory", - "receiver_type": "javax.jms.TopicConnectionFactory", + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "javax.jms.JMSContext", - "callee_signature": "createContext()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccount()", "is_public": true, "is_protected": false, "is_private": false, @@ -138496,67 +144389,85 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 514, - "start_column": 40, - "end_line": 514, - "end_column": 77 + "start_line": 155, + "start_column": 39, + "end_line": 155, + "end_column": 58 }, { - "method_name": "createTextMessage", + "method_name": "find", "comment": null, - "receiver_expr": "topicContext", - "receiver_type": "javax.jms.JMSContext", - "argument_types": [], - "return_type": "javax.jms.TextMessage", - "callee_signature": "createTextMessage()", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.Integer" + ], + "argument_expr": [ + "HoldingDataBean.class", + "holdingID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 157, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 515, - "start_column": 35, - "end_line": 515, - "end_column": 66 + "start_line": 157, + "start_column": 39, + "end_line": 157, + "end_column": 90 }, { - "method_name": "setStringProperty", + "method_name": "debug", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeSLSBBean:sell User \" + userID + \" attempted to sell holding \" + holdingID + \" which has already been sold\"" + ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 517, - "start_column": 13, - "end_line": 517, - "end_column": 63 + "start_line": 160, + "start_column": 17, + "end_line": 160, + "end_column": 139 }, { - "method_name": "setStringProperty", + "method_name": "setOrderStatus", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [ - "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"cancelled\"" + ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -138565,43 +144476,53 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 518, - "start_column": 13, - "end_line": 518, - "end_column": 66 + "start_line": 163, + "start_column": 17, + "end_line": 163, + "end_column": 53 }, { - "method_name": "getSymbol", + "method_name": "persist", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "orderData" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 164, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 518, - "start_column": 49, - "end_line": 518, - "end_column": 65 + "start_line": 164, + "start_column": 17, + "end_line": 164, + "end_column": 48 }, { - "method_name": "setStringProperty", + "method_name": "getQuote", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "receiver_expr": "holding", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote()", "is_public": true, "is_protected": false, "is_private": false, @@ -138610,19 +144531,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 519, - "start_column": 13, - "end_line": 519, - "end_column": 72 + "start_line": 169, + "start_column": 35, + "end_line": 169, + "end_column": 52 }, { - "method_name": "getCompanyName", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_expr": "holding", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCompanyName()", + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -138631,22 +144553,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 519, - "start_column": 50, - "end_line": 519, - "end_column": 71 + "start_line": 170, + "start_column": 31, + "end_line": 170, + "end_column": 51 }, { - "method_name": "setStringProperty", + "method_name": "createOrder", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "java.lang.String", - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "argument_expr": [ + "account", + "quote", + "holding", + "\"sell\"", + "quantity" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -138655,19 +144587,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, - "start_column": 13, - "end_line": 520, - "end_column": 75 + "start_line": 172, + "start_column": 21, + "end_line": 172, + "end_column": 74 }, { - "method_name": "toString", - "comment": null, - "receiver_expr": "quote.getPrice()", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "method_name": "setPurchaseDate", + "comment": { + "content": " -- could add a new holdingStatus attribute to holdingEJB", + "start_line": 176, + "end_line": 176, + "start_column": 13, + "end_column": 71, + "is_javadoc": false + }, + "receiver_expr": "holding", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [ + "java.sql.Timestamp" + ], + "argument_expr": [ + "new java.sql.Timestamp(0)" + ], + "return_type": "", + "callee_signature": "setPurchaseDate(java.util.Date)", "is_public": true, "is_protected": false, "is_private": false, @@ -138676,10 +144620,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, - "start_column": 48, - "end_line": 520, - "end_column": 74 + "start_line": 177, + "start_column": 13, + "end_line": 177, + "end_column": 62 }, { "method_name": "getPrice", @@ -138687,6 +144631,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -138697,22 +144642,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 520, - "start_column": 48, - "end_line": 520, - "end_column": 63 + "start_line": 180, + "start_column": 32, + "end_line": 180, + "end_column": 47 }, { - "method_name": "setStringProperty", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee()", "is_public": true, "is_protected": false, "is_private": false, @@ -138721,19 +144664,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 521, - "start_column": 13, - "end_line": 521, - "end_column": 70 + "start_line": 181, + "start_column": 35, + "end_line": 181, + "end_column": 53 }, { - "method_name": "toString", + "method_name": "getBalance", "comment": null, - "receiver_expr": "oldPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBalance()", "is_public": true, "is_protected": false, "is_private": false, @@ -138742,22 +144686,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 521, - "start_column": 51, - "end_line": 521, - "end_column": 69 + "start_line": 182, + "start_column": 34, + "end_line": 182, + "end_column": 53 }, { - "method_name": "setStringProperty", + "method_name": "subtract", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "(new BigDecimal(quantity).multiply(price))", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.math.BigDecimal" ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "argument_expr": [ + "orderFee" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -138766,40 +144712,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 522, - "start_column": 13, - "end_line": 522, - "end_column": 73 + "start_line": 183, + "start_column": 21, + "end_line": 183, + "end_column": 81 }, { - "method_name": "toString", + "method_name": "multiply", "comment": null, - "receiver_expr": "quote.getOpen()", + "receiver_expr": "new BigDecimal(quantity)", "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 522, - "start_column": 47, - "end_line": 522, - "end_column": 72 - }, - { - "method_name": "getOpen", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "price" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "getOpen()", + "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -138808,22 +144738,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 522, - "start_column": 47, - "end_line": 522, + "start_line": 183, + "start_column": 22, + "end_line": 183, "end_column": 61 }, { - "method_name": "setStringProperty", + "method_name": "setBalance", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.math.BigDecimal" + ], + "argument_expr": [ + "balance.add(total)" ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "setBalance(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -138832,64 +144764,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, + "start_line": 184, "start_column": 13, - "end_line": 523, - "end_column": 71 + "end_line": 184, + "end_column": 50 }, { - "method_name": "toString", + "method_name": "add", "comment": null, - "receiver_expr": "quote.getLow()", + "receiver_expr": "balance", "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 523, - "start_column": 46, - "end_line": 523, - "end_column": 70 - }, - { - "method_name": "getLow", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getLow()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 523, - "start_column": 46, - "end_line": 523, - "end_column": 59 - }, - { - "method_name": "setStringProperty", - "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.math.BigDecimal" ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "argument_expr": [ + "total" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "add(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -138898,19 +144790,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, - "start_column": 13, - "end_line": 524, - "end_column": 73 + "start_line": 184, + "start_column": 32, + "end_line": 184, + "end_column": 49 }, { - "method_name": "toString", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "quote.getHigh()", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -138919,19 +144812,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, - "start_column": 47, - "end_line": 524, - "end_column": 72 + "start_line": 185, + "start_column": 35, + "end_line": 185, + "end_column": 52 }, { - "method_name": "getHigh", + "method_name": "completeOrder", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getHigh()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "false" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -138940,22 +144840,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 524, - "start_column": 47, - "end_line": 524, - "end_column": 61 + "start_line": 188, + "start_column": 17, + "end_line": 188, + "end_column": 45 }, { - "method_name": "setDoubleProperty", + "method_name": "completeOrderAsync", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", + "java.lang.Integer", "" ], - "return_type": "", - "callee_signature": "setDoubleProperty(java.lang.String, double)", + "argument_expr": [ + "orderID", + "false" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -138964,19 +144868,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 525, - "start_column": 13, - "end_line": 525, - "end_column": 66 + "start_line": 190, + "start_column": 17, + "end_line": 190, + "end_column": 50 }, { - "method_name": "getVolume", + "method_name": "queueOrder", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "true" + ], "return_type": "", - "callee_signature": "getVolume()", + "callee_signature": "queueOrder(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -138985,222 +144896,468 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 525, - "start_column": 49, - "end_line": 525, - "end_column": 65 + "start_line": 192, + "start_column": 17, + "end_line": 192, + "end_column": 41 }, { - "method_name": "setStringProperty", + "method_name": "error", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.String" + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \") --> failed\"", + "e" ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, + "start_line": 196, "start_column": 13, - "end_line": 526, - "end_column": 78 + "end_line": 196, + "end_column": 91 }, { - "method_name": "toString", + "method_name": "", "comment": null, - "receiver_expr": "changeFactor", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "OrderDataBean()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 526, - "start_column": 55, - "end_line": 526, - "end_column": 77 + "start_line": 162, + "start_column": 43, + "end_line": 162, + "end_column": 61 }, { - "method_name": "setDoubleProperty", + "method_name": "", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.lang.String", "" ], - "return_type": "", - "callee_signature": "setDoubleProperty(java.lang.String, double)", - "is_public": true, + "argument_expr": [ + "0" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 527, - "start_column": 13, - "end_line": 527, - "end_column": 67 + "start_line": 177, + "start_column": 37, + "end_line": 177, + "end_column": 61 }, { - "method_name": "setLongProperty", + "method_name": "", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String", "" ], - "return_type": "", - "callee_signature": "setLongProperty(java.lang.String, long)", - "is_public": true, + "argument_expr": [ + "quantity" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 528, - "start_column": 13, - "end_line": 528, - "end_column": 78 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 528, - "start_column": 52, - "end_line": 528, - "end_column": 77 + "start_line": 183, + "start_column": 22, + "end_line": 183, + "end_column": 45 }, { - "method_name": "setText", - "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "method_name": "", + "comment": { + "content": " UPDATE - handle all exceptions like:", + "start_line": 198, + "end_line": 198, + "start_column": 13, + "end_column": 51, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "javax.ejb.EJBException", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Exception" ], - "return_type": "", - "callee_signature": "setText(java.lang.String)", - "is_public": true, + "argument_expr": [ + "\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \")\"", + "e" + ], + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 529, - "start_column": 13, - "end_line": 529, - "end_column": 140 - }, + "start_line": 199, + "start_column": 19, + "end_line": 199, + "end_column": 93 + } + ], + "variable_declarations": [ { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 529, - "start_column": 57, - "end_line": 529, - "end_column": 73 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "order", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "null", + "start_line": 151, + "start_column": 23, + "end_line": 151, + "end_column": 32 }, { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 529, - "start_column": 124, - "end_line": 529, - "end_column": 139 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "total", + "type": "java.math.BigDecimal", + "initializer": "", + "start_line": 152, + "start_column": 20, + "end_line": 152, + "end_column": 24 }, { - "method_name": "send", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "profile", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", + "start_line": 154, + "start_column": 36, + "end_line": 154, + "end_column": 101 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "profile.getAccount()", + "start_line": 155, + "start_column": 29, + "end_line": 155, + "end_column": 58 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holding", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "entityManager.find(HoldingDataBean.class, holdingID)", + "start_line": 157, + "start_column": 29, + "end_line": 157, + "end_column": 90 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "new OrderDataBean()", + "start_line": 162, + "start_column": 31, + "end_line": 162, + "end_column": 61 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quote", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "holding.getQuote()", + "start_line": 169, + "start_column": 27, + "end_line": 169, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "double", + "initializer": "holding.getQuantity()", + "start_line": 170, + "start_column": 20, + "end_line": 170, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "java.math.BigDecimal", + "initializer": "quote.getPrice()", + "start_line": 180, + "start_column": 24, + "end_line": 180, + "end_column": 47 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderFee", + "type": "java.math.BigDecimal", + "initializer": "order.getOrderFee()", + "start_line": 181, + "start_column": 24, + "end_line": 181, + "end_column": 53 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "balance", + "type": "java.math.BigDecimal", + "initializer": "account.getBalance()", + "start_line": 182, + "start_column": 24, + "end_line": 182, + "end_column": 53 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderID", + "type": "java.lang.Integer", + "initializer": "order.getOrderID()", + "start_line": 185, + "start_column": 27, + "end_line": 185, + "end_column": 52 + } + ], + "crud_operations": [ + { + "line_number": 154, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 157, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 164, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 6, + "is_entrypoint": false + }, + "getOrders(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "getOrders(java.lang.String)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Collection getOrders(String userID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 299, + "end_line": 299, + "start_column": 48, + "end_column": 60 + } + ], + "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n return account.getOrders();\n }", + "start_line": 298, + "end_line": 303, + "code_start_line": 299, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + ], + "call_sites": [ + { + "method_name": "find", "comment": null, - "receiver_expr": "topicContext.createProducer()", - "receiver_type": "javax.jms.JMSProducer", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "javax.jms.Topic", - "javax.jms.TextMessage" + "java.lang.Class", + "java.lang.String" ], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 300, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 531, - "start_column": 13, - "end_line": 531, - "end_column": 75 + "start_line": 300, + "start_column": 42, + "end_line": 300, + "end_column": 97 }, { - "method_name": "createProducer", + "method_name": "getAccount", "comment": null, - "receiver_expr": "topicContext", - "receiver_type": "javax.jms.JMSContext", + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "createProducer()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccount()", "is_public": true, "is_protected": false, "is_private": false, @@ -139209,19 +145366,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 531, - "start_column": 13, - "end_line": 531, - "end_column": 41 + "start_line": 301, + "start_column": 35, + "end_line": 301, + "end_column": 54 }, { - "method_name": "getMessage", + "method_name": "getOrders", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", + "argument_expr": [], + "return_type": "java.util.Collection", + "callee_signature": "getOrders()", "is_public": true, "is_protected": false, "is_private": false, @@ -139230,41 +145388,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 533, - "start_column": 37, - "end_line": 533, - "end_column": 50 - }, - { - "method_name": "", - "comment": { - "content": " pass the exception", - "start_line": 533, - "end_line": 533, - "start_column": 57, - "end_column": 77, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 533, - "start_column": 20, - "end_line": 533, - "end_column": 54 + "start_line": 302, + "start_column": 16, + "end_line": 302, + "end_column": 34 } ], "variable_declarations": [ @@ -139277,13 +145404,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "topicContext", - "type": "javax.jms.JMSContext", - "initializer": "topicConnectionFactory.createContext()", - "start_line": 514, - "start_column": 25, - "end_line": 514, - "end_column": 77 + "name": "profile", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", + "start_line": 300, + "start_column": 32, + "end_line": 300, + "end_column": 97 }, { "comment": { @@ -139294,106 +145421,117 @@ "end_column": -1, "is_javadoc": false }, - "name": "message", - "type": "javax.jms.TextMessage", - "initializer": "topicContext.createTextMessage()", - "start_line": 515, + "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "profile.getAccount()", + "start_line": 301, "start_column": 25, - "end_line": 515, - "end_column": 66 + "end_line": 301, + "end_column": 54 + } + ], + "crud_operations": [ + { + "line_number": 300, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 7, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { + "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "comments": [], - "annotations": [], + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "comments": [ + { + "content": " pass the exception", + "start_line": 533, + "end_line": 533, + "start_column": 57, + "end_column": 77, + "is_javadoc": false + } + ], + "annotations": [ + "@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity)", + "declaration": "public void publishQuotePriceChange(QuoteDataBean quote, BigDecimal oldPrice, BigDecimal changeFactor, double sharesTraded)", "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", - "annotations": [], - "modifiers": [], - "start_line": 537, - "end_line": 537, - "start_column": 38, - "end_column": 60 - }, { "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "name": "quote", "annotations": [], "modifiers": [], - "start_line": 537, - "end_line": 537, - "start_column": 63, - "end_column": 81 + "start_line": 509, + "end_line": 509, + "start_column": 41, + "end_column": 59 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holding", + "type": "java.math.BigDecimal", + "name": "oldPrice", "annotations": [], "modifiers": [], - "start_line": 537, - "end_line": 537, - "start_column": 84, - "end_column": 106 + "start_line": 509, + "end_line": 509, + "start_column": 62, + "end_column": 80 }, { - "type": "java.lang.String", - "name": "orderType", + "type": "java.math.BigDecimal", + "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 537, - "end_line": 537, - "start_column": 109, - "end_column": 124 + "start_line": 509, + "end_line": 509, + "start_column": 83, + "end_column": 105 }, { "type": "double", - "name": "quantity", + "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 537, - "end_line": 537, - "start_column": 127, - "end_column": 141 + "start_line": 509, + "end_line": 509, + "start_column": 108, + "end_column": 126 } ], - "code": "{\n OrderDataBean order;\n\n try {\n order = new OrderDataBean(orderType, \"open\", new Timestamp(System.currentTimeMillis()), null, quantity, quote.getPrice().setScale(\n FinancialUtils.SCALE, FinancialUtils.ROUND), TradeConfig.getOrderFee(orderType), account, quote, holding);\n entityManager.persist(order);\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:createOrder -- failed to create Order. The stock/quote may not exist in the database.\", e);\n throw new EJBException(\"TradeSLSBBean:createOrder -- failed to create Order. Check that the symbol exists in the database.\", e);\n }\n return order;\n }", - "start_line": 537, - "end_line": 549, - "code_start_line": 537, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n if (!TradeConfig.getPublishQuotePriceChange()) {\n return;\n }\n\n try (JMSContext topicContext = topicConnectionFactory.createContext();) {\n TextMessage message = topicContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"updateQuote\");\n message.setStringProperty(\"symbol\", quote.getSymbol());\n message.setStringProperty(\"company\", quote.getCompanyName());\n message.setStringProperty(\"price\", quote.getPrice().toString());\n message.setStringProperty(\"oldPrice\", oldPrice.toString());\n message.setStringProperty(\"open\", quote.getOpen().toString());\n message.setStringProperty(\"low\", quote.getLow().toString());\n message.setStringProperty(\"high\", quote.getHigh().toString());\n message.setDoubleProperty(\"volume\", quote.getVolume());\n message.setStringProperty(\"changeFactor\", changeFactor.toString());\n message.setDoubleProperty(\"sharesTraded\", sharesTraded);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Update Stock price for \" + quote.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quote.getPrice());\n\n topicContext.createProducer().send(tradeStreamerTopic, message);\n } catch (Exception e) {\n throw new EJBException(e.getMessage(), e); // pass the exception\n }\n }", + "start_line": 508, + "end_line": 535, + "code_start_line": 509, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "javax.jms.JMSContext", + "javax.jms.TextMessage" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeStreamerTopic", + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.topicConnectionFactory" ], "call_sites": [ { - "method_name": "currentTimeMillis", + "method_name": "getPublishQuotePriceChange", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "currentTimeMillis()", + "callee_signature": "getPublishQuotePriceChange()", "is_public": true, "is_protected": false, "is_private": false, @@ -139402,22 +145540,70 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 541, - "start_column": 72, - "end_line": 541, - "end_column": 97 + "start_line": 510, + "start_column": 14, + "end_line": 510, + "end_column": 53 }, { - "method_name": "setScale", + "method_name": "createContext", "comment": null, - "receiver_expr": "quote.getPrice()", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "topicConnectionFactory", + "receiver_type": "javax.jms.TopicConnectionFactory", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSContext", + "callee_signature": "createContext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 514, + "start_column": 40, + "end_line": 514, + "end_column": 77 + }, + { + "method_name": "createTextMessage", + "comment": null, + "receiver_expr": "topicContext", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.TextMessage", + "callee_signature": "createTextMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 515, + "start_column": 35, + "end_line": 515, + "end_column": 66 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "", - "" + "java.lang.String", + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", + "argument_expr": [ + "\"command\"", + "\"updateQuote\"" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -139426,17 +145612,168 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 541, - "start_column": 117, - "end_line": 542, + "start_line": 517, + "start_column": 13, + "end_line": 517, "end_column": 63 }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"symbol\"", + "quote.getSymbol()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 518, + "start_column": 13, + "end_line": 518, + "end_column": 66 + }, + { + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 518, + "start_column": 49, + "end_line": 518, + "end_column": 65 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"company\"", + "quote.getCompanyName()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 519, + "start_column": 13, + "end_line": 519, + "end_column": 72 + }, + { + "method_name": "getCompanyName", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCompanyName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 519, + "start_column": 50, + "end_line": 519, + "end_column": 71 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"price\"", + "quote.getPrice().toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 520, + "start_column": 13, + "end_line": 520, + "end_column": 75 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "quote.getPrice()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 520, + "start_column": 48, + "end_line": 520, + "end_column": 74 + }, { "method_name": "getPrice", "comment": null, "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -139447,152 +145784,617 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 541, - "start_column": 117, - "end_line": 541, - "end_column": 132 + "start_line": 520, + "start_column": 48, + "end_line": 520, + "end_column": 63 }, { - "method_name": "getOrderFee", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"oldPrice\"", + "oldPrice.toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 521, + "start_column": 13, + "end_line": 521, + "end_column": 70 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "oldPrice", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 521, + "start_column": 51, + "end_line": 521, + "end_column": 69 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"open\"", + "quote.getOpen().toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 522, + "start_column": 13, + "end_line": 522, + "end_column": 73 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "quote.getOpen()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 522, + "start_column": 47, + "end_line": 522, + "end_column": 72 + }, + { + "method_name": "getOpen", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee(java.lang.String)", + "callee_signature": "getOpen()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 542, - "start_column": 66, - "end_line": 542, - "end_column": 99 + "start_line": 522, + "start_column": 47, + "end_line": 522, + "end_column": 61 }, { - "method_name": "persist", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"low\"", + "quote.getLow().toString()" ], "return_type": "", - "callee_signature": "persist(java.lang.Object)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 543, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 543, + "start_line": 523, "start_column": 13, - "end_line": 543, - "end_column": 40 + "end_line": 523, + "end_column": 71 }, { - "method_name": "error", + "method_name": "toString", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "quote.getLow()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 523, + "start_column": 46, + "end_line": 523, + "end_column": 70 + }, + { + "method_name": "getLow", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getLow()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 523, + "start_column": 46, + "end_line": 523, + "end_column": 59 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ "java.lang.String", - "java.lang.Exception" + "java.lang.String" + ], + "argument_expr": [ + "\"high\"", + "quote.getHigh().toString()" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 545, + "start_line": 524, "start_column": 13, - "end_line": 545, - "end_column": 127 + "end_line": 524, + "end_column": 73 }, { - "method_name": "", + "method_name": "toString", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "quote.getHigh()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 524, + "start_column": 47, + "end_line": 524, + "end_column": 72 + }, + { + "method_name": "getHigh", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getHigh()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 524, + "start_column": 47, + "end_line": 524, + "end_column": 61 + }, + { + "method_name": "setDoubleProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ "java.lang.String", + "" + ], + "argument_expr": [ + "\"volume\"", + "quote.getVolume()" + ], + "return_type": "", + "callee_signature": "setDoubleProperty(java.lang.String, double)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 525, + "start_column": 13, + "end_line": 525, + "end_column": 66 + }, + { + "method_name": "getVolume", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getVolume()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 525, + "start_column": 49, + "end_line": 525, + "end_column": 65 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ "java.lang.String", - "java.sql.Timestamp", - "", - "", - "java.math.BigDecimal", - "java.math.BigDecimal", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", - "is_public": false, + "argument_expr": [ + "\"changeFactor\"", + "changeFactor.toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 541, - "start_column": 21, - "end_line": 542, - "end_column": 125 + "start_line": 526, + "start_column": 13, + "end_line": 526, + "end_column": 78 }, { - "method_name": "", + "method_name": "toString", "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", + "receiver_expr": "changeFactor", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 526, + "start_column": 55, + "end_line": 526, + "end_column": 77 + }, + { + "method_name": "setDoubleProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ + "java.lang.String", "" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, + "argument_expr": [ + "\"sharesTraded\"", + "sharesTraded" + ], + "return_type": "", + "callee_signature": "setDoubleProperty(java.lang.String, double)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 541, - "start_column": 58, - "end_line": 541, - "end_column": 98 + "start_line": 527, + "start_column": 13, + "end_line": 527, + "end_column": 67 }, { - "method_name": "", + "method_name": "setLongProperty", "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" + ], + "return_type": "", + "callee_signature": "setLongProperty(java.lang.String, long)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 528, + "start_column": 13, + "end_line": 528, + "end_column": 78 + }, + { + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 528, + "start_column": 52, + "end_line": 528, + "end_column": 77 + }, + { + "method_name": "setText", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Update Stock price for \" + quote.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quote.getPrice()" + ], + "return_type": "", + "callee_signature": "setText(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 529, + "start_column": 13, + "end_line": 529, + "end_column": 140 + }, + { + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 529, + "start_column": 57, + "end_line": 529, + "end_column": 73 + }, + { + "method_name": "getPrice", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 529, + "start_column": 124, + "end_line": 529, + "end_column": 139 + }, + { + "method_name": "send", + "comment": null, + "receiver_expr": "topicContext.createProducer()", + "receiver_type": "javax.jms.JMSProducer", + "argument_types": [ + "javax.jms.Topic", + "javax.jms.TextMessage" + ], + "argument_expr": [ + "tradeStreamerTopic", + "message" + ], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 531, + "start_column": 13, + "end_line": 531, + "end_column": 75 + }, + { + "method_name": "createProducer", + "comment": null, + "receiver_expr": "topicContext", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "createProducer()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 531, + "start_column": 13, + "end_line": 531, + "end_column": 41 + }, + { + "method_name": "getMessage", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 533, + "start_column": 37, + "end_line": 533, + "end_column": 50 + }, + { + "method_name": "", + "comment": { + "content": " pass the exception", + "start_line": 533, + "end_line": 533, + "start_column": 57, + "end_column": 77, + "is_javadoc": false + }, "receiver_expr": "", "receiver_type": "javax.ejb.EJBException", "argument_types": [ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "e.getMessage()", + "e" + ], "return_type": "javax.ejb.EJBException", "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", "is_public": false, @@ -139603,10 +146405,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 546, - "start_column": 19, - "end_line": 546, - "end_column": 139 + "start_line": 533, + "start_column": 20, + "end_line": 533, + "end_column": 54 } ], "variable_declarations": [ @@ -139619,27 +146421,35 @@ "end_column": -1, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "", - "start_line": 538, - "start_column": 23, - "end_line": 538, - "end_column": 27 - } - ], - "crud_operations": [ + "name": "topicContext", + "type": "javax.jms.JMSContext", + "initializer": "topicConnectionFactory.createContext()", + "start_line": 514, + "start_column": 25, + "end_line": 514, + "end_column": 77 + }, { - "line_number": 543, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "message", + "type": "javax.jms.TextMessage", + "initializer": "topicContext.createTextMessage()", + "start_line": 515, + "start_column": 25, + "end_line": 515, + "end_column": 66 } ], + "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 7, "is_entrypoint": false }, "getMarketSummary()": { @@ -139673,6 +146483,7 @@ "receiver_expr": "marketSummarySingleton", "receiver_type": "com.ibm.websphere.samples.daytrader.impl.ejb3.MarketSummarySingleton", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "callee_signature": "getMarketSummaryDataBean()", "is_public": true, @@ -139782,388 +146593,205 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAllQuotes()": { + "buy(java.lang.String, java.lang.String, double, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getAllQuotes()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Collection getAllQuotes()", - "parameters": [], - "code": "{\n TypedQuery query = entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class);\n return query.getResultList();\n }", - "start_line": 366, - "end_line": 370, - "code_start_line": 367, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.persistence.TypedQuery" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "comments": [ { - "method_name": "createNamedQuery", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.String", - "java.lang.Class" - ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "createNamedQuery(java.lang.String, java.lang.Class)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": { - "line_number": 368, - "query_arguments": [ - "\"quoteejb.allQuotes\"", - "QuoteDataBean.class" - ], - "query_type": "NAMED" - }, - "start_line": 368, - "start_column": 43, - "end_line": 368, - "end_column": 115 + "content": " this buy order", + "start_line": 119, + "end_line": 119, + "start_column": 13, + "end_column": 29, + "is_javadoc": false }, { - "method_name": "getResultList", - "comment": null, - "receiver_expr": "query", - "receiver_type": "javax.persistence.TypedQuery", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getResultList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 369, - "start_column": 16, - "end_line": 369, - "end_column": 36 - } - ], - "variable_declarations": [ + "content": " The holding will be created by", + "start_line": 118, + "end_line": 118, + "start_column": 45, + "end_column": 77, + "is_javadoc": false + }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "query", - "type": "javax.persistence.TypedQuery", - "initializer": "entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class)", - "start_line": 368, - "start_column": 35, - "end_line": 368, - "end_column": 115 - } - ], - "crud_operations": [], - "crud_queries": [ + "content": " UPDATE - account should be credited during completeOrder", + "start_line": 123, + "end_line": 123, + "start_column": 13, + "end_column": 71, + "is_javadoc": false + }, { - "line_number": 368, - "query_arguments": [ - "\"quoteejb.allQuotes\"", - "QuoteDataBean.class" - ], - "query_type": "NAMED" - } - ], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "register(String, String, String, String, String, String, BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "comments": [ + "content": " On exception - cancel the order ", + "start_line": 140, + "end_line": 140, + "start_column": 13, + "end_column": 49, + "is_javadoc": false + }, { - "content": " Check to see if a profile with the desired userID already exists", - "start_line": 488, - "end_line": 488, - "start_column": 9, - "end_column": 75, + "content": " TODO figure out how to do this with JPA", + "start_line": 141, + "end_line": 141, + "start_column": 13, + "end_column": 54, + "is_javadoc": false + }, + { + "content": " if (order != null) order.cancel();", + "start_line": 142, + "end_line": 142, + "start_column": 13, + "end_column": 49, "is_javadoc": false } ], "annotations": [ - "@Override" + "@Override", + "@NotNull" ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance)", + "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode)", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 37, - "end_column": 49 + "start_line": 110, + "end_line": 110, + "start_column": 30, + "end_column": 42 }, { "type": "java.lang.String", - "name": "password", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 52, - "end_column": 66 + "start_line": 110, + "end_line": 110, + "start_column": 45, + "end_column": 57 }, { - "type": "java.lang.String", - "name": "fullname", + "type": "double", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 69, - "end_column": 83 + "start_line": 110, + "end_line": 110, + "start_column": 60, + "end_column": 74 }, { - "type": "java.lang.String", - "name": "address", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 86, + "start_line": 110, + "end_line": 110, + "start_column": 77, "end_column": 99 - }, - { - "type": "java.lang.String", - "name": "email", - "annotations": [], - "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 102, - "end_column": 113 - }, - { - "type": "java.lang.String", - "name": "creditcard", - "annotations": [], - "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 116, - "end_column": 132 - }, - { - "type": "java.math.BigDecimal", - "name": "openBalance", - "annotations": [], - "modifiers": [], - "start_line": 484, - "end_line": 484, - "start_column": 135, - "end_column": 156 } ], - "code": "{\n AccountDataBean account = null;\n AccountProfileDataBean profile = null;\n\n // Check to see if a profile with the desired userID already exists\n profile = entityManager.find(AccountProfileDataBean.class, userID);\n\n if (profile != null) {\n Log.error(\"Failed to register new Account - AccountProfile with userID(\" + userID + \") already exists\");\n return null;\n } else {\n profile = new AccountProfileDataBean(userID, password, fullname, address, email, creditcard);\n account = new AccountDataBean(0, 0, null, new Timestamp(System.currentTimeMillis()), openBalance, openBalance, userID);\n\n profile.setAccount(account);\n account.setProfile(profile);\n\n entityManager.persist(profile);\n entityManager.persist(account);\n }\n\n return account;\n }", - "start_line": 483, - "end_line": 506, - "code_start_line": 484, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n OrderDataBean order = null;\n BigDecimal total;\n try {\n\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n QuoteDataBean quote = entityManager.find(QuoteDataBean.class, symbol);\n HoldingDataBean holding = null; // The holding will be created by\n // this buy order\n\n order = createOrder(account, quote, holding, \"buy\", quantity);\n \n // UPDATE - account should be credited during completeOrder\n BigDecimal price = quote.getPrice();\n BigDecimal orderFee = order.getOrderFee();\n BigDecimal balance = account.getBalance();\n total = (new BigDecimal(quantity).multiply(price)).add(orderFee);\n account.setBalance(balance.subtract(total));\n final Integer orderID=order.getOrderID();\n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true);\n }\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed\", e);\n /* On exception - cancel the order */\n // TODO figure out how to do this with JPA\n // if (order != null) order.cancel();\n throw new EJBException(e);\n }\n return order;\n }", + "start_line": 108, + "end_line": 146, + "code_start_line": 110, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ + "java.math.BigDecimal", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.lang.Integer", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH" ], "call_sites": [ { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 489, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 489, - "start_column": 19, - "end_line": 489, - "end_column": 74 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 492, - "start_column": 13, - "end_line": 492, - "end_column": 115 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 496, - "start_column": 69, - "end_line": 496, - "end_column": 94 - }, - { - "method_name": "setAccount", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" - ], - "return_type": "", - "callee_signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 498, - "start_column": 13, - "end_line": 498, - "end_column": 39 - }, - { - "method_name": "setProfile", + "method_name": "find", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "java.lang.Class", + "java.lang.String" ], - "return_type": "", - "callee_signature": "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 115, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 499, - "start_column": 13, - "end_line": 499, - "end_column": 39 + "start_line": 115, + "start_column": 46, + "end_line": 115, + "end_column": 101 }, { - "method_name": "persist", + "method_name": "getAccount", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "return_type": "", - "callee_signature": "persist(java.lang.Object)", + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccount()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 501, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 501, - "start_column": 13, - "end_line": 501, - "end_column": 42 + "start_line": 116, + "start_column": 39, + "end_line": 116, + "end_column": 58 }, { - "method_name": "persist", + "method_name": "find", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "java.lang.Class", + "java.lang.String" ], - "return_type": "", - "callee_signature": "persist(java.lang.Object)", + "argument_expr": [ + "QuoteDataBean.class", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -140171,215 +146799,84 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 502, - "operation_type": "CREATE", + "line_number": 117, + "operation_type": "READ", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null }, "crud_query": null, - "start_line": 502, - "start_column": 13, - "end_line": 502, - "end_column": 42 + "start_line": 117, + "start_column": 35, + "end_line": 117, + "end_column": 81 }, { - "method_name": "", + "method_name": "createOrder", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_type": "", "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 495, - "start_column": 23, - "end_line": 495, - "end_column": 104 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [ - "", - "", - "", - "java.sql.Timestamp", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.lang.String" + "argument_expr": [ + "account", + "quote", + "holding", + "\"buy\"", + "quantity" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", - "is_public": false, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 496, - "start_column": 23, - "end_line": 496, - "end_column": 130 + "start_line": 121, + "start_column": 21, + "end_line": 121, + "end_column": 73 }, { - "method_name": "", + "method_name": "getPrice", "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 496, - "start_column": 55, - "end_line": 496, - "end_column": 95 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "account", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "null", - "start_line": 485, - "start_column": 25, - "end_line": 485, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "null", - "start_line": 486, + "start_line": 124, "start_column": 32, - "end_line": 486, - "end_column": 45 - } - ], - "crud_operations": [ - { - "line_number": 489, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - { - "line_number": 501, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null + "end_line": 124, + "end_column": 47 }, { - "line_number": 502, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "getHoldings(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getHoldings(String)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Collection<@NotNull HoldingDataBean> getHoldings(String userID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 410, - "end_line": 410, - "start_column": 61, - "end_column": 73 - } - ], - "code": "{\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(HoldingDataBean.class);\n Root holdings = criteriaQuery.from(HoldingDataBean.class);\n criteriaQuery.where(\n criteriaBuilder.equal(holdings.get(\"account\").get(\"profile\").get(\"userID\"), \n criteriaBuilder.parameter(String.class, \"p_userid\")));\n criteriaQuery.select(holdings);\n\n TypedQuery typedQuery = entityManager.createQuery(criteriaQuery);\n typedQuery.setParameter(\"p_userid\", userID);\n return typedQuery.getResultList();\n }", - "start_line": 409, - "end_line": 422, - "code_start_line": 410, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.persistence.criteria.Root", - "javax.persistence.TypedQuery", - "javax.persistence.criteria.CriteriaBuilder", - "javax.persistence.criteria.CriteriaQuery" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ - { - "method_name": "getCriteriaBuilder", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "javax.persistence.criteria.CriteriaBuilder", - "callee_signature": "getCriteriaBuilder()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee()", "is_public": true, "is_protected": false, "is_private": false, @@ -140388,21 +146885,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 411, - "start_column": 43, - "end_line": 411, - "end_column": 76 + "start_line": 125, + "start_column": 35, + "end_line": 125, + "end_column": 53 }, { - "method_name": "createQuery", + "method_name": "getBalance", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", - "argument_types": [ - "java.lang.Class" - ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "createQuery(java.lang.Class)", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBalance()", "is_public": true, "is_protected": false, "is_private": false, @@ -140411,21 +146907,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 412, - "start_column": 56, - "end_line": 412, - "end_column": 105 + "start_line": 126, + "start_column": 34, + "end_line": 126, + "end_column": 53 }, { - "method_name": "from", + "method_name": "add", "comment": null, - "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_expr": "(new BigDecimal(quantity).multiply(price))", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.Class" + "java.math.BigDecimal" ], - "return_type": "javax.persistence.criteria.Root", - "callee_signature": "from(java.lang.Class)", + "argument_expr": [ + "orderFee" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "add(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -140434,21 +146933,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 413, - "start_column": 42, - "end_line": 413, - "end_column": 82 + "start_line": 127, + "start_column": 21, + "end_line": 127, + "end_column": 76 }, { - "method_name": "where", + "method_name": "multiply", "comment": null, - "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_expr": "new BigDecimal(quantity)", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "javax.persistence.criteria.Predicate" + "java.math.BigDecimal" ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "where(javax.persistence.criteria.Expression)", + "argument_expr": [ + "price" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -140457,22 +146959,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 414, - "start_column": 9, - "end_line": 416, - "end_column": 77 + "start_line": 127, + "start_column": 22, + "end_line": 127, + "end_column": 61 }, { - "method_name": "equal", + "method_name": "setBalance", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [ - "javax.persistence.criteria.Path", - "javax.persistence.criteria.ParameterExpression" + "java.math.BigDecimal" ], - "return_type": "javax.persistence.criteria.Predicate", - "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", + "argument_expr": [ + "balance.subtract(total)" + ], + "return_type": "", + "callee_signature": "setBalance(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -140481,21 +146985,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, - "start_column": 17, - "end_line": 416, - "end_column": 76 + "start_line": 128, + "start_column": 13, + "end_line": 128, + "end_column": 55 }, { - "method_name": "get", + "method_name": "subtract", "comment": null, - "receiver_expr": "holdings.get(\"account\").get(\"profile\")", - "receiver_type": "javax.persistence.criteria.Path", + "receiver_expr": "balance", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String" + "java.math.BigDecimal" ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "argument_expr": [ + "total" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -140504,21 +147011,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, - "start_column": 39, - "end_line": 415, - "end_column": 90 + "start_line": 128, + "start_column": 32, + "end_line": 128, + "end_column": 54 }, { - "method_name": "get", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "holdings.get(\"account\")", - "receiver_type": "javax.persistence.criteria.Path", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -140527,21 +147033,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, - "start_column": 39, - "end_line": 415, - "end_column": 76 + "start_line": 129, + "start_column": 35, + "end_line": 129, + "end_column": 52 }, { - "method_name": "get", + "method_name": "completeOrder", "comment": null, - "receiver_expr": "holdings", - "receiver_type": "javax.persistence.criteria.Root", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.lang.Integer", + "" ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "argument_expr": [ + "orderID", + "false" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -140550,22 +147061,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, - "start_column": 39, - "end_line": 415, - "end_column": 61 + "start_line": 132, + "start_column": 15, + "end_line": 132, + "end_column": 43 }, { - "method_name": "parameter", + "method_name": "completeOrderAsync", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.Class", - "java.lang.String" + "java.lang.Integer", + "" ], - "return_type": "javax.persistence.criteria.ParameterExpression", - "callee_signature": "parameter(java.lang.Class, java.lang.String)", + "argument_expr": [ + "orderID", + "false" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -140574,21 +147089,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 416, - "start_column": 25, - "end_line": 416, - "end_column": 75 + "start_line": 134, + "start_column": 15, + "end_line": 134, + "end_column": 48 }, { - "method_name": "select", + "method_name": "queueOrder", "comment": null, - "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "javax.persistence.criteria.Root" + "java.lang.Integer", + "" ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "select(javax.persistence.criteria.Selection)", + "argument_expr": [ + "orderID", + "true" + ], + "return_type": "", + "callee_signature": "queueOrder(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -140597,78 +147117,97 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 417, - "start_column": 9, - "end_line": 417, - "end_column": 38 + "start_line": 136, + "start_column": 15, + "end_line": 136, + "end_column": 39 }, { - "method_name": "createQuery", + "method_name": "error", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "javax.persistence.criteria.CriteriaQuery" + "java.lang.String", + "java.lang.Exception" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", + "argument_expr": [ + "\"TradeSLSBBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 419, - "start_column": 50, - "end_line": 419, - "end_column": 89 + "start_line": 139, + "start_column": 13, + "end_line": 139, + "end_column": 104 }, { - "method_name": "setParameter", + "method_name": "", "comment": null, - "receiver_expr": "typedQuery", - "receiver_type": "javax.persistence.TypedQuery", + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String", - "java.lang.String" + "" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "setParameter(java.lang.String, java.lang.Object)", - "is_public": true, + "argument_expr": [ + "quantity" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 420, - "start_column": 9, - "end_line": 420, - "end_column": 51 + "start_line": 127, + "start_column": 22, + "end_line": 127, + "end_column": 45 }, { - "method_name": "getResultList", - "comment": null, - "receiver_expr": "typedQuery", - "receiver_type": "javax.persistence.TypedQuery", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getResultList()", - "is_public": true, + "method_name": "", + "comment": { + "content": " if (order != null) order.cancel();", + "start_line": 142, + "end_line": 142, + "start_column": 13, + "end_column": 49, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "javax.ejb.EJBException", + "argument_types": [ + "java.lang.Exception" + ], + "argument_expr": [ + "e" + ], + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.Exception)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 421, - "start_column": 16, - "end_line": 421, - "end_column": 41 + "start_line": 143, + "start_column": 19, + "end_line": 143, + "end_column": 37 } ], "variable_declarations": [ @@ -140681,13 +147220,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "criteriaBuilder", - "type": "javax.persistence.criteria.CriteriaBuilder", - "initializer": "entityManager.getCriteriaBuilder()", - "start_line": 411, - "start_column": 25, - "end_line": 411, - "end_column": 76 + "name": "order", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "null", + "start_line": 111, + "start_column": 23, + "end_line": 111, + "end_column": 34 }, { "comment": { @@ -140698,13 +147237,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "criteriaQuery", - "type": "javax.persistence.criteria.CriteriaQuery", - "initializer": "criteriaBuilder.createQuery(HoldingDataBean.class)", - "start_line": 412, - "start_column": 40, - "end_line": 412, - "end_column": 105 + "name": "total", + "type": "java.math.BigDecimal", + "initializer": "", + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 24 }, { "comment": { @@ -140715,13 +147254,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdings", - "type": "javax.persistence.criteria.Root", - "initializer": "criteriaQuery.from(HoldingDataBean.class)", - "start_line": 413, - "start_column": 31, - "end_line": 413, - "end_column": 82 + "name": "profile", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", + "start_line": 115, + "start_column": 36, + "end_line": 115, + "end_column": 101 }, { "comment": { @@ -140732,23 +147271,142 @@ "end_column": -1, "is_javadoc": false }, - "name": "typedQuery", - "type": "javax.persistence.TypedQuery", - "initializer": "entityManager.createQuery(criteriaQuery)", - "start_line": 419, - "start_column": 37, - "end_line": 419, - "end_column": 89 + "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "profile.getAccount()", + "start_line": 116, + "start_column": 29, + "end_line": 116, + "end_column": 58 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quote", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "entityManager.find(QuoteDataBean.class, symbol)", + "start_line": 117, + "start_column": 27, + "end_line": 117, + "end_column": 81 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holding", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "null", + "start_line": 118, + "start_column": 29, + "end_line": 118, + "end_column": 42 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "java.math.BigDecimal", + "initializer": "quote.getPrice()", + "start_line": 124, + "start_column": 24, + "end_line": 124, + "end_column": 47 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderFee", + "type": "java.math.BigDecimal", + "initializer": "order.getOrderFee()", + "start_line": 125, + "start_column": 24, + "end_line": 125, + "end_column": 53 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "balance", + "type": "java.math.BigDecimal", + "initializer": "account.getBalance()", + "start_line": 126, + "start_column": 24, + "end_line": 126, + "end_column": 53 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderID", + "type": "java.lang.Integer", + "initializer": "order.getOrderID()", + "start_line": 129, + "start_column": 27, + "end_line": 129, + "end_column": 52 + } + ], + "crud_operations": [ + { + "line_number": 115, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 117, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false }, - "login(String, String)": { + "getAllQuotes()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "login(String, String)", + "signature": "getAllQuotes()", "comments": [], "annotations": [ "@Override" @@ -140756,37 +147414,143 @@ "modifiers": [ "public" ], - "thrown_exceptions": [ - "javax.transaction.RollbackException" + "thrown_exceptions": [], + "declaration": "public Collection getAllQuotes()", + "parameters": [], + "code": "{\n TypedQuery query = entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class);\n return query.getResultList();\n }", + "start_line": 366, + "end_line": 370, + "code_start_line": 367, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.TypedQuery" ], - "declaration": "public AccountDataBean login(String userID, String password) throws RollbackException", - "parameters": [ + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + ], + "call_sites": [ { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 460, - "end_line": 460, - "start_column": 34, - "end_column": 46 + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String", + "java.lang.Class" + ], + "argument_expr": [ + "\"quoteejb.allQuotes\"", + "QuoteDataBean.class" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "createNamedQuery(java.lang.String, java.lang.Class)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": { + "line_number": 368, + "query_arguments": [ + "\"quoteejb.allQuotes\"", + "QuoteDataBean.class" + ], + "query_type": "NAMED" + }, + "start_line": 368, + "start_column": 43, + "end_line": 368, + "end_column": 115 }, + { + "method_name": "getResultList", + "comment": null, + "receiver_expr": "query", + "receiver_type": "javax.persistence.TypedQuery", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 369, + "start_column": 16, + "end_line": 369, + "end_column": 36 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "query", + "type": "javax.persistence.TypedQuery", + "initializer": "entityManager.createNamedQuery(\"quoteejb.allQuotes\", QuoteDataBean.class)", + "start_line": 368, + "start_column": 35, + "end_line": 368, + "end_column": 115 + } + ], + "crud_operations": [], + "crud_queries": [ + { + "line_number": 368, + "query_arguments": [ + "\"quoteejb.allQuotes\"", + "QuoteDataBean.class" + ], + "query_type": "NAMED" + } + ], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "logout(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "logout(java.lang.String)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void logout(String userID)", + "parameters": [ { "type": "java.lang.String", - "name": "password", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 460, - "end_line": 460, - "start_column": 49, - "end_column": 63 + "start_line": 475, + "end_line": 475, + "start_column": 24, + "end_column": 36 } ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n if (profile == null) {\n throw new EJBException(\"No such user: \" + userID);\n }\n\n AccountDataBean account = profile.getAccount();\n account.login(password);\n\n Log.trace(\"TradeSLSBBean:login(\" + userID + \",\" + password + \") success\" + account);\n\n return account;\n }", - "start_line": 459, - "end_line": 472, - "code_start_line": 460, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n account.logout();\n\n Log.trace(\"TradeSLSBBean:logout(\" + userID + \") success\");\n }", + "start_line": 474, + "end_line": 481, + "code_start_line": 475, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ @@ -140806,8 +147570,12 @@ "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -140815,7 +147583,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 461, + "line_number": 476, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -140823,9 +147591,9 @@ "joined_tables": null }, "crud_query": null, - "start_line": 461, + "start_line": 476, "start_column": 42, - "end_line": 461, + "end_line": 476, "end_column": 97 }, { @@ -140834,6 +147602,7 @@ "receiver_expr": "profile", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "getAccount()", "is_public": true, @@ -140844,21 +147613,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 466, + "start_line": 477, "start_column": 35, - "end_line": 466, + "end_line": 477, "end_column": 54 }, { - "method_name": "login", + "method_name": "logout", "comment": null, "receiver_expr": "account", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [ - "java.lang.String" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "login(java.lang.String)", + "callee_signature": "logout()", "is_public": true, "is_protected": false, "is_private": false, @@ -140867,10 +147635,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 467, + "start_line": 478, "start_column": 9, - "end_line": 467, - "end_column": 31 + "end_line": 478, + "end_column": 24 }, { "method_name": "trace", @@ -140880,6 +147648,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeSLSBBean:logout(\" + userID + \") success\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -140890,33 +147661,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 469, + "start_line": 480, "start_column": 9, - "end_line": 469, - "end_column": 91 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 463, - "start_column": 19, - "end_line": 463, - "end_column": 61 + "end_line": 480, + "end_column": 65 } ], "variable_declarations": [ @@ -140932,9 +147680,9 @@ "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 461, + "start_line": 476, "start_column": 32, - "end_line": 461, + "end_line": 476, "end_column": 97 }, { @@ -140949,15 +147697,15 @@ "name": "account", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "profile.getAccount()", - "start_line": 466, + "start_line": 477, "start_column": 25, - "end_line": 466, + "end_line": 477, "end_column": 54 } ], "crud_operations": [ { - "line_number": 461, + "line_number": 476, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -140966,76 +147714,12 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "setInSession(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "setInSession(boolean)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInSession(boolean inSession)", - "parameters": [ - { - "type": "boolean", - "name": "inSession", - "annotations": [], - "modifiers": [], - "start_line": 600, - "end_line": 600, - "start_column": 30, - "end_column": 46 - } - ], - "code": "{\n throw new UnsupportedOperationException(\"TradeSLSBBean::setInGlobalTxn not supported\");\n }", - "start_line": 599, - "end_line": 602, - "code_start_line": 600, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 601, - "start_column": 13, - "end_line": 601, - "end_column": 92 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrder(Integer, boolean)": { + "completeOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "completeOrder(Integer, boolean)", + "signature": "completeOrder(java.lang.Integer, boolean)", "comments": [ { "content": "\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n ", @@ -141123,8 +147807,12 @@ "java.lang.Class", "java.lang.Integer" ], + "argument_expr": [ + "OrderDataBean.class", + "orderID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -141153,6 +147841,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"error\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -141174,6 +147865,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote()", "is_public": true, @@ -141195,6 +147887,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isCompleted()", "is_public": true, @@ -141216,6 +147909,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "getAccount()", "is_public": true, @@ -141237,6 +147931,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote()", "is_public": true, @@ -141258,6 +147953,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "getHolding()", "is_public": true, @@ -141279,6 +147975,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -141300,6 +147997,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -141321,6 +148019,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isBuy()", "is_public": true, @@ -141347,6 +148046,12 @@ "", "java.math.BigDecimal" ], + "argument_expr": [ + "account", + "quote", + "quantity", + "price" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)", "is_public": false, @@ -141370,6 +148075,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], + "argument_expr": [ + "newHolding" + ], "return_type": "", "callee_signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", "is_public": true, @@ -141393,6 +148101,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"closed\"" + ], "return_type": "", "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, @@ -141416,6 +148127,9 @@ "argument_types": [ "java.sql.Timestamp" ], + "argument_expr": [ + "new java.sql.Timestamp(System.currentTimeMillis())" + ], "return_type": "", "callee_signature": "setCompletionDate(java.util.Date)", "is_public": true, @@ -141437,6 +148151,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -141462,6 +148177,11 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "quote.getSymbol()", + "TradeConfig.getRandomPriceChangeFactor()", + "quantity" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", "is_public": true, @@ -141483,6 +148203,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -141504,6 +148225,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getRandomPriceChangeFactor()", "is_public": true, @@ -141525,6 +148247,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isSell()", "is_public": true, @@ -141548,6 +148271,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeSLSBBean:completeOrder -- Unable to sell order \" + order.getOrderID() + \" holding already sold\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -141569,6 +148295,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -141590,6 +148317,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "cancel()", "is_public": true, @@ -141613,6 +148341,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], + "argument_expr": [ + "holding" + ], "return_type": "", "callee_signature": "remove(java.lang.Object)", "is_public": true, @@ -141643,6 +148374,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "null" + ], "return_type": "", "callee_signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", "is_public": true, @@ -141666,6 +148400,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"closed\"" + ], "return_type": "", "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, @@ -141689,6 +148426,9 @@ "argument_types": [ "java.sql.Timestamp" ], + "argument_expr": [ + "new java.sql.Timestamp(System.currentTimeMillis())" + ], "return_type": "", "callee_signature": "setCompletionDate(java.util.Date)", "is_public": true, @@ -141710,6 +148450,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -141735,6 +148476,11 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "quote.getSymbol()", + "TradeConfig.getRandomPriceChangeFactor()", + "quantity" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", "is_public": true, @@ -141756,6 +148502,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -141777,6 +148524,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getRandomPriceChangeFactor()", "is_public": true, @@ -141800,6 +148548,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeSLSBBean:completeOrder--> Completed Order \" + order.getOrderID() + \"\\n\\t Order info: \" + order + \"\\n\\t Account info: \" + account + \"\\n\\t Quote info: \" + quote + \"\\n\\t Holding info: \" + holding" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -141821,6 +148572,7 @@ "receiver_expr": "order", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -141844,6 +148596,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Error: attempt to complete Order that is null\\n\" + order" + ], "return_type": "javax.ejb.EJBException", "callee_signature": "EJBException(java.lang.String)", "is_public": false, @@ -141867,6 +148622,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Error: attempt to complete Order that is already completed\\n\" + order" + ], "return_type": "javax.ejb.EJBException", "callee_signature": "EJBException(java.lang.String)", "is_public": false, @@ -141890,6 +148648,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "System.currentTimeMillis()" + ], "return_type": "java.sql.Timestamp", "callee_signature": "Timestamp(long)", "is_public": false, @@ -141913,6 +148674,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "System.currentTimeMillis()" + ], "return_type": "java.sql.Timestamp", "callee_signature": "Timestamp(long)", "is_public": false, @@ -142072,10 +148836,19 @@ "cyclomatic_complexity": 6, "is_entrypoint": false }, - "updateQuotePriceVolume(String, BigDecimal, double)": { + "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", - "comments": [], + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", + "comments": [ + { + "content": " Check to see if a profile with the desired userID already exists", + "start_line": 488, + "end_line": 488, + "start_column": 9, + "end_column": 75, + "is_javadoc": false + } + ], "annotations": [ "@Override" ], @@ -142083,69 +148856,164 @@ "public" ], "thrown_exceptions": [], - "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal changeFactor, double sharesTraded)", + "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance)", "parameters": [ { "type": "java.lang.String", - "name": "symbol", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 373, - "end_line": 373, - "start_column": 49, - "end_column": 61 + "start_line": 484, + "end_line": 484, + "start_column": 37, + "end_column": 49 }, { - "type": "java.math.BigDecimal", - "name": "changeFactor", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 373, - "end_line": 373, - "start_column": 64, - "end_column": 86 + "start_line": 484, + "end_line": 484, + "start_column": 52, + "end_column": 66 }, { - "type": "double", - "name": "sharesTraded", + "type": "java.lang.String", + "name": "fullname", "annotations": [], "modifiers": [], - "start_line": 373, - "end_line": 373, - "start_column": 89, - "end_column": 107 + "start_line": 484, + "end_line": 484, + "start_column": 69, + "end_column": 83 + }, + { + "type": "java.lang.String", + "name": "address", + "annotations": [], + "modifiers": [], + "start_line": 484, + "end_line": 484, + "start_column": 86, + "end_column": 99 + }, + { + "type": "java.lang.String", + "name": "email", + "annotations": [], + "modifiers": [], + "start_line": 484, + "end_line": 484, + "start_column": 102, + "end_column": 113 + }, + { + "type": "java.lang.String", + "name": "creditcard", + "annotations": [], + "modifiers": [], + "start_line": 484, + "end_line": 484, + "start_column": 116, + "end_column": 132 + }, + { + "type": "java.math.BigDecimal", + "name": "openBalance", + "annotations": [], + "modifiers": [], + "start_line": 484, + "end_line": 484, + "start_column": 135, + "end_column": 156 } ], - "code": "{\n if (!TradeConfig.getUpdateQuotePrices()) {\n return new QuoteDataBean();\n }\n\n Log.trace(\"TradeSLSBBean:updateQuote\", symbol, changeFactor);\n\n TypedQuery q = entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class);\n q.setParameter(1, symbol);\n QuoteDataBean quote = q.getSingleResult();\n\n BigDecimal oldPrice = quote.getPrice();\n BigDecimal openPrice = quote.getOpen();\n\n if (oldPrice.equals(TradeConfig.PENNY_STOCK_PRICE)) {\n changeFactor = TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER;\n } else if (oldPrice.compareTo(TradeConfig.MAXIMUM_STOCK_PRICE) > 0) {\n changeFactor = TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER;\n }\n\n BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n\n quote.setPrice(newPrice);\n quote.setChange(newPrice.subtract(openPrice).doubleValue());\n quote.setVolume(quote.getVolume() + sharesTraded);\n entityManager.merge(quote);\n\n if (TradeConfig.getPublishQuotePriceChange()) {\n publishQuotePriceChange(quote, oldPrice, changeFactor, sharesTraded);\n }\n\n recentQuotePriceChangeList.add(quote);\n\n return quote;\n }", - "start_line": 372, - "end_line": 407, - "code_start_line": 373, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n AccountDataBean account = null;\n AccountProfileDataBean profile = null;\n\n // Check to see if a profile with the desired userID already exists\n profile = entityManager.find(AccountProfileDataBean.class, userID);\n\n if (profile != null) {\n Log.error(\"Failed to register new Account - AccountProfile with userID(\" + userID + \") already exists\");\n return null;\n } else {\n profile = new AccountProfileDataBean(userID, password, fullname, address, email, creditcard);\n account = new AccountDataBean(0, 0, null, new Timestamp(System.currentTimeMillis()), openBalance, openBalance, userID);\n\n profile.setAccount(account);\n account.setProfile(profile);\n\n entityManager.persist(profile);\n entityManager.persist(account);\n }\n\n return account;\n }", + "start_line": 483, + "end_line": 506, + "code_start_line": 484, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", - "javax.persistence.TypedQuery", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", - "java.math.BigDecimal.ROUND_HALF_UP", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_PRICE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_PRICE", - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.recentQuotePriceChangeList", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" ], "call_sites": [ { - "method_name": "getUpdateQuotePrices", + "method_name": "find", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 489, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 489, + "start_column": 19, + "end_line": 489, + "end_column": 74 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Failed to register new Account - AccountProfile with userID(\" + userID + \") already exists\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 492, + "start_column": 13, + "end_line": 492, + "end_column": 115 + }, + { + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getUpdateQuotePrices()", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, @@ -142154,99 +149022,526 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 374, - "start_column": 14, - "end_line": 374, - "end_column": 47 + "start_line": 496, + "start_column": 69, + "end_line": 496, + "end_column": 94 }, { - "method_name": "trace", + "method_name": "setAccount", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.math.BigDecimal" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "argument_expr": [ + "account" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callee_signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 378, - "start_column": 9, - "end_line": 378, - "end_column": 68 + "start_line": 498, + "start_column": 13, + "end_line": 498, + "end_column": 39 }, { - "method_name": "createNamedQuery", + "method_name": "setProfile", + "comment": null, + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "argument_expr": [ + "profile" + ], + "return_type": "", + "callee_signature": "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 499, + "start_column": 13, + "end_line": 499, + "end_column": 39 + }, + { + "method_name": "persist", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String", - "java.lang.Class" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "createNamedQuery(java.lang.String, java.lang.Class)", + "argument_expr": [ + "profile" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 501, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 501, + "start_column": 13, + "end_line": 501, + "end_column": 42 + }, + { + "method_name": "persist", + "comment": null, + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "argument_expr": [ + "account" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, + "crud_operation": { + "line_number": 502, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 502, + "start_column": 13, + "end_line": 502, + "end_column": 42 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "userID", + "password", + "fullname", + "address", + "email", + "creditcard" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, "crud_operation": null, - "crud_query": { - "line_number": 380, - "query_arguments": [ - "\"quoteejb.quoteForUpdate\"", - "QuoteDataBean.class" - ], - "query_type": "NAMED" + "crud_query": null, + "start_line": 495, + "start_column": 23, + "end_line": 495, + "end_column": 104 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [ + "", + "", + "", + "java.sql.Timestamp", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.lang.String" + ], + "argument_expr": [ + "0", + "0", + "null", + "new Timestamp(System.currentTimeMillis())", + "openBalance", + "openBalance", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "AccountDataBean(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 496, + "start_column": 23, + "end_line": 496, + "end_column": 130 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.sql.Timestamp", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 496, + "start_column": 55, + "end_line": 496, + "end_column": 95 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false }, - "start_line": 380, - "start_column": 39, - "end_line": 380, - "end_column": 116 + "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "null", + "start_line": 485, + "start_column": 25, + "end_line": 485, + "end_column": 38 }, { - "method_name": "setParameter", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "profile", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "null", + "start_line": 486, + "start_column": 32, + "end_line": 486, + "end_column": 45 + } + ], + "crud_operations": [ + { + "line_number": 489, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 501, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 502, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "orderCompleted(java.lang.String, java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void orderCompleted(String userID, Integer orderID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 32, + "end_column": 44 + }, + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 47, + "end_column": 61 + } + ], + "code": "{\n throw new UnsupportedOperationException(\"TradeSLSBBean:orderCompleted method not supported\");\n }", + "start_line": 293, + "end_line": 296, + "code_start_line": 294, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "", "comment": null, - "receiver_expr": "q", - "receiver_type": "javax.persistence.TypedQuery", + "receiver_expr": "", + "receiver_type": "java.lang.UnsupportedOperationException", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeSLSBBean:orderCompleted method not supported\"" + ], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 295, + "start_column": 15, + "end_line": 295, + "end_column": 100 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setInSession(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "setInSession(boolean)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setInSession(boolean inSession)", + "parameters": [ + { + "type": "boolean", + "name": "inSession", + "annotations": [], + "modifiers": [], + "start_line": 600, + "end_line": 600, + "start_column": 30, + "end_column": 46 + } + ], + "code": "{\n throw new UnsupportedOperationException(\"TradeSLSBBean::setInGlobalTxn not supported\");\n }", + "start_line": 599, + "end_line": 602, + "code_start_line": 600, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.UnsupportedOperationException", "argument_types": [ - "", "java.lang.String" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "setParameter(int, java.lang.Object)", - "is_public": true, + "argument_expr": [ + "\"TradeSLSBBean::setInGlobalTxn not supported\"" + ], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 381, - "start_column": 9, - "end_line": 381, - "end_column": 33 + "start_line": 601, + "start_column": 13, + "end_line": 601, + "end_column": 92 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getClosedOrders(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "getClosedOrders(java.lang.String)", + "comments": [ + { + "content": " I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate ", + "start_line": 309, + "end_line": 309, + "start_column": 13, + "end_column": 95, + "is_javadoc": false }, { - "method_name": "getSingleResult", + "content": " Spin through the orders to remove or mark completed", + "start_line": 326, + "end_line": 326, + "start_column": 13, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " TODO: Investigate ConncurrentModification Exceptions", + "start_line": 329, + "end_line": 329, + "start_column": 17, + "end_column": 71, + "is_javadoc": false + }, + { + "content": "Added this for Longruns (to prevent orderejb growth)", + "start_line": 331, + "end_line": 331, + "start_column": 21, + "end_column": 74, + "is_javadoc": false + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Collection getClosedOrders(String userID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 306, + "end_line": 306, + "start_column": 54, + "end_column": 66 + } + ], + "code": "{\n\n try {\n /* I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate */\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(OrderDataBean.class);\n Root orders = criteriaQuery.from(OrderDataBean.class);\n criteriaQuery.select(orders);\n criteriaQuery.where(\n criteriaBuilder.equal(orders.get(\"orderStatus\"), \n criteriaBuilder.parameter(String.class, \"p_status\")), \n criteriaBuilder.equal(orders.get(\"account\").get(\"profile\").get(\"userID\"), \n criteriaBuilder.parameter(String.class, \"p_userid\")));\n\n TypedQuery q = entityManager.createQuery(criteriaQuery);\n q.setParameter(\"p_status\", \"closed\");\n q.setParameter(\"p_userid\", userID);\n List results = q.getResultList();\n\n Iterator itr = results.iterator();\n // Spin through the orders to remove or mark completed\n while (itr.hasNext()) {\n OrderDataBean order = itr.next();\n // TODO: Investigate ConncurrentModification Exceptions\n if (TradeConfig.getLongRun()) {\n //Added this for Longruns (to prevent orderejb growth)\n entityManager.remove(order); \n }\n else {\n order.setOrderStatus(\"completed\");\n }\n }\n\n return results;\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean.getClosedOrders\", e);\n throw new EJBException(\"TradeSLSBBean.getClosedOrders - error\", e);\n }\n }", + "start_line": 305, + "end_line": 344, + "code_start_line": 306, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.persistence.criteria.Root", + "javax.persistence.criteria.CriteriaBuilder", + "javax.persistence.criteria.CriteriaQuery", + "java.util.Iterator", + "java.util.List", + "javax.persistence.TypedQuery", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + ], + "call_sites": [ + { + "method_name": "getCriteriaBuilder", "comment": null, - "receiver_expr": "q", - "receiver_type": "javax.persistence.TypedQuery", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getSingleResult()", + "argument_expr": [], + "return_type": "javax.persistence.criteria.CriteriaBuilder", + "callee_signature": "getCriteriaBuilder()", "is_public": true, "is_protected": false, "is_private": false, @@ -142255,19 +149550,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 382, - "start_column": 31, - "end_line": 382, - "end_column": 49 + "start_line": 310, + "start_column": 47, + "end_line": 310, + "end_column": 80 }, { - "method_name": "getPrice", + "method_name": "createQuery", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "argument_types": [ + "java.lang.Class" + ], + "argument_expr": [ + "OrderDataBean.class" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "createQuery(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -142276,19 +149576,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 384, - "start_column": 31, - "end_line": 384, - "end_column": 46 + "start_line": 311, + "start_column": 58, + "end_line": 311, + "end_column": 105 }, { - "method_name": "getOpen", + "method_name": "from", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOpen()", + "receiver_expr": "criteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "argument_types": [ + "java.lang.Class" + ], + "argument_expr": [ + "OrderDataBean.class" + ], + "return_type": "javax.persistence.criteria.Root", + "callee_signature": "from(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -142297,21 +149602,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 385, - "start_column": 32, - "end_line": 385, - "end_column": 46 + "start_line": 312, + "start_column": 42, + "end_line": 312, + "end_column": 80 }, { - "method_name": "equals", + "method_name": "select", "comment": null, - "receiver_expr": "oldPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "criteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", "argument_types": [ - "java.math.BigDecimal" + "javax.persistence.criteria.Root" ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "argument_expr": [ + "orders" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "select(javax.persistence.criteria.Selection)", "is_public": true, "is_protected": false, "is_private": false, @@ -142320,21 +149628,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 387, + "start_line": 313, "start_column": 13, - "end_line": 387, - "end_column": 58 + "end_line": 313, + "end_column": 40 }, { - "method_name": "compareTo", + "method_name": "where", "comment": null, - "receiver_expr": "oldPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "criteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", "argument_types": [ - "java.math.BigDecimal" + "javax.persistence.criteria.Predicate", + "javax.persistence.criteria.Predicate" ], - "return_type": "", - "callee_signature": "compareTo(java.math.BigDecimal)", + "argument_expr": [ + "criteriaBuilder.equal(orders.get(\"orderStatus\"), criteriaBuilder.parameter(String.class, \"p_status\"))", + "criteriaBuilder.equal(orders.get(\"account\").get(\"profile\").get(\"userID\"), criteriaBuilder.parameter(String.class, \"p_userid\"))" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "where(javax.persistence.criteria.Predicate[])", "is_public": true, "is_protected": false, "is_private": false, @@ -142343,22 +149656,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 389, - "start_column": 20, - "end_line": 389, - "end_column": 70 + "start_line": 314, + "start_column": 13, + "end_line": 318, + "end_column": 81 }, { - "method_name": "setScale", + "method_name": "equal", "comment": null, - "receiver_expr": "changeFactor.multiply(oldPrice)", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "", - "" + "javax.persistence.criteria.Path", + "javax.persistence.criteria.ParameterExpression" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", + "argument_expr": [ + "orders.get(\"orderStatus\")", + "criteriaBuilder.parameter(String.class, \"p_status\")" + ], + "return_type": "javax.persistence.criteria.Predicate", + "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", "is_public": true, "is_protected": false, "is_private": false, @@ -142367,21 +149684,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 393, - "start_column": 31, - "end_line": 393, - "end_column": 99 + "start_line": 315, + "start_column": 21, + "end_line": 316, + "end_column": 80 }, { - "method_name": "multiply", + "method_name": "get", "comment": null, - "receiver_expr": "changeFactor", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "orders", + "receiver_type": "javax.persistence.criteria.Root", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", + "argument_expr": [ + "\"orderStatus\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142390,21 +149710,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 393, - "start_column": 31, - "end_line": 393, - "end_column": 61 + "start_line": 315, + "start_column": 43, + "end_line": 315, + "end_column": 67 }, { - "method_name": "setPrice", + "method_name": "parameter", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "java.math.BigDecimal" + "java.lang.Class", + "java.lang.String" ], - "return_type": "", - "callee_signature": "setPrice(java.math.BigDecimal)", + "argument_expr": [ + "String.class", + "\"p_status\"" + ], + "return_type": "javax.persistence.criteria.ParameterExpression", + "callee_signature": "parameter(java.lang.Class, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142413,21 +149738,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 395, - "start_column": 9, - "end_line": 395, - "end_column": 32 + "start_line": 316, + "start_column": 29, + "end_line": 316, + "end_column": 79 }, { - "method_name": "setChange", + "method_name": "equal", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "" + "javax.persistence.criteria.Path", + "javax.persistence.criteria.ParameterExpression" ], - "return_type": "", - "callee_signature": "setChange(double)", + "argument_expr": [ + "orders.get(\"account\").get(\"profile\").get(\"userID\")", + "criteriaBuilder.parameter(String.class, \"p_userid\")" + ], + "return_type": "javax.persistence.criteria.Predicate", + "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", "is_public": true, "is_protected": false, "is_private": false, @@ -142436,19 +149766,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, - "start_column": 9, - "end_line": 396, - "end_column": 67 + "start_line": 317, + "start_column": 21, + "end_line": 318, + "end_column": 80 }, { - "method_name": "doubleValue", + "method_name": "get", "comment": null, - "receiver_expr": "newPrice.subtract(openPrice)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "", - "callee_signature": "doubleValue()", + "receiver_expr": "orders.get(\"account\").get(\"profile\")", + "receiver_type": "javax.persistence.criteria.Path", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"userID\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142457,21 +149792,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, - "start_column": 25, - "end_line": 396, - "end_column": 66 + "start_line": 317, + "start_column": 43, + "end_line": 317, + "end_column": 92 }, { - "method_name": "subtract", + "method_name": "get", "comment": null, - "receiver_expr": "newPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "orders.get(\"account\")", + "receiver_type": "javax.persistence.criteria.Path", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "argument_expr": [ + "\"profile\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142480,21 +149818,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 396, - "start_column": 25, - "end_line": 396, - "end_column": 52 + "start_line": 317, + "start_column": 43, + "end_line": 317, + "end_column": 78 }, { - "method_name": "setVolume", + "method_name": "get", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_expr": "orders", + "receiver_type": "javax.persistence.criteria.Root", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "setVolume(double)", + "argument_expr": [ + "\"account\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142503,19 +149844,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 397, - "start_column": 9, - "end_line": 397, - "end_column": 57 + "start_line": 317, + "start_column": 43, + "end_line": 317, + "end_column": 63 }, { - "method_name": "getVolume", + "method_name": "parameter", "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "", - "callee_signature": "getVolume()", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "argument_types": [ + "java.lang.Class", + "java.lang.String" + ], + "argument_expr": [ + "String.class", + "\"p_userid\"" + ], + "return_type": "javax.persistence.criteria.ParameterExpression", + "callee_signature": "parameter(java.lang.Class, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -142524,75 +149872,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 397, - "start_column": 25, - "end_line": 397, - "end_column": 41 + "start_line": 318, + "start_column": 29, + "end_line": 318, + "end_column": 79 }, { - "method_name": "merge", + "method_name": "createQuery", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "javax.persistence.criteria.CriteriaQuery" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "merge(T)", + "argument_expr": [ + "criteriaQuery" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 398, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 398, - "start_column": 9, - "end_line": 398, - "end_column": 34 - }, - { - "method_name": "getPublishQuotePriceChange", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getPublishQuotePriceChange()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 400, - "start_column": 13, - "end_line": 400, - "end_column": 52 + "start_line": 320, + "start_column": 43, + "end_line": 320, + "end_column": 82 }, { - "method_name": "publishQuotePriceChange", + "method_name": "setParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "q", + "receiver_type": "javax.persistence.TypedQuery", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.math.BigDecimal", - "java.math.BigDecimal", - "" + "java.lang.String", + "java.lang.String" ], - "return_type": "", - "callee_signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "argument_expr": [ + "\"p_status\"", + "\"closed\"" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "setParameter(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -142601,21 +149926,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 401, - "start_column": 11, - "end_line": 401, - "end_column": 78 + "start_line": 321, + "start_column": 13, + "end_line": 321, + "end_column": 48 }, { - "method_name": "add", + "method_name": "setParameter", "comment": null, - "receiver_expr": "recentQuotePriceChangeList", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", + "receiver_expr": "q", + "receiver_type": "javax.persistence.TypedQuery", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.String", + "java.lang.String" ], - "return_type": "", - "callee_signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "argument_expr": [ + "\"p_userid\"", + "userID" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "setParameter(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -142624,230 +149954,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 404, - "start_column": 9, - "end_line": 404, - "end_column": 45 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "QuoteDataBean()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 375, - "start_column": 20, - "end_line": 375, - "end_column": 38 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "q", - "type": "javax.persistence.TypedQuery", - "initializer": "entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class)", - "start_line": 380, - "start_column": 35, - "end_line": 380, - "end_column": 116 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quote", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "q.getSingleResult()", - "start_line": 382, - "start_column": 23, - "end_line": 382, - "end_column": 49 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "oldPrice", - "type": "java.math.BigDecimal", - "initializer": "quote.getPrice()", - "start_line": 384, - "start_column": 20, - "end_line": 384, - "end_column": 46 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "openPrice", - "type": "java.math.BigDecimal", - "initializer": "quote.getOpen()", - "start_line": 385, - "start_column": 20, - "end_line": 385, + "start_line": 322, + "start_column": 13, + "end_line": 322, "end_column": 46 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "newPrice", - "type": "java.math.BigDecimal", - "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", - "start_line": 393, - "start_column": 20, - "end_line": 393, - "end_column": 99 - } - ], - "crud_operations": [ - { - "line_number": 398, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [ - { - "line_number": 380, - "query_arguments": [ - "\"quoteejb.quoteForUpdate\"", - "QuoteDataBean.class" - ], - "query_type": "NAMED" - } - ], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, - "cancelOrder(Integer, boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "cancelOrder(Integer, boolean)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 288, - "end_line": 288, - "start_column": 29, - "end_column": 43 - }, - { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 288, - "end_line": 288, - "start_column": 46, - "end_column": 61 - } - ], - "code": "{\n OrderDataBean order = entityManager.find(OrderDataBean.class, orderID);\n order.cancel();\n }", - "start_line": 287, - "end_line": 291, - "code_start_line": 288, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ - { - "method_name": "find", + "method_name": "getResultList", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.Integer" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "receiver_expr": "q", + "receiver_type": "javax.persistence.TypedQuery", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 289, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 289, - "start_column": 31, - "end_line": 289, - "end_column": 78 + "start_line": 323, + "start_column": 43, + "end_line": 323, + "end_column": 59 }, { - "method_name": "cancel", + "method_name": "iterator", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "results", + "receiver_type": "java.util.List", "argument_types": [], - "return_type": "", - "callee_signature": "cancel()", + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", "is_public": true, "is_protected": false, "is_private": false, @@ -142856,123 +149998,27 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 290, - "start_column": 9, - "end_line": 290, - "end_column": 22 - } - ], - "variable_declarations": [ + "start_line": 325, + "start_column": 43, + "end_line": 325, + "end_column": 60 + }, { + "method_name": "hasNext", "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, + "content": " Spin through the orders to remove or mark completed", + "start_line": 326, + "end_line": 326, + "start_column": 13, + "end_column": 66, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "entityManager.find(OrderDataBean.class, orderID)", - "start_line": 289, - "start_column": 23, - "end_line": 289, - "end_column": 78 - } - ], - "crud_operations": [ - { - "line_number": 289, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrders(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getOrders(String)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Collection getOrders(String userID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 299, - "end_line": 299, - "start_column": 48, - "end_column": 60 - } - ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n return account.getOrders();\n }", - "start_line": 298, - "end_line": 303, - "code_start_line": 299, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 300, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 300, - "start_column": 42, - "end_line": 300, - "end_column": 97 - }, - { - "method_name": "getAccount", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "itr", + "receiver_type": "java.util.Iterator", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccount()", + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", "is_public": true, "is_protected": false, "is_private": false, @@ -142981,19 +150027,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 301, - "start_column": 35, - "end_line": 301, - "end_column": 54 + "start_line": 327, + "start_column": 20, + "end_line": 327, + "end_column": 32 }, { - "method_name": "getOrders", + "method_name": "next", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_expr": "itr", + "receiver_type": "java.util.Iterator", "argument_types": [], - "return_type": "java.util.Collection", - "callee_signature": "getOrders()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -143002,213 +150049,60 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 302, - "start_column": 16, - "end_line": 302, - "end_column": 34 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 300, - "start_column": 32, - "end_line": 300, - "end_column": 97 + "start_line": 328, + "start_column": 39, + "end_line": 328, + "end_column": 48 }, { + "method_name": "getLongRun", "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "account", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "profile.getAccount()", - "start_line": 301, - "start_column": 25, - "end_line": 301, - "end_column": 54 - } - ], - "crud_operations": [ - { - "line_number": 300, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuote(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getQuote(String)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteDataBean getQuote(String symbol)", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 362, - "end_line": 362, - "start_column": 35, - "end_column": 47 - } - ], - "code": "{\n return entityManager.find(QuoteDataBean.class, symbol);\n }", - "start_line": 361, - "end_line": 364, - "code_start_line": 362, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 363, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 363, - "start_column": 16, - "end_line": 363, - "end_column": 62 - } - ], - "variable_declarations": [], - "crud_operations": [ - { - "line_number": 363, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "createQuote(String, String, BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "createQuote(String, String, BigDecimal)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price)", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 347, - "end_line": 347, - "start_column": 38, - "end_column": 50 - }, - { - "type": "java.lang.String", - "name": "companyName", - "annotations": [], - "modifiers": [], - "start_line": 347, - "end_line": 347, - "start_column": 53, - "end_column": 70 - }, - { - "type": "java.math.BigDecimal", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 347, - "end_line": 347, - "start_column": 73, - "end_column": 88 - } - ], - "code": "{\n try {\n QuoteDataBean quote = new QuoteDataBean(symbol, companyName, 0, price, price, price, price, 0);\n entityManager.persist(quote);\n\n Log.trace(\"TradeSLSBBean:createQuote-->\" + quote);\n\n return quote;\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:createQuote -- exception creating Quote\", e);\n throw new EJBException(e);\n }\n }", - "start_line": 346, - "end_line": 359, - "code_start_line": 347, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ + "content": " TODO: Investigate ConncurrentModification Exceptions", + "start_line": 329, + "end_line": 329, + "start_column": 17, + "end_column": 71, + "is_javadoc": false + }, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getLongRun()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 330, + "start_column": 21, + "end_line": 330, + "end_column": 44 + }, { - "method_name": "persist", - "comment": null, + "method_name": "remove", + "comment": { + "content": "Added this for Longruns (to prevent orderejb growth)", + "start_line": 331, + "end_line": 331, + "start_column": 21, + "end_column": 74, + "is_javadoc": false + }, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "order" ], "return_type": "", - "callee_signature": "persist(java.lang.Object)", + "callee_signature": "remove(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -143216,41 +150110,44 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 350, - "operation_type": "CREATE", + "line_number": 332, + "operation_type": "DELETE", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null }, "crud_query": null, - "start_line": 350, - "start_column": 13, - "end_line": 350, - "end_column": 40 + "start_line": 332, + "start_column": 21, + "end_line": 332, + "end_column": 47 }, { - "method_name": "trace", + "method_name": "setOrderStatus", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"completed\"" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 352, - "start_column": 13, - "end_line": 352, - "end_column": 61 + "start_line": 335, + "start_column": 21, + "end_line": 335, + "end_column": 53 }, { "method_name": "error", @@ -143261,6 +150158,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeSLSBBean.getClosedOrders\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -143271,40 +150172,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 356, + "start_line": 341, "start_column": 13, - "end_line": 356, - "end_column": 81 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.math.BigDecimal", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 349, - "start_column": 35, - "end_line": 349, - "end_column": 106 + "end_line": 341, + "end_column": 57 }, { "method_name": "", @@ -143312,10 +150183,15 @@ "receiver_expr": "", "receiver_type": "javax.ejb.EJBException", "argument_types": [ + "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeSLSBBean.getClosedOrders - error\"", + "e" + ], "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.Exception)", + "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", "is_public": false, "is_protected": false, "is_private": false, @@ -143324,10 +150200,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 357, + "start_line": 342, "start_column": 19, - "end_line": 357, - "end_column": 37 + "end_line": 342, + "end_column": 78 } ], "variable_declarations": [ @@ -143340,19 +150216,121 @@ "end_column": -1, "is_javadoc": false }, - "name": "quote", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "new QuoteDataBean(symbol, companyName, 0, price, price, price, price, 0)", - "start_line": 349, - "start_column": 27, - "end_line": 349, - "end_column": 106 + "name": "criteriaBuilder", + "type": "javax.persistence.criteria.CriteriaBuilder", + "initializer": "entityManager.getCriteriaBuilder()", + "start_line": 310, + "start_column": 29, + "end_line": 310, + "end_column": 80 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "criteriaQuery", + "type": "javax.persistence.criteria.CriteriaQuery", + "initializer": "criteriaBuilder.createQuery(OrderDataBean.class)", + "start_line": 311, + "start_column": 42, + "end_line": 311, + "end_column": 105 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orders", + "type": "javax.persistence.criteria.Root", + "initializer": "criteriaQuery.from(OrderDataBean.class)", + "start_line": 312, + "start_column": 33, + "end_line": 312, + "end_column": 80 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "q", + "type": "javax.persistence.TypedQuery", + "initializer": "entityManager.createQuery(criteriaQuery)", + "start_line": 320, + "start_column": 39, + "end_line": 320, + "end_column": 82 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "results", + "type": "java.util.List", + "initializer": "q.getResultList()", + "start_line": 323, + "start_column": 33, + "end_line": 323, + "end_column": 59 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "itr", + "type": "java.util.Iterator", + "initializer": "results.iterator()", + "start_line": 325, + "start_column": 37, + "end_line": 325, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "order", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "itr.next()", + "start_line": 328, + "start_column": 31, + "end_line": 328, + "end_column": 48 } ], "crud_operations": [ { - "line_number": 350, - "operation_type": "CREATE", + "line_number": 332, + "operation_type": "DELETE", "target_table": null, "involved_columns": null, "condition": null, @@ -143360,12 +150338,12 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "updateAccountProfile(AccountProfileDataBean)": { + "login(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "updateAccountProfile(AccountProfileDataBean)", + "signature": "login(java.lang.String, java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -143373,28 +150351,41 @@ "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)", + "thrown_exceptions": [ + "javax.transaction.RollbackException" + ], + "declaration": "public AccountDataBean login(String userID, String password) throws RollbackException", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profileData", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 446, - "end_line": 446, - "start_column": 56, - "end_column": 89 + "start_line": 460, + "end_line": 460, + "start_column": 34, + "end_column": 46 + }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 460, + "end_line": 460, + "start_column": 49, + "end_column": 63 } ], - "code": "{\n AccountProfileDataBean temp = entityManager.find(AccountProfileDataBean.class, profileData.getUserID());\n temp.setAddress(profileData.getAddress());\n temp.setPassword(profileData.getPassword());\n temp.setFullName(profileData.getFullName());\n temp.setCreditCard(profileData.getCreditCard());\n temp.setEmail(profileData.getEmail());\n\n entityManager.merge(temp);\n\n return temp;\n }", - "start_line": 445, - "end_line": 457, - "code_start_line": 446, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n if (profile == null) {\n throw new EJBException(\"No such user: \" + userID);\n }\n\n AccountDataBean account = profile.getAccount();\n account.login(password);\n\n Log.trace(\"TradeSLSBBean:login(\" + userID + \",\" + password + \") success\" + account);\n\n return account;\n }", + "start_line": 459, + "end_line": 472, + "code_start_line": 460, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ @@ -143410,8 +150401,12 @@ "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -143419,7 +150414,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 447, + "line_number": 461, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -143427,19 +150422,20 @@ "joined_tables": null }, "crud_query": null, - "start_line": 447, - "start_column": 39, - "end_line": 447, - "end_column": 111 + "start_line": 461, + "start_column": 42, + "end_line": 461, + "end_column": 97 }, { - "method_name": "getUserID", + "method_name": "getAccount", "comment": null, - "receiver_expr": "profileData", + "receiver_expr": "profile", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccount()", "is_public": true, "is_protected": false, "is_private": false, @@ -143448,65 +150444,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 447, - "start_column": 88, - "end_line": 447, - "end_column": 110 + "start_line": 466, + "start_column": 35, + "end_line": 466, + "end_column": 54 }, { - "method_name": "setAddress", + "method_name": "login", "comment": null, - "receiver_expr": "temp", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "account", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setAddress(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 448, - "start_column": 9, - "end_line": 448, - "end_column": 49 - }, - { - "method_name": "getAddress", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddress()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 448, - "start_column": 25, - "end_line": 448, - "end_column": 48 - }, - { - "method_name": "setPassword", - "comment": null, - "receiver_expr": "temp", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "password" ], "return_type": "", - "callee_signature": "setPassword(java.lang.String)", + "callee_signature": "login(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -143515,193 +150470,62 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 449, + "start_line": 467, "start_column": 9, - "end_line": 449, - "end_column": 51 - }, - { - "method_name": "getPassword", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 449, - "start_column": 26, - "end_line": 449, - "end_column": 50 + "end_line": 467, + "end_column": 31 }, { - "method_name": "setFullName", + "method_name": "trace", "comment": null, - "receiver_expr": "temp", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setFullName(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 450, - "start_column": 9, - "end_line": 450, - "end_column": 51 - }, - { - "method_name": "getFullName", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFullName()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 450, - "start_column": 26, - "end_line": 450, - "end_column": 50 - }, - { - "method_name": "setCreditCard", - "comment": null, - "receiver_expr": "temp", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "\"TradeSLSBBean:login(\" + userID + \",\" + password + \") success\" + account" ], "return_type": "", - "callee_signature": "setCreditCard(java.lang.String)", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, + "start_line": 469, "start_column": 9, - "end_line": 451, - "end_column": 55 - }, - { - "method_name": "getCreditCard", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCreditCard()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 451, - "start_column": 28, - "end_line": 451, - "end_column": 54 + "end_line": 469, + "end_column": 91 }, { - "method_name": "setEmail", + "method_name": "", "comment": null, - "receiver_expr": "temp", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "", + "receiver_type": "javax.ejb.EJBException", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setEmail(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 452, - "start_column": 9, - "end_line": 452, - "end_column": 45 - }, - { - "method_name": "getEmail", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmail()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 452, - "start_column": 23, - "end_line": 452, - "end_column": 44 - }, - { - "method_name": "merge", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "argument_expr": [ + "\"No such user: \" + userID" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "merge(T)", - "is_public": true, + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 454, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "is_constructor_call": true, + "crud_operation": null, "crud_query": null, - "start_line": 454, - "start_column": 9, - "end_line": 454, - "end_column": 33 + "start_line": 463, + "start_column": 19, + "end_line": 463, + "end_column": 61 } ], "variable_declarations": [ @@ -143714,131 +150538,138 @@ "end_column": -1, "is_javadoc": false }, - "name": "temp", + "name": "profile", "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "entityManager.find(AccountProfileDataBean.class, profileData.getUserID())", - "start_line": 447, + "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", + "start_line": 461, "start_column": 32, - "end_line": 447, - "end_column": 111 + "end_line": 461, + "end_column": 97 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "account", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "profile.getAccount()", + "start_line": 466, + "start_column": 25, + "end_line": 466, + "end_column": 54 } ], "crud_operations": [ { - "line_number": 447, + "line_number": 461, "operation_type": "READ", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null - }, - { - "line_number": 454, - "operation_type": "UPDATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null } ], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "queueOrder(Integer, boolean)": { + "cancelOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "queueOrder(Integer, boolean)", - "comments": [ - { - "content": " 2 phase", - "start_line": 206, - "end_line": 206, - "start_column": 9, - "end_column": 18, - "is_javadoc": false - }, - { - "content": " pass the exception", - "start_line": 219, - "end_line": 219, - "start_column": 54, - "end_column": 74, - "is_javadoc": false - } + "signature": "cancelOrder(java.lang.Integer, boolean)", + "comments": [], + "annotations": [ + "@Override" ], - "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void queueOrder(Integer orderID, boolean twoPhase)", + "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase)", "parameters": [ { "type": "java.lang.Integer", "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 204, - "end_line": 204, - "start_column": 28, - "end_column": 42 + "start_line": 288, + "end_line": 288, + "start_column": 29, + "end_column": 43 }, { "type": "boolean", "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 204, - "end_line": 204, - "start_column": 45, - "end_column": 60 + "start_line": 288, + "end_line": 288, + "start_column": 46, + "end_column": 61 } ], - "code": "{\n\n // 2 phase\n try (JMSContext queueContext = queueConnectionFactory.createContext();) {\n TextMessage message = queueContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"neworder\");\n message.setIntProperty(\"orderID\", orderID);\n message.setBooleanProperty(\"twoPhase\", twoPhase);\n message.setText(\"neworder: orderID=\" + orderID + \" runtimeMode=EJB twoPhase=\" + twoPhase);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n\n queueContext.createProducer().send(tradeBrokerQueue, message);\n\n } catch (Exception e) {\n throw new EJBException(e.getMessage(), e); // pass the exception\n }\n }", - "start_line": 204, - "end_line": 221, - "code_start_line": 204, + "code": "{\n OrderDataBean order = entityManager.find(OrderDataBean.class, orderID);\n order.cancel();\n }", + "start_line": 287, + "end_line": 291, + "code_start_line": 288, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.jms.JMSContext", - "javax.jms.TextMessage" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeBrokerQueue", - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.queueConnectionFactory" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" ], "call_sites": [ { - "method_name": "createContext", + "method_name": "find", "comment": null, - "receiver_expr": "queueConnectionFactory", - "receiver_type": "javax.jms.QueueConnectionFactory", - "argument_types": [], - "return_type": "javax.jms.JMSContext", - "callee_signature": "createContext()", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.Integer" + ], + "argument_expr": [ + "OrderDataBean.class", + "orderID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 289, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 207, - "start_column": 40, - "end_line": 207, - "end_column": 77 + "start_line": 289, + "start_column": 31, + "end_line": 289, + "end_column": 78 }, { - "method_name": "createTextMessage", + "method_name": "cancel", "comment": null, - "receiver_expr": "queueContext", - "receiver_type": "javax.jms.JMSContext", + "receiver_expr": "order", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "javax.jms.TextMessage", - "callee_signature": "createTextMessage()", + "argument_expr": [], + "return_type": "", + "callee_signature": "cancel()", "is_public": true, "is_protected": false, "is_private": false, @@ -143847,46 +150678,160 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 208, - "start_column": 33, - "end_line": 208, - "end_column": 64 + "start_line": 290, + "start_column": 9, + "end_line": 290, + "end_column": 22 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "order", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "entityManager.find(OrderDataBean.class, orderID)", + "start_line": 289, + "start_column": 23, + "end_line": 289, + "end_column": 78 + } + ], + "crud_operations": [ + { + "line_number": 289, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + } + ], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderDataBean createOrder(AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding, String orderType, double quantity)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", + "annotations": [], + "modifiers": [], + "start_line": 537, + "end_line": 537, + "start_column": 38, + "end_column": 60 }, { - "method_name": "setStringProperty", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", + "annotations": [], + "modifiers": [], + "start_line": 537, + "end_line": 537, + "start_column": 63, + "end_column": 81 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holding", + "annotations": [], + "modifiers": [], + "start_line": 537, + "end_line": 537, + "start_column": 84, + "end_column": 106 + }, + { + "type": "java.lang.String", + "name": "orderType", + "annotations": [], + "modifiers": [], + "start_line": 537, + "end_line": 537, + "start_column": 109, + "end_column": 124 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 537, + "end_line": 537, + "start_column": 127, + "end_column": 141 + } + ], + "code": "{\n OrderDataBean order;\n\n try {\n order = new OrderDataBean(orderType, \"open\", new Timestamp(System.currentTimeMillis()), null, quantity, quote.getPrice().setScale(\n FinancialUtils.SCALE, FinancialUtils.ROUND), TradeConfig.getOrderFee(orderType), account, quote, holding);\n entityManager.persist(order);\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:createOrder -- failed to create Order. The stock/quote may not exist in the database.\", e);\n throw new EJBException(\"TradeSLSBBean:createOrder -- failed to create Order. Check that the symbol exists in the database.\", e);\n }\n return order;\n }", + "start_line": 537, + "end_line": 549, + "code_start_line": 537, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + ], + "call_sites": [ + { + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 210, - "start_column": 11, - "end_line": 210, - "end_column": 58 + "start_line": 541, + "start_column": 72, + "end_line": 541, + "end_column": 97 }, { - "method_name": "setIntProperty", + "method_name": "setScale", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "quote.getPrice()", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String", - "java.lang.Integer" + "", + "" ], - "return_type": "", - "callee_signature": "setIntProperty(java.lang.String, int)", + "argument_expr": [ + "FinancialUtils.SCALE", + "FinancialUtils.ROUND" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -143895,22 +150840,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 211, - "start_column": 11, - "end_line": 211, - "end_column": 52 + "start_line": 541, + "start_column": 117, + "end_line": 542, + "end_column": 63 }, { - "method_name": "setBooleanProperty", + "method_name": "getPrice", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "", - "callee_signature": "setBooleanProperty(java.lang.String, boolean)", + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -143919,66 +150862,85 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 212, - "start_column": 11, - "end_line": 212, - "end_column": 58 + "start_line": 541, + "start_column": 117, + "end_line": 541, + "end_column": 132 }, { - "method_name": "setText", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "setText(java.lang.String)", + "argument_expr": [ + "orderType" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 213, - "start_column": 11, - "end_line": 213, + "start_line": 542, + "start_column": 66, + "end_line": 542, "end_column": 99 }, { - "method_name": "setLongProperty", + "method_name": "persist", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String", - "" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "order" ], "return_type": "", - "callee_signature": "setLongProperty(java.lang.String, long)", + "callee_signature": "persist(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 543, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 214, - "start_column": 11, - "end_line": 214, - "end_column": 76 + "start_line": 543, + "start_column": 13, + "end_line": 543, + "end_column": 40 }, { - "method_name": "currentTimeMillis", + "method_name": "error", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeSLSBBean:createOrder -- failed to create Order. The stock/quote may not exist in the database.\"", + "e" + ], "return_type": "", - "callee_signature": "currentTimeMillis()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, @@ -143987,93 +150949,94 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 214, - "start_column": 50, - "end_line": 214, - "end_column": 75 + "start_line": 545, + "start_column": 13, + "end_line": 545, + "end_column": 127 }, { - "method_name": "send", + "method_name": "", "comment": null, - "receiver_expr": "queueContext.createProducer()", - "receiver_type": "javax.jms.JMSProducer", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [ - "javax.jms.Queue", - "javax.jms.TextMessage" + "java.lang.String", + "java.lang.String", + "java.sql.Timestamp", + "", + "", + "java.math.BigDecimal", + "java.math.BigDecimal", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 216, - "start_column": 11, - "end_line": 216, - "end_column": 71 - }, - { - "method_name": "createProducer", - "comment": null, - "receiver_expr": "queueContext", - "receiver_type": "javax.jms.JMSContext", - "argument_types": [], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "createProducer()", - "is_public": true, + "argument_expr": [ + "orderType", + "\"open\"", + "new Timestamp(System.currentTimeMillis())", + "null", + "quantity", + "quote.getPrice().setScale(FinancialUtils.SCALE, FinancialUtils.ROUND)", + "TradeConfig.getOrderFee(orderType)", + "account", + "quote", + "holding" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "OrderDataBean(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 216, - "start_column": 11, - "end_line": 216, - "end_column": 39 + "start_line": 541, + "start_column": 21, + "end_line": 542, + "end_column": 125 }, { - "method_name": "getMessage", + "method_name": "", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.sql.Timestamp", + "argument_types": [ + "" + ], + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 219, - "start_column": 34, - "end_line": 219, - "end_column": 47 - }, - { - "method_name": "", - "comment": { - "content": " pass the exception", - "start_line": 219, - "end_line": 219, - "start_column": 54, - "end_column": 74, - "is_javadoc": false - }, + "start_line": 541, + "start_column": 58, + "end_line": 541, + "end_column": 98 + }, + { + "method_name": "", + "comment": null, "receiver_expr": "", "receiver_type": "javax.ejb.EJBException", "argument_types": [ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeSLSBBean:createOrder -- failed to create Order. Check that the symbol exists in the database.\"", + "e" + ], "return_type": "javax.ejb.EJBException", "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", "is_public": false, @@ -144084,10 +151047,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 219, - "start_column": 17, - "end_line": 219, - "end_column": 51 + "start_line": 546, + "start_column": 19, + "end_line": 546, + "end_column": 139 } ], "variable_declarations": [ @@ -144100,40 +151063,32 @@ "end_column": -1, "is_javadoc": false }, - "name": "queueContext", - "type": "javax.jms.JMSContext", - "initializer": "queueConnectionFactory.createContext()", - "start_line": 207, - "start_column": 25, - "end_line": 207, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "message", - "type": "javax.jms.TextMessage", - "initializer": "queueContext.createTextMessage()", - "start_line": 208, + "name": "order", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "", + "start_line": 538, "start_column": 23, - "end_line": 208, - "end_column": 64 + "end_line": 538, + "end_column": 27 + } + ], + "crud_operations": [ + { + "line_number": 543, + "operation_type": "CREATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null } ], - "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getAccountData(String)": { + "getAccountData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getAccountData(String)", + "signature": "getAccountData(java.lang.String)", "comments": [ { "content": " Added to populate transient field for account", @@ -144188,8 +151143,12 @@ "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -144216,6 +151175,7 @@ "receiver_expr": "profile", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "getAccount()", "is_public": true, @@ -144246,6 +151206,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "profile.getUserID()" + ], "return_type": "", "callee_signature": "setProfileID(java.lang.String)", "is_public": true, @@ -144267,6 +151230,7 @@ "receiver_expr": "profile", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getUserID()", "is_public": true, @@ -144333,174 +151297,109 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountProfileData(String)": { + "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getAccountProfileData(String)", + "signature": "createHolding(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, double, java.math.BigDecimal)", "comments": [], - "annotations": [ - "@Override" - ], + "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public AccountProfileDataBean getAccountProfileData(String userID)", + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private HoldingDataBean createHolding(AccountDataBean account, QuoteDataBean quote, double quantity, BigDecimal purchasePrice) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", "annotations": [], "modifiers": [], - "start_line": 441, - "end_line": 441, - "start_column": 57, - "end_column": 69 - } - ], - "code": "{\n return entityManager.find(AccountProfileDataBean.class, userID);\n }", - "start_line": 440, - "end_line": 443, - "code_start_line": 441, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" - ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 442, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 442, - "start_column": 16, - "end_line": 442, - "end_column": 71 - } - ], - "variable_declarations": [], - "crud_operations": [ + "start_line": 551, + "end_line": 551, + "start_column": 43, + "end_column": 65 + }, { - "line_number": 442, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - } - ], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "pingTwoPhase(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "pingTwoPhase(String)", - "comments": [ + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", + "annotations": [], + "modifiers": [], + "start_line": 551, + "end_line": 551, + "start_column": 68, + "end_column": 86 + }, { - "content": " Get a Quote and send a JMS message in a 2-phase commit", - "start_line": 569, - "end_line": 569, - "start_column": 13, - "end_column": 69, - "is_javadoc": false - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public QuoteDataBean pingTwoPhase(String symbol) throws Exception", - "parameters": [ + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 551, + "end_line": 551, + "start_column": 89, + "end_column": 103 + }, { - "type": "java.lang.String", - "name": "symbol", + "type": "java.math.BigDecimal", + "name": "purchasePrice", "annotations": [], "modifiers": [], - "start_line": 565, - "end_line": 565, - "start_column": 39, - "end_column": 51 + "start_line": 551, + "end_line": 551, + "start_column": 106, + "end_column": 129 } ], - "code": "{\n QuoteDataBean quoteData = null;\n\n try (JMSContext queueContext = queueConnectionFactory.createContext();) {\n // Get a Quote and send a JMS message in a 2-phase commit\n quoteData = entityManager.find(QuoteDataBean.class, symbol);\n\n TextMessage message = queueContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"ping\");\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from TradeSLSBBean:pingTwoPhase at \" + new java.util.Date());\n queueContext.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:pingTwoPhase -- exception caught\", e);\n }\n\n return quoteData;\n }", - "start_line": 564, - "end_line": 583, - "code_start_line": 565, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n HoldingDataBean newHolding = new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote);\n entityManager.persist(newHolding);\n return newHolding;\n }", + "start_line": 551, + "end_line": 555, + "code_start_line": 551, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.jms.JMSContext", - "javax.jms.TextMessage", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeBrokerQueue", - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.queueConnectionFactory" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" ], "call_sites": [ { - "method_name": "createContext", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "queueConnectionFactory", - "receiver_type": "javax.jms.QueueConnectionFactory", + "receiver_expr": "System", + "receiver_type": "java.lang.System", "argument_types": [], - "return_type": "javax.jms.JMSContext", - "callee_signature": "createContext()", + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 568, - "start_column": 40, - "end_line": 568, - "end_column": 77 + "start_line": 552, + "start_column": 97, + "end_line": 552, + "end_column": 122 }, { - "method_name": "find", + "method_name": "persist", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.Class", - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "argument_expr": [ + "newHolding" + ], + "return_type": "", + "callee_signature": "persist(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -144508,209 +151407,66 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 570, - "operation_type": "READ", + "line_number": 553, + "operation_type": "CREATE", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null }, "crud_query": null, - "start_line": 570, - "start_column": 25, - "end_line": 570, - "end_column": 71 - }, - { - "method_name": "createTextMessage", - "comment": null, - "receiver_expr": "queueContext", - "receiver_type": "javax.jms.JMSContext", - "argument_types": [], - "return_type": "javax.jms.TextMessage", - "callee_signature": "createTextMessage()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 572, - "start_column": 35, - "end_line": 572, - "end_column": 66 - }, - { - "method_name": "setStringProperty", - "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 574, - "start_column": 13, - "end_line": 574, - "end_column": 56 + "start_line": 553, + "start_column": 9, + "end_line": 553, + "end_column": 41 }, { - "method_name": "setLongProperty", + "method_name": "", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [ - "java.lang.String", - "" + "", + "java.math.BigDecimal", + "java.sql.Timestamp", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], - "return_type": "", - "callee_signature": "setLongProperty(java.lang.String, long)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 575, - "start_column": 13, - "end_line": 575, - "end_column": 78 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 575, - "start_column": 52, - "end_line": 575, - "end_column": 77 - }, - { - "method_name": "setText", - "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "quantity", + "purchasePrice", + "new Timestamp(System.currentTimeMillis())", + "account", + "quote" ], - "return_type": "", - "callee_signature": "setText(java.lang.String)", - "is_public": true, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 576, - "start_column": 13, - "end_line": 576, - "end_column": 152 + "start_line": 552, + "start_column": 38, + "end_line": 552, + "end_column": 140 }, { - "method_name": "send", + "method_name": "", "comment": null, - "receiver_expr": "queueContext.createProducer()", - "receiver_type": "javax.jms.JMSProducer", + "receiver_expr": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "javax.jms.Queue", - "javax.jms.TextMessage" + "" ], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 577, - "start_column": 13, - "end_line": 577, - "end_column": 73 - }, - { - "method_name": "createProducer", - "comment": null, - "receiver_expr": "queueContext", - "receiver_type": "javax.jms.JMSContext", - "argument_types": [], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "createProducer()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 577, - "start_column": 13, - "end_line": 577, - "end_column": 41 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "argument_expr": [ + "System.currentTimeMillis()" ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 579, - "start_column": 13, - "end_line": 579, - "end_column": 74 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", "is_public": false, "is_protected": false, "is_private": false, @@ -144719,10 +151475,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 576, - "start_column": 132, - "end_line": 576, - "end_column": 151 + "start_line": 552, + "start_column": 83, + "end_line": 552, + "end_column": 123 } ], "variable_declarations": [ @@ -144735,53 +151491,19 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 566, - "start_column": 23, - "end_line": 566, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "queueContext", - "type": "javax.jms.JMSContext", - "initializer": "queueConnectionFactory.createContext()", - "start_line": 568, - "start_column": 25, - "end_line": 568, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "message", - "type": "javax.jms.TextMessage", - "initializer": "queueContext.createTextMessage()", - "start_line": 572, + "name": "newHolding", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote)", + "start_line": 552, "start_column": 25, - "end_line": 572, - "end_column": 66 + "end_line": 552, + "end_column": 140 } ], "crud_operations": [ { - "line_number": 570, - "operation_type": "READ", + "line_number": 553, + "operation_type": "CREATE", "target_table": null, "involved_columns": null, "condition": null, @@ -144789,86 +151511,12 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 6, - "is_entrypoint": false - }, - "orderCompleted(String, Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "orderCompleted(String, Integer)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void orderCompleted(String userID, Integer orderID)", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 32, - "end_column": 44 - }, - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 47, - "end_column": 61 - } - ], - "code": "{\n throw new UnsupportedOperationException(\"TradeSLSBBean:orderCompleted method not supported\");\n }", - "start_line": 293, - "end_line": 296, - "code_start_line": 294, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 295, - "start_column": 15, - "end_line": 295, - "end_column": 100 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "logout(String)": { + "getAccountProfileData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "logout(String)", + "signature": "getAccountProfileData(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -144877,30 +151525,27 @@ "public" ], "thrown_exceptions": [], - "declaration": "public void logout(String userID)", + "declaration": "public AccountProfileDataBean getAccountProfileData(String userID)", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 475, - "end_line": 475, - "start_column": 24, - "end_column": 36 + "start_line": 441, + "end_line": 441, + "start_column": 57, + "end_column": 69 } ], - "code": "{\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n account.logout();\n\n Log.trace(\"TradeSLSBBean:logout(\" + userID + \") success\");\n }", - "start_line": 474, - "end_line": 481, - "code_start_line": 475, - "return_type": "void", + "code": "{\n return entityManager.find(AccountProfileDataBean.class, userID);\n }", + "start_line": 440, + "end_line": 443, + "code_start_line": 441, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], + "referenced_types": [], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" ], @@ -144914,8 +151559,12 @@ "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "AccountProfileDataBean.class", + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -144923,7 +151572,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 476, + "line_number": 442, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -144931,116 +151580,16 @@ "joined_tables": null }, "crud_query": null, - "start_line": 476, - "start_column": 42, - "end_line": 476, - "end_column": 97 - }, - { - "method_name": "getAccount", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccount()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 477, - "start_column": 35, - "end_line": 477, - "end_column": 54 - }, - { - "method_name": "logout", - "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [], - "return_type": "", - "callee_signature": "logout()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 478, - "start_column": 9, - "end_line": 478, - "end_column": 24 - }, - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 480, - "start_column": 9, - "end_line": 480, - "end_column": 65 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 476, - "start_column": 32, - "end_line": 476, - "end_column": 97 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "account", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "profile.getAccount()", - "start_line": 477, - "start_column": 25, - "end_line": 477, - "end_column": 54 + "start_line": 442, + "start_column": 16, + "end_line": 442, + "end_column": 71 } ], + "variable_declarations": [], "crud_operations": [ { - "line_number": 476, + "line_number": 442, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -145052,324 +151601,68 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getImpl()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getImpl()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getImpl()", - "parameters": [], - "code": "{\n return TradeConfig.EJB3;\n }", - "start_line": 594, - "end_line": 597, - "code_start_line": 595, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.EJB3" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "buy(String, String, double, int)": { + "pingTwoPhase(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "buy(String, String, double, int)", + "signature": "pingTwoPhase(java.lang.String)", "comments": [ { - "content": " this buy order", - "start_line": 119, - "end_line": 119, - "start_column": 13, - "end_column": 29, - "is_javadoc": false - }, - { - "content": " The holding will be created by", - "start_line": 118, - "end_line": 118, - "start_column": 45, - "end_column": 77, - "is_javadoc": false - }, - { - "content": " UPDATE - account should be credited during completeOrder", - "start_line": 123, - "end_line": 123, - "start_column": 13, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " On exception - cancel the order ", - "start_line": 140, - "end_line": 140, - "start_column": 13, - "end_column": 49, - "is_javadoc": false - }, - { - "content": " TODO figure out how to do this with JPA", - "start_line": 141, - "end_line": 141, - "start_column": 13, - "end_column": 54, - "is_javadoc": false - }, - { - "content": " if (order != null) order.cancel();", - "start_line": 142, - "end_line": 142, + "content": " Get a Quote and send a JMS message in a 2-phase commit", + "start_line": 569, + "end_line": 569, "start_column": 13, - "end_column": 49, + "end_column": 69, "is_javadoc": false } ], "annotations": [ - "@Override", - "@NotNull" + "@Override" ], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode)", + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public QuoteDataBean pingTwoPhase(String symbol) throws Exception", "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 30, - "end_column": 42 - }, { "type": "java.lang.String", "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 45, - "end_column": 57 - }, - { - "type": "double", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 60, - "end_column": 74 - }, - { - "type": "int", - "name": "orderProcessingMode", - "annotations": [], - "modifiers": [], - "start_line": 110, - "end_line": 110, - "start_column": 77, - "end_column": 99 + "start_line": 565, + "end_line": 565, + "start_column": 39, + "end_column": 51 } ], - "code": "{\n OrderDataBean order = null;\n BigDecimal total;\n try {\n\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n QuoteDataBean quote = entityManager.find(QuoteDataBean.class, symbol);\n HoldingDataBean holding = null; // The holding will be created by\n // this buy order\n\n order = createOrder(account, quote, holding, \"buy\", quantity);\n \n // UPDATE - account should be credited during completeOrder\n BigDecimal price = quote.getPrice();\n BigDecimal orderFee = order.getOrderFee();\n BigDecimal balance = account.getBalance();\n total = (new BigDecimal(quantity).multiply(price)).add(orderFee);\n account.setBalance(balance.subtract(total));\n final Integer orderID=order.getOrderID();\n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true);\n }\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed\", e);\n /* On exception - cancel the order */\n // TODO figure out how to do this with JPA\n // if (order != null) order.cancel();\n throw new EJBException(e);\n }\n return order;\n }", - "start_line": 108, - "end_line": 146, - "code_start_line": 110, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n QuoteDataBean quoteData = null;\n\n try (JMSContext queueContext = queueConnectionFactory.createContext();) {\n // Get a Quote and send a JMS message in a 2-phase commit\n quoteData = entityManager.find(QuoteDataBean.class, symbol);\n\n TextMessage message = queueContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"ping\");\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from TradeSLSBBean:pingTwoPhase at \" + new java.util.Date());\n queueContext.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:pingTwoPhase -- exception caught\", e);\n }\n\n return quoteData;\n }", + "start_line": 564, + "end_line": 583, + "code_start_line": 565, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.lang.Integer", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "javax.jms.JMSContext", + "javax.jms.TextMessage", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH" - ], - "call_sites": [ - { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 115, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 115, - "start_column": 46, - "end_line": 115, - "end_column": 101 - }, - { - "method_name": "getAccount", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccount()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 116, - "start_column": 39, - "end_line": 116, - "end_column": 58 - }, - { - "method_name": "find", - "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": { - "line_number": 117, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - "crud_query": null, - "start_line": 117, - "start_column": 35, - "end_line": 117, - "end_column": 81 - }, - { - "method_name": "createOrder", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 21, - "end_line": 121, - "end_column": 73 - }, - { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 32, - "end_line": 124, - "end_column": 47 - }, - { - "method_name": "getOrderFee", - "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 125, - "start_column": 35, - "end_line": 125, - "end_column": 53 - }, + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeBrokerQueue", + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.queueConnectionFactory" + ], + "call_sites": [ { - "method_name": "getBalance", + "method_name": "createContext", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_expr": "queueConnectionFactory", + "receiver_type": "javax.jms.QueueConnectionFactory", "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBalance()", + "argument_expr": [], + "return_type": "javax.jms.JMSContext", + "callee_signature": "createContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -145378,44 +151671,55 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 126, - "start_column": 34, - "end_line": 126, - "end_column": 53 + "start_line": 568, + "start_column": 40, + "end_line": 568, + "end_column": 77 }, { - "method_name": "add", + "method_name": "find", "comment": null, - "receiver_expr": "(new BigDecimal(quantity).multiply(price))", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.math.BigDecimal" + "java.lang.Class", + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "add(java.math.BigDecimal)", + "argument_expr": [ + "QuoteDataBean.class", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 570, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 127, - "start_column": 21, - "end_line": 127, - "end_column": 76 + "start_line": 570, + "start_column": 25, + "end_line": 570, + "end_column": 71 }, { - "method_name": "multiply", + "method_name": "createTextMessage", "comment": null, - "receiver_expr": "new BigDecimal(quantity)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", + "receiver_expr": "queueContext", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.TextMessage", + "callee_signature": "createTextMessage()", "is_public": true, "is_protected": false, "is_private": false, @@ -145424,21 +151728,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 127, - "start_column": 22, - "end_line": 127, - "end_column": 61 + "start_line": 572, + "start_column": 35, + "end_line": 572, + "end_column": 66 }, { - "method_name": "setBalance", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"command\"", + "\"ping\"" ], "return_type": "", - "callee_signature": "setBalance(java.math.BigDecimal)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -145447,21 +151756,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, + "start_line": 574, "start_column": 13, - "end_line": 128, - "end_column": 55 + "end_line": 574, + "end_column": 56 }, { - "method_name": "subtract", + "method_name": "setLongProperty", "comment": null, - "receiver_expr": "balance", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String", + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" + ], + "return_type": "", + "callee_signature": "setLongProperty(java.lang.String, long)", "is_public": true, "is_protected": false, "is_private": false, @@ -145470,43 +151784,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 32, - "end_line": 128, - "end_column": 54 + "start_line": 575, + "start_column": 13, + "end_line": 575, + "end_column": 78 }, { - "method_name": "getOrderID", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "System", + "receiver_type": "java.lang.System", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, - "start_column": 35, - "end_line": 129, - "end_column": 52 + "start_line": 575, + "start_column": 52, + "end_line": 575, + "end_column": 77 }, { - "method_name": "completeOrder", + "method_name": "setText", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.lang.Integer", - "" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "completeOrder(java.lang.Integer, boolean)", + "argument_expr": [ + "\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from TradeSLSBBean:pingTwoPhase at \" + new java.util.Date()" + ], + "return_type": "", + "callee_signature": "setText(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -145515,22 +151832,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, - "start_column": 15, - "end_line": 132, - "end_column": 43 + "start_line": 576, + "start_column": 13, + "end_line": 576, + "end_column": 152 }, { - "method_name": "completeOrderAsync", + "method_name": "send", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "queueContext.createProducer()", + "receiver_type": "javax.jms.JMSProducer", "argument_types": [ - "java.lang.Integer", - "" + "javax.jms.Queue", + "javax.jms.TextMessage" ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "argument_expr": [ + "tradeBrokerQueue", + "message" + ], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", "is_public": true, "is_protected": false, "is_private": false, @@ -145539,22 +151860,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, - "start_column": 15, - "end_line": 134, - "end_column": 48 + "start_line": 577, + "start_column": 13, + "end_line": 577, + "end_column": 73 }, { - "method_name": "queueOrder", + "method_name": "createProducer", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Integer", - "" - ], - "return_type": "", - "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "receiver_expr": "queueContext", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "createProducer()", "is_public": true, "is_protected": false, "is_private": false, @@ -145563,10 +151882,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 136, - "start_column": 15, - "end_line": 136, - "end_column": 39 + "start_line": 577, + "start_column": 13, + "end_line": 577, + "end_column": 41 }, { "method_name": "error", @@ -145577,6 +151896,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeSLSBBean:pingTwoPhase -- exception caught\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -145587,51 +151910,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 139, + "start_line": 579, "start_column": 13, - "end_line": 139, - "end_column": 104 + "end_line": 579, + "end_column": 74 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 22, - "end_line": 127, - "end_column": 45 - }, - { - "method_name": "", - "comment": { - "content": " if (order != null) order.cancel();", - "start_line": 142, - "end_line": 142, - "start_column": 13, - "end_column": 49, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", - "argument_types": [ - "java.lang.Exception" - ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.Exception)", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", "is_public": false, "is_protected": false, "is_private": false, @@ -145640,10 +151932,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 143, - "start_column": 19, - "end_line": 143, - "end_column": 37 + "start_line": 576, + "start_column": 132, + "end_line": 576, + "end_column": 151 } ], "variable_declarations": [ @@ -145656,132 +151948,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "null", - "start_line": 111, - "start_column": 23, - "end_line": 111, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "total", - "type": "java.math.BigDecimal", - "initializer": "", - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 24 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 115, - "start_column": 36, - "end_line": 115, - "end_column": 101 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "account", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "profile.getAccount()", - "start_line": 116, - "start_column": 29, - "end_line": 116, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quote", + "name": "quoteData", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "entityManager.find(QuoteDataBean.class, symbol)", - "start_line": 117, - "start_column": 27, - "end_line": 117, - "end_column": 81 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holding", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 118, - "start_column": 29, - "end_line": 118, - "end_column": 42 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "price", - "type": "java.math.BigDecimal", - "initializer": "quote.getPrice()", - "start_line": 124, - "start_column": 24, - "end_line": 124, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderFee", - "type": "java.math.BigDecimal", - "initializer": "order.getOrderFee()", - "start_line": 125, - "start_column": 24, - "end_line": 125, - "end_column": 53 + "start_line": 566, + "start_column": 23, + "end_line": 566, + "end_column": 38 }, { "comment": { @@ -145792,13 +151965,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "balance", - "type": "java.math.BigDecimal", - "initializer": "account.getBalance()", - "start_line": 126, - "start_column": 24, - "end_line": 126, - "end_column": 53 + "name": "queueContext", + "type": "javax.jms.JMSContext", + "initializer": "queueConnectionFactory.createContext()", + "start_line": 568, + "start_column": 25, + "end_line": 568, + "end_column": 77 }, { "comment": { @@ -145809,26 +151982,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderID", - "type": "java.lang.Integer", - "initializer": "order.getOrderID()", - "start_line": 129, - "start_column": 27, - "end_line": 129, - "end_column": 52 + "name": "message", + "type": "javax.jms.TextMessage", + "initializer": "queueContext.createTextMessage()", + "start_line": 572, + "start_column": 25, + "end_line": 572, + "end_column": 66 } ], "crud_operations": [ { - "line_number": 115, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, - { - "line_number": 117, + "line_number": 570, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -145837,169 +152002,105 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 6, "is_entrypoint": false }, - "sell(String, Integer, int)": { + "queueOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "sell(String, Integer, int)", + "signature": "queueOrder(java.lang.Integer, boolean)", "comments": [ { - "content": " UPDATE the holding purchase data to signify this holding is", - "start_line": 174, - "end_line": 174, - "start_column": 13, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " \"inflight\" to be sold", - "start_line": 175, - "end_line": 175, - "start_column": 13, - "end_column": 36, - "is_javadoc": false - }, - { - "content": " -- could add a new holdingStatus attribute to holdingEJB", - "start_line": 176, - "end_line": 176, - "start_column": 13, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " UPDATE - account should be credited during completeOrder", - "start_line": 179, - "end_line": 179, - "start_column": 13, - "end_column": 71, - "is_javadoc": false - }, - { - "content": " if (order != null) order.cancel();", - "start_line": 197, - "end_line": 197, - "start_column": 13, - "end_column": 49, + "content": " 2 phase", + "start_line": 206, + "end_line": 206, + "start_column": 9, + "end_column": 18, "is_javadoc": false }, { - "content": " UPDATE - handle all exceptions like:", - "start_line": 198, - "end_line": 198, - "start_column": 13, - "end_column": 51, + "content": " pass the exception", + "start_line": 219, + "end_line": 219, + "start_column": 54, + "end_column": 74, "is_javadoc": false } ], - "annotations": [ - "@Override", - "@NotNull" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public OrderDataBean sell(final String userID, final Integer holdingID, int orderProcessingMode)", + "declaration": "public void queueOrder(Integer orderID, boolean twoPhase)", "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 150, - "end_line": 150, - "start_column": 31, - "end_column": 49 - }, { "type": "java.lang.Integer", - "name": "holdingID", + "name": "orderID", "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 150, - "end_line": 150, - "start_column": 52, - "end_column": 74 + "modifiers": [], + "start_line": 204, + "end_line": 204, + "start_column": 28, + "end_column": 42 }, { - "type": "int", - "name": "orderProcessingMode", + "type": "boolean", + "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 150, - "end_line": 150, - "start_column": 77, - "end_column": 99 + "start_line": 204, + "end_line": 204, + "start_column": 45, + "end_column": 60 } ], - "code": "{\n OrderDataBean order=null;\n BigDecimal total;\n try {\n AccountProfileDataBean profile = entityManager.find(AccountProfileDataBean.class, userID);\n AccountDataBean account = profile.getAccount();\n\n HoldingDataBean holding = entityManager.find(HoldingDataBean.class, holdingID);\n\n if (holding == null) {\n Log.debug(\"TradeSLSBBean:sell User \" + userID + \" attempted to sell holding \" + holdingID + \" which has already been sold\");\n\n OrderDataBean orderData = new OrderDataBean();\n orderData.setOrderStatus(\"cancelled\");\n entityManager.persist(orderData);\n\n return orderData;\n }\n\n QuoteDataBean quote = holding.getQuote();\n double quantity = holding.getQuantity();\n\n order = createOrder(account, quote, holding, \"sell\", quantity);\n\n // UPDATE the holding purchase data to signify this holding is\n // \"inflight\" to be sold\n // -- could add a new holdingStatus attribute to holdingEJB\n holding.setPurchaseDate(new java.sql.Timestamp(0));\n\n // UPDATE - account should be credited during completeOrder\n BigDecimal price = quote.getPrice();\n BigDecimal orderFee = order.getOrderFee();\n BigDecimal balance = account.getBalance();\n total = (new BigDecimal(quantity).multiply(price)).subtract(orderFee);\n account.setBalance(balance.add(total));\n final Integer orderID=order.getOrderID(); \n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, false);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true);\n }\n\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \") --> failed\", e);\n // if (order != null) order.cancel();\n // UPDATE - handle all exceptions like:\n throw new EJBException(\"TradeSLSBBean:sell(\" + userID + \",\" + holdingID + \")\", e);\n }\n return order;\n }", - "start_line": 148, - "end_line": 202, - "code_start_line": 150, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n\n // 2 phase\n try (JMSContext queueContext = queueConnectionFactory.createContext();) {\n TextMessage message = queueContext.createTextMessage();\n\n message.setStringProperty(\"command\", \"neworder\");\n message.setIntProperty(\"orderID\", orderID);\n message.setBooleanProperty(\"twoPhase\", twoPhase);\n message.setText(\"neworder: orderID=\" + orderID + \" runtimeMode=EJB twoPhase=\" + twoPhase);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n\n queueContext.createProducer().send(tradeBrokerQueue, message);\n\n } catch (Exception e) {\n throw new EJBException(e.getMessage(), e); // pass the exception\n }\n }", + "start_line": 204, + "end_line": 221, + "code_start_line": 204, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.lang.Integer", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "javax.jms.JMSContext", + "javax.jms.TextMessage" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH" + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.tradeBrokerQueue", + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.queueConnectionFactory" ], "call_sites": [ { - "method_name": "find", + "method_name": "createContext", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "receiver_expr": "queueConnectionFactory", + "receiver_type": "javax.jms.QueueConnectionFactory", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSContext", + "callee_signature": "createContext()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 154, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 154, - "start_column": 46, - "end_line": 154, - "end_column": 101 + "start_line": 207, + "start_column": 40, + "end_line": 207, + "end_column": 77 }, { - "method_name": "getAccount", + "method_name": "createTextMessage", "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "queueContext", + "receiver_type": "javax.jms.JMSContext", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccount()", + "argument_expr": [], + "return_type": "javax.jms.TextMessage", + "callee_signature": "createTextMessage()", "is_public": true, "is_protected": false, "is_private": false, @@ -146008,75 +152109,108 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 155, - "start_column": 39, - "end_line": 155, + "start_line": 208, + "start_column": 33, + "end_line": 208, + "end_column": 64 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"command\"", + "\"neworder\"" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 210, + "start_column": 11, + "end_line": 210, "end_column": 58 }, { - "method_name": "find", + "method_name": "setIntProperty", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.lang.Class", + "java.lang.String", "java.lang.Integer" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "argument_expr": [ + "\"orderID\"", + "orderID" + ], + "return_type": "", + "callee_signature": "setIntProperty(java.lang.String, int)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 157, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 157, - "start_column": 39, - "end_line": 157, - "end_column": 90 + "start_line": 211, + "start_column": 11, + "end_line": 211, + "end_column": 52 }, { - "method_name": "debug", + "method_name": "setBooleanProperty", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.lang.String" + "java.lang.String", + "" + ], + "argument_expr": [ + "\"twoPhase\"", + "twoPhase" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setBooleanProperty(java.lang.String, boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 160, - "start_column": 17, - "end_line": 160, - "end_column": 139 + "start_line": 212, + "start_column": 11, + "end_line": 212, + "end_column": 58 }, { - "method_name": "setOrderStatus", + "method_name": "setText", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"neworder: orderID=\" + orderID + \" runtimeMode=EJB twoPhase=\" + twoPhase" + ], "return_type": "", - "callee_signature": "setOrderStatus(java.lang.String)", + "callee_signature": "setText(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -146085,49 +152219,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 163, - "start_column": 17, - "end_line": 163, - "end_column": 53 + "start_line": 213, + "start_column": 11, + "end_line": 213, + "end_column": 99 }, { - "method_name": "persist", + "method_name": "setLongProperty", "comment": null, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "java.lang.String", + "" + ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" ], "return_type": "", - "callee_signature": "persist(java.lang.Object)", + "callee_signature": "setLongProperty(java.lang.String, long)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 164, - "operation_type": "CREATE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 164, - "start_column": 17, - "end_line": 164, - "end_column": 48 + "start_line": 214, + "start_column": 11, + "end_line": 214, + "end_column": 76 }, { - "method_name": "getQuote", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "holding", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "System", + "receiver_type": "java.lang.System", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote()", + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 214, + "start_column": 50, + "end_line": 214, + "end_column": 75 + }, + { + "method_name": "send", + "comment": null, + "receiver_expr": "queueContext.createProducer()", + "receiver_type": "javax.jms.JMSProducer", + "argument_types": [ + "javax.jms.Queue", + "javax.jms.TextMessage" + ], + "argument_expr": [ + "tradeBrokerQueue", + "message" + ], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", "is_public": true, "is_protected": false, "is_private": false, @@ -146136,19 +152297,296 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 169, - "start_column": 35, - "end_line": 169, - "end_column": 52 + "start_line": 216, + "start_column": 11, + "end_line": 216, + "end_column": 71 }, { - "method_name": "getQuantity", + "method_name": "createProducer", "comment": null, - "receiver_expr": "holding", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "queueContext", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "createProducer()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 216, + "start_column": 11, + "end_line": 216, + "end_column": 39 + }, + { + "method_name": "getMessage", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 219, + "start_column": 34, + "end_line": 219, + "end_column": 47 + }, + { + "method_name": "", + "comment": { + "content": " pass the exception", + "start_line": 219, + "end_line": 219, + "start_column": 54, + "end_column": 74, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "javax.ejb.EJBException", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "e.getMessage()", + "e" + ], + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 219, + "start_column": 17, + "end_line": 219, + "end_column": 51 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "queueContext", + "type": "javax.jms.JMSContext", + "initializer": "queueConnectionFactory.createContext()", + "start_line": 207, + "start_column": 25, + "end_line": 207, + "end_column": 77 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "message", + "type": "javax.jms.TextMessage", + "initializer": "queueContext.createTextMessage()", + "start_line": 208, + "start_column": 23, + "end_line": 208, + "end_column": 64 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 6, + "is_entrypoint": false + }, + "getImpl()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "getImpl()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getImpl()", + "parameters": [], + "code": "{\n return TradeConfig.EJB3;\n }", + "start_line": 594, + "end_line": 597, + "code_start_line": 595, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.EJB3" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal changeFactor, double sharesTraded)", + "parameters": [ + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 373, + "end_line": 373, + "start_column": 49, + "end_column": 61 + }, + { + "type": "java.math.BigDecimal", + "name": "changeFactor", + "annotations": [], + "modifiers": [], + "start_line": 373, + "end_line": 373, + "start_column": 64, + "end_column": 86 + }, + { + "type": "double", + "name": "sharesTraded", + "annotations": [], + "modifiers": [], + "start_line": 373, + "end_line": 373, + "start_column": 89, + "end_column": 107 + } + ], + "code": "{\n if (!TradeConfig.getUpdateQuotePrices()) {\n return new QuoteDataBean();\n }\n\n Log.trace(\"TradeSLSBBean:updateQuote\", symbol, changeFactor);\n\n TypedQuery q = entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class);\n q.setParameter(1, symbol);\n QuoteDataBean quote = q.getSingleResult();\n\n BigDecimal oldPrice = quote.getPrice();\n BigDecimal openPrice = quote.getOpen();\n\n if (oldPrice.equals(TradeConfig.PENNY_STOCK_PRICE)) {\n changeFactor = TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER;\n } else if (oldPrice.compareTo(TradeConfig.MAXIMUM_STOCK_PRICE) > 0) {\n changeFactor = TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER;\n }\n\n BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n\n quote.setPrice(newPrice);\n quote.setChange(newPrice.subtract(openPrice).doubleValue());\n quote.setVolume(quote.getVolume() + sharesTraded);\n entityManager.merge(quote);\n\n if (TradeConfig.getPublishQuotePriceChange()) {\n publishQuotePriceChange(quote, oldPrice, changeFactor, sharesTraded);\n }\n\n recentQuotePriceChangeList.add(quote);\n\n return quote;\n }", + "start_line": 372, + "end_line": 407, + "code_start_line": 373, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal", + "javax.persistence.TypedQuery", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager", + "java.math.BigDecimal.ROUND_HALF_UP", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_PRICE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_PRICE", + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.recentQuotePriceChangeList", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER" + ], + "call_sites": [ + { + "method_name": "getUpdateQuotePrices", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "getUpdateQuotePrices()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 374, + "start_column": 14, + "end_line": 374, + "end_column": 47 + }, + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.math.BigDecimal" + ], + "argument_expr": [ + "\"TradeSLSBBean:updateQuote\"", + "symbol", + "changeFactor" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 378, + "start_column": 9, + "end_line": 378, + "end_column": 68 + }, + { + "method_name": "createNamedQuery", + "comment": null, + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.String", + "java.lang.Class" + ], + "argument_expr": [ + "\"quoteejb.quoteForUpdate\"", + "QuoteDataBean.class" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "createNamedQuery(java.lang.String, java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -146156,26 +152594,34 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": null, - "crud_query": null, - "start_line": 170, - "start_column": 31, - "end_line": 170, - "end_column": 51 + "crud_query": { + "line_number": 380, + "query_arguments": [ + "\"quoteejb.quoteForUpdate\"", + "QuoteDataBean.class" + ], + "query_type": "NAMED" + }, + "start_line": 380, + "start_column": 39, + "end_line": 380, + "end_column": 116 }, { - "method_name": "createOrder", + "method_name": "setParameter", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "q", + "receiver_type": "javax.persistence.TypedQuery", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", - "" + "", + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "argument_expr": [ + "1", + "symbol" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "setParameter(int, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -146184,28 +152630,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 172, - "start_column": 21, - "end_line": 172, - "end_column": 74 + "start_line": 381, + "start_column": 9, + "end_line": 381, + "end_column": 33 }, { - "method_name": "setPurchaseDate", - "comment": { - "content": " -- could add a new holdingStatus attribute to holdingEJB", - "start_line": 176, - "end_line": 176, - "start_column": 13, - "end_column": 71, - "is_javadoc": false - }, - "receiver_expr": "holding", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [ - "java.sql.Timestamp" - ], - "return_type": "", - "callee_signature": "setPurchaseDate(java.util.Date)", + "method_name": "getSingleResult", + "comment": null, + "receiver_expr": "q", + "receiver_type": "javax.persistence.TypedQuery", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getSingleResult()", "is_public": true, "is_protected": false, "is_private": false, @@ -146214,10 +152652,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 177, - "start_column": 13, - "end_line": 177, - "end_column": 62 + "start_line": 382, + "start_column": 31, + "end_line": 382, + "end_column": 49 }, { "method_name": "getPrice", @@ -146225,6 +152663,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -146235,19 +152674,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 180, - "start_column": 32, - "end_line": 180, - "end_column": 47 + "start_line": 384, + "start_column": 31, + "end_line": 384, + "end_column": 46 }, { - "method_name": "getOrderFee", + "method_name": "getOpen", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee()", + "callee_signature": "getOpen()", "is_public": true, "is_protected": false, "is_private": false, @@ -146256,19 +152696,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 181, - "start_column": 35, - "end_line": 181, - "end_column": 53 + "start_line": 385, + "start_column": 32, + "end_line": 385, + "end_column": 46 }, { - "method_name": "getBalance", + "method_name": "equals", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBalance()", + "receiver_expr": "oldPrice", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "TradeConfig.PENNY_STOCK_PRICE" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -146277,21 +152722,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 182, - "start_column": 34, - "end_line": 182, - "end_column": 53 + "start_line": 387, + "start_column": 13, + "end_line": 387, + "end_column": 58 }, { - "method_name": "subtract", + "method_name": "compareTo", "comment": null, - "receiver_expr": "(new BigDecimal(quantity).multiply(price))", + "receiver_expr": "oldPrice", "receiver_type": "java.math.BigDecimal", "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "TradeConfig.MAXIMUM_STOCK_PRICE" + ], + "return_type": "", + "callee_signature": "compareTo(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 389, + "start_column": 20, + "end_line": 389, + "end_column": 70 + }, + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "changeFactor.multiply(oldPrice)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -146300,19 +152776,22 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 183, - "start_column": 21, - "end_line": 183, - "end_column": 81 + "start_line": 393, + "start_column": 31, + "end_line": 393, + "end_column": 99 }, { "method_name": "multiply", "comment": null, - "receiver_expr": "new BigDecimal(quantity)", + "receiver_expr": "changeFactor", "receiver_type": "java.math.BigDecimal", "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "oldPrice" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -146323,21 +152802,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 183, - "start_column": 22, - "end_line": 183, + "start_line": 393, + "start_column": 31, + "end_line": 393, "end_column": 61 }, { - "method_name": "setBalance", + "method_name": "setPrice", "comment": null, - "receiver_expr": "account", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "newPrice" + ], "return_type": "", - "callee_signature": "setBalance(java.math.BigDecimal)", + "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -146346,21 +152828,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 184, - "start_column": 13, - "end_line": 184, - "end_column": 50 + "start_line": 395, + "start_column": 9, + "end_line": 395, + "end_column": 32 }, { - "method_name": "add", + "method_name": "setChange", "comment": null, - "receiver_expr": "balance", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ - "java.math.BigDecimal" + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "add(java.math.BigDecimal)", + "argument_expr": [ + "newPrice.subtract(openPrice).doubleValue()" + ], + "return_type": "", + "callee_signature": "setChange(double)", "is_public": true, "is_protected": false, "is_private": false, @@ -146369,19 +152854,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 184, - "start_column": 32, - "end_line": 184, - "end_column": 49 + "start_line": 396, + "start_column": 9, + "end_line": 396, + "end_column": 67 }, { - "method_name": "getOrderID", + "method_name": "doubleValue", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "newPrice.subtract(openPrice)", + "receiver_type": "java.math.BigDecimal", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "doubleValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -146390,22 +152876,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 185, - "start_column": 35, - "end_line": 185, - "end_column": 52 + "start_line": 396, + "start_column": 25, + "end_line": 396, + "end_column": 66 }, { - "method_name": "completeOrder", + "method_name": "subtract", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "newPrice", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.Integer", - "" + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "completeOrder(java.lang.Integer, boolean)", + "argument_expr": [ + "openPrice" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -146414,22 +152902,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 188, - "start_column": 17, - "end_line": 188, - "end_column": 45 + "start_line": 396, + "start_column": 25, + "end_line": 396, + "end_column": 52 }, { - "method_name": "completeOrderAsync", + "method_name": "setVolume", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ - "java.lang.Integer", "" ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "argument_expr": [ + "quote.getVolume() + sharesTraded" + ], + "return_type": "", + "callee_signature": "setVolume(double)", "is_public": true, "is_protected": false, "is_private": false, @@ -146438,22 +152928,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 190, - "start_column": 17, - "end_line": 190, - "end_column": 50 + "start_line": 397, + "start_column": 9, + "end_line": 397, + "end_column": 57 }, { - "method_name": "queueOrder", + "method_name": "getVolume", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Integer", - "" - ], + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "callee_signature": "getVolume()", "is_public": true, "is_protected": false, "is_private": false, @@ -146462,120 +152950,133 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 192, - "start_column": 17, - "end_line": 192, + "start_line": 397, + "start_column": 25, + "end_line": 397, "end_column": 41 }, { - "method_name": "error", + "method_name": "merge", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "argument_expr": [ + "quote" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "merge(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 398, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 196, - "start_column": 13, - "end_line": 196, - "end_column": 91 + "start_line": 398, + "start_column": 9, + "end_line": 398, + "end_column": 34 }, { - "method_name": "", + "method_name": "getPublishQuotePriceChange", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "OrderDataBean()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "getPublishQuotePriceChange()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 162, - "start_column": 43, - "end_line": 162, - "end_column": 61 + "start_line": 400, + "start_column": 13, + "end_line": 400, + "end_column": 52 }, { - "method_name": "", + "method_name": "publishQuotePriceChange", "comment": null, "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", + "receiver_type": "", "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.math.BigDecimal", + "java.math.BigDecimal", "" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, + "argument_expr": [ + "quote", + "oldPrice", + "changeFactor", + "sharesTraded" + ], + "return_type": "", + "callee_signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 177, - "start_column": 37, - "end_line": 177, - "end_column": 61 + "start_line": 401, + "start_column": 11, + "end_line": 401, + "end_column": 78 }, { - "method_name": "", + "method_name": "add", "comment": null, - "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "recentQuotePriceChangeList", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [ - "" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", - "is_public": false, + "argument_expr": [ + "quote" + ], + "return_type": "", + "callee_signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 183, - "start_column": 22, - "end_line": 183, + "start_line": 404, + "start_column": 9, + "end_line": 404, "end_column": 45 }, { "method_name": "", - "comment": { - "content": " UPDATE - handle all exceptions like:", - "start_line": 198, - "end_line": 198, - "start_column": 13, - "end_column": 51, - "is_javadoc": false - }, + "comment": null, "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "QuoteDataBean()", "is_public": false, "is_protected": false, "is_private": false, @@ -146584,10 +153085,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 199, - "start_column": 19, - "end_line": 199, - "end_column": 93 + "start_line": 375, + "start_column": 20, + "end_line": 375, + "end_column": 38 } ], "variable_declarations": [ @@ -146600,98 +153101,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "order", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "null", - "start_line": 151, - "start_column": 23, - "end_line": 151, - "end_column": 32 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "total", - "type": "java.math.BigDecimal", - "initializer": "", - "start_line": 152, - "start_column": 20, - "end_line": 152, - "end_column": 24 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "entityManager.find(AccountProfileDataBean.class, userID)", - "start_line": 154, - "start_column": 36, - "end_line": 154, - "end_column": 101 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "account", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "profile.getAccount()", - "start_line": 155, - "start_column": 29, - "end_line": 155, - "end_column": 58 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holding", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "entityManager.find(HoldingDataBean.class, holdingID)", - "start_line": 157, - "start_column": 29, - "end_line": 157, - "end_column": 90 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "new OrderDataBean()", - "start_line": 162, - "start_column": 31, - "end_line": 162, - "end_column": 61 + "name": "q", + "type": "javax.persistence.TypedQuery", + "initializer": "entityManager.createNamedQuery(\"quoteejb.quoteForUpdate\", QuoteDataBean.class)", + "start_line": 380, + "start_column": 35, + "end_line": 380, + "end_column": 116 }, { "comment": { @@ -146704,28 +153120,11 @@ }, "name": "quote", "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "holding.getQuote()", - "start_line": 169, - "start_column": 27, - "end_line": 169, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "double", - "initializer": "holding.getQuantity()", - "start_line": 170, - "start_column": 20, - "end_line": 170, - "end_column": 51 + "initializer": "q.getSingleResult()", + "start_line": 382, + "start_column": 23, + "end_line": 382, + "end_column": 49 }, { "comment": { @@ -146736,13 +153135,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "price", + "name": "oldPrice", "type": "java.math.BigDecimal", "initializer": "quote.getPrice()", - "start_line": 180, - "start_column": 24, - "end_line": 180, - "end_column": 47 + "start_line": 384, + "start_column": 20, + "end_line": 384, + "end_column": 46 }, { "comment": { @@ -146753,13 +153152,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderFee", + "name": "openPrice", "type": "java.math.BigDecimal", - "initializer": "order.getOrderFee()", - "start_line": 181, - "start_column": 24, - "end_line": 181, - "end_column": 53 + "initializer": "quote.getOpen()", + "start_line": 385, + "start_column": 20, + "end_line": 385, + "end_column": 46 }, { "comment": { @@ -146770,52 +153169,115 @@ "end_column": -1, "is_javadoc": false }, - "name": "balance", + "name": "newPrice", "type": "java.math.BigDecimal", - "initializer": "account.getBalance()", - "start_line": 182, - "start_column": 24, - "end_line": 182, - "end_column": 53 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderID", - "type": "java.lang.Integer", - "initializer": "order.getOrderID()", - "start_line": 185, - "start_column": 27, - "end_line": 185, - "end_column": 52 + "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", + "start_line": 393, + "start_column": 20, + "end_line": 393, + "end_column": 99 } ], "crud_operations": [ { - "line_number": 154, - "operation_type": "READ", + "line_number": 398, + "operation_type": "UPDATE", "target_table": null, "involved_columns": null, "condition": null, "joined_tables": null - }, + } + ], + "crud_queries": [ { - "line_number": 157, - "operation_type": "READ", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "line_number": 380, + "query_arguments": [ + "\"quoteejb.quoteForUpdate\"", + "QuoteDataBean.class" + ], + "query_type": "NAMED" + } + ], + "cyclomatic_complexity": 5, + "is_entrypoint": false + }, + "getHolding(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "getHolding(java.lang.Integer)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public HoldingDataBean getHolding(Integer holdingID)", + "parameters": [ { - "line_number": 164, - "operation_type": "CREATE", + "type": "java.lang.Integer", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 425, + "end_line": 425, + "start_column": 39, + "end_column": 55 + } + ], + "code": "{\n return entityManager.find(HoldingDataBean.class, holdingID);\n }", + "start_line": 424, + "end_line": 427, + "code_start_line": 425, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + ], + "call_sites": [ + { + "method_name": "find", + "comment": null, + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", + "argument_types": [ + "java.lang.Class", + "java.lang.Integer" + ], + "argument_expr": [ + "HoldingDataBean.class", + "holdingID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": { + "line_number": 426, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + "crud_query": null, + "start_line": 426, + "start_column": 14, + "end_line": 426, + "end_column": 65 + } + ], + "variable_declarations": [], + "crud_operations": [ + { + "line_number": 426, + "operation_type": "READ", "target_table": null, "involved_columns": null, "condition": null, @@ -146823,105 +153285,77 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)": { + "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "createHolding(AccountDataBean, QuoteDataBean, double, BigDecimal)", + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [], - "annotations": [], - "modifiers": [ - "private" + "annotations": [ + "@Override" ], - "thrown_exceptions": [ - "java.lang.Exception" + "modifiers": [ + "public" ], - "declaration": "private HoldingDataBean createHolding(AccountDataBean account, QuoteDataBean quote, double quantity, BigDecimal purchasePrice) throws Exception", + "thrown_exceptions": [], + "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", - "annotations": [], - "modifiers": [], - "start_line": 551, - "end_line": 551, - "start_column": 43, - "end_column": 65 - }, - { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 551, - "end_line": 551, - "start_column": 68, - "end_column": 86 + "start_line": 347, + "end_line": 347, + "start_column": 38, + "end_column": 50 }, { - "type": "double", - "name": "quantity", + "type": "java.lang.String", + "name": "companyName", "annotations": [], "modifiers": [], - "start_line": 551, - "end_line": 551, - "start_column": 89, - "end_column": 103 + "start_line": 347, + "end_line": 347, + "start_column": 53, + "end_column": 70 }, { "type": "java.math.BigDecimal", - "name": "purchasePrice", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 551, - "end_line": 551, - "start_column": 106, - "end_column": 129 + "start_line": 347, + "end_line": 347, + "start_column": 73, + "end_column": 88 } ], - "code": "{\n HoldingDataBean newHolding = new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote);\n entityManager.persist(newHolding);\n return newHolding;\n }", - "start_line": 551, - "end_line": 555, - "code_start_line": 551, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n try {\n QuoteDataBean quote = new QuoteDataBean(symbol, companyName, 0, price, price, price, price, 0);\n entityManager.persist(quote);\n\n Log.trace(\"TradeSLSBBean:createQuote-->\" + quote);\n\n return quote;\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean:createQuote -- exception creating Quote\", e);\n throw new EJBException(e);\n }\n }", + "start_line": 346, + "end_line": 359, + "code_start_line": 347, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" ], "call_sites": [ - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 552, - "start_column": 97, - "end_line": 552, - "end_column": 122 - }, { "method_name": "persist", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "quote" ], "return_type": "", "callee_signature": "persist(java.lang.Object)", @@ -146932,7 +153366,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 553, + "line_number": 350, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -146940,25 +153374,92 @@ "joined_tables": null }, "crud_query": null, - "start_line": 553, - "start_column": 9, - "end_line": 553, - "end_column": 41 + "start_line": 350, + "start_column": 13, + "end_line": 350, + "end_column": 40 + }, + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeSLSBBean:createQuote-->\" + quote" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 352, + "start_column": 13, + "end_line": 352, + "end_column": 61 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeSLSBBean:createQuote -- exception creating Quote\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 356, + "start_column": 13, + "end_line": 356, + "end_column": 81 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ + "java.lang.String", + "java.lang.String", "", "java.math.BigDecimal", - "java.sql.Timestamp", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.math.BigDecimal", + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "HoldingDataBean(double, java.math.BigDecimal, java.util.Date, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "argument_expr": [ + "symbol", + "companyName", + "0", + "price", + "price", + "price", + "price", + "0" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", "is_public": false, "is_protected": false, "is_private": false, @@ -146967,21 +153468,24 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 552, - "start_column": 38, - "end_line": 552, - "end_column": 140 + "start_line": 349, + "start_column": 35, + "end_line": 349, + "end_column": 106 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", + "receiver_type": "javax.ejb.EJBException", "argument_types": [ - "" + "java.lang.Exception" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", + "argument_expr": [ + "e" + ], + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.Exception)", "is_public": false, "is_protected": false, "is_private": false, @@ -146990,10 +153494,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 552, - "start_column": 83, - "end_line": 552, - "end_column": 123 + "start_line": 357, + "start_column": 19, + "end_line": 357, + "end_column": 37 } ], "variable_declarations": [ @@ -147006,18 +153510,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "newHolding", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "new HoldingDataBean(quantity, purchasePrice, new Timestamp(System.currentTimeMillis()), account, quote)", - "start_line": 552, - "start_column": 25, - "end_line": 552, - "end_column": 140 + "name": "quote", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "new QuoteDataBean(symbol, companyName, 0, price, price, price, price, 0)", + "start_line": 349, + "start_column": 27, + "end_line": 349, + "end_column": 106 } ], "crud_operations": [ { - "line_number": 553, + "line_number": 350, "operation_type": "CREATE", "target_table": null, "involved_columns": null, @@ -147026,12 +153530,12 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "getHolding(Integer)": { + "getQuote(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getHolding(Integer)", + "signature": "getQuote(java.lang.String)", "comments": [], "annotations": [ "@Override" @@ -147040,24 +153544,24 @@ "public" ], "thrown_exceptions": [], - "declaration": "public HoldingDataBean getHolding(Integer holdingID)", + "declaration": "public QuoteDataBean getQuote(String symbol)", "parameters": [ { - "type": "java.lang.Integer", - "name": "holdingID", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 425, - "end_line": 425, - "start_column": 39, - "end_column": 55 + "start_line": 362, + "end_line": 362, + "start_column": 35, + "end_column": 47 } ], - "code": "{\n return entityManager.find(HoldingDataBean.class, holdingID);\n }", - "start_line": 424, - "end_line": 427, - "code_start_line": 425, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n return entityManager.find(QuoteDataBean.class, symbol);\n }", + "start_line": 361, + "end_line": 364, + "code_start_line": 362, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -147071,11 +153575,15 @@ "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.Class", - "java.lang.Integer" + "java.lang.Class", + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "argument_expr": [ + "QuoteDataBean.class", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -147083,7 +153591,7 @@ "is_static_call": false, "is_constructor_call": false, "crud_operation": { - "line_number": 426, + "line_number": 363, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147091,16 +153599,16 @@ "joined_tables": null }, "crud_query": null, - "start_line": 426, - "start_column": 14, - "end_line": 426, - "end_column": 65 + "start_line": 363, + "start_column": 16, + "end_line": 363, + "end_column": 62 } ], "variable_declarations": [], "crud_operations": [ { - "line_number": 426, + "line_number": 363, "operation_type": "READ", "target_table": null, "involved_columns": null, @@ -147112,9 +153620,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrderAsync(Integer, boolean)": { + "completeOrderAsync(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "completeOrderAsync(Integer, boolean)", + "signature": "completeOrderAsync(java.lang.Integer, boolean)", "comments": [], "annotations": [ "@Override" @@ -147169,6 +153677,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "submitOrder(java.lang.Integer, boolean)", "is_public": true, @@ -147191,43 +153703,10 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getClosedOrders(String)": { + "getHoldings(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", - "signature": "getClosedOrders(String)", - "comments": [ - { - "content": " I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate ", - "start_line": 309, - "end_line": 309, - "start_column": 13, - "end_column": 95, - "is_javadoc": false - }, - { - "content": " Spin through the orders to remove or mark completed", - "start_line": 326, - "end_line": 326, - "start_column": 13, - "end_column": 66, - "is_javadoc": false - }, - { - "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 329, - "end_line": 329, - "start_column": 17, - "end_column": 71, - "is_javadoc": false - }, - { - "content": "Added this for Longruns (to prevent orderejb growth)", - "start_line": 331, - "end_line": 331, - "start_column": 21, - "end_column": 74, - "is_javadoc": false - } - ], + "signature": "getHoldings(java.lang.String)", + "comments": [], "annotations": [ "@Override" ], @@ -147235,34 +153714,31 @@ "public" ], "thrown_exceptions": [], - "declaration": "public Collection getClosedOrders(String userID)", + "declaration": "public Collection<@NotNull HoldingDataBean> getHoldings(String userID)", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 306, - "end_line": 306, - "start_column": 54, - "end_column": 66 + "start_line": 410, + "end_line": 410, + "start_column": 61, + "end_column": 73 } ], - "code": "{\n\n try {\n /* I want to do a CriteriaUpdate here, but there are issues with JBoss/Hibernate */\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(OrderDataBean.class);\n Root orders = criteriaQuery.from(OrderDataBean.class);\n criteriaQuery.select(orders);\n criteriaQuery.where(\n criteriaBuilder.equal(orders.get(\"orderStatus\"), \n criteriaBuilder.parameter(String.class, \"p_status\")), \n criteriaBuilder.equal(orders.get(\"account\").get(\"profile\").get(\"userID\"), \n criteriaBuilder.parameter(String.class, \"p_userid\")));\n\n TypedQuery q = entityManager.createQuery(criteriaQuery);\n q.setParameter(\"p_status\", \"closed\");\n q.setParameter(\"p_userid\", userID);\n List results = q.getResultList();\n\n Iterator itr = results.iterator();\n // Spin through the orders to remove or mark completed\n while (itr.hasNext()) {\n OrderDataBean order = itr.next();\n // TODO: Investigate ConncurrentModification Exceptions\n if (TradeConfig.getLongRun()) {\n //Added this for Longruns (to prevent orderejb growth)\n entityManager.remove(order); \n }\n else {\n order.setOrderStatus(\"completed\");\n }\n }\n\n return results;\n } catch (Exception e) {\n Log.error(\"TradeSLSBBean.getClosedOrders\", e);\n throw new EJBException(\"TradeSLSBBean.getClosedOrders - error\", e);\n }\n }", - "start_line": 305, - "end_line": 344, - "code_start_line": 306, - "return_type": "java.util.Collection", + "code": "{\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n CriteriaQuery criteriaQuery = criteriaBuilder.createQuery(HoldingDataBean.class);\n Root holdings = criteriaQuery.from(HoldingDataBean.class);\n criteriaQuery.where(\n criteriaBuilder.equal(holdings.get(\"account\").get(\"profile\").get(\"userID\"), \n criteriaBuilder.parameter(String.class, \"p_userid\")));\n criteriaQuery.select(holdings);\n\n TypedQuery typedQuery = entityManager.createQuery(criteriaQuery);\n typedQuery.setParameter(\"p_userid\", userID);\n return typedQuery.getResultList();\n }", + "start_line": 409, + "end_line": 422, + "code_start_line": 410, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.persistence.criteria.Root", + "javax.persistence.criteria.Root", + "javax.persistence.TypedQuery", "javax.persistence.criteria.CriteriaBuilder", - "javax.persistence.criteria.CriteriaQuery", - "java.util.Iterator", - "java.util.List", - "javax.persistence.TypedQuery", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "javax.persistence.criteria.CriteriaQuery" ], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" @@ -147274,6 +153750,7 @@ "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [], + "argument_expr": [], "return_type": "javax.persistence.criteria.CriteriaBuilder", "callee_signature": "getCriteriaBuilder()", "is_public": true, @@ -147284,10 +153761,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 310, - "start_column": 47, - "end_line": 310, - "end_column": 80 + "start_line": 411, + "start_column": 43, + "end_line": 411, + "end_column": 76 }, { "method_name": "createQuery", @@ -147295,10 +153772,13 @@ "receiver_expr": "criteriaBuilder", "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "java.lang.Class" + "java.lang.Class" ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "createQuery(java.lang.Class)", + "argument_expr": [ + "HoldingDataBean.class" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "createQuery(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -147307,21 +153787,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 311, - "start_column": 58, - "end_line": 311, + "start_line": 412, + "start_column": 56, + "end_line": 412, "end_column": 105 }, { "method_name": "from", "comment": null, "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", "argument_types": [ - "java.lang.Class" + "java.lang.Class" ], - "return_type": "javax.persistence.criteria.Root", - "callee_signature": "from(java.lang.Class)", + "argument_expr": [ + "HoldingDataBean.class" + ], + "return_type": "javax.persistence.criteria.Root", + "callee_signature": "from(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -147330,21 +153813,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 312, + "start_line": 413, "start_column": 42, - "end_line": 312, - "end_column": 80 + "end_line": 413, + "end_column": 82 }, { - "method_name": "select", + "method_name": "where", "comment": null, "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", "argument_types": [ - "javax.persistence.criteria.Root" + "javax.persistence.criteria.Predicate" ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "select(javax.persistence.criteria.Selection)", + "argument_expr": [ + "criteriaBuilder.equal(holdings.get(\"account\").get(\"profile\").get(\"userID\"), criteriaBuilder.parameter(String.class, \"p_userid\"))" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "where(javax.persistence.criteria.Expression)", "is_public": true, "is_protected": false, "is_private": false, @@ -147353,22 +153839,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 313, - "start_column": 13, - "end_line": 313, - "end_column": 40 + "start_line": 414, + "start_column": 9, + "end_line": 416, + "end_column": 77 }, { - "method_name": "where", + "method_name": "equal", "comment": null, - "receiver_expr": "criteriaQuery", - "receiver_type": "javax.persistence.criteria.CriteriaQuery", + "receiver_expr": "criteriaBuilder", + "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "javax.persistence.criteria.Predicate", - "javax.persistence.criteria.Predicate" + "javax.persistence.criteria.Path", + "javax.persistence.criteria.ParameterExpression" ], - "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "where(javax.persistence.criteria.Predicate...)", + "argument_expr": [ + "holdings.get(\"account\").get(\"profile\").get(\"userID\")", + "criteriaBuilder.parameter(String.class, \"p_userid\")" + ], + "return_type": "javax.persistence.criteria.Predicate", + "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", "is_public": true, "is_protected": false, "is_private": false, @@ -147377,22 +153867,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 314, - "start_column": 13, - "end_line": 318, - "end_column": 81 + "start_line": 415, + "start_column": 17, + "end_line": 416, + "end_column": 76 }, { - "method_name": "equal", + "method_name": "get", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "receiver_expr": "holdings.get(\"account\").get(\"profile\")", + "receiver_type": "javax.persistence.criteria.Path", "argument_types": [ - "javax.persistence.criteria.Path", - "javax.persistence.criteria.ParameterExpression" + "java.lang.String" ], - "return_type": "javax.persistence.criteria.Predicate", - "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", + "argument_expr": [ + "\"userID\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147401,19 +153893,22 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 315, - "start_column": 21, - "end_line": 316, - "end_column": 80 + "start_line": 415, + "start_column": 39, + "end_line": 415, + "end_column": 90 }, { "method_name": "get", "comment": null, - "receiver_expr": "orders", - "receiver_type": "javax.persistence.criteria.Root", + "receiver_expr": "holdings.get(\"account\")", + "receiver_type": "javax.persistence.criteria.Path", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"profile\"" + ], "return_type": "javax.persistence.criteria.Path", "callee_signature": "get(java.lang.String)", "is_public": true, @@ -147424,22 +153919,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 315, - "start_column": 43, - "end_line": 315, - "end_column": 67 + "start_line": 415, + "start_column": 39, + "end_line": 415, + "end_column": 76 }, { - "method_name": "parameter", + "method_name": "get", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", + "receiver_expr": "holdings", + "receiver_type": "javax.persistence.criteria.Root", "argument_types": [ - "java.lang.Class", "java.lang.String" ], - "return_type": "javax.persistence.criteria.ParameterExpression", - "callee_signature": "parameter(java.lang.Class, java.lang.String)", + "argument_expr": [ + "\"account\"" + ], + "return_type": "javax.persistence.criteria.Path", + "callee_signature": "get(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147448,22 +153945,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 316, - "start_column": 29, - "end_line": 316, - "end_column": 79 + "start_line": 415, + "start_column": 39, + "end_line": 415, + "end_column": 61 }, { - "method_name": "equal", + "method_name": "parameter", "comment": null, "receiver_expr": "criteriaBuilder", "receiver_type": "javax.persistence.criteria.CriteriaBuilder", "argument_types": [ - "javax.persistence.criteria.Path", - "javax.persistence.criteria.ParameterExpression" + "java.lang.Class", + "java.lang.String" ], - "return_type": "javax.persistence.criteria.Predicate", - "callee_signature": "equal(javax.persistence.criteria.Expression, javax.persistence.criteria.Expression)", + "argument_expr": [ + "String.class", + "\"p_userid\"" + ], + "return_type": "javax.persistence.criteria.ParameterExpression", + "callee_signature": "parameter(java.lang.Class, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147472,21 +153973,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 21, - "end_line": 318, - "end_column": 80 + "start_line": 416, + "start_column": 25, + "end_line": 416, + "end_column": 75 }, { - "method_name": "get", + "method_name": "select", "comment": null, - "receiver_expr": "orders.get(\"account\").get(\"profile\")", - "receiver_type": "javax.persistence.criteria.Path", + "receiver_expr": "criteriaQuery", + "receiver_type": "javax.persistence.criteria.CriteriaQuery", "argument_types": [ - "java.lang.String" + "javax.persistence.criteria.Root" ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "argument_expr": [ + "holdings" + ], + "return_type": "javax.persistence.criteria.CriteriaQuery", + "callee_signature": "select(javax.persistence.criteria.Selection)", "is_public": true, "is_protected": false, "is_private": false, @@ -147495,21 +153999,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 43, - "end_line": 317, - "end_column": 92 + "start_line": 417, + "start_column": 9, + "end_line": 417, + "end_column": 38 }, { - "method_name": "get", + "method_name": "createQuery", "comment": null, - "receiver_expr": "orders.get(\"account\")", - "receiver_type": "javax.persistence.criteria.Path", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String" + "javax.persistence.criteria.CriteriaQuery" ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "argument_expr": [ + "criteriaQuery" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", "is_public": true, "is_protected": false, "is_private": false, @@ -147518,21 +154025,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 43, - "end_line": 317, - "end_column": 78 + "start_line": 419, + "start_column": 50, + "end_line": 419, + "end_column": 89 }, { - "method_name": "get", + "method_name": "setParameter", "comment": null, - "receiver_expr": "orders", - "receiver_type": "javax.persistence.criteria.Root", + "receiver_expr": "typedQuery", + "receiver_type": "javax.persistence.TypedQuery", "argument_types": [ + "java.lang.String", "java.lang.String" ], - "return_type": "javax.persistence.criteria.Path", - "callee_signature": "get(java.lang.String)", + "argument_expr": [ + "\"p_userid\"", + "userID" + ], + "return_type": "javax.persistence.TypedQuery", + "callee_signature": "setParameter(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -147541,22 +154053,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 43, - "end_line": 317, - "end_column": 63 + "start_line": 420, + "start_column": 9, + "end_line": 420, + "end_column": 51 }, { - "method_name": "parameter", + "method_name": "getResultList", "comment": null, - "receiver_expr": "criteriaBuilder", - "receiver_type": "javax.persistence.criteria.CriteriaBuilder", - "argument_types": [ - "java.lang.Class", - "java.lang.String" - ], - "return_type": "javax.persistence.criteria.ParameterExpression", - "callee_signature": "parameter(java.lang.Class, java.lang.String)", + "receiver_expr": "typedQuery", + "receiver_type": "javax.persistence.TypedQuery", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "getResultList()", "is_public": true, "is_protected": false, "is_private": false, @@ -147565,45 +154075,169 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, - "start_column": 29, - "end_line": 318, - "end_column": 79 + "start_line": 421, + "start_column": 16, + "end_line": 421, + "end_column": 41 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "criteriaBuilder", + "type": "javax.persistence.criteria.CriteriaBuilder", + "initializer": "entityManager.getCriteriaBuilder()", + "start_line": 411, + "start_column": 25, + "end_line": 411, + "end_column": 76 }, { - "method_name": "createQuery", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "criteriaQuery", + "type": "javax.persistence.criteria.CriteriaQuery", + "initializer": "criteriaBuilder.createQuery(HoldingDataBean.class)", + "start_line": 412, + "start_column": 40, + "end_line": 412, + "end_column": 105 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdings", + "type": "javax.persistence.criteria.Root", + "initializer": "criteriaQuery.from(HoldingDataBean.class)", + "start_line": 413, + "start_column": 31, + "end_line": 413, + "end_column": 82 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "typedQuery", + "type": "javax.persistence.TypedQuery", + "initializer": "entityManager.createQuery(criteriaQuery)", + "start_line": 419, + "start_column": 37, + "end_line": 419, + "end_column": 89 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/TradeSLSBBean.java", + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profileData", + "annotations": [], + "modifiers": [], + "start_line": 446, + "end_line": 446, + "start_column": 56, + "end_column": 89 + } + ], + "code": "{\n AccountProfileDataBean temp = entityManager.find(AccountProfileDataBean.class, profileData.getUserID());\n temp.setAddress(profileData.getAddress());\n temp.setPassword(profileData.getPassword());\n temp.setFullName(profileData.getFullName());\n temp.setCreditCard(profileData.getCreditCard());\n temp.setEmail(profileData.getEmail());\n\n entityManager.merge(temp);\n\n return temp;\n }", + "start_line": 445, + "end_line": 457, + "code_start_line": 446, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean.entityManager" + ], + "call_sites": [ + { + "method_name": "find", "comment": null, "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "javax.persistence.criteria.CriteriaQuery" + "java.lang.Class", + "java.lang.String" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", + "argument_expr": [ + "AccountProfileDataBean.class", + "profileData.getUserID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, + "crud_operation": { + "line_number": 447, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 320, - "start_column": 43, - "end_line": 320, - "end_column": 82 + "start_line": 447, + "start_column": 39, + "end_line": 447, + "end_column": 111 }, { - "method_name": "setParameter", + "method_name": "getUserID", "comment": null, - "receiver_expr": "q", - "receiver_type": "javax.persistence.TypedQuery", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "setParameter(java.lang.String, java.lang.Object)", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", "is_public": true, "is_protected": false, "is_private": false, @@ -147612,22 +154246,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 321, - "start_column": 13, - "end_line": 321, - "end_column": 48 + "start_line": 447, + "start_column": 88, + "end_line": 447, + "end_column": 110 }, { - "method_name": "setParameter", + "method_name": "setAddress", "comment": null, - "receiver_expr": "q", - "receiver_type": "javax.persistence.TypedQuery", + "receiver_expr": "temp", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [ - "java.lang.String", "java.lang.String" ], - "return_type": "javax.persistence.TypedQuery", - "callee_signature": "setParameter(java.lang.String, java.lang.Object)", + "argument_expr": [ + "profileData.getAddress()" + ], + "return_type": "", + "callee_signature": "setAddress(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147636,19 +154272,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 322, - "start_column": 13, - "end_line": 322, - "end_column": 46 + "start_line": 448, + "start_column": 9, + "end_line": 448, + "end_column": 49 }, { - "method_name": "getResultList", + "method_name": "getAddress", "comment": null, - "receiver_expr": "q", - "receiver_type": "javax.persistence.TypedQuery", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "getResultList()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddress()", "is_public": true, "is_protected": false, "is_private": false, @@ -147657,19 +154294,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 323, - "start_column": 43, - "end_line": 323, - "end_column": 59 + "start_line": 448, + "start_column": 25, + "end_line": 448, + "end_column": 48 }, { - "method_name": "iterator", + "method_name": "setPassword", "comment": null, - "receiver_expr": "results", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", + "receiver_expr": "temp", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "profileData.getPassword()" + ], + "return_type": "", + "callee_signature": "setPassword(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147678,26 +154320,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 325, - "start_column": 43, - "end_line": 325, - "end_column": 60 + "start_line": 449, + "start_column": 9, + "end_line": 449, + "end_column": 51 }, { - "method_name": "hasNext", - "comment": { - "content": " Spin through the orders to remove or mark completed", - "start_line": 326, - "end_line": 326, - "start_column": 13, - "end_column": 66, - "is_javadoc": false - }, - "receiver_expr": "itr", - "receiver_type": "java.util.Iterator", + "method_name": "getPassword", + "comment": null, + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPassword()", "is_public": true, "is_protected": false, "is_private": false, @@ -147706,19 +154342,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 20, - "end_line": 327, - "end_column": 32 + "start_line": 449, + "start_column": 26, + "end_line": 449, + "end_column": 50 }, { - "method_name": "next", + "method_name": "setFullName", "comment": null, - "receiver_expr": "itr", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "next()", + "receiver_expr": "temp", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "profileData.getFullName()" + ], + "return_type": "", + "callee_signature": "setFullName(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147727,86 +154368,94 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 328, - "start_column": 39, - "end_line": 328, - "end_column": 48 + "start_line": 450, + "start_column": 9, + "end_line": 450, + "end_column": 51 }, { - "method_name": "getLongRun", - "comment": { - "content": " TODO: Investigate ConncurrentModification Exceptions", - "start_line": 329, - "end_line": 329, - "start_column": 17, - "end_column": 71, - "is_javadoc": false - }, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "method_name": "getFullName", + "comment": null, + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "getLongRun()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getFullName()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, - "start_column": 21, - "end_line": 330, - "end_column": 44 + "start_line": 450, + "start_column": 26, + "end_line": 450, + "end_column": 50 }, { - "method_name": "remove", - "comment": { - "content": "Added this for Longruns (to prevent orderejb growth)", - "start_line": 331, - "end_line": 331, - "start_column": 21, - "end_column": 74, - "is_javadoc": false - }, - "receiver_expr": "entityManager", - "receiver_type": "javax.persistence.EntityManager", + "method_name": "setCreditCard", + "comment": null, + "receiver_expr": "temp", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "java.lang.String" + ], + "argument_expr": [ + "profileData.getCreditCard()" ], "return_type": "", - "callee_signature": "remove(java.lang.Object)", + "callee_signature": "setCreditCard(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": { - "line_number": 332, - "operation_type": "DELETE", - "target_table": null, - "involved_columns": null, - "condition": null, - "joined_tables": null - }, + "crud_operation": null, "crud_query": null, - "start_line": 332, - "start_column": 21, - "end_line": 332, - "end_column": 47 + "start_line": 451, + "start_column": 9, + "end_line": 451, + "end_column": 55 }, { - "method_name": "setOrderStatus", + "method_name": "getCreditCard", "comment": null, - "receiver_expr": "order", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCreditCard()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 451, + "start_column": 28, + "end_line": 451, + "end_column": 54 + }, + { + "method_name": "setEmail", + "comment": null, + "receiver_expr": "temp", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "profileData.getEmail()" + ], "return_type": "", - "callee_signature": "setOrderStatus(java.lang.String)", + "callee_signature": "setEmail(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -147815,58 +154464,65 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 335, - "start_column": 21, - "end_line": 335, - "end_column": 53 + "start_line": 452, + "start_column": 9, + "end_line": 452, + "end_column": 45 }, { - "method_name": "error", + "method_name": "getEmail", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getEmail()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 341, - "start_column": 13, - "end_line": 341, - "end_column": 57 + "start_line": 452, + "start_column": 23, + "end_line": 452, + "end_column": 44 }, { - "method_name": "", + "method_name": "merge", "comment": null, - "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", + "receiver_expr": "entityManager", + "receiver_type": "javax.persistence.EntityManager", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.String, java.lang.Exception)", - "is_public": false, + "argument_expr": [ + "temp" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "merge(java.lang.Object)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, + "is_constructor_call": false, + "crud_operation": { + "line_number": 454, + "operation_type": "UPDATE", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, "crud_query": null, - "start_line": 342, - "start_column": 19, - "end_line": 342, - "end_column": 78 + "start_line": 454, + "start_column": 9, + "end_line": 454, + "end_column": 33 } ], "variable_declarations": [ @@ -147879,121 +154535,27 @@ "end_column": -1, "is_javadoc": false }, - "name": "criteriaBuilder", - "type": "javax.persistence.criteria.CriteriaBuilder", - "initializer": "entityManager.getCriteriaBuilder()", - "start_line": 310, - "start_column": 29, - "end_line": 310, - "end_column": 80 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "criteriaQuery", - "type": "javax.persistence.criteria.CriteriaQuery", - "initializer": "criteriaBuilder.createQuery(OrderDataBean.class)", - "start_line": 311, - "start_column": 42, - "end_line": 311, - "end_column": 105 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orders", - "type": "javax.persistence.criteria.Root", - "initializer": "criteriaQuery.from(OrderDataBean.class)", - "start_line": 312, - "start_column": 33, - "end_line": 312, - "end_column": 80 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "q", - "type": "javax.persistence.TypedQuery", - "initializer": "entityManager.createQuery(criteriaQuery)", - "start_line": 320, - "start_column": 39, - "end_line": 320, - "end_column": 82 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "results", - "type": "java.util.List", - "initializer": "q.getResultList()", - "start_line": 323, - "start_column": 33, - "end_line": 323, - "end_column": 59 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "itr", - "type": "java.util.Iterator", - "initializer": "results.iterator()", - "start_line": 325, - "start_column": 37, - "end_line": 325, - "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "order", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "itr.next()", - "start_line": 328, - "start_column": 31, - "end_line": 328, - "end_column": 48 + "name": "temp", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "entityManager.find(AccountProfileDataBean.class, profileData.getUserID())", + "start_line": 447, + "start_column": 32, + "end_line": 447, + "end_column": 111 } ], "crud_operations": [ { - "line_number": 332, - "operation_type": "DELETE", + "line_number": 447, + "operation_type": "READ", + "target_table": null, + "involved_columns": null, + "condition": null, + "joined_tables": null + }, + { + "line_number": 454, + "operation_type": "UPDATE", "target_table": null, "involved_columns": null, "condition": null, @@ -148001,7 +154563,7 @@ } ], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false } }, @@ -148307,8 +154869,11 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount++\"" + ], "return_type": "", - "callee_signature": "fire(T)", + "callee_signature": "fire(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -148362,8 +154927,12 @@ "java.lang.String", "javax.enterprise.event.NotificationOptions" ], + "argument_expr": [ + "\"hitCount++\"", + "NotificationOptions.builder().setExecutor(mes).build()" + ], "return_type": "java.util.concurrent.CompletionStage", - "callee_signature": "fireAsync(U, javax.enterprise.event.NotificationOptions)", + "callee_signature": "fireAsync(T, javax.enterprise.event.NotificationOptions)", "is_public": true, "is_protected": false, "is_private": false, @@ -148383,6 +154952,7 @@ "receiver_expr": "NotificationOptions.builder().setExecutor(mes)", "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions", "callee_signature": "build()", "is_public": true, @@ -148406,6 +154976,9 @@ "argument_types": [ "javax.enterprise.concurrent.ManagedExecutorService" ], + "argument_expr": [ + "mes" + ], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "setExecutor(java.util.concurrent.Executor)", "is_public": true, @@ -148427,6 +155000,7 @@ "receiver_expr": "NotificationOptions", "receiver_type": "javax.enterprise.event.NotificationOptions", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "builder()", "is_public": true, @@ -148833,130 +155407,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 122, - "end_line": 127, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 129, - "end_line": 129, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n count = 0;\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 128, - "end_line": 135, - "code_start_line": 129, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.count" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 130, - "start_column": 9, - "end_line": 130, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 133, - "start_column": 20, - "end_line": 133, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -149019,6 +155472,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -149041,38 +155498,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"HTTP Session Key: Tests management of a read only unique id\";\n }", - "start_line": 117, - "end_line": 120, - "code_start_line": 118, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " get the users session, if the user does not have a session", @@ -149215,6 +155643,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -149239,6 +155670,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession1.doGet(...): error getting session\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -149262,6 +155697,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sessiontest.counter\"" + ], "return_type": "java.lang.Integer", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -149286,6 +155724,10 @@ "java.lang.String", "java.lang.Integer" ], + "argument_expr": [ + "\"sessiontest.counter\"", + "ival" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -149307,6 +155749,7 @@ "receiver_expr": "ival", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -149337,6 +155780,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -149361,6 +155807,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"SessionKeyTest-SessionID\"", + "SessionID" + ], "return_type": "", "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -149382,6 +155832,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -149405,6 +155856,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HTTP Session Key Test

    HTTP Session Test 1: Session Key
    Init time: \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -149428,6 +155882,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \" + hitCount + \"
    Your HTTP Session key is \" + SessionID + \"
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -149459,6 +155916,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession1.doGet(..l.): error.\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -149490,6 +155951,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingSession1.doGet(...): error. \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -149511,6 +155976,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -149534,6 +156000,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "count++" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -149624,6 +156093,161 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"HTTP Session Key: Tests management of a read only unique id\";\n }", + "start_line": 117, + "end_line": 120, + "code_start_line": 118, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession1.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 122, + "end_line": 127, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 129, + "end_line": 129, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n count = 0;\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 128, + "end_line": 135, + "code_start_line": 129, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingSession1.count" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 130, + "start_column": 9, + "end_line": 130, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 20, + "end_line": 133, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 133, + "start_column": 20, + "end_line": 133, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -149908,129 +156532,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 115, - "end_line": 120, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 122, - "end_line": 122, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 121, - "end_line": 126, - "code_start_line": 122, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 123, - "start_column": 5, - "end_line": 123, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 16, - "end_line": 124, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 124, - "start_column": 16, - "end_line": 124, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -150093,6 +156597,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -150115,47 +156623,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 105, - "end_line": 109, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", - "start_line": 110, - "end_line": 113, - "code_start_line": 111, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " JSON generate", @@ -150243,6 +156713,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -150264,6 +156737,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -150285,6 +156759,7 @@ "receiver_expr": "jSONObjectFactory.createObjectBuilder().add(\"initTime\", initTime).add(\"hitCount\", hitCount)", "receiver_type": "javax.json.JsonObjectBuilder", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "build()", "is_public": true, @@ -150309,6 +156784,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"hitCount\"", + "hitCount" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, int)", "is_public": true, @@ -150333,6 +156812,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"initTime\"", + "initTime" + ], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "add(java.lang.String, java.lang.String)", "is_public": true, @@ -150354,6 +156837,7 @@ "receiver_expr": "jSONObjectFactory", "receiver_type": "javax.json.JsonBuilderFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObjectBuilder", "callee_signature": "createObjectBuilder()", "is_public": true, @@ -150375,6 +156859,7 @@ "receiver_expr": "json", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -150398,6 +156883,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(generatedJSON)" + ], "return_type": "javax.json.JsonReader", "callee_signature": "createReader(java.io.Reader)", "is_public": true, @@ -150419,6 +156907,7 @@ "receiver_expr": "jsonReader.readObject()", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -150440,6 +156929,7 @@ "receiver_expr": "jsonReader", "receiver_type": "javax.json.JsonReader", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "readObject()", "is_public": true, @@ -150463,6 +156953,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping JSONP\" + \"

    Ping JSONP
    Generated JSON: \" + generatedJSON + \"
    Parsed JSON: \" + parsedJSON + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -150487,6 +156980,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingJSONPObject.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -150511,6 +157008,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -150532,6 +157033,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -150555,6 +157057,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "generatedJSON" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -150662,6 +157167,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 105, + "end_line": 109, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JSON generation and parsing in a servlet\";\n }", + "start_line": 110, + "end_line": 113, + "code_start_line": 111, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingJSONPObjectFactory.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 115, + "end_line": 120, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 122, + "end_line": 122, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 121, + "end_line": 126, + "code_start_line": 122, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingJSONPObjectFactory.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 5, + "end_line": 123, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 16, + "end_line": 124, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 16, + "end_line": 124, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -150891,9 +157559,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPurchasePrice(BigDecimal)": { + "getPurchaseDate()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setPurchasePrice(BigDecimal)", + "signature": "getPurchaseDate()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Date getPurchaseDate()", + "parameters": [], + "code": "{\n return purchaseDate;\n }", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, + "return_type": "java.util.Date", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchaseDate" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setPurchasePrice(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", + "signature": "setPurchasePrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -150933,32 +157630,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setPrice(BigDecimal)": { + "setGain(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setPrice(BigDecimal)", + "signature": "setGain(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setPrice(BigDecimal price)", + "declaration": "public void setGain(BigDecimal gain)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "price", + "name": "gain", "annotations": [], "modifiers": [], - "start_line": 83, - "end_line": 83, - "start_column": 26, - "end_column": 41 + "start_line": 107, + "end_line": 107, + "start_column": 25, + "end_column": 39 } ], - "code": "{\n this.price = price;\n }", - "start_line": 83, - "end_line": 85, - "code_start_line": 83, + "code": "{\n this.gain = gain;\n }", + "start_line": 107, + "end_line": 109, + "code_start_line": 107, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -150966,36 +157663,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.price" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getPurchaseDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "getPurchaseDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Date getPurchaseDate()", - "parameters": [], - "code": "{\n return purchaseDate;\n }", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchaseDate" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.gain" ], "call_sites": [], "variable_declarations": [], @@ -151035,6 +157703,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gain" + ], "return_type": "java.lang.String", "callee_signature": "printGainHTML(java.math.BigDecimal)", "is_public": true, @@ -151057,32 +157728,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setBasis(BigDecimal)": { + "setPrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setBasis(BigDecimal)", + "signature": "setPrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBasis(BigDecimal basis)", + "declaration": "public void setPrice(BigDecimal price)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "basis", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, + "start_line": 83, + "end_line": 83, "start_column": 26, "end_column": 41 } ], - "code": "{\n this.basis = basis;\n }", - "start_line": 91, - "end_line": 93, - "code_start_line": 91, + "code": "{\n this.price = price;\n }", + "start_line": 83, + "end_line": 85, + "code_start_line": 83, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -151090,49 +157761,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.basis" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPurchaseDate(Date)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setPurchaseDate(Date)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPurchaseDate(Date purchaseDate)", - "parameters": [ - { - "type": "java.util.Date", - "name": "purchaseDate", - "annotations": [], - "modifiers": [], - "start_line": 67, - "end_line": 67, - "start_column": 33, - "end_column": 49 - } - ], - "code": "{\n this.purchaseDate = purchaseDate;\n }", - "start_line": 67, - "end_line": 69, - "code_start_line": 67, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchaseDate" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.price" ], "call_sites": [], "variable_declarations": [], @@ -151141,32 +157770,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setGain(BigDecimal)": { + "setBasis(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setGain(BigDecimal)", + "signature": "setBasis(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setGain(BigDecimal gain)", + "declaration": "public void setBasis(BigDecimal basis)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "gain", + "name": "basis", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, - "start_column": 25, - "end_column": 39 + "start_line": 91, + "end_line": 91, + "start_column": 26, + "end_column": 41 } ], - "code": "{\n this.gain = gain;\n }", - "start_line": 107, - "end_line": 109, - "code_start_line": 107, + "code": "{\n this.basis = basis;\n }", + "start_line": 91, + "end_line": 93, + "code_start_line": 91, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -151174,7 +157803,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.gain" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.basis" ], "call_sites": [], "variable_declarations": [], @@ -151183,40 +157812,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setQuoteID(String)": { + "setHoldingID(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setQuoteID(String)", + "signature": "setHoldingID(java.lang.Integer)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setQuoteID(String quoteID)", + "declaration": "public void setHoldingID(Integer holdingID)", "parameters": [ { - "type": "java.lang.String", - "name": "quoteID", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 28, - "end_column": 41 + "start_line": 43, + "end_line": 43, + "start_column": 30, + "end_column": 46 } ], - "code": "{\n this.quoteID = quoteID;\n }", - "start_line": 75, - "end_line": 77, - "code_start_line": 75, + "code": "{\n this.holdingID = holdingID;\n }", + "start_line": 43, + "end_line": 45, + "code_start_line": 43, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.lang.String" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.quoteID" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.holdingID" ], "call_sites": [], "variable_declarations": [], @@ -151312,6 +157941,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setMarketValue(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", + "signature": "setMarketValue(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setMarketValue(BigDecimal marketValue)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "marketValue", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 32, + "end_column": 53 + } + ], + "code": "{\n this.marketValue = marketValue;\n }", + "start_line": 99, + "end_line": 101, + "code_start_line": 99, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.marketValue" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getGain()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", "signature": "getGain()", @@ -151410,40 +158081,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setMarketValue(BigDecimal)": { + "setPurchaseDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setMarketValue(BigDecimal)", + "signature": "setPurchaseDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setMarketValue(BigDecimal marketValue)", + "declaration": "public void setPurchaseDate(Date purchaseDate)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "marketValue", + "type": "java.util.Date", + "name": "purchaseDate", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 32, - "end_column": 53 + "start_line": 67, + "end_line": 67, + "start_column": 33, + "end_column": 49 } ], - "code": "{\n this.marketValue = marketValue;\n }", - "start_line": 99, - "end_line": 101, - "code_start_line": 99, + "code": "{\n this.purchaseDate = purchaseDate;\n }", + "start_line": 67, + "end_line": 69, + "code_start_line": 67, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.marketValue" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchaseDate" ], "call_sites": [], "variable_declarations": [], @@ -151452,40 +158123,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHoldingID(Integer)": { + "getPurchasePrice()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "setHoldingID(Integer)", + "signature": "getPurchasePrice()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setHoldingID(Integer holdingID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 43, - "end_line": 43, - "start_column": 30, - "end_column": 46 - } - ], - "code": "{\n this.holdingID = holdingID;\n }", - "start_line": 43, - "end_line": 45, - "code_start_line": 43, - "return_type": "void", + "declaration": "public BigDecimal getPurchasePrice()", + "parameters": [], + "code": "{\n return purchasePrice;\n }", + "start_line": 63, + "end_line": 65, + "code_start_line": 63, + "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.holdingID" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchasePrice" ], "call_sites": [], "variable_declarations": [], @@ -151494,27 +158152,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getPurchasePrice()": { + "setQuoteID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/HoldingData.java", - "signature": "getPurchasePrice()", + "signature": "setQuoteID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public BigDecimal getPurchasePrice()", - "parameters": [], - "code": "{\n return purchasePrice;\n }", - "start_line": 63, - "end_line": 65, - "code_start_line": 63, - "return_type": "java.math.BigDecimal", + "declaration": "public void setQuoteID(String quoteID)", + "parameters": [ + { + "type": "java.lang.String", + "name": "quoteID", + "annotations": [], + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 28, + "end_column": 41 + } + ], + "code": "{\n this.quoteID = quoteID;\n }", + "start_line": 75, + "end_line": 77, + "code_start_line": 75, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.purchasePrice" + "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData.quoteID" ], "call_sites": [], "variable_declarations": [], @@ -151881,84 +158552,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 85, - "end_line": 90, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n }", - "start_line": 91, - "end_line": 94, - "code_start_line": 92, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 93, - "start_column": 9, - "end_line": 93, - "end_column": 26 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (02/07/2013\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -152024,6 +158620,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Length: \" + req.getContentLengthLong()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -152045,6 +158644,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getContentLengthLong()", "is_public": true, @@ -152067,6 +158667,97 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", + "start_line": 62, + "end_line": 70, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 23, + "end_column": 44 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "res", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 47, + "end_column": 69 + } + ], + "code": "{\n doPost(req,res); }", + "start_line": 71, + "end_line": 73, + "code_start_line": 72, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "doPost", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "res" + ], + "return_type": "", + "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 8, + "end_line": 73, + "end_column": 22 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, "getServletInfo()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", "signature": "getServletInfo()", @@ -152105,14 +158796,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "init(javax.servlet.ServletConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServletLargeContentLength.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "init(javax.servlet.ServletConfig)", "comments": [ { - "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", - "start_line": 62, - "end_line": 70, + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 85, + "end_line": 90, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -152125,36 +158816,25 @@ "public" ], "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" + "javax.servlet.ServletException" ], - "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "declaration": "public void init(ServletConfig config) throws ServletException", "parameters": [ { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 23, - "end_column": 44 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", + "type": "javax.servlet.ServletConfig", + "name": "config", "annotations": [], "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 47, - "end_column": 69 + "start_line": 92, + "end_line": 92, + "start_column": 22, + "end_column": 41 } ], - "code": "{\n doPost(req,res); }", - "start_line": 71, - "end_line": 73, - "code_start_line": 72, + "code": "{\n super.init(config);\n }", + "start_line": 91, + "end_line": 94, + "code_start_line": 92, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -152162,16 +158842,18 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "doPost", + "method_name": "init", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" ], "return_type": "", - "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, "is_protected": false, "is_private": false, @@ -152180,17 +158862,17 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 73, - "start_column": 8, - "end_line": 73, - "end_column": 22 + "start_line": 93, + "start_column": 9, + "end_line": 93, + "end_column": 26 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false } }, "field_declarations": [ @@ -152340,107 +159022,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 93, - "end_line": 98, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 100, - "end_line": 100, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n\n\n }", - "start_line": 99, - "end_line": 105, - "code_start_line": 100, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 5, - "end_line": 101, - "end_column": 22 - }, - { - "method_name": "now", - "comment": null, - "receiver_expr": "LocalDateTime", - "receiver_type": "java.time.LocalDateTime", - "argument_types": [], - "return_type": "java.time.LocalDateTime", - "callee_signature": "now()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 16, - "end_line": 102, - "end_column": 34 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -152503,6 +159087,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -152525,47 +159113,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 83, - "end_line": 87, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", - "start_line": 88, - "end_line": 91, - "code_start_line": 89, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -152633,6 +159183,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -152654,6 +159207,7 @@ "receiver_expr": "simpleBean1", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "checkInjectionValidation()", "is_public": true, @@ -152675,6 +159229,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -152698,6 +159253,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet Bean Validation Simple\" + \"

    Ping Servlet Bean Validation Simple
    Init time : \" + initTime + \"

    Hit Count: \" + currentHitCount + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -152722,6 +159280,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -152746,6 +159308,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -152767,6 +159333,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -152788,6 +159355,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1", "callee_signature": "SimpleBean1()", "is_public": false, @@ -152861,6 +159429,146 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 83, + "end_line": 87, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic dynamic HTML generation through a servlet\";\n }", + "start_line": 88, + "end_line": 91, + "code_start_line": 89, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/PingServletBeanValSimple1.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 93, + "end_line": 98, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 100, + "end_line": 100, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = LocalDateTime.now();\n\n\n }", + "start_line": 99, + "end_line": 105, + "code_start_line": 100, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.beanval.PingServletBeanValSimple1.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 5, + "end_line": 101, + "end_column": 22 + }, + { + "method_name": "now", + "comment": null, + "receiver_expr": "LocalDateTime", + "receiver_type": "java.time.LocalDateTime", + "argument_types": [], + "argument_expr": [], + "return_type": "java.time.LocalDateTime", + "callee_signature": "now()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 16, + "end_line": 102, + "end_column": 34 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -153005,128 +159713,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", - "start_line": 59, - "end_line": 64, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 65, - "end_line": 70, - "code_start_line": 66, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaJNDI.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 5, - "end_line": 67, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -153181,6 +159770,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -153204,6 +159794,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet CDI Bean Manager\" + \"

    Ping Servlet CDI Bean Manager
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -153227,6 +159820,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount: \" + cdiBean.getBeanMangerViaJNDI() + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -153248,6 +159844,7 @@ "receiver_expr": "cdiBean", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getBeanMangerViaJNDI()", "is_public": true, @@ -153269,6 +159866,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -153290,6 +159888,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -153311,6 +159910,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -153350,6 +159950,130 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaJNDI.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", + "start_line": 59, + "end_line": 64, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 65, + "end_line": 70, + "code_start_line": 66, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaJNDI.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 5, + "end_line": 67, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -153547,120 +160271,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 102, - "end_line": 102, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 101, - "end_line": 106, - "code_start_line": 102, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 9, - "end_line": 103, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 20, - "end_line": 105, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 105, - "start_column": 20, - "end_line": 105, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -153714,6 +160327,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -153736,38 +160353,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", - "start_line": 96, - "end_line": 99, - "code_start_line": 97, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " get the price and print the output.", @@ -153854,6 +160442,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -153875,6 +160466,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -153898,6 +160490,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Servlet2Session2CMROne20ne\" + \"
    PingServlet2Session2CMROne2One
    \" + \"
    PingServlet2Session2CMROne2One uses the Trade Session EJB\" + \" to get the profile for a user using an EJB 3.0 CMR one to one relationship\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -153919,6 +160514,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -153940,6 +160536,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -153963,6 +160560,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "getAccountProfileData(java.lang.String)", "is_public": false, @@ -153986,6 +160586,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -154009,6 +160612,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime + \"
    Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -154032,6 +160638,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    One to One CMR access of AccountProfile Information from Account Entity

    \" + accountProfileData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -154053,6 +160662,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -154076,6 +160686,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -154099,6 +160712,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -154120,6 +160736,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -154144,6 +160761,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session2CMROne2One.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -154175,6 +160796,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Session2CMROne2One.doGet(...): error\" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -154196,6 +160821,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -154219,6 +160845,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -154343,6 +160972,151 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", + "start_line": 96, + "end_line": 99, + "code_start_line": 97, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2One.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 102, + "end_line": 102, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 101, + "end_line": 106, + "code_start_line": 102, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2One.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 9, + "end_line": 103, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 20, + "end_line": 105, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 105, + "start_column": 20, + "end_line": 105, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -154501,9 +161275,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "setSse(Sse)": { + "setSse(javax.ws.rs.sse.Sse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", - "signature": "setSse(Sse)", + "signature": "setSse(javax.ws.rs.sse.Sse)", "comments": [], "annotations": [ "@Context" @@ -154544,6 +161318,7 @@ "receiver_expr": "sse", "receiver_type": "javax.ws.rs.sse.Sse", "argument_types": [], + "argument_expr": [], "return_type": "javax.ws.rs.sse.SseBroadcaster", "callee_signature": "newBroadcaster()", "is_public": true, @@ -154565,6 +161340,7 @@ "receiver_expr": "sse", "receiver_type": "javax.ws.rs.sse.Sse", "argument_types": [], + "argument_expr": [], "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "callee_signature": "newEventBuilder()", "is_public": true, @@ -154587,171 +161363,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "eventStreamCdi(String)": { + "register(javax.ws.rs.sse.SseEventSink)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", - "signature": "eventStreamCdi(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void eventStreamCdi(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION + 1) @QuotePriceChange String event)", - "parameters": [ - { - "type": "java.lang.String", - "name": "event", - "annotations": [ - "@ObservesAsync", - "@Priority(Interceptor.Priority.APPLICATION + 1)", - "@QuotePriceChange" - ], - "modifiers": [], - "start_line": 65, - "end_line": 65, - "start_column": 30, - "end_column": 122 - } - ], - "code": "{\n broadcaster.broadcast(builder.mediaType(MediaType.APPLICATION_JSON_TYPE)\n .data(List.class,recentQuotePriceChangeList.recentList()).build());\n\n }", - "start_line": 65, - "end_line": 69, - "code_start_line": 65, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.ws.rs.core.MediaType" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.builder", - "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.broadcaster", - "javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE", - "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.recentQuotePriceChangeList" - ], - "call_sites": [ - { - "method_name": "broadcast", - "comment": null, - "receiver_expr": "broadcaster", - "receiver_type": "javax.ws.rs.sse.SseBroadcaster", - "argument_types": [ - "javax.ws.rs.sse.OutboundSseEvent" - ], - "return_type": "java.util.concurrent.CompletionStage", - "callee_signature": "broadcast(javax.ws.rs.sse.OutboundSseEvent)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 5, - "end_line": 67, - "end_column": 74 - }, - { - "method_name": "build", - "comment": null, - "receiver_expr": "builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList())", - "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", - "argument_types": [], - "return_type": "javax.ws.rs.sse.OutboundSseEvent", - "callee_signature": "build()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 27, - "end_line": 67, - "end_column": 73 - }, - { - "method_name": "data", - "comment": null, - "receiver_expr": "builder.mediaType(MediaType.APPLICATION_JSON_TYPE)", - "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", - "argument_types": [ - "java.lang.Class", - "java.util.List" - ], - "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", - "callee_signature": "data(java.lang.Class, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 27, - "end_line": 67, - "end_column": 65 - }, - { - "method_name": "mediaType", - "comment": null, - "receiver_expr": "builder", - "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", - "argument_types": [ - "javax.ws.rs.core.MediaType" - ], - "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", - "callee_signature": "mediaType(javax.ws.rs.core.MediaType)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 27, - "end_line": 66, - "end_column": 76 - }, - { - "method_name": "recentList", - "comment": null, - "receiver_expr": "recentQuotePriceChangeList", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "argument_types": [], - "return_type": "java.util.List", - "callee_signature": "recentList()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 26, - "end_line": 67, - "end_column": 64 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "register(SseEventSink)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", - "signature": "register(SseEventSink)", + "signature": "register(javax.ws.rs.sse.SseEventSink)", "comments": [], "annotations": [ "@GET", @@ -154799,6 +161413,7 @@ "receiver_expr": "recentQuotePriceChangeList", "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isEmpty()", "is_public": true, @@ -154822,6 +161437,9 @@ "argument_types": [ "javax.ws.rs.sse.OutboundSseEvent" ], + "argument_expr": [ + "builder.data(new String(\"welcome!\")).build()" + ], "return_type": "java.util.concurrent.CompletionStage", "callee_signature": "send(javax.ws.rs.sse.OutboundSseEvent)", "is_public": true, @@ -154843,6 +161461,7 @@ "receiver_expr": "builder.data(new String(\"welcome!\"))", "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "argument_types": [], + "argument_expr": [], "return_type": "javax.ws.rs.sse.OutboundSseEvent", "callee_signature": "build()", "is_public": true, @@ -154866,6 +161485,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "new String(\"welcome!\")" + ], "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "callee_signature": "data(java.lang.Object)", "is_public": true, @@ -154889,6 +161511,9 @@ "argument_types": [ "javax.ws.rs.sse.OutboundSseEvent" ], + "argument_expr": [ + "builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList()).build()" + ], "return_type": "java.util.concurrent.CompletionStage", "callee_signature": "send(javax.ws.rs.sse.OutboundSseEvent)", "is_public": true, @@ -154910,6 +161535,7 @@ "receiver_expr": "builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList())", "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "argument_types": [], + "argument_expr": [], "return_type": "javax.ws.rs.sse.OutboundSseEvent", "callee_signature": "build()", "is_public": true, @@ -154934,6 +161560,10 @@ "java.lang.Class", "java.util.List" ], + "argument_expr": [ + "List.class", + "recentQuotePriceChangeList.recentList()" + ], "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "callee_signature": "data(java.lang.Class, java.lang.Object)", "is_public": true, @@ -154957,6 +161587,9 @@ "argument_types": [ "javax.ws.rs.core.MediaType" ], + "argument_expr": [ + "MediaType.APPLICATION_JSON_TYPE" + ], "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", "callee_signature": "mediaType(javax.ws.rs.core.MediaType)", "is_public": true, @@ -154978,6 +161611,7 @@ "receiver_expr": "recentQuotePriceChangeList", "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.List", "callee_signature": "recentList()", "is_public": true, @@ -155001,6 +161635,9 @@ "argument_types": [ "javax.ws.rs.sse.SseEventSink" ], + "argument_expr": [ + "eventSink" + ], "return_type": "", "callee_signature": "register(javax.ws.rs.sse.SseEventSink)", "is_public": true, @@ -155024,6 +161661,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"welcome!\"" + ], "return_type": "java.lang.String", "callee_signature": "String(java.lang.String)", "is_public": false, @@ -155045,6 +161685,180 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "eventStreamCdi(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/jaxrs/BroadcastResource.java", + "signature": "eventStreamCdi(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void eventStreamCdi(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION + 1) @QuotePriceChange String event)", + "parameters": [ + { + "type": "java.lang.String", + "name": "event", + "annotations": [ + "@ObservesAsync", + "@Priority(Interceptor.Priority.APPLICATION + 1)", + "@QuotePriceChange" + ], + "modifiers": [], + "start_line": 65, + "end_line": 65, + "start_column": 30, + "end_column": 122 + } + ], + "code": "{\n broadcaster.broadcast(builder.mediaType(MediaType.APPLICATION_JSON_TYPE)\n .data(List.class,recentQuotePriceChangeList.recentList()).build());\n\n }", + "start_line": 65, + "end_line": 69, + "code_start_line": 65, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.ws.rs.core.MediaType" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.builder", + "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.broadcaster", + "javax.ws.rs.core.MediaType.APPLICATION_JSON_TYPE", + "com.ibm.websphere.samples.daytrader.jaxrs.BroadcastResource.recentQuotePriceChangeList" + ], + "call_sites": [ + { + "method_name": "broadcast", + "comment": null, + "receiver_expr": "broadcaster", + "receiver_type": "javax.ws.rs.sse.SseBroadcaster", + "argument_types": [ + "javax.ws.rs.sse.OutboundSseEvent" + ], + "argument_expr": [ + "builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList()).build()" + ], + "return_type": "java.util.concurrent.CompletionStage", + "callee_signature": "broadcast(javax.ws.rs.sse.OutboundSseEvent)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 5, + "end_line": 67, + "end_column": 74 + }, + { + "method_name": "build", + "comment": null, + "receiver_expr": "builder.mediaType(MediaType.APPLICATION_JSON_TYPE).data(List.class, recentQuotePriceChangeList.recentList())", + "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.ws.rs.sse.OutboundSseEvent", + "callee_signature": "build()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 27, + "end_line": 67, + "end_column": 73 + }, + { + "method_name": "data", + "comment": null, + "receiver_expr": "builder.mediaType(MediaType.APPLICATION_JSON_TYPE)", + "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", + "argument_types": [ + "java.lang.Class", + "java.util.List" + ], + "argument_expr": [ + "List.class", + "recentQuotePriceChangeList.recentList()" + ], + "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", + "callee_signature": "data(java.lang.Class, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 27, + "end_line": 67, + "end_column": 65 + }, + { + "method_name": "mediaType", + "comment": null, + "receiver_expr": "builder", + "receiver_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", + "argument_types": [ + "javax.ws.rs.core.MediaType" + ], + "argument_expr": [ + "MediaType.APPLICATION_JSON_TYPE" + ], + "return_type": "javax.ws.rs.sse.OutboundSseEvent.Builder", + "callee_signature": "mediaType(javax.ws.rs.core.MediaType)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 27, + "end_line": 66, + "end_column": 76 + }, + { + "method_name": "recentList", + "comment": null, + "receiver_expr": "recentQuotePriceChangeList", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.List", + "callee_signature": "recentList()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 26, + "end_line": 67, + "end_column": 64 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -155185,128 +161999,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", - "start_line": 59, - "end_line": 64, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 65, - "end_line": 70, - "code_start_line": 66, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaCDICurrent.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 5, - "end_line": 67, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -155361,6 +162056,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -155384,6 +162080,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet CDI Bean Manager\" + \"

    Ping Servlet CDI Bean Manager
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -155407,6 +162106,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount: \" + cdiBean.getBeanMangerViaCDICurrent() + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -155428,6 +162130,7 @@ "receiver_expr": "cdiBean", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getBeanMangerViaCDICurrent()", "is_public": true, @@ -155449,6 +162152,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -155470,6 +162174,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -155491,6 +162196,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -155530,6 +162236,130 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIBeanManagerViaCDICurrent.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", + "start_line": 59, + "end_line": 64, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 65, + "end_line": 70, + "code_start_line": 66, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIBeanManagerViaCDICurrent.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 5, + "end_line": 67, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -155898,129 +162728,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 132, - "end_line": 137, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 138, - "end_line": 144, - "code_start_line": 139, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingSession2.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingSession2.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 9, - "end_line": 140, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 142, - "start_column": 20, - "end_line": 142, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 142, - "start_column": 20, - "end_line": 142, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -156083,6 +162793,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -156105,47 +162819,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 122, - "end_line": 126, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"HTTP Session Key: Tests management of a read/write unique id\";\n }", - "start_line": 127, - "end_line": 130, - "code_start_line": 128, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " rethrow the exception for handling in one place.", @@ -156286,6 +162962,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -156310,6 +162989,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession2.doGet(...): error getting session\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -156333,6 +163016,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sessiontest.counter\"" + ], "return_type": "java.lang.Integer", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -156354,6 +163040,7 @@ "receiver_expr": "ival", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -156378,6 +163065,10 @@ "java.lang.String", "java.lang.Integer" ], + "argument_expr": [ + "\"sessiontest.counter\"", + "ival" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -156399,6 +163090,7 @@ "receiver_expr": "ival", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -156420,6 +163112,7 @@ "receiver_expr": "session", "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "invalidate()", "is_public": true, @@ -156450,6 +163143,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -156474,6 +163170,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"SessionTrackingTest-counter\"", + "ival.toString()" + ], "return_type": "", "callee_signature": "setHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -156495,6 +163195,7 @@ "receiver_expr": "ival", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -156516,6 +163217,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -156539,6 +163241,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Session Tracking Test 2

    HTTP Session Test 2: Session create/invalidate
    Init time: \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -156562,6 +163267,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Hit Count: \" + hitCount + \"
    Session hits: \" + ival + \"
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -156586,6 +163294,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession2.doGet(...): error getting session information\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -156617,6 +163329,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingSession2.doGet(...): error.\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -156648,6 +163364,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingSession2.doGet(...): error. \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -156669,6 +163389,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -156692,6 +163413,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -156715,6 +163439,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "ival.intValue() + 1" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -156788,6 +163515,169 @@ "crud_queries": [], "cyclomatic_complexity": 6, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 122, + "end_line": 126, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"HTTP Session Key: Tests management of a read/write unique id\";\n }", + "start_line": 127, + "end_line": 130, + "code_start_line": 128, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingSession2.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 132, + "end_line": 137, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 139, + "end_line": 139, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 138, + "end_line": 144, + "code_start_line": 139, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingSession2.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingSession2.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, + "start_column": 9, + "end_line": 140, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 20, + "end_line": 142, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 20, + "end_line": 142, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -156936,199 +163826,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", - "start_line": 65, - "end_line": 70, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 72, - "end_line": 72, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount1 = 0;\n hitCount2 = 0;\n }", - "start_line": 71, - "end_line": 77, - "code_start_line": 72, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount2", - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount1" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 5, - "end_line": 73, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 16, - "end_line": 74, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 74, - "start_column": 16, - "end_line": 74, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "onAsyncEvent2(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", - "signature": "onAsyncEvent2(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onAsyncEvent2(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION + 1) @HitAsync String event)", - "parameters": [ - { - "type": "java.lang.String", - "name": "event", - "annotations": [ - "@ObservesAsync", - "@Priority(Interceptor.Priority.APPLICATION + 1)", - "@HitAsync" - ], - "modifiers": [], - "start_line": 83, - "end_line": 83, - "start_column": 29, - "end_column": 113 - } - ], - "code": "{\n if (hitCount1 <= hitCount2 ) {\n Log.error(\"Priority Error\");;\n }\n hitCount2++;\n }", - "start_line": 83, - "end_line": 88, - "code_start_line": 83, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount2", - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount1" - ], - "call_sites": [ - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 85, - "start_column": 7, - "end_line": 85, - "end_column": 33 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -157185,6 +163885,7 @@ "receiver_expr": "cdiEventProducer", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.CDIEventProducer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "produceAsyncEvent()", "is_public": true, @@ -157206,6 +163907,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -157229,6 +163931,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet CDI Event Async\" + \"

    Ping Servlet CDI Event Async
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -157252,6 +163957,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount1: \" + hitCount1 + \"
    hitCount2: \" + hitCount2 + \"\"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -157273,6 +163981,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -157294,6 +164003,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -157315,6 +164025,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -157355,9 +164066,81 @@ "cyclomatic_complexity": 2, "is_entrypoint": true }, - "onAsyncEvent1(String)": { + "onAsyncEvent2(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", - "signature": "onAsyncEvent1(String)", + "signature": "onAsyncEvent2(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onAsyncEvent2(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION + 1) @HitAsync String event)", + "parameters": [ + { + "type": "java.lang.String", + "name": "event", + "annotations": [ + "@ObservesAsync", + "@Priority(Interceptor.Priority.APPLICATION + 1)", + "@HitAsync" + ], + "modifiers": [], + "start_line": 83, + "end_line": 83, + "start_column": 29, + "end_column": 113 + } + ], + "code": "{\n if (hitCount1 <= hitCount2 ) {\n Log.error(\"Priority Error\");;\n }\n hitCount2++;\n }", + "start_line": 83, + "end_line": 88, + "code_start_line": 83, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount2", + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount1" + ], + "call_sites": [ + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"Priority Error\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 85, + "start_column": 7, + "end_line": 85, + "end_column": 33 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "onAsyncEvent1(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", + "signature": "onAsyncEvent1(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -157398,6 +164181,132 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDIEventAsync.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", + "start_line": 65, + "end_line": 70, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 72, + "end_line": 72, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount1 = 0;\n hitCount2 = 0;\n }", + "start_line": 71, + "end_line": 77, + "code_start_line": 72, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount2", + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDIEventAsync.hitCount1" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 5, + "end_line": 73, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 16, + "end_line": 74, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 74, + "start_column": 16, + "end_line": 74, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -157575,9 +164484,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "onClose(Session, CloseReason)": { + "onClose(javax.websocket.Session, javax.websocket.CloseReason)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", - "signature": "onClose(Session, CloseReason)", + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", "comments": [], "annotations": [ "@OnClose" @@ -157625,9 +164534,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "ping(String)": { + "ping(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", - "signature": "ping(String)", + "signature": "ping(java.lang.String)", "comments": [], "annotations": [ "@OnMessage" @@ -157674,6 +164583,10 @@ "java.lang.String", "javax.websocket.SendHandler" ], + "argument_expr": [ + "hitCount.toString()", + "new SendHandler() {\n\n @Override\n public void onResult(SendResult result) {\n if (!result.isOK()) {\n System.out.println(\"NOT OK\");\n }\n }\n}" + ], "return_type": "", "callee_signature": "sendText(java.lang.String, javax.websocket.SendHandler)", "is_public": true, @@ -157695,6 +164608,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Async", "callee_signature": "getAsyncRemote()", "is_public": true, @@ -157716,6 +164630,7 @@ "receiver_expr": "hitCount", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -157737,6 +164652,7 @@ "receiver_expr": "result", "receiver_type": "javax.websocket.SendResult", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isOK()", "is_public": true, @@ -157760,6 +164676,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"NOT OK\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -157781,8 +164700,9 @@ "receiver_expr": "", "receiver_type": "javax.websocket.SendHandler", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.SendHandler", - "callee_signature": "Anonymous-642e868a-a175-4b2a-89f7-73afb38cc18d()", + "callee_signature": "Anonymous-d59bdffd-cbb9-4234-86d0-73e95ee2f647()", "is_public": false, "is_protected": false, "is_private": false, @@ -157803,9 +164723,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "onError(Throwable)": { + "onError(java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", - "signature": "onError(Throwable)", + "signature": "onError(java.lang.Throwable)", "comments": [], "annotations": [ "@OnError" @@ -157843,6 +164763,7 @@ "receiver_expr": "t", "receiver_type": "java.lang.Throwable", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -157865,9 +164786,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "onOpen(Session, EndpointConfig)": { + "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingWebSocketTextAsync.java", - "signature": "onOpen(Session, EndpointConfig)", + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", "comments": [], "annotations": [ "@OnOpen" @@ -158019,7 +164940,7 @@ "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean2.java", - "signature": "SimpleBean2()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -158051,8 +164972,11 @@ "argument_types": [ "" ], + "argument_expr": [ + "1" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -158074,8 +164998,11 @@ "argument_types": [ "" ], + "argument_expr": [ + "2" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -158097,8 +165024,11 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"string1\"" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -158120,8 +165050,11 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"string2\"" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -158366,129 +165299,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 92, - "end_line": 97, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 99, - "end_line": 99, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", - "start_line": 98, - "end_line": 103, - "code_start_line": 99, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 100, - "start_column": 9, - "end_line": 100, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 20, - "end_line": 101, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 101, - "start_column": 20, - "end_line": 101, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -158551,6 +165364,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -158573,9 +165390,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " ServletOutputStream out = res.getOutputStream();", @@ -158650,6 +165467,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -158671,6 +165491,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -158695,6 +165516,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -158718,6 +165543,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"/servlet/PingServlet2IncludeRcv\"" + ], "return_type": "javax.servlet.RequestDispatcher", "callee_signature": "getRequestDispatcher(java.lang.String)", "is_public": true, @@ -158739,6 +165567,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -158760,6 +165589,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -158781,6 +165611,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -158804,6 +165635,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet 2 Include\" + \"

    Ping Servlet 2 Include
    Init time : \" + initTime + \"

    Hit Count: \" + hitCount++ + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -158828,6 +165662,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ex", + "\"PingServlet2Include.doGet(...): general exception\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -158852,6 +165690,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Include.doGet(...): general exception\" + ex.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -158873,6 +165715,7 @@ "receiver_expr": "ex", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -158946,6 +165789,131 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2Include.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 92, + "end_line": 97, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 99, + "end_line": 99, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n }", + "start_line": 98, + "end_line": 103, + "code_start_line": 99, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2Include.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 100, + "start_column": 9, + "end_line": 100, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 20, + "end_line": 101, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 101, + "start_column": 20, + "end_line": 101, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -159178,129 +166146,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 102, - "end_line": 107, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 108, - "end_line": 113, - "code_start_line": 109, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 9, - "end_line": 110, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -159363,6 +166211,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -159385,47 +166237,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 92, - "end_line": 96, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n }", - "start_line": 97, - "end_line": 100, - "code_start_line": 98, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " TradeJDBC uses prepared statements so I am going to make use of", @@ -159511,6 +166325,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -159532,6 +166349,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -159553,6 +166371,7 @@ "receiver_expr": "trade", "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConnPublic()", "is_public": true, @@ -159576,6 +166395,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2DB.\" + \"
    PingServlet2DB:
    Init time : \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -159599,6 +166421,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -159622,6 +166447,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -159645,6 +166473,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -159666,6 +166497,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -159691,6 +166523,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2DB -- error getting connection to the database\"", + "symbol" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "is_public": true, @@ -159715,6 +166552,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2DB Exception caught: \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -159736,6 +166577,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -159759,6 +166601,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -159780,6 +166625,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "callee_signature": "TradeDirect()", "is_public": false, @@ -159870,6 +166716,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 92, + "end_line": 96, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Basic JDBC Read using a prepared statment, makes use of TradeJDBC class\";\n }", + "start_line": 97, + "end_line": 100, + "code_start_line": 98, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2DB.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 102, + "end_line": 107, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 108, + "end_line": 113, + "code_start_line": 109, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2DB.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 9, + "end_line": 110, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -160043,66 +167052,6 @@ "parent_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead", "nested_type_declarations": [], "callable_declarations": { - "(ServletInputStream, HttpServletResponse, AsyncContext)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", - "signature": "ReadListenerImpl(ServletInputStream, HttpServletResponse, AsyncContext)", - "comments": [], - "annotations": [], - "modifiers": [], - "thrown_exceptions": [], - "declaration": "ReadListenerImpl(ServletInputStream in, HttpServletResponse r, AsyncContext c)", - "parameters": [ - { - "type": "javax.servlet.ServletInputStream", - "name": "in", - "annotations": [], - "modifiers": [], - "start_line": 73, - "end_line": 73, - "start_column": 26, - "end_column": 46 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "r", - "annotations": [], - "modifiers": [], - "start_line": 73, - "end_line": 73, - "start_column": 49, - "end_column": 69 - }, - { - "type": "javax.servlet.AsyncContext", - "name": "c", - "annotations": [], - "modifiers": [], - "start_line": 73, - "end_line": 73, - "start_column": 72, - "end_column": 85 - } - ], - "code": "{\n input = in;\n res = r;\n ac = c;\n }", - "start_line": 73, - "end_line": 77, - "code_start_line": 73, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.ac", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.res", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.input" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, "onAllDataRead()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "signature": "onAllDataRead()", @@ -160138,6 +167087,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -160161,6 +167111,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet 3.1 Async\" + \"

    Ping Servlet 3.1 AsyncRead\" + \"
    Init time : \" + initTime + \"

    Hit Count: \" + ++hitCount + \"
    Data Received: \" + sb.toString() + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -160182,6 +167135,7 @@ "receiver_expr": "sb", "receiver_type": "java.lang.StringBuilder", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -160203,6 +167157,7 @@ "receiver_expr": "ac", "receiver_type": "javax.servlet.AsyncContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "complete()", "is_public": true, @@ -160243,6 +167198,153 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", + "signature": "(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)", + "comments": [], + "annotations": [], + "modifiers": [], + "thrown_exceptions": [], + "declaration": "ReadListenerImpl(ServletInputStream in, HttpServletResponse r, AsyncContext c)", + "parameters": [ + { + "type": "javax.servlet.ServletInputStream", + "name": "in", + "annotations": [], + "modifiers": [], + "start_line": 73, + "end_line": 73, + "start_column": 26, + "end_column": 46 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "r", + "annotations": [], + "modifiers": [], + "start_line": 73, + "end_line": 73, + "start_column": 49, + "end_column": 69 + }, + { + "type": "javax.servlet.AsyncContext", + "name": "c", + "annotations": [], + "modifiers": [], + "start_line": 73, + "end_line": 73, + "start_column": 72, + "end_column": 85 + } + ], + "code": "{\n input = in;\n res = r;\n ac = c;\n }", + "start_line": 73, + "end_line": 77, + "code_start_line": 73, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.ac", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.res", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.input" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, + "onError(java.lang.Throwable)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", + "signature": "onError(java.lang.Throwable)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onError(final Throwable t)", + "parameters": [ + { + "type": "java.lang.Throwable", + "name": "t", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 101, + "end_line": 101, + "start_column": 29, + "end_column": 45 + } + ], + "code": "{\n ac.complete();\n t.printStackTrace();\n }", + "start_line": 101, + "end_line": 104, + "code_start_line": 101, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.ac" + ], + "call_sites": [ + { + "method_name": "complete", + "comment": null, + "receiver_expr": "ac", + "receiver_type": "javax.servlet.AsyncContext", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "complete()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 102, + "start_column": 13, + "end_line": 102, + "end_column": 25 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "t", + "receiver_type": "java.lang.Throwable", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 103, + "start_column": 13, + "end_line": 103, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "onDataAvailable()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "signature": "onDataAvailable()", @@ -160277,6 +167379,7 @@ "receiver_expr": "input", "receiver_type": "javax.servlet.ServletInputStream", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isReady()", "is_public": true, @@ -160300,6 +167403,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "b" + ], "return_type": "", "callee_signature": "read(byte[])", "is_public": true, @@ -160323,6 +167429,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "data" + ], "return_type": "java.lang.StringBuilder", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -160348,6 +167457,11 @@ "", "" ], + "argument_expr": [ + "b", + "0", + "len" + ], "return_type": "java.lang.String", "callee_signature": "String(byte[], int, int)", "is_public": false, @@ -160421,91 +167535,6 @@ "crud_queries": [], "cyclomatic_complexity": 3, "is_entrypoint": false - }, - "onError(Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", - "signature": "onError(Throwable)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onError(final Throwable t)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "t", - "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 101, - "end_line": 101, - "start_column": 29, - "end_column": 45 - } - ], - "code": "{\n ac.complete();\n t.printStackTrace();\n }", - "start_line": 101, - "end_line": 104, - "code_start_line": 101, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl.ac" - ], - "call_sites": [ - { - "method_name": "complete", - "comment": null, - "receiver_expr": "ac", - "receiver_type": "javax.servlet.AsyncContext", - "argument_types": [], - "return_type": "", - "callee_signature": "complete()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 102, - "start_column": 13, - "end_line": 102, - "end_column": 25 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "t", - "receiver_type": "java.lang.Throwable", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 103, - "start_column": 13, - "end_line": 103, - "end_column": 31 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [ @@ -160657,129 +167686,9 @@ "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl" ], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 132, - "end_line": 137, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 138, - "end_line": 144, - "code_start_line": 139, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 9, - "end_line": 140, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 141, - "start_column": 20, - "end_line": 141, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 141, - "start_column": 20, - "end_line": 141, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -160845,6 +167754,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -160866,6 +167778,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.AsyncContext", "callee_signature": "startAsync()", "is_public": true, @@ -160887,6 +167800,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletInputStream", "callee_signature": "getInputStream()", "is_public": true, @@ -160910,6 +167824,9 @@ "argument_types": [ "javax.servlet.ReadListener" ], + "argument_expr": [ + "readListener" + ], "return_type": "", "callee_signature": "setReadListener(javax.servlet.ReadListener)", "is_public": true, @@ -160935,6 +167852,11 @@ "javax.servlet.http.HttpServletResponse", "javax.servlet.AsyncContext" ], + "argument_expr": [ + "input", + "res", + "ac" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.ReadListenerImpl", "callee_signature": "ReadListenerImpl(javax.servlet.ServletInputStream, javax.servlet.http.HttpServletResponse, javax.servlet.AsyncContext)", "is_public": false, @@ -161009,6 +167931,97 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "comments": [ + { + "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", + "start_line": 109, + "end_line": 117, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException", + "java.io.IOException" + ], + "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "parameters": [ + { + "type": "javax.servlet.http.HttpServletRequest", + "name": "req", + "annotations": [], + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 23, + "end_column": 44 + }, + { + "type": "javax.servlet.http.HttpServletResponse", + "name": "res", + "annotations": [], + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 47, + "end_column": 69 + } + ], + "code": "{\n doPost(req,res); \n }", + "start_line": 118, + "end_line": 121, + "code_start_line": 119, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "doPost", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "javax.servlet.http.HttpServletRequest", + "javax.servlet.http.HttpServletResponse" + ], + "argument_expr": [ + "req", + "res" + ], + "return_type": "", + "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 9, + "end_line": 120, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true + }, "getServletInfo()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", "signature": "getServletInfo()", @@ -161047,14 +168060,14 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "init(javax.servlet.ServletConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet31AsyncRead.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "init(javax.servlet.ServletConfig)", "comments": [ { - "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", - "start_line": 109, - "end_line": 117, + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 132, + "end_line": 137, "start_column": 5, "end_column": 8, "is_javadoc": true @@ -161067,53 +168080,47 @@ "public" ], "thrown_exceptions": [ - "javax.servlet.ServletException", - "java.io.IOException" + "javax.servlet.ServletException" ], - "declaration": "public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException", + "declaration": "public void init(ServletConfig config) throws ServletException", "parameters": [ { - "type": "javax.servlet.http.HttpServletRequest", - "name": "req", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 23, - "end_column": 44 - }, - { - "type": "javax.servlet.http.HttpServletResponse", - "name": "res", + "type": "javax.servlet.ServletConfig", + "name": "config", "annotations": [], "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 47, - "end_column": 69 + "start_line": 139, + "end_line": 139, + "start_column": 22, + "end_column": 41 } ], - "code": "{\n doPost(req,res); \n }", - "start_line": 118, - "end_line": 121, - "code_start_line": 119, + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 138, + "end_line": 144, + "code_start_line": 139, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet31AsyncRead.hitCount" + ], "call_sites": [ { - "method_name": "doPost", + "method_name": "init", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", "argument_types": [ - "javax.servlet.http.HttpServletRequest", - "javax.servlet.http.HttpServletResponse" + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" ], "return_type": "", - "callee_signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", + "callee_signature": "init(javax.servlet.ServletConfig)", "is_public": true, "is_protected": false, "is_private": false, @@ -161122,17 +168129,61 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 120, + "start_line": 140, "start_column": 9, - "end_line": 120, - "end_column": 23 + "end_line": 140, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 141, + "start_column": 20, + "end_line": 141, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 141, + "start_column": 20, + "end_line": 141, + "end_column": 39 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, - "is_entrypoint": true + "is_entrypoint": false } }, "field_declarations": [ @@ -161275,61 +168326,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0005()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "getProp0005()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getProp0005()", - "parameters": [], - "code": "{\n return prop0005;\n }", - "start_line": 61, - "end_line": 63, - "code_start_line": 61, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0005" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setProp0014(String)": { + "setProp0007(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0014(String)", + "signature": "setProp0007(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0014(String prop0014)", + "declaration": "public void setProp0007(String prop0007)", "parameters": [ { "type": "java.lang.String", - "name": "prop0014", + "name": "prop0007", "annotations": [], "modifiers": [], - "start_line": 118, - "end_line": 118, + "start_line": 76, + "end_line": 76, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0014 = prop0014;\n }", - "start_line": 118, - "end_line": 120, - "code_start_line": 118, + "code": "{\n this.prop0007 = prop0007;\n }", + "start_line": 76, + "end_line": 78, + "code_start_line": 76, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161337,7 +168359,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0014" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0007" ], "call_sites": [], "variable_declarations": [], @@ -161346,27 +168368,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0004()": { + "getProp0005()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "getProp0004()", + "signature": "getProp0005()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0004()", + "declaration": "public String getProp0005()", "parameters": [], - "code": "{\n return prop0004;\n }", - "start_line": 55, - "end_line": 57, - "code_start_line": 55, + "code": "{\n return prop0005;\n }", + "start_line": 61, + "end_line": 63, + "code_start_line": 61, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0004" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0005" ], "call_sites": [], "variable_declarations": [], @@ -161375,40 +168397,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0012(String)": { + "getProp0004()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0012(String)", + "signature": "getProp0004()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0012(String prop0012)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0012", - "annotations": [], - "modifiers": [], - "start_line": 106, - "end_line": 106, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0012 = prop0012;\n }", - "start_line": 106, - "end_line": 108, - "code_start_line": 106, - "return_type": "void", + "declaration": "public String getProp0004()", + "parameters": [], + "code": "{\n return prop0004;\n }", + "start_line": 55, + "end_line": 57, + "code_start_line": 55, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0012" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0004" ], "call_sites": [], "variable_declarations": [], @@ -161475,32 +168484,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0013(String)": { + "setProp0004(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0013(String)", + "signature": "setProp0004(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0013(String prop0013)", + "declaration": "public void setProp0004(String prop0004)", "parameters": [ { "type": "java.lang.String", - "name": "prop0013", + "name": "prop0004", "annotations": [], "modifiers": [], - "start_line": 112, - "end_line": 112, + "start_line": 58, + "end_line": 58, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0013 = prop0013;\n }", - "start_line": 112, - "end_line": 114, - "code_start_line": 112, + "code": "{\n this.prop0004 = prop0004;\n }", + "start_line": 58, + "end_line": 60, + "code_start_line": 58, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161508,7 +168517,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0013" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0004" ], "call_sites": [], "variable_declarations": [], @@ -161517,32 +168526,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0009(String)": { + "setProp0014(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0009(String)", + "signature": "setProp0014(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0009(String prop0009)", + "declaration": "public void setProp0014(String prop0014)", "parameters": [ { "type": "java.lang.String", - "name": "prop0009", + "name": "prop0014", "annotations": [], "modifiers": [], - "start_line": 88, - "end_line": 88, + "start_line": 118, + "end_line": 118, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0009 = prop0009;\n }", - "start_line": 88, - "end_line": 90, - "code_start_line": 88, + "code": "{\n this.prop0014 = prop0014;\n }", + "start_line": 118, + "end_line": 120, + "code_start_line": 118, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161550,7 +168559,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0009" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0014" ], "call_sites": [], "variable_declarations": [], @@ -161559,32 +168568,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0008(String)": { + "setProp0011(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0008(String)", + "signature": "setProp0011(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0008(String prop0008)", + "declaration": "public void setProp0011(String prop0011)", "parameters": [ { "type": "java.lang.String", - "name": "prop0008", + "name": "prop0011", "annotations": [], "modifiers": [], - "start_line": 82, - "end_line": 82, + "start_line": 100, + "end_line": 100, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0008 = prop0008;\n }", - "start_line": 82, - "end_line": 84, - "code_start_line": 82, + "code": "{\n this.prop0011 = prop0011;\n }", + "start_line": 100, + "end_line": 102, + "code_start_line": 100, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161592,7 +168601,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0008" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0011" ], "call_sites": [], "variable_declarations": [], @@ -161601,32 +168610,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0011(String)": { + "setProp0001(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0011(String)", + "signature": "setProp0001(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0011(String prop0011)", + "declaration": "public void setProp0001(String prop0001)", "parameters": [ { "type": "java.lang.String", - "name": "prop0011", + "name": "prop0001", "annotations": [], "modifiers": [], - "start_line": 100, - "end_line": 100, + "start_line": 40, + "end_line": 40, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0011 = prop0011;\n }", - "start_line": 100, - "end_line": 102, - "code_start_line": 100, + "code": "{\n this.prop0001 = prop0001;\n }", + "start_line": 40, + "end_line": 42, + "code_start_line": 40, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -161634,7 +168643,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0011" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0001" ], "call_sites": [], "variable_declarations": [], @@ -161643,40 +168652,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0007(String)": { + "getProp0013()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0007(String)", + "signature": "getProp0013()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0007(String prop0007)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0007", - "annotations": [], - "modifiers": [], - "start_line": 76, - "end_line": 76, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0007 = prop0007;\n }", - "start_line": 76, - "end_line": 78, - "code_start_line": 76, - "return_type": "void", + "declaration": "public String getProp0013()", + "parameters": [], + "code": "{\n return prop0013;\n }", + "start_line": 109, + "end_line": 111, + "code_start_line": 109, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0007" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0013" ], "call_sites": [], "variable_declarations": [], @@ -161685,67 +168681,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0010(String)": { + "setProp0013(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0010(String)", + "signature": "setProp0013(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0010(String prop0010)", + "declaration": "public void setProp0013(String prop0013)", "parameters": [ { "type": "java.lang.String", - "name": "prop0010", + "name": "prop0013", "annotations": [], "modifiers": [], - "start_line": 94, - "end_line": 94, + "start_line": 112, + "end_line": 112, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0010 = prop0010;\n }", - "start_line": 94, - "end_line": 96, - "code_start_line": 94, + "code": "{\n this.prop0013 = prop0013;\n }", + "start_line": 112, + "end_line": 114, + "code_start_line": 112, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.lang.String" ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0010" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getProp0013()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "getProp0013()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getProp0013()", - "parameters": [], - "code": "{\n return prop0013;\n }", - "start_line": 109, - "end_line": 111, - "code_start_line": 109, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], "accessed_fields": [ "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0013" ], @@ -161834,7 +168801,49 @@ "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0016" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0016" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setProp0010(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", + "signature": "setProp0010(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProp0010(String prop0010)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0010", + "annotations": [], + "modifiers": [], + "start_line": 94, + "end_line": 94, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0010 = prop0010;\n }", + "start_line": 94, + "end_line": 96, + "code_start_line": 94, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0010" ], "call_sites": [], "variable_declarations": [], @@ -161872,27 +168881,82 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0011()": { + "setProp0016(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "getProp0011()", + "signature": "setProp0016(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0011()", - "parameters": [], - "code": "{\n return prop0011;\n }", - "start_line": 97, - "end_line": 99, - "code_start_line": 97, - "return_type": "java.lang.String", + "declaration": "public void setProp0016(String prop0016)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0016", + "annotations": [], + "modifiers": [], + "start_line": 130, + "end_line": 130, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0016 = prop0016;\n }", + "start_line": 130, + "end_line": 132, + "code_start_line": 130, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0011" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0016" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setProp0003(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", + "signature": "setProp0003(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProp0003(String prop0003)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0003", + "annotations": [], + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0003 = prop0003;\n }", + "start_line": 52, + "end_line": 54, + "code_start_line": 52, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0003" ], "call_sites": [], "variable_declarations": [], @@ -161901,9 +168965,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0006(String)": { + "setProp0006(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0006(String)", + "signature": "setProp0006(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -161943,27 +169007,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getProp0012()": { + "getProp0011()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "getProp0012()", + "signature": "getProp0011()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getProp0012()", + "declaration": "public String getProp0011()", "parameters": [], - "code": "{\n return prop0012;\n }", - "start_line": 103, - "end_line": 105, - "code_start_line": 103, + "code": "{\n return prop0011;\n }", + "start_line": 97, + "end_line": 99, + "code_start_line": 97, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0012" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0011" ], "call_sites": [], "variable_declarations": [], @@ -161972,40 +169036,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0004(String)": { + "getProp0012()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0004(String)", + "signature": "getProp0012()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0004(String prop0004)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0004", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0004 = prop0004;\n }", - "start_line": 58, - "end_line": 60, - "code_start_line": 58, - "return_type": "void", + "declaration": "public String getProp0012()", + "parameters": [], + "code": "{\n return prop0012;\n }", + "start_line": 103, + "end_line": 105, + "code_start_line": 103, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0004" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0012" ], "call_sites": [], "variable_declarations": [], @@ -162014,32 +169065,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0005(String)": { + "setProp0009(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0005(String)", + "signature": "setProp0009(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0005(String prop0005)", + "declaration": "public void setProp0009(String prop0009)", "parameters": [ { "type": "java.lang.String", - "name": "prop0005", + "name": "prop0009", "annotations": [], "modifiers": [], - "start_line": 64, - "end_line": 64, + "start_line": 88, + "end_line": 88, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0005 = prop0005;\n }", - "start_line": 64, - "end_line": 66, - "code_start_line": 64, + "code": "{\n this.prop0009 = prop0009;\n }", + "start_line": 88, + "end_line": 90, + "code_start_line": 88, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162047,7 +169098,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0005" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0009" ], "call_sites": [], "variable_declarations": [], @@ -162056,32 +169107,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0001(String)": { + "setProp0005(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0001(String)", + "signature": "setProp0005(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0001(String prop0001)", + "declaration": "public void setProp0005(String prop0005)", "parameters": [ { "type": "java.lang.String", - "name": "prop0001", + "name": "prop0005", "annotations": [], "modifiers": [], - "start_line": 40, - "end_line": 40, + "start_line": 64, + "end_line": 64, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0001 = prop0001;\n }", - "start_line": 40, - "end_line": 42, - "code_start_line": 40, + "code": "{\n this.prop0005 = prop0005;\n }", + "start_line": 64, + "end_line": 66, + "code_start_line": 64, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162089,7 +169140,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0001" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0005" ], "call_sites": [], "variable_declarations": [], @@ -162098,32 +169149,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0003(String)": { + "setProp0002(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0003(String)", + "signature": "setProp0002(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0003(String prop0003)", + "declaration": "public void setProp0002(String prop0002)", "parameters": [ { "type": "java.lang.String", - "name": "prop0003", + "name": "prop0002", "annotations": [], "modifiers": [], - "start_line": 52, - "end_line": 52, + "start_line": 46, + "end_line": 46, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0003 = prop0003;\n }", - "start_line": 52, - "end_line": 54, - "code_start_line": 52, + "code": "{\n this.prop0002 = prop0002;\n }", + "start_line": 46, + "end_line": 48, + "code_start_line": 46, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162131,7 +169182,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0003" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0002" ], "call_sites": [], "variable_declarations": [], @@ -162169,48 +169220,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0015(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0015(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setProp0015(String prop0015)", - "parameters": [ - { - "type": "java.lang.String", - "name": "prop0015", - "annotations": [], - "modifiers": [], - "start_line": 124, - "end_line": 124, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.prop0015 = prop0015;\n }", - "start_line": 124, - "end_line": 126, - "code_start_line": 124, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0015" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getProp0008()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", "signature": "getProp0008()", @@ -162298,32 +169307,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0002(String)": { + "setProp0012(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0002(String)", + "signature": "setProp0012(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0002(String prop0002)", + "declaration": "public void setProp0012(String prop0012)", "parameters": [ { "type": "java.lang.String", - "name": "prop0002", + "name": "prop0012", "annotations": [], "modifiers": [], - "start_line": 46, - "end_line": 46, + "start_line": 106, + "end_line": 106, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0002 = prop0002;\n }", - "start_line": 46, - "end_line": 48, - "code_start_line": 46, + "code": "{\n this.prop0012 = prop0012;\n }", + "start_line": 106, + "end_line": 108, + "code_start_line": 106, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162331,7 +169340,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0002" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0012" ], "call_sites": [], "variable_declarations": [], @@ -162340,32 +169349,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProp0016(String)": { + "setProp0008(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", - "signature": "setProp0016(String)", + "signature": "setProp0008(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setProp0016(String prop0016)", + "declaration": "public void setProp0008(String prop0008)", "parameters": [ { "type": "java.lang.String", - "name": "prop0016", + "name": "prop0008", "annotations": [], "modifiers": [], - "start_line": 130, - "end_line": 130, + "start_line": 82, + "end_line": 82, "start_column": 27, "end_column": 41 } ], - "code": "{\n this.prop0016 = prop0016;\n }", - "start_line": 130, - "end_line": 132, - "code_start_line": 130, + "code": "{\n this.prop0008 = prop0008;\n }", + "start_line": 82, + "end_line": 84, + "code_start_line": 82, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -162373,7 +169382,49 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0016" + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0008" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setProp0015(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/TestJSONObject.java", + "signature": "setProp0015(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProp0015(String prop0015)", + "parameters": [ + { + "type": "java.lang.String", + "name": "prop0015", + "annotations": [], + "modifiers": [], + "start_line": 124, + "end_line": 124, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.prop0015 = prop0015;\n }", + "start_line": 124, + "end_line": 126, + "code_start_line": 124, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject.prop0015" ], "call_sites": [], "variable_declarations": [], @@ -162926,36 +169977,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java", - "signature": "JSFLoginFilter()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public JSFLoginFilter()", - "parameters": [], - "code": "{\n super();\n }", - "start_line": 35, - "end_line": 37, - "code_start_line": 35, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "init(FilterConfig)": { + "init(javax.servlet.FilterConfig)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java", - "signature": "init(FilterConfig)", + "signature": "init(javax.servlet.FilterConfig)", "comments": [], "annotations": [ "@Override" @@ -162999,9 +170023,36 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doFilter(ServletRequest, ServletResponse, FilterChain)": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public JSFLoginFilter()", + "parameters": [], + "code": "{\n super();\n }", + "start_line": 35, + "end_line": 37, + "code_start_line": 35, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/JSFLoginFilter.java", - "signature": "doFilter(ServletRequest, ServletResponse, FilterChain)", + "signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)", "comments": [ { "content": " If user has not logged in and is trying access account information,", @@ -163104,6 +170155,7 @@ "receiver_expr": "request", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession()", "is_public": true, @@ -163127,6 +170179,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -163148,6 +170203,7 @@ "receiver_expr": "request", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getServletPath()", "is_public": true, @@ -163171,6 +170227,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"home\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163194,6 +170253,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"account\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163217,6 +170279,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"portfolio\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163240,6 +170305,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"quote\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163263,6 +170331,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"order\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163286,6 +170357,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"marketSummary\"" + ], "return_type": "", "callee_signature": "contains(java.lang.CharSequence)", "is_public": true, @@ -163309,6 +170383,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"JSF service error: User Not Logged in\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -163332,6 +170409,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"welcome.faces\"" + ], "return_type": "", "callee_signature": "sendRedirect(java.lang.String)", "is_public": true, @@ -163356,6 +170436,10 @@ "javax.servlet.ServletRequest", "javax.servlet.ServletResponse" ], + "argument_expr": [ + "req", + "resp" + ], "return_type": "", "callee_signature": "doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)", "is_public": true, @@ -163450,690 +170534,159 @@ "end_column": -1, "is_javadoc": false }, - "name": "url", - "type": "java.lang.String", - "initializer": "request.getServletPath()", - "start_line": 67, - "start_column": 20, - "end_line": 67, - "end_column": 49 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 9, - "is_entrypoint": false - } - }, - "field_declarations": [ - { - "comment": { - "content": "\n * @see Filter#init(FilterConfig)\n ", - "start_line": 39, - "end_line": 41, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - "name": null, - "type": "javax.servlet.FilterConfig", - "start_line": 42, - "end_line": 42, - "variables": [ - "filterConfig" - ], - "modifiers": [ - "private" - ], - "annotations": [] - } - ], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": true - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", - "comments": [ - { - "content": " This class is a WebSocket EndPoint that sends the Market Summary in JSON form and\n * encodes recent quote price changes when requested or when triggered by CDI events.\n *", - "start_line": 50, - "end_line": 52, - "start_column": 1, - "end_column": 4, - "is_javadoc": true - }, - { - "content": " should never be used", - "start_line": 70, - "end_line": 70, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Make sure onopen is finished", - "start_line": 89, - "end_line": 89, - "start_column": 5, - "end_column": 35, - "is_javadoc": false - }, - { - "content": "\n * (C) Copyright IBM Corporation 2015, 2021.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", - "start_line": 1, - "end_line": 15, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "imports": [ - "java.util.Iterator", - "java.util.List", - "java.util.concurrent.CopyOnWriteArrayList", - "java.util.concurrent.CountDownLatch", - "javax.annotation.Priority", - "javax.enterprise.event.ObservesAsync", - "javax.enterprise.inject.Any", - "javax.enterprise.inject.Instance", - "javax.interceptor.Interceptor", - "javax.inject.Inject", - "javax.json.JsonObject", - "javax.websocket.CloseReason", - "javax.websocket.EndpointConfig", - "javax.websocket.OnClose", - "javax.websocket.OnError", - "javax.websocket.OnMessage", - "javax.websocket.OnOpen", - "javax.websocket.Session", - "javax.websocket.server.ServerEndpoint", - "com.ibm.websphere.samples.daytrader.interfaces.MarketSummaryUpdate", - "com.ibm.websphere.samples.daytrader.interfaces.QuotePriceChange", - "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "com.ibm.websphere.samples.daytrader.util.Log", - "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", - "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": " should never be used", - "start_line": 70, - "end_line": 70, - "start_column": 3, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " Make sure onopen is finished", - "start_line": 89, - "end_line": 89, - "start_column": 5, - "end_column": 35, - "is_javadoc": false - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [ - "@ServerEndpoint(value = \"/marketsummary\", encoders = { QuotePriceChangeListEncoder.class }, decoders = { ActionDecoder.class })" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "onClose(Session, CloseReason)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "onClose(Session, CloseReason)", - "comments": [], - "annotations": [ - "@OnClose" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onClose(Session session, CloseReason reason)", - "parameters": [ - { - "type": "javax.websocket.Session", - "name": "session", - "annotations": [], - "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 23, - "end_column": 37 - }, - { - "type": "javax.websocket.CloseReason", - "name": "reason", - "annotations": [], - "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 40, - "end_column": 57 - } - ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onClose -- session -->\" + session + \"<--\");\n sessions.remove(session);\n }", - "start_line": 124, - "end_line": 128, - "code_start_line": 125, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" - ], - "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 126, - "start_column": 5, - "end_line": 126, - "end_column": 80 - }, - { - "method_name": "remove", - "comment": null, - "receiver_expr": "sessions", - "receiver_type": "java.util.List", - "argument_types": [ - "javax.websocket.Session" - ], - "return_type": "", - "callee_signature": "remove(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 5, - "end_line": 127, - "end_column": 28 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "onMarketSummarytUpdate(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "onMarketSummarytUpdate(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onMarketSummarytUpdate(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION) @MarketSummaryUpdate String event)", - "parameters": [ - { - "type": "java.lang.String", - "name": "event", - "annotations": [ - "@ObservesAsync", - "@Priority(Interceptor.Priority.APPLICATION)", - "@MarketSummaryUpdate" - ], - "modifiers": [], - "start_line": 143, - "end_line": 143, - "start_column": 38, - "end_column": 129 - } - ], - "code": "{\n\n Log.trace(\"MarketSummaryWebSocket:onJMSMessage\");\n \n try {\n JsonObject mkSummary = tradeAction.getMarketSummary().toJSON();\n \n Iterator failSafeIterator = sessions.iterator();\n while(failSafeIterator.hasNext()) {\n Session s = failSafeIterator.next();\n if (s.isOpen()) {\n s.getAsyncRemote().sendText(mkSummary.toString());\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", - "start_line": 143, - "end_line": 160, - "code_start_line": 143, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.json.JsonObject", - "javax.websocket.Session", - "java.util.Iterator" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.tradeAction", - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" - ], - "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 145, - "start_column": 5, - "end_line": 145, - "end_column": 52 - }, - { - "method_name": "toJSON", - "comment": null, - "receiver_expr": "tradeAction.getMarketSummary()", - "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "argument_types": [], - "return_type": "javax.json.JsonObject", - "callee_signature": "toJSON()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 28, - "end_line": 148, - "end_column": 66 - }, - { - "method_name": "getMarketSummary", - "comment": null, - "receiver_expr": "tradeAction", - "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "getMarketSummary()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 28, - "end_line": 148, - "end_column": 57 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "sessions", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 150, - "start_column": 42, - "end_line": 150, - "end_column": 60 - }, - { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "failSafeIterator", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 151, - "start_column": 11, - "end_line": 151, - "end_column": 36 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "failSafeIterator", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "javax.websocket.Session", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 152, - "start_column": 19, - "end_line": 152, - "end_column": 41 - }, - { - "method_name": "isOpen", - "comment": null, - "receiver_expr": "s", - "receiver_type": "javax.websocket.Session", - "argument_types": [], - "return_type": "", - "callee_signature": "isOpen()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 153, - "start_column": 11, - "end_line": 153, - "end_column": 20 - }, - { - "method_name": "sendText", - "comment": null, - "receiver_expr": "s.getAsyncRemote()", - "receiver_type": "javax.websocket.RemoteEndpoint.Async", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "sendText(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 9, - "end_line": 154, - "end_column": 57 - }, - { - "method_name": "getAsyncRemote", - "comment": null, - "receiver_expr": "s", - "receiver_type": "javax.websocket.Session", - "argument_types": [], - "return_type": "javax.websocket.RemoteEndpoint.Async", - "callee_signature": "getAsyncRemote()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 9, - "end_line": 154, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "mkSummary", - "receiver_type": "javax.json.JsonObject", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 154, - "start_column": 37, - "end_line": 154, - "end_column": 56 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 158, - "start_column": 7, - "end_line": 158, - "end_column": 25 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "mkSummary", - "type": "javax.json.JsonObject", - "initializer": "tradeAction.getMarketSummary().toJSON()", - "start_line": 148, - "start_column": 16, - "end_line": 148, - "end_column": 66 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "failSafeIterator", - "type": "java.util.Iterator", - "initializer": "sessions.iterator()", - "start_line": 150, - "start_column": 23, - "end_line": 150, - "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "s", - "type": "javax.websocket.Session", - "initializer": "failSafeIterator.next()", - "start_line": 152, - "start_column": 15, - "end_line": 152, - "end_column": 41 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - }, - "onError(Throwable, Session)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "onError(Throwable, Session)", - "comments": [], - "annotations": [ - "@OnError" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void onError(Throwable t, Session currentSession)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "t", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 23, - "end_column": 33 - }, - { - "type": "javax.websocket.Session", - "name": "currentSession", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 36, - "end_column": 57 - } - ], - "code": "{\n Log.trace(\"MarketSummaryWebSocket:onError -- session -->\" + currentSession + \"<--\");\n t.printStackTrace();\n }", - "start_line": 118, - "end_line": 122, - "code_start_line": 119, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 5, - "end_line": 120, - "end_column": 87 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "t", - "receiver_type": "java.lang.Throwable", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 5, - "end_line": 121, - "end_column": 23 + "name": "url", + "type": "java.lang.String", + "initializer": "request.getServletPath()", + "start_line": 67, + "start_column": 20, + "end_line": 67, + "end_column": 49 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 9, "is_entrypoint": false + } + }, + "field_declarations": [ + { + "comment": { + "content": "\n * @see Filter#init(FilterConfig)\n ", + "start_line": 39, + "end_line": 41, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + "name": null, + "type": "javax.servlet.FilterConfig", + "start_line": 42, + "end_line": 42, + "variables": [ + "filterConfig" + ], + "modifiers": [ + "private" + ], + "annotations": [] + } + ], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": true + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "package_name": "com.ibm.websphere.samples.daytrader.web.websocket", + "comments": [ + { + "content": " This class is a WebSocket EndPoint that sends the Market Summary in JSON form and\n * encodes recent quote price changes when requested or when triggered by CDI events.\n *", + "start_line": 50, + "end_line": 52, + "start_column": 1, + "end_column": 4, + "is_javadoc": true + }, + { + "content": " should never be used", + "start_line": 70, + "end_line": 70, + "start_column": 3, + "end_column": 25, + "is_javadoc": false + }, + { + "content": " Make sure onopen is finished", + "start_line": 89, + "end_line": 89, + "start_column": 5, + "end_column": 35, + "is_javadoc": false + }, + { + "content": "\n * (C) Copyright IBM Corporation 2015, 2021.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", + "start_line": 1, + "end_line": 15, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "imports": [ + "java.util.Iterator", + "java.util.List", + "java.util.concurrent.CopyOnWriteArrayList", + "java.util.concurrent.CountDownLatch", + "javax.annotation.Priority", + "javax.enterprise.event.ObservesAsync", + "javax.enterprise.inject.Any", + "javax.enterprise.inject.Instance", + "javax.interceptor.Interceptor", + "javax.inject.Inject", + "javax.json.JsonObject", + "javax.websocket.CloseReason", + "javax.websocket.EndpointConfig", + "javax.websocket.OnClose", + "javax.websocket.OnError", + "javax.websocket.OnMessage", + "javax.websocket.OnOpen", + "javax.websocket.Session", + "javax.websocket.server.ServerEndpoint", + "com.ibm.websphere.samples.daytrader.interfaces.MarketSummaryUpdate", + "com.ibm.websphere.samples.daytrader.interfaces.QuotePriceChange", + "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "com.ibm.websphere.samples.daytrader.util.Log", + "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", + "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "type_declarations": { + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": " should never be used", + "start_line": 70, + "end_line": 70, + "start_column": 3, + "end_column": 25, + "is_javadoc": false }, + { + "content": " Make sure onopen is finished", + "start_line": 89, + "end_line": 89, + "start_column": 5, + "end_column": 35, + "is_javadoc": false + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [ + "@ServerEndpoint(value = \"/marketsummary\", encoders = { QuotePriceChangeListEncoder.class }, decoders = { ActionDecoder.class })" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "MarketSummaryWebSocket()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -164158,9 +170711,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "sendMarketSummary(ActionMessage, Session)": { + "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "sendMarketSummary(ActionMessage, Session)", + "signature": "sendMarketSummary(com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage, javax.websocket.Session)", "comments": [ { "content": " Make sure onopen is finished", @@ -164224,6 +170777,7 @@ "receiver_expr": "message", "receiver_type": "com.ibm.websphere.samples.daytrader.web.websocket.ActionMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getDecodedAction()", "is_public": true, @@ -164247,6 +170801,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummaryWebSocket:sendMarketSummary -- received -->\" + action + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -164268,6 +170825,7 @@ "receiver_expr": "latch", "receiver_type": "java.util.concurrent.CountDownLatch", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "await()", "is_public": true, @@ -164289,6 +170847,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -164312,6 +170871,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"updateMarketSummary\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -164333,6 +170895,7 @@ "receiver_expr": "tradeAction.getMarketSummary()", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.JsonObject", "callee_signature": "toJSON()", "is_public": true, @@ -164354,6 +170917,7 @@ "receiver_expr": "tradeAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "callee_signature": "getMarketSummary()", "is_public": false, @@ -164377,6 +170941,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummaryWebSocket:sendMarketSummary -- sending -->\" + mkSummary + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -164400,6 +170967,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "mkSummary.toString()" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "sendText(java.lang.String)", "is_public": true, @@ -164421,6 +170991,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Async", "callee_signature": "getAsyncRemote()", "is_public": true, @@ -164442,6 +171013,7 @@ "receiver_expr": "mkSummary", "receiver_type": "javax.json.JsonObject", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -164463,6 +171035,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -164486,6 +171059,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"updateRecentQuotePriceChange\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -164507,6 +171083,7 @@ "receiver_expr": "recentQuotePriceChangeList", "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isEmpty()", "is_public": true, @@ -164530,6 +171107,9 @@ "argument_types": [ "java.util.List" ], + "argument_expr": [ + "recentQuotePriceChangeList.recentList()" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "sendObject(java.lang.Object)", "is_public": true, @@ -164551,6 +171131,7 @@ "receiver_expr": "currentSession", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Async", "callee_signature": "getAsyncRemote()", "is_public": true, @@ -164572,6 +171153,7 @@ "receiver_expr": "recentQuotePriceChangeList", "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.List", "callee_signature": "recentList()", "is_public": true, @@ -164629,9 +171211,407 @@ "cyclomatic_complexity": 8, "is_entrypoint": false }, - "onStockChange(String)": { + "onClose(javax.websocket.Session, javax.websocket.CloseReason)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "signature": "onClose(javax.websocket.Session, javax.websocket.CloseReason)", + "comments": [], + "annotations": [ + "@OnClose" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onClose(Session session, CloseReason reason)", + "parameters": [ + { + "type": "javax.websocket.Session", + "name": "session", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 23, + "end_column": 37 + }, + { + "type": "javax.websocket.CloseReason", + "name": "reason", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 40, + "end_column": 57 + } + ], + "code": "{\n Log.trace(\"MarketSummaryWebSocket:onClose -- session -->\" + session + \"<--\");\n sessions.remove(session);\n }", + "start_line": 124, + "end_line": 128, + "code_start_line": 125, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" + ], + "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"MarketSummaryWebSocket:onClose -- session -->\" + session + \"<--\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 126, + "start_column": 5, + "end_line": 126, + "end_column": 80 + }, + { + "method_name": "remove", + "comment": null, + "receiver_expr": "sessions", + "receiver_type": "java.util.List", + "argument_types": [ + "javax.websocket.Session" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "remove(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 5, + "end_line": 127, + "end_column": 28 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "signature": "onOpen(javax.websocket.Session, javax.websocket.EndpointConfig)", + "comments": [], + "annotations": [ + "@OnOpen" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void onOpen(final Session session, EndpointConfig ec)", + "parameters": [ + { + "type": "javax.websocket.Session", + "name": "session", + "annotations": [], + "modifiers": [ + "final" + ], + "start_line": 75, + "end_line": 75, + "start_column": 22, + "end_column": 42 + }, + { + "type": "javax.websocket.EndpointConfig", + "name": "ec", + "annotations": [], + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 45, + "end_column": 61 + } + ], + "code": "{ \n Log.trace(\"MarketSummaryWebSocket:onOpen -- session -->\" + session + \"<--\");\n\n sessions.add(session);\n latch.countDown();\n }", + "start_line": 74, + "end_line": 80, + "code_start_line": 75, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.latch", + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" + ], + "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"MarketSummaryWebSocket:onOpen -- session -->\" + session + \"<--\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 5, + "end_line": 76, + "end_column": 79 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "sessions", + "receiver_type": "java.util.List", + "argument_types": [ + "javax.websocket.Session" + ], + "argument_expr": [ + "session" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 78, + "start_column": 5, + "end_line": 78, + "end_column": 25 + }, + { + "method_name": "countDown", + "comment": null, + "receiver_expr": "latch", + "receiver_type": "java.util.concurrent.CountDownLatch", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "countDown()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 79, + "start_column": 5, + "end_line": 79, + "end_column": 21 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(javax.enterprise.inject.Instance)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", + "signature": "(javax.enterprise.inject.Instance)", + "comments": [], + "annotations": [ + "@Inject" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public MarketSummaryWebSocket(@Any Instance services)", + "parameters": [ + { + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], + "modifiers": [], + "start_line": 66, + "end_line": 66, + "start_column": 33, + "end_column": 69 + } + ], + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 65, + "end_line": 68, + "code_start_line": 66, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 19, + "end_line": 67, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 19, + "end_line": 67, + "end_column": 127 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 63, + "end_line": 67, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 97, + "end_line": 67, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 35, + "end_line": 67, + "end_column": 126 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "onStockChange(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "onStockChange(String)", + "signature": "onStockChange(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -164679,6 +171659,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummaryWebSocket:onStockChange\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -164700,6 +171683,7 @@ "receiver_expr": "sessions", "receiver_type": "java.util.List", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -164721,6 +171705,7 @@ "receiver_expr": "failSafeIterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -164742,6 +171727,7 @@ "receiver_expr": "failSafeIterator", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.Session", "callee_signature": "next()", "is_public": true, @@ -164763,6 +171749,7 @@ "receiver_expr": "s", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isOpen()", "is_public": true, @@ -164786,6 +171773,9 @@ "argument_types": [ "java.util.List" ], + "argument_expr": [ + "recentQuotePriceChangeList.recentList()" + ], "return_type": "java.util.concurrent.Future", "callee_signature": "sendObject(java.lang.Object)", "is_public": true, @@ -164807,6 +171797,7 @@ "receiver_expr": "s", "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "javax.websocket.RemoteEndpoint.Async", "callee_signature": "getAsyncRemote()", "is_public": true, @@ -164828,6 +171819,7 @@ "receiver_expr": "recentQuotePriceChangeList", "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", "argument_types": [], + "argument_expr": [], "return_type": "java.util.List", "callee_signature": "recentList()", "is_public": true, @@ -164885,52 +171877,84 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "(Instance)": { + "onMarketSummarytUpdate(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "MarketSummaryWebSocket(Instance)", + "signature": "onMarketSummarytUpdate(java.lang.String)", "comments": [], - "annotations": [ - "@Inject" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public MarketSummaryWebSocket(@Any Instance services)", + "declaration": "public void onMarketSummarytUpdate(@ObservesAsync @Priority(Interceptor.Priority.APPLICATION) @MarketSummaryUpdate String event)", "parameters": [ { - "type": "javax.enterprise.inject.Instance", - "name": "services", + "type": "java.lang.String", + "name": "event", "annotations": [ - "@Any" + "@ObservesAsync", + "@Priority(Interceptor.Priority.APPLICATION)", + "@MarketSummaryUpdate" ], "modifiers": [], - "start_line": 66, - "end_line": 66, - "start_column": 33, - "end_column": 69 + "start_line": 143, + "end_line": 143, + "start_column": 38, + "end_column": 129 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 65, - "end_line": 68, - "code_start_line": 66, - "return_type": null, + "code": "{\n\n Log.trace(\"MarketSummaryWebSocket:onJMSMessage\");\n \n try {\n JsonObject mkSummary = tradeAction.getMarketSummary().toJSON();\n \n Iterator failSafeIterator = sessions.iterator();\n while(failSafeIterator.hasNext()) {\n Session s = failSafeIterator.next();\n if (s.isOpen()) {\n s.getAsyncRemote().sendText(mkSummary.toString());\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", + "start_line": 143, + "end_line": 160, + "code_start_line": 143, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], + "is_constructor": false, + "referenced_types": [ + "javax.json.JsonObject", + "javax.websocket.Session", + "java.util.Iterator" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.tradeAction" + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.tradeAction", + "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" ], "call_sites": [ { - "method_name": "get", + "method_name": "trace", "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"MarketSummaryWebSocket:onJMSMessage\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 145, + "start_column": 5, + "end_line": 145, + "end_column": 52 + }, + { + "method_name": "toJSON", + "comment": null, + "receiver_expr": "tradeAction.getMarketSummary()", + "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", + "argument_expr": [], + "return_type": "javax.json.JsonObject", + "callee_signature": "toJSON()", "is_public": true, "is_protected": false, "is_private": false, @@ -164939,21 +171963,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 67, - "start_column": 19, - "end_line": 67, - "end_column": 133 + "start_line": 148, + "start_column": 28, + "end_line": 148, + "end_column": 66 }, { - "method_name": "select", + "method_name": "getMarketSummary", "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", + "receiver_expr": "tradeAction", + "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "callee_signature": "getMarketSummary()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 148, + "start_column": 28, + "end_line": 148, + "end_column": 57 + }, + { + "method_name": "iterator", + "comment": null, + "receiver_expr": "sessions", + "receiver_type": "java.util.List", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", "is_public": true, "is_protected": false, "is_private": false, @@ -164962,131 +172007,271 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 67, - "start_column": 19, - "end_line": 67, - "end_column": 127 + "start_line": 150, + "start_column": 42, + "end_line": 150, + "end_column": 60 }, { - "method_name": "getRunTimeModeNames", + "method_name": "hasNext", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "failSafeIterator", + "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getRunTimeModeNames()", + "callee_signature": "hasNext()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 67, - "start_column": 63, - "end_line": 67, - "end_column": 95 + "start_line": 151, + "start_column": 11, + "end_line": 151, + "end_column": 36 }, { - "method_name": "getRunTimeMode", + "method_name": "next", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "failSafeIterator", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.websocket.Session", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 152, + "start_column": 19, + "end_line": 152, + "end_column": 41 + }, + { + "method_name": "isOpen", + "comment": null, + "receiver_expr": "s", + "receiver_type": "javax.websocket.Session", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getRunTimeMode()", + "callee_signature": "isOpen()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 67, - "start_column": 97, - "end_line": 67, - "end_column": 124 + "start_line": 153, + "start_column": 11, + "end_line": 153, + "end_column": 20 }, { - "method_name": "", + "method_name": "sendText", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "receiver_expr": "s.getAsyncRemote()", + "receiver_type": "javax.websocket.RemoteEndpoint.Async", "argument_types": [ "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, + "argument_expr": [ + "mkSummary.toString()" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "sendText(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 67, - "start_column": 35, - "end_line": 67, - "end_column": 126 + "start_line": 154, + "start_column": 9, + "end_line": 154, + "end_column": 57 + }, + { + "method_name": "getAsyncRemote", + "comment": null, + "receiver_expr": "s", + "receiver_type": "javax.websocket.Session", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.websocket.RemoteEndpoint.Async", + "callee_signature": "getAsyncRemote()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 9, + "end_line": 154, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "mkSummary", + "receiver_type": "javax.json.JsonObject", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 154, + "start_column": 37, + "end_line": 154, + "end_column": 56 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 158, + "start_column": 7, + "end_line": 158, + "end_column": 25 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "mkSummary", + "type": "javax.json.JsonObject", + "initializer": "tradeAction.getMarketSummary().toJSON()", + "start_line": 148, + "start_column": 16, + "end_line": 148, + "end_column": 66 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "failSafeIterator", + "type": "java.util.Iterator", + "initializer": "sessions.iterator()", + "start_line": 150, + "start_column": 23, + "end_line": 150, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "s", + "type": "javax.websocket.Session", + "initializer": "failSafeIterator.next()", + "start_line": 152, + "start_column": 15, + "end_line": 152, + "end_column": 41 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "onOpen(Session, EndpointConfig)": { + "onError(java.lang.Throwable, javax.websocket.Session)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/MarketSummaryWebSocket.java", - "signature": "onOpen(Session, EndpointConfig)", + "signature": "onError(java.lang.Throwable, javax.websocket.Session)", "comments": [], "annotations": [ - "@OnOpen" + "@OnError" ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void onOpen(final Session session, EndpointConfig ec)", + "declaration": "public void onError(Throwable t, Session currentSession)", "parameters": [ { - "type": "javax.websocket.Session", - "name": "session", + "type": "java.lang.Throwable", + "name": "t", "annotations": [], - "modifiers": [ - "final" - ], - "start_line": 75, - "end_line": 75, - "start_column": 22, - "end_column": 42 + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 23, + "end_column": 33 }, { - "type": "javax.websocket.EndpointConfig", - "name": "ec", + "type": "javax.websocket.Session", + "name": "currentSession", "annotations": [], "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 45, - "end_column": 61 + "start_line": 119, + "end_line": 119, + "start_column": 36, + "end_column": 57 } ], - "code": "{ \n Log.trace(\"MarketSummaryWebSocket:onOpen -- session -->\" + session + \"<--\");\n\n sessions.add(session);\n latch.countDown();\n }", - "start_line": 74, - "end_line": 80, - "code_start_line": 75, + "code": "{\n Log.trace(\"MarketSummaryWebSocket:onError -- session -->\" + currentSession + \"<--\");\n t.printStackTrace();\n }", + "start_line": 118, + "end_line": 122, + "code_start_line": 119, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.latch", - "com.ibm.websphere.samples.daytrader.web.websocket.MarketSummaryWebSocket.sessions" - ], + "accessed_fields": [], "call_sites": [ { "method_name": "trace", @@ -165096,6 +172281,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummaryWebSocket:onError -- session -->\" + currentSession + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -165106,42 +172294,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 76, - "start_column": 5, - "end_line": 76, - "end_column": 79 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "sessions", - "receiver_type": "java.util.List", - "argument_types": [ - "javax.websocket.Session" - ], - "return_type": "", - "callee_signature": "add(E)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 78, + "start_line": 120, "start_column": 5, - "end_line": 78, - "end_column": 25 + "end_line": 120, + "end_column": 87 }, { - "method_name": "countDown", + "method_name": "printStackTrace", "comment": null, - "receiver_expr": "latch", - "receiver_type": "java.util.concurrent.CountDownLatch", + "receiver_expr": "t", + "receiver_type": "java.lang.Throwable", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "countDown()", + "callee_signature": "printStackTrace()", "is_public": true, "is_protected": false, "is_private": false, @@ -165150,10 +172316,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 79, + "start_line": 121, "start_column": 5, - "end_line": 79, - "end_column": 21 + "end_line": 121, + "end_column": 23 } ], "variable_declarations": [], @@ -165370,6 +172536,90 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { + "setTotalGain(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "signature": "setTotalGain(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setTotalGain(BigDecimal totalGain)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "totalGain", + "annotations": [], + "modifiers": [], + "start_line": 192, + "end_line": 192, + "start_column": 28, + "end_column": 47 + } + ], + "code": "{\n this.totalGain = totalGain;\n }", + "start_line": 192, + "end_line": 194, + "code_start_line": 192, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.totalGain" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSumOfCashHoldings(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "signature": "setSumOfCashHoldings(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setSumOfCashHoldings(BigDecimal sumOfCashHoldings)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "sumOfCashHoldings", + "annotations": [], + "modifiers": [], + "start_line": 176, + "end_line": 176, + "start_column": 36, + "end_column": 63 + } + ], + "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n }", + "start_line": 176, + "end_line": 178, + "code_start_line": 176, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.sumOfCashHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getTotalGainPercent()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "signature": "getTotalGainPercent()", @@ -165399,51 +172649,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setDataTable(HtmlDataTable)": { + "setTotalValue(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setDataTable(HtmlDataTable)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setDataTable(HtmlDataTable dataTable)", - "parameters": [ - { - "type": "javax.faces.component.html.HtmlDataTable", - "name": "dataTable", - "annotations": [], - "modifiers": [], - "start_line": 144, - "end_line": 144, - "start_column": 28, - "end_column": 50 - } - ], - "code": "{\n this.dataTable = dataTable;\n }", - "start_line": 144, - "end_line": 146, - "code_start_line": 144, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.faces.component.html.HtmlDataTable" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.dataTable" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setTotalValue(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setTotalValue(BigDecimal)", + "signature": "setTotalValue(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -165483,42 +172691,163 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSumOfCashHoldings(BigDecimal)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setSumOfCashHoldings(BigDecimal)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], - "annotations": [], + "annotations": [ + "@Inject" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setSumOfCashHoldings(BigDecimal sumOfCashHoldings)", + "declaration": "public PortfolioJSF(@Any Instance services)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "sumOfCashHoldings", - "annotations": [], + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], "modifiers": [], - "start_line": 176, - "end_line": 176, - "start_column": 36, - "end_column": 63 + "start_line": 69, + "end_line": 69, + "start_column": 23, + "end_column": 59 } ], - "code": "{\n this.sumOfCashHoldings = sumOfCashHoldings;\n }", - "start_line": 176, - "end_line": 178, - "code_start_line": 176, - "return_type": "void", + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 68, + "end_line": 71, + "code_start_line": 69, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.sumOfCashHoldings" + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 19, + "end_line": 70, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 19, + "end_line": 70, + "end_column": 127 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 63, + "end_line": 70, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 97, + "end_line": 70, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 70, + "start_column": 35, + "end_line": 70, + "end_column": 126 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -165583,6 +172912,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setNumberHoldings(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "signature": "setNumberHoldings(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setNumberHoldings(Integer numberHoldings)", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "numberHoldings", + "annotations": [], + "modifiers": [], + "start_line": 184, + "end_line": 184, + "start_column": 33, + "end_column": 54 + } + ], + "code": "{\n this.numberHoldings = numberHoldings;\n }", + "start_line": 184, + "end_line": 186, + "code_start_line": 184, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.numberHoldings" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getPortfolio()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "signature": "getPortfolio()", @@ -165656,6 +173027,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -165679,6 +173053,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -165702,6 +173079,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getHoldings(java.lang.String)", "is_public": false, @@ -165723,6 +173103,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -165744,6 +173125,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -165765,6 +173147,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -165786,6 +173169,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -165807,6 +173191,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -165828,6 +173213,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "next()", "is_public": true, @@ -165851,6 +173237,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "holdingData.getQuoteID()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -165872,6 +173261,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getQuoteID()", "is_public": true, @@ -165895,6 +173285,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "new BigDecimal(holdingData.getQuantity())" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -165916,6 +173309,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPurchasePrice()", "is_public": true, @@ -165937,6 +173331,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -165960,6 +173355,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "new BigDecimal(holdingData.getQuantity())" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -165981,6 +173379,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -166002,6 +173401,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -166025,6 +173425,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "basis" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -166048,6 +173451,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "marketValue" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -166071,6 +173477,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "basis" + ], "return_type": "java.math.BigDecimal", "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, @@ -166094,6 +173503,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gain" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -166117,6 +173529,9 @@ "argument_types": [ "java.lang.Integer" ], + "argument_expr": [ + "holdingData.getHoldingID()" + ], "return_type": "", "callee_signature": "setHoldingID(java.lang.Integer)", "is_public": true, @@ -166138,6 +173553,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getHoldingID()", "is_public": true, @@ -166161,6 +173577,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "holdingData.getPurchaseDate()" + ], "return_type": "", "callee_signature": "setPurchaseDate(java.util.Date)", "is_public": true, @@ -166182,6 +173601,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getPurchaseDate()", "is_public": true, @@ -166205,6 +173625,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "holdingData.getQuoteID()" + ], "return_type": "", "callee_signature": "setQuoteID(java.lang.String)", "is_public": true, @@ -166226,6 +173649,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getQuoteID()", "is_public": true, @@ -166249,6 +173673,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingData.getQuantity()" + ], "return_type": "", "callee_signature": "setQuantity(double)", "is_public": true, @@ -166270,6 +173697,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -166293,6 +173721,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "holdingData.getPurchasePrice()" + ], "return_type": "", "callee_signature": "setPurchasePrice(java.math.BigDecimal)", "is_public": true, @@ -166314,6 +173745,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPurchasePrice()", "is_public": true, @@ -166337,6 +173769,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "basis" + ], "return_type": "", "callee_signature": "setBasis(java.math.BigDecimal)", "is_public": true, @@ -166360,6 +173795,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gain" + ], "return_type": "", "callee_signature": "setGain(java.math.BigDecimal)", "is_public": true, @@ -166383,6 +173821,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "marketValue" + ], "return_type": "", "callee_signature": "setMarketValue(java.math.BigDecimal)", "is_public": true, @@ -166406,6 +173847,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "quoteData.getPrice()" + ], "return_type": "", "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, @@ -166427,6 +173871,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -166450,8 +173895,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData" ], + "argument_expr": [ + "h" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -166480,6 +173928,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "FinancialUtils.computeGainPercent(totalValue, totalBasis)" + ], "return_type": "", "callee_signature": "setTotalGainPercent(java.math.BigDecimal)", "is_public": true, @@ -166504,6 +173955,10 @@ "java.math.BigDecimal", "java.math.BigDecimal" ], + "argument_expr": [ + "totalValue", + "totalBasis" + ], "return_type": "java.math.BigDecimal", "callee_signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", "is_public": true, @@ -166525,6 +173980,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -166548,6 +174004,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingDataBeans.size()" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -166571,6 +174030,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingData.getQuantity()" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -166594,6 +174056,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingData.getQuantity()" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(double)", "is_public": false, @@ -166615,6 +174080,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "callee_signature": "HoldingData()", "is_public": false, @@ -166839,6 +174305,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "totalGainPercent" + ], "return_type": "java.lang.String", "callee_signature": "printGainPercentHTML(java.math.BigDecimal)", "is_public": true, @@ -166919,32 +174388,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setTotalGain(BigDecimal)": { + "setTotalGainPercent(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setTotalGain(BigDecimal)", + "signature": "setTotalGainPercent(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setTotalGain(BigDecimal totalGain)", + "declaration": "public void setTotalGainPercent(BigDecimal totalGainPercent)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "totalGain", + "name": "totalGainPercent", "annotations": [], "modifiers": [], - "start_line": 192, - "end_line": 192, - "start_column": 28, - "end_column": 47 + "start_line": 224, + "end_line": 224, + "start_column": 35, + "end_column": 61 } ], - "code": "{\n this.totalGain = totalGain;\n }", - "start_line": 192, - "end_line": 194, - "code_start_line": 192, + "code": "{\n this.totalGainPercent = totalGainPercent;\n }", + "start_line": 224, + "end_line": 226, + "code_start_line": 224, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -166952,7 +174421,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.totalGain" + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.totalGainPercent" ], "call_sites": [], "variable_declarations": [], @@ -166961,163 +174430,93 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { + "setHoldingDatas(java.util.ArrayList)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "PortfolioJSF(Instance)", + "signature": "setHoldingDatas(java.util.ArrayList)", "comments": [], - "annotations": [ - "@Inject" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public PortfolioJSF(@Any Instance services)", + "declaration": "public void setHoldingDatas(ArrayList holdingDatas)", "parameters": [ { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], + "type": "java.util.ArrayList", + "name": "holdingDatas", + "annotations": [], "modifiers": [], - "start_line": 69, - "end_line": 69, - "start_column": 23, - "end_column": 59 + "start_line": 216, + "end_line": 216, + "start_column": 31, + "end_column": 65 } ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 68, - "end_line": 71, - "code_start_line": 69, - "return_type": null, + "code": "{\n this.holdingDatas = holdingDatas;\n }", + "start_line": 216, + "end_line": 218, + "code_start_line": 216, + "return_type": "void", "is_implicit": false, - "is_constructor": true, - "referenced_types": [], + "is_constructor": false, + "referenced_types": [ + "java.util.ArrayList" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.tradeAction" + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.holdingDatas" ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 19, - "end_line": 70, - "end_column": 133 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 19, - "end_line": 70, - "end_column": 127 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 63, - "end_line": 70, - "end_column": 95 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 97, - "end_line": 70, - "end_column": 124 - }, + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setDataTable(javax.faces.component.html.HtmlDataTable)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "signature": "setDataTable(javax.faces.component.html.HtmlDataTable)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setDataTable(HtmlDataTable dataTable)", + "parameters": [ { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 70, - "start_column": 35, - "end_line": 70, - "end_column": 126 + "type": "javax.faces.component.html.HtmlDataTable", + "name": "dataTable", + "annotations": [], + "modifiers": [], + "start_line": 144, + "end_line": 144, + "start_column": 28, + "end_column": 50 } ], + "code": "{\n this.dataTable = dataTable;\n }", + "start_line": 144, + "end_line": 146, + "code_start_line": 144, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.faces.component.html.HtmlDataTable" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.dataTable" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenBalance(BigDecimal)": { + "setOpenBalance(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setOpenBalance(BigDecimal)", + "signature": "setOpenBalance(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -167186,6 +174585,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setBalance(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", + "signature": "setBalance(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBalance(BigDecimal balance)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "balance", + "annotations": [], + "modifiers": [], + "start_line": 152, + "end_line": 152, + "start_column": 26, + "end_column": 43 + } + ], + "code": "{\n this.balance = balance;\n }", + "start_line": 152, + "end_line": 154, + "code_start_line": 152, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.balance" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "sell()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "signature": "sell()", @@ -167226,6 +174667,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -167249,6 +174693,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -167270,6 +174717,7 @@ "receiver_expr": "dataTable", "receiver_type": "javax.faces.component.html.HtmlDataTable", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "callee_signature": "getRowData()", "is_public": true, @@ -167295,6 +174743,11 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "userID", + "holdingData.getHoldingID()", + "TradeConfig.getOrderProcessingMode()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "sell(java.lang.String, java.lang.Integer, int)", "is_public": false, @@ -167316,6 +174769,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getHoldingID()", "is_public": true, @@ -167337,6 +174791,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getOrderProcessingMode()", "is_public": true, @@ -167360,6 +174815,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.jsf.HoldingData" ], + "argument_expr": [ + "holdingData" + ], "return_type": "", "callee_signature": "remove(java.lang.Object)", "is_public": true, @@ -167381,6 +174839,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -167402,6 +174861,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -167423,6 +174883,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -167444,6 +174905,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -167465,6 +174927,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -167486,6 +174949,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -167507,6 +174971,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -167528,6 +174993,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -167549,6 +175015,7 @@ "receiver_expr": "orderDataBean", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -167573,6 +175040,10 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.jsf.OrderData" ], + "argument_expr": [ + "\"orderData\"", + "orderData" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -167603,6 +175074,16 @@ "", "java.lang.String" ], + "argument_expr": [ + "orderDataBean.getOrderID()", + "orderDataBean.getOrderStatus()", + "orderDataBean.getOpenDate()", + "orderDataBean.getCompletionDate()", + "orderDataBean.getOrderFee()", + "orderDataBean.getOrderType()", + "orderDataBean.getQuantity()", + "orderDataBean.getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.OrderData", "callee_signature": "OrderData(java.lang.Integer, java.lang.String, java.util.Date, java.util.Date, java.math.BigDecimal, java.lang.String, double, java.lang.String)", "is_public": false, @@ -167711,48 +175192,6 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setHoldingsTotal(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setHoldingsTotal(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHoldingsTotal(BigDecimal holdingsTotal)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "holdingsTotal", - "annotations": [], - "modifiers": [], - "start_line": 168, - "end_line": 168, - "start_column": 32, - "end_column": 55 - } - ], - "code": "{\n this.holdingsTotal = holdingsTotal;\n }", - "start_line": 168, - "end_line": 170, - "code_start_line": 168, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.holdingsTotal" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getSumOfCashHoldings()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "signature": "getSumOfCashHoldings()", @@ -167782,48 +175221,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setNumberHoldings(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setNumberHoldings(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setNumberHoldings(Integer numberHoldings)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "numberHoldings", - "annotations": [], - "modifiers": [], - "start_line": 184, - "end_line": 184, - "start_column": 33, - "end_column": 54 - } - ], - "code": "{\n this.numberHoldings = numberHoldings;\n }", - "start_line": 184, - "end_line": 186, - "code_start_line": 184, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.numberHoldings" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getDataTable()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", "signature": "getDataTable()", @@ -167940,93 +175337,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHoldingDatas(ArrayList)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setHoldingDatas(ArrayList)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHoldingDatas(ArrayList holdingDatas)", - "parameters": [ - { - "type": "java.util.ArrayList", - "name": "holdingDatas", - "annotations": [], - "modifiers": [], - "start_line": 216, - "end_line": 216, - "start_column": 31, - "end_column": 65 - } - ], - "code": "{\n this.holdingDatas = holdingDatas;\n }", - "start_line": 216, - "end_line": 218, - "code_start_line": 216, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.ArrayList" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.holdingDatas" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setBalance(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setBalance(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setBalance(BigDecimal balance)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "balance", - "annotations": [], - "modifiers": [], - "start_line": 152, - "end_line": 152, - "start_column": 26, - "end_column": 43 - } - ], - "code": "{\n this.balance = balance;\n }", - "start_line": 152, - "end_line": 154, - "code_start_line": 152, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.balance" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setTotalBasis(BigDecimal)": { + "setTotalBasis(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setTotalBasis(BigDecimal)", + "signature": "setTotalBasis(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -168066,32 +175379,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setTotalGainPercent(BigDecimal)": { + "setHoldingsTotal(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/PortfolioJSF.java", - "signature": "setTotalGainPercent(BigDecimal)", + "signature": "setHoldingsTotal(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setTotalGainPercent(BigDecimal totalGainPercent)", + "declaration": "public void setHoldingsTotal(BigDecimal holdingsTotal)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "totalGainPercent", + "name": "holdingsTotal", "annotations": [], "modifiers": [], - "start_line": 224, - "end_line": 224, - "start_column": 35, - "end_column": 61 + "start_line": 168, + "end_line": 168, + "start_column": 32, + "end_column": 55 } ], - "code": "{\n this.totalGainPercent = totalGainPercent;\n }", - "start_line": 224, - "end_line": 226, - "code_start_line": 224, + "code": "{\n this.holdingsTotal = holdingsTotal;\n }", + "start_line": 168, + "end_line": 170, + "code_start_line": 168, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -168099,7 +175412,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.totalGainPercent" + "com.ibm.websphere.samples.daytrader.web.jsf.PortfolioJSF.holdingsTotal" ], "call_sites": [], "variable_declarations": [], @@ -168462,128 +175775,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", - "start_line": 58, - "end_line": 63, - "start_column": 3, - "end_column": 6, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 65, - "end_line": 65, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 64, - "end_line": 69, - "code_start_line": 65, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 66, - "start_column": 5, - "end_line": 66, - "end_column": 22 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 16, - "end_line": 67, - "end_column": 46 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 67, - "start_column": 16, - "end_line": 67, - "end_column": 35 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -168639,6 +175833,7 @@ "receiver_expr": "response", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -168662,6 +175857,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet CDI\" + \"

    Ping Servlet CDI
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -168685,6 +175883,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount: \" + cdiBean.hello() + \"
    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -168706,6 +175907,7 @@ "receiver_expr": "cdiBean", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingCDIBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hello()", "is_public": true, @@ -168729,6 +175931,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"hitCount: \" + ejb.getMsg() + \"
    \"" + ], "return_type": "", "callee_signature": "write(java.lang.String)", "is_public": true, @@ -168750,6 +175955,7 @@ "receiver_expr": "ejb", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBIFace", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getMsg()", "is_public": true, @@ -168771,6 +175977,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "flush()", "is_public": true, @@ -168792,6 +175999,7 @@ "receiver_expr": "pw", "receiver_type": "java.io.PrintWriter", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -168831,6 +176039,130 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/cdi/PingServletCDI.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n * \n * @param config\n * ServletConfig:\n *", + "start_line": 58, + "end_line": 63, + "start_column": 3, + "end_column": 6, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 65, + "end_line": 65, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 64, + "end_line": 69, + "code_start_line": 65, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingServletCDI.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 66, + "start_column": 5, + "end_line": 66, + "end_column": 22 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 16, + "end_line": 67, + "end_column": 46 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 67, + "start_column": 16, + "end_line": 67, + "end_column": 35 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -169009,9 +176341,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "echoObject(XMLObject)": { + "echoObject(com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.java", - "signature": "echoObject(XMLObject)", + "signature": "echoObject(com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject)", "comments": [], "annotations": [ "@POST", @@ -169052,47 +176384,47 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "echoObject(TestJSONObject)": { + "echoString(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.java", - "signature": "echoObject(TestJSONObject)", + "signature": "echoString(java.lang.String)", "comments": [ { - "content": "\n * note: this code path involves JSON marshaller & un-marshaller based on basic code path\n * @param p Person Object\n * @return Person Object\n ", - "start_line": 42, - "end_line": 46, + "content": "\n * note: this should be the basic code path for jaxrs process\n * @param input\n * @return\n ", + "start_line": 31, + "end_line": 35, "start_column": 3, "end_column": 5, "is_javadoc": true } ], "annotations": [ - "@POST", - "@Path(\"echoJSON\")", - "@Produces(value = { MediaType.APPLICATION_JSON })", - "@Consumes(value = { MediaType.APPLICATION_JSON })" + "@GET", + "@Path(\"echoText\")" ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public TestJSONObject echoObject(TestJSONObject jsonObject)", + "declaration": "public String echoString(@QueryParam(\"input\") String input)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject", - "name": "jsonObject", - "annotations": [], + "type": "java.lang.String", + "name": "input", + "annotations": [ + "@QueryParam(\"input\")" + ], "modifiers": [], - "start_line": 51, - "end_line": 51, - "start_column": 36, + "start_line": 38, + "end_line": 38, + "start_column": 28, "end_column": 60 } ], - "code": "{\n return jsonObject;\n }", - "start_line": 47, - "end_line": 53, - "code_start_line": 51, - "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject", + "code": "{\n return input;\n }", + "start_line": 36, + "end_line": 40, + "code_start_line": 38, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -169104,47 +176436,47 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "echoString(String)": { + "echoObject(com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/jaxrs/JAXRSSyncService.java", - "signature": "echoString(String)", + "signature": "echoObject(com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject)", "comments": [ { - "content": "\n * note: this should be the basic code path for jaxrs process\n * @param input\n * @return\n ", - "start_line": 31, - "end_line": 35, + "content": "\n * note: this code path involves JSON marshaller & un-marshaller based on basic code path\n * @param p Person Object\n * @return Person Object\n ", + "start_line": 42, + "end_line": 46, "start_column": 3, "end_column": 5, "is_javadoc": true } ], "annotations": [ - "@GET", - "@Path(\"echoText\")" + "@POST", + "@Path(\"echoJSON\")", + "@Produces(value = { MediaType.APPLICATION_JSON })", + "@Consumes(value = { MediaType.APPLICATION_JSON })" ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String echoString(@QueryParam(\"input\") String input)", + "declaration": "public TestJSONObject echoObject(TestJSONObject jsonObject)", "parameters": [ { - "type": "java.lang.String", - "name": "input", - "annotations": [ - "@QueryParam(\"input\")" - ], + "type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject", + "name": "jsonObject", + "annotations": [], "modifiers": [], - "start_line": 38, - "end_line": 38, - "start_column": 28, + "start_line": 51, + "end_line": 51, + "start_column": 36, "end_column": 60 } ], - "code": "{\n return input;\n }", - "start_line": 36, - "end_line": 40, - "code_start_line": 38, - "return_type": "java.lang.String", + "code": "{\n return jsonObject;\n }", + "start_line": 47, + "end_line": 53, + "code_start_line": 51, + "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.TestJSONObject", "is_implicit": false, "is_constructor": false, "referenced_types": [], @@ -169215,9 +176547,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "logMethodEntry(InvocationContext)": { + "logMethodEntry(javax.interceptor.InvocationContext)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TraceInterceptor.java", - "signature": "logMethodEntry(InvocationContext)", + "signature": "logMethodEntry(javax.interceptor.InvocationContext)", "comments": [], "annotations": [ "@AroundInvoke" @@ -169261,6 +176593,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "form.format(new String[] { ctx.getMethod().getDeclaringClass().getSimpleName() + \":\" + ctx.getMethod().getName(), Arrays.deepToString(ctx.getParameters()) })" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -169284,6 +176619,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "new String[] { ctx.getMethod().getDeclaringClass().getSimpleName() + \":\" + ctx.getMethod().getName(), Arrays.deepToString(ctx.getParameters()) }" + ], "return_type": "java.lang.String", "callee_signature": "format(java.lang.Object)", "is_public": true, @@ -169305,6 +176643,7 @@ "receiver_expr": "ctx.getMethod().getDeclaringClass()", "receiver_type": "java.lang.Class", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSimpleName()", "is_public": true, @@ -169326,6 +176665,7 @@ "receiver_expr": "ctx.getMethod()", "receiver_type": "java.lang.reflect.Method", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Class", "callee_signature": "getDeclaringClass()", "is_public": true, @@ -169347,6 +176687,7 @@ "receiver_expr": "ctx", "receiver_type": "javax.interceptor.InvocationContext", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.reflect.Method", "callee_signature": "getMethod()", "is_public": true, @@ -169368,6 +176709,7 @@ "receiver_expr": "ctx.getMethod()", "receiver_type": "java.lang.reflect.Method", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getName()", "is_public": true, @@ -169389,6 +176731,7 @@ "receiver_expr": "ctx", "receiver_type": "javax.interceptor.InvocationContext", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.reflect.Method", "callee_signature": "getMethod()", "is_public": true, @@ -169412,6 +176755,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "ctx.getParameters()" + ], "return_type": "java.lang.String", "callee_signature": "deepToString(java.lang.Object[])", "is_public": true, @@ -169433,6 +176779,7 @@ "receiver_expr": "ctx", "receiver_type": "javax.interceptor.InvocationContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getParameters()", "is_public": true, @@ -169454,6 +176801,7 @@ "receiver_expr": "ctx", "receiver_type": "javax.interceptor.InvocationContext", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Object", "callee_signature": "proceed()", "is_public": true, @@ -169636,6 +176984,46 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setTSIA(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", + "signature": "setTSIA(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setTSIA(BigDecimal tSIA)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "tSIA", + "annotations": [], + "modifiers": [], + "start_line": 106, + "end_line": 106, + "start_column": 23, + "end_column": 37 + } + ], + "code": "{\n TSIA = tSIA;\n }", + "start_line": 106, + "end_line": 108, + "code_start_line": 106, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.TSIA" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getGainPercent()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "signature": "getGainPercent()", @@ -169696,6 +177084,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "gainPercent" + ], "return_type": "java.lang.String", "callee_signature": "printGainPercentHTML(java.math.BigDecimal)", "is_public": true, @@ -169718,88 +177109,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenTSIA(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setOpenTSIA(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOpenTSIA(BigDecimal openTSIA)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "openTSIA", - "annotations": [], - "modifiers": [], - "start_line": 114, - "end_line": 114, - "start_column": 27, - "end_column": 45 - } - ], - "code": "{\n this.openTSIA = openTSIA;\n }", - "start_line": 114, - "end_line": 116, - "code_start_line": 114, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.openTSIA" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setTopGainers(QuoteData[])": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setTopGainers(QuoteData[])", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setTopGainers(QuoteData[] topGainers)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", - "name": "topGainers", - "annotations": [], - "modifiers": [], - "start_line": 130, - "end_line": 130, - "start_column": 29, - "end_column": 50 - } - ], - "code": "{\n this.topGainers = topGainers;\n }", - "start_line": 130, - "end_line": 132, - "code_start_line": 130, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topGainers" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getMarketSummary()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", "signature": "getMarketSummary()", @@ -169839,6 +177148,7 @@ "receiver_expr": "tradeAction", "receiver_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "callee_signature": "getMarketSummary()", "is_public": false, @@ -169862,6 +177172,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "marketSummaryData.getSummaryDate()" + ], "return_type": "", "callee_signature": "setSummaryDate(java.util.Date)", "is_public": true, @@ -169883,6 +177196,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getSummaryDate()", "is_public": true, @@ -169906,6 +177220,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "marketSummaryData.getTSIA()" + ], "return_type": "", "callee_signature": "setTSIA(java.math.BigDecimal)", "is_public": true, @@ -169927,6 +177244,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getTSIA()", "is_public": true, @@ -169950,6 +177268,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "marketSummaryData.getVolume()" + ], "return_type": "", "callee_signature": "setVolume(double)", "is_public": true, @@ -169971,6 +177292,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -169994,6 +177316,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "marketSummaryData.getGainPercent()" + ], "return_type": "", "callee_signature": "setGainPercent(java.math.BigDecimal)", "is_public": true, @@ -170015,6 +177340,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getGainPercent()", "is_public": true, @@ -170036,6 +177362,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopGainers()", "is_public": true, @@ -170057,6 +177384,7 @@ "receiver_expr": "topGainers", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -170078,6 +177406,7 @@ "receiver_expr": "gainers", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -170099,6 +177428,7 @@ "receiver_expr": "gainers", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -170120,6 +177450,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -170141,6 +177472,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -170162,6 +177494,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -170185,6 +177518,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "gainerjsfs" + ], "return_type": "", "callee_signature": "setTopGainers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "is_public": true, @@ -170206,6 +177542,7 @@ "receiver_expr": "marketSummaryData", "receiver_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Collection", "callee_signature": "getTopLosers()", "is_public": true, @@ -170227,6 +177564,7 @@ "receiver_expr": "topLosers", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -170248,6 +177586,7 @@ "receiver_expr": "losers", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -170269,6 +177608,7 @@ "receiver_expr": "losers", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "next()", "is_public": true, @@ -170290,6 +177630,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -170311,6 +177652,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -170332,6 +177674,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -170355,6 +177698,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "loserjsfs" + ], "return_type": "", "callee_signature": "setTopLosers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "is_public": true, @@ -170376,6 +177722,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -170401,6 +177748,11 @@ "java.math.BigDecimal", "java.lang.String" ], + "argument_expr": [ + "quote.getPrice()", + "quote.getOpen()", + "quote.getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "callee_signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", "is_public": false, @@ -170426,6 +177778,11 @@ "java.math.BigDecimal", "java.lang.String" ], + "argument_expr": [ + "quote.getPrice()", + "quote.getOpen()", + "quote.getSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData", "callee_signature": "QuoteData(java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", "is_public": false, @@ -170653,38 +178010,203 @@ "cyclomatic_complexity": 6, "is_entrypoint": true }, - "setTSIA(BigDecimal)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setTSIA(BigDecimal)", + "signature": "(javax.enterprise.inject.Instance)", + "comments": [], + "annotations": [ + "@Inject" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public MarketSummaryJSF(@Any Instance services)", + "parameters": [ + { + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 27, + "end_column": 63 + } + ], + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 56, + "end_line": 59, + "code_start_line": 57, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 19, + "end_line": 58, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 19, + "end_line": 58, + "end_column": 127 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 63, + "end_line": 58, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 97, + "end_line": 58, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 35, + "end_line": 58, + "end_column": 126 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setSummaryDate(java.util.Date)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", + "signature": "setSummaryDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setTSIA(BigDecimal tSIA)", + "declaration": "public void setSummaryDate(Date summaryDate)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "tSIA", + "type": "java.util.Date", + "name": "summaryDate", "annotations": [], "modifiers": [], - "start_line": 106, - "end_line": 106, - "start_column": 23, - "end_column": 37 + "start_line": 146, + "end_line": 146, + "start_column": 30, + "end_column": 45 } ], - "code": "{\n TSIA = tSIA;\n }", - "start_line": 106, - "end_line": 108, - "code_start_line": 106, + "code": "{\n this.summaryDate = summaryDate;\n }", + "start_line": 146, + "end_line": 148, + "code_start_line": 146, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Date" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.TSIA" + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.summaryDate" ], "call_sites": [], "variable_declarations": [], @@ -170693,9 +178215,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setGainPercent(BigDecimal)": { + "setGainPercent(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setGainPercent(BigDecimal)", + "signature": "setGainPercent(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -170740,6 +178262,10 @@ "", "java.math.RoundingMode" ], + "argument_expr": [ + "2", + "RoundingMode.HALF_UP" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, java.math.RoundingMode)", "is_public": true, @@ -170762,38 +178288,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setVolume(double)": { + "setTopGainers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setVolume(double)", + "signature": "setTopGainers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setVolume(double volume)", + "declaration": "public void setTopGainers(QuoteData[] topGainers)", "parameters": [ { - "type": "double", - "name": "volume", + "type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", + "name": "topGainers", "annotations": [], "modifiers": [], - "start_line": 122, - "end_line": 122, - "start_column": 25, - "end_column": 37 + "start_line": 130, + "end_line": 130, + "start_column": 29, + "end_column": 50 } ], - "code": "{\n this.volume = volume;\n }", - "start_line": 122, - "end_line": 124, - "code_start_line": 122, + "code": "{\n this.topGainers = topGainers;\n }", + "start_line": 130, + "end_line": 132, + "code_start_line": 130, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.volume" + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topGainers" ], "call_sites": [], "variable_declarations": [], @@ -170802,40 +178328,38 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setSummaryDate(Date)": { + "setVolume(double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setSummaryDate(Date)", + "signature": "setVolume(double)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setSummaryDate(Date summaryDate)", + "declaration": "public void setVolume(double volume)", "parameters": [ { - "type": "java.util.Date", - "name": "summaryDate", + "type": "double", + "name": "volume", "annotations": [], "modifiers": [], - "start_line": 146, - "end_line": 146, - "start_column": 30, - "end_column": 45 + "start_line": 122, + "end_line": 122, + "start_column": 25, + "end_column": 37 } ], - "code": "{\n this.summaryDate = summaryDate;\n }", - "start_line": 146, - "end_line": 148, - "code_start_line": 146, + "code": "{\n this.volume = volume;\n }", + "start_line": 122, + "end_line": 124, + "code_start_line": 122, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.summaryDate" + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.volume" ], "call_sites": [], "variable_declarations": [], @@ -170931,9 +178455,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setTopLosers(QuoteData[])": { + "setTopLosers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "setTopLosers(QuoteData[])", + "signature": "setTopLosers(com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[])", "comments": [], "annotations": [], "modifiers": [ @@ -170971,212 +178495,100 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getTopGainers()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "getTopGainers()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteData[] getTopGainers()", - "parameters": [], - "code": "{\n return topGainers;\n }", - "start_line": 134, - "end_line": 136, - "code_start_line": 134, - "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topGainers" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getTopLosers()": { + "setOpenTSIA(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "getTopLosers()", + "signature": "setOpenTSIA(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], - "thrown_exceptions": [], - "declaration": "public QuoteData[] getTopLosers()", - "parameters": [], - "code": "{\n return topLosers;\n }", - "start_line": 142, - "end_line": 144, - "code_start_line": 142, - "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topLosers" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(Instance)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", - "signature": "MarketSummaryJSF(Instance)", - "comments": [], - "annotations": [ - "@Inject" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public MarketSummaryJSF(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 27, - "end_column": 63 - } - ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 56, - "end_line": 59, - "code_start_line": 57, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.tradeAction" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 19, - "end_line": 58, - "end_column": 133 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 19, - "end_line": 58, - "end_column": 127 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 63, - "end_line": 58, - "end_column": 95 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 97, - "end_line": 58, - "end_column": 124 - }, + "thrown_exceptions": [], + "declaration": "public void setOpenTSIA(BigDecimal openTSIA)", + "parameters": [ { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 35, - "end_line": 58, - "end_column": 126 + "type": "java.math.BigDecimal", + "name": "openTSIA", + "annotations": [], + "modifiers": [], + "start_line": 114, + "end_line": 114, + "start_column": 27, + "end_column": 45 } ], + "code": "{\n this.openTSIA = openTSIA;\n }", + "start_line": 114, + "end_line": 116, + "code_start_line": 114, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.openTSIA" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getTopGainers()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", + "signature": "getTopGainers()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteData[] getTopGainers()", + "parameters": [], + "code": "{\n return topGainers;\n }", + "start_line": 134, + "end_line": 136, + "code_start_line": 134, + "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topGainers" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getTopLosers()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/MarketSummaryJSF.java", + "signature": "getTopLosers()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteData[] getTopLosers()", + "parameters": [], + "code": "{\n return topLosers;\n }", + "start_line": 142, + "end_line": 144, + "code_start_line": 142, + "return_type": "com.ibm.websphere.samples.daytrader.web.jsf.QuoteData[]", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.MarketSummaryJSF.topLosers" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -172657,933 +180069,202 @@ "end_column": 5, "is_javadoc": true }, - { - "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1025, - "end_line": 1027, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1063, - "end_line": 1065, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " already sold", - "start_line": 1131, - "end_line": 1131, - "start_column": 7, - "end_column": 21, - "is_javadoc": false - }, - { - "content": " already sold", - "start_line": 1150, - "end_line": 1150, - "start_column": 7, - "end_column": 21, - "is_javadoc": false - }, - { - "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", - "start_line": 1159, - "end_line": 1161, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", - "start_line": 1206, - "end_line": 1208, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " UPDATE -- could add a \"status\" attribute to holding", - "start_line": 1244, - "end_line": 1244, - "start_column": 3, - "end_column": 56, - "is_javadoc": false - }, - { - "content": "\n * Update a quote's price and volume\n *\n * @param symbol\n * The PK of the quote\n * @param changeFactor\n * the percent to change the old price by (between 50% and 150%)\n * @param sharedTraded\n * the ammount to add to the current volume\n * @param publishQuotePriceChange\n * used by the PingJDBCWrite Primitive to ensure no JMS is used,\n * should be true for all normal calls to this API\n ", - "start_line": 1293, - "end_line": 1305, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " pass exception back", - "start_line": 1396, - "end_line": 1396, - "start_column": 16, - "end_column": 37, - "is_javadoc": false - }, - { - "content": "\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n ", - "start_line": 1455, - "end_line": 1458, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - { - "content": "\n * @see TradeServices#logout(String)\n ", - "start_line": 1461, - "end_line": 1463, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": " Clear MDB Statistics", - "start_line": 1594, - "end_line": 1594, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " commit(conn);", - "start_line": 1609, - "end_line": 1609, - "start_column": 11, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " Ignore DROP statements as tables won't always exist.", - "start_line": 1611, - "end_line": 1611, - "start_column": 11, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\n * Allocate a new connection to the datasource\n ", - "start_line": 1650, - "end_line": 1652, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": "\n * Commit the provided connection if not under Global Transaction scope -\n * conn.commit() is not allowed in a global transaction. the txn manager\n * will perform the commit\n ", - "start_line": 1678, - "end_line": 1682, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": "\n * Rollback the statement for the given connection\n ", - "start_line": 1691, - "end_line": 1693, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": " so the Global txn manager will rollBack", - "start_line": 1701, - "end_line": 1701, - "start_column": 9, - "end_column": 50, - "is_javadoc": false - }, - { - "content": " Throw the exception", - "start_line": 1700, - "end_line": 1700, - "start_column": 18, - "end_column": 39, - "is_javadoc": false - }, - { - "content": "\n * Allocate a new prepared statment for this connection\n ", - "start_line": 1706, - "end_line": 1708, - "start_column": 3, - "end_column": 5, - "is_javadoc": false - }, - { - "content": "\n * Gets the inGlobalTxn\n *\n * @return Returns a boolean\n ", - "start_line": 1791, - "end_line": 1795, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - }, - { - "content": "\n * Sets the inGlobalTxn\n *\n * @param inGlobalTxn\n * The inGlobalTxn to set\n ", - "start_line": 1800, - "end_line": 1805, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "implements_list": [ - "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "java.io.Serializable" - ], - "modifiers": [ - "public" - ], - "annotations": [ - "@Dependent", - "@TradeJDBC", - "@RuntimeMode(\"Direct (JDBC)\")", - "@Trace" - ], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getQuoteData(Connection, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getQuoteData(Connection, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private QuoteDataBean getQuoteData(Connection conn, String symbol) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1095, - "end_line": 1095, - "start_column": 38, - "end_column": 52 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 1095, - "end_line": 1095, - "start_column": 55, - "end_column": 67 - } - ], - "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteSQL);\n stmt.setString(1, symbol);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuoteData -- could not find quote for symbol=\" + symbol);\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n stmt.close();\n return quoteData;\n }", - "start_line": 1095, - "end_line": 1107, - "code_start_line": 1095, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1097, - "start_column": 30, - "end_line": 1097, - "end_column": 60 - }, - { - "method_name": "setString", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1098, - "start_column": 5, - "end_line": 1098, - "end_column": 29 - }, - { - "method_name": "executeQuery", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1099, - "start_column": 20, - "end_line": 1099, - "end_column": 38 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1100, - "start_column": 10, - "end_line": 1100, - "end_column": 18 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1101, - "start_column": 7, - "end_line": 1101, - "end_column": 88 - }, - { - "method_name": "getQuoteDataFromResultSet", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1103, - "start_column": 19, - "end_line": 1103, - "end_column": 47 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1105, - "start_column": 5, - "end_line": 1105, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 1096, - "start_column": 19, - "end_line": 1096, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getQuoteSQL)", - "start_line": 1097, - "start_column": 23, - "end_line": 1097, - "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1099, - "start_column": 15, - "end_line": 1099, - "end_column": 38 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "recreateDBTables(Object[], java.io.PrintWriter)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "recreateDBTables(Object[], java.io.PrintWriter)", - "comments": [ - { - "content": " Clear MDB Statistics", - "start_line": 1594, - "end_line": 1594, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - { - "content": " commit(conn);", - "start_line": 1609, - "end_line": 1609, - "start_column": 11, - "end_column": 26, - "is_javadoc": false - }, - { - "content": " Ignore DROP statements as tables won't always exist.", - "start_line": 1611, - "end_line": 1611, - "start_column": 11, - "end_column": 65, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public boolean recreateDBTables(Object[] sqlBuffer, java.io.PrintWriter out) throws Exception", - "parameters": [ - { - "type": "java.lang.Object[]", - "name": "sqlBuffer", - "annotations": [], - "modifiers": [], - "start_line": 1593, - "end_line": 1593, - "start_column": 35, - "end_column": 52 - }, - { - "type": "java.io.PrintWriter", - "name": "out", - "annotations": [], - "modifiers": [], - "start_line": 1593, - "end_line": 1593, - "start_column": 55, - "end_column": 77 - } - ], - "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n\n Connection conn = null;\n boolean success = false;\n try {\n \n Log.trace(\"TradeDirect:recreateDBTables\");\n\n conn = getConn();\n Statement stmt = conn.createStatement();\n int bufferLength = sqlBuffer.length;\n for (int i = 0; i < bufferLength; i++) {\n try {\n stmt.executeUpdate((String) sqlBuffer[i]);\n // commit(conn);\n } catch (SQLException ex) {\n // Ignore DROP statements as tables won't always exist.\n if (((String) sqlBuffer[i]).indexOf(\"DROP \") < 0) {\n Log.error(\"TradeDirect:recreateDBTables SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i], ex);\n out.println(\"
    SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i] + \" . Check log for details.
    \");\n }\n }\n }\n stmt.close();\n commit(conn);\n success = true;\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\");\n } finally {\n releaseConn(conn);\n }\n return success;\n }", - "start_line": 1593, - "end_line": 1627, - "code_start_line": 1593, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "java.sql.Statement" - ], - "accessed_fields": [ - "length" - ], - "call_sites": [ - { - "method_name": "reset", - "comment": { - "content": " Clear MDB Statistics", - "start_line": 1594, - "end_line": 1594, - "start_column": 5, - "end_column": 27, - "is_javadoc": false - }, - "receiver_expr": "MDBStats.getInstance()", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "argument_types": [], - "return_type": "", - "callee_signature": "reset()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1595, - "start_column": 5, - "end_line": 1595, - "end_column": 34 - }, - { - "method_name": "getInstance", - "comment": null, - "receiver_expr": "MDBStats", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "callee_signature": "getInstance()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1595, - "start_column": 5, - "end_line": 1595, - "end_column": 26 - }, - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1601, - "start_column": 7, - "end_line": 1601, - "end_column": 47 - }, - { - "method_name": "getConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1603, - "start_column": 14, - "end_line": 1603, - "end_column": 22 - }, - { - "method_name": "createStatement", - "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "argument_types": [], - "return_type": "java.sql.Statement", - "callee_signature": "createStatement()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1604, - "start_column": 24, - "end_line": 1604, - "end_column": 45 - }, - { - "method_name": "executeUpdate", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.Statement", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "executeUpdate(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1608, - "start_column": 11, - "end_line": 1608, - "end_column": 51 - }, - { - "method_name": "indexOf", - "comment": null, - "receiver_expr": "((String) sqlBuffer[i])", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "indexOf(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1612, - "start_column": 15, - "end_line": 1612, - "end_column": 54 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.sql.SQLException" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1613, - "start_column": 13, - "end_line": 1613, - "end_column": 129 - }, - { - "method_name": "println", - "comment": null, - "receiver_expr": "out", - "receiver_type": "java.io.PrintWriter", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "println(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1614, - "start_column": 13, - "end_line": 1614, - "end_column": 144 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.Statement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1618, - "start_column": 7, - "end_line": 1618, - "end_column": 18 - }, - { - "method_name": "commit", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1619, - "start_column": 7, - "end_line": 1619, - "end_column": 18 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.Exception", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1622, - "start_column": 7, - "end_line": 1622, - "end_column": 105 - }, - { - "method_name": "releaseConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1624, - "start_column": 7, - "end_line": 1624, - "end_column": 23 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1597, - "start_column": 16, - "end_line": 1597, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "success", - "type": "boolean", - "initializer": "false", - "start_line": 1598, - "start_column": 13, - "end_line": 1598, - "end_column": 27 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.Statement", - "initializer": "conn.createStatement()", - "start_line": 1604, - "start_column": 17, - "end_line": 1604, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "bufferLength", - "type": "int", - "initializer": "sqlBuffer.length", - "start_line": 1605, - "start_column": 11, - "end_line": 1605, - "end_column": 41 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 1606, - "start_column": 16, - "end_line": 1606, - "end_column": 20 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 6, - "is_entrypoint": false - }, - "updateOrderStatus(Connection, Integer, String)": { + { + "content": "\n * @see TradeServices#getAccountData(String)\n ", + "start_line": 1025, + "end_line": 1027, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\n * @see TradeServices#getAccountData(String)\n ", + "start_line": 1063, + "end_line": 1065, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " already sold", + "start_line": 1131, + "end_line": 1131, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + }, + { + "content": " already sold", + "start_line": 1150, + "end_line": 1150, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", + "start_line": 1159, + "end_line": 1161, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", + "start_line": 1206, + "end_line": 1208, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " UPDATE -- could add a \"status\" attribute to holding", + "start_line": 1244, + "end_line": 1244, + "start_column": 3, + "end_column": 56, + "is_javadoc": false + }, + { + "content": "\n * Update a quote's price and volume\n *\n * @param symbol\n * The PK of the quote\n * @param changeFactor\n * the percent to change the old price by (between 50% and 150%)\n * @param sharedTraded\n * the ammount to add to the current volume\n * @param publishQuotePriceChange\n * used by the PingJDBCWrite Primitive to ensure no JMS is used,\n * should be true for all normal calls to this API\n ", + "start_line": 1293, + "end_line": 1305, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " pass exception back", + "start_line": 1396, + "end_line": 1396, + "start_column": 16, + "end_column": 37, + "is_javadoc": false + }, + { + "content": "\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n ", + "start_line": 1455, + "end_line": 1458, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#logout(String)\n ", + "start_line": 1461, + "end_line": 1463, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": " Clear MDB Statistics", + "start_line": 1594, + "end_line": 1594, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " commit(conn);", + "start_line": 1609, + "end_line": 1609, + "start_column": 11, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " Ignore DROP statements as tables won't always exist.", + "start_line": 1611, + "end_line": 1611, + "start_column": 11, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\n * Allocate a new connection to the datasource\n ", + "start_line": 1650, + "end_line": 1652, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + { + "content": "\n * Commit the provided connection if not under Global Transaction scope -\n * conn.commit() is not allowed in a global transaction. the txn manager\n * will perform the commit\n ", + "start_line": 1678, + "end_line": 1682, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + { + "content": "\n * Rollback the statement for the given connection\n ", + "start_line": 1691, + "end_line": 1693, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + { + "content": " so the Global txn manager will rollBack", + "start_line": 1701, + "end_line": 1701, + "start_column": 9, + "end_column": 50, + "is_javadoc": false + }, + { + "content": " Throw the exception", + "start_line": 1700, + "end_line": 1700, + "start_column": 18, + "end_column": 39, + "is_javadoc": false + }, + { + "content": "\n * Allocate a new prepared statment for this connection\n ", + "start_line": 1706, + "end_line": 1708, + "start_column": 3, + "end_column": 5, + "is_javadoc": false + }, + { + "content": "\n * Gets the inGlobalTxn\n *\n * @return Returns a boolean\n ", + "start_line": 1791, + "end_line": 1795, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + }, + { + "content": "\n * Sets the inGlobalTxn\n *\n * @param inGlobalTxn\n * The inGlobalTxn to set\n ", + "start_line": 1800, + "end_line": 1805, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "implements_list": [ + "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "java.io.Serializable" + ], + "modifiers": [ + "public" + ], + "annotations": [ + "@Dependent", + "@TradeJDBC", + "@RuntimeMode(\"Direct (JDBC)\")", + "@Trace" + ], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateOrderStatus(Connection, Integer, String)", + "signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -173648,6 +180329,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "updateOrderStatusSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -173672,6 +180357,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "status" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -173696,6 +180385,10 @@ "", "java.sql.Timestamp" ], + "argument_expr": [ + "2", + "new Timestamp(System.currentTimeMillis())" + ], "return_type": "", "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, @@ -173717,6 +180410,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -173741,6 +180435,10 @@ "", "" ], + "argument_expr": [ + "3", + "orderID.intValue()" + ], "return_type": "", "callee_signature": "setInt(int, int)", "is_public": true, @@ -173762,6 +180460,7 @@ "receiver_expr": "orderID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -173783,6 +180482,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -173804,6 +180504,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -173827,6 +180528,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "System.currentTimeMillis()" + ], "return_type": "java.sql.Timestamp", "callee_signature": "Timestamp(long)", "is_public": false, @@ -173867,56 +180571,134 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountProfileData(Connection, Integer)": { + "getOrders(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountProfileData(Connection, Integer)", - "comments": [], - "annotations": [], + "signature": "getOrders(java.lang.String)", + "comments": [ + { + "content": " TODO: return top 5 orders for now -- next version will add a", + "start_line": 772, + "end_line": 772, + "start_column": 7, + "end_column": 69, + "is_javadoc": false + }, + { + "content": " getAllOrders method", + "start_line": 773, + "end_line": 773, + "start_column": 7, + "end_column": 28, + "is_javadoc": false + }, + { + "content": " also need to get orders sorted by order id descending", + "start_line": 774, + "end_line": 774, + "start_column": 7, + "end_column": 62, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#getOrders(String)\n ", + "start_line": 755, + "end_line": 757, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private AccountProfileDataBean getAccountProfileData(Connection conn, Integer accountID) throws Exception", + "declaration": "public Collection getOrders(String userID) throws Exception", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1195, - "end_line": 1195, - "start_column": 56, - "end_column": 70 - }, - { - "type": "java.lang.Integer", - "name": "accountID", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1195, - "end_line": 1195, - "start_column": 73, - "end_column": 89 + "start_line": 759, + "end_line": 759, + "start_column": 46, + "end_column": 58 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountProfileForAccountSQL);\n stmt.setInt(1, accountID.intValue());\n\n ResultSet rs = stmt.executeQuery();\n\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n }", - "start_line": 1195, - "end_line": 1204, - "code_start_line": 1195, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n Collection orderDataBeans = new ArrayList();\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getOrders - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getOrdersByUserSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n // TODO: return top 5 orders for now -- next version will add a\n // getAllOrders method\n // also need to get orders sorted by order id descending\n int i = 0;\n while ((rs.next()) && (i++ < 5)) {\n OrderDataBean orderData = getOrderDataFromResultSet(rs);\n orderDataBeans.add(orderData);\n }\n\n stmt.close();\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getOrders -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return orderDataBeans;\n }", + "start_line": 758, + "end_line": 791, + "code_start_line": 759, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [ + "java.util.Collection", + "java.sql.Connection", "java.sql.ResultSet", "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileForAccountSQL" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrdersByUserSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:getOrders - inSession(\" + this.inSession + \")\"", + "userID" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 763, + "start_column": 7, + "end_line": 763, + "end_column": 84 + }, + { + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 766, + "start_column": 14, + "end_line": 766, + "end_column": 22 + }, { "method_name": "getStatement", "comment": null, @@ -173926,6 +180708,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getOrdersByUserSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -173936,22 +180722,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1196, - "start_column": 30, - "end_line": 1196, - "end_column": 79 + "start_line": 767, + "start_column": 32, + "end_line": 767, + "end_column": 69 }, { - "method_name": "setInt", + "method_name": "setString", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "" + "java.lang.String" + ], + "argument_expr": [ + "1", + "userID" ], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -173960,19 +180750,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1197, - "start_column": 5, - "end_line": 1197, - "end_column": 40 + "start_line": 768, + "start_column": 7, + "end_line": 768, + "end_column": 31 }, { - "method_name": "intValue", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "accountID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -173981,19 +180772,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1197, - "start_column": 20, - "end_line": 1197, - "end_column": 39 + "start_line": 770, + "start_column": 22, + "end_line": 770, + "end_column": 40 }, { - "method_name": "executeQuery", + "method_name": "next", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -174002,21 +180794,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1199, - "start_column": 20, - "end_line": 1199, - "end_column": 38 + "start_line": 776, + "start_column": 15, + "end_line": 776, + "end_column": 23 }, { - "method_name": "getAccountProfileDataFromResultSet", + "method_name": "getOrderDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.ResultSet" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -174025,19 +180820,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1201, - "start_column": 49, - "end_line": 1201, - "end_column": 86 + "start_line": 777, + "start_column": 35, + "end_line": 777, + "end_column": 63 }, { - "method_name": "close", + "method_name": "add", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "orderDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "orderData" + ], "return_type": "", - "callee_signature": "close()", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -174046,203 +180846,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1202, - "start_column": 5, - "end_line": 1202, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAccountProfileForAccountSQL)", - "start_line": 1196, - "start_column": 23, - "end_line": 1196, - "end_column": 79 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1199, - "start_column": 15, - "end_line": 1199, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "getAccountProfileDataFromResultSet(rs)", - "start_line": 1201, - "start_column": 28, - "end_line": 1201, - "end_column": 86 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getMarketSummary()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getMarketSummary()", - "comments": [ - { - "content": "\n * This is a little funky. If its time to fetch a new Market summary\n * then we'll synchronize access to make sure only one requester does\n * it. Others will merely return the old copy until the new\n * MarketSummary has been executed.\n ", - "start_line": 144, - "end_line": 149, - "start_column": 5, - "end_column": 7, - "is_javadoc": true - }, - { - "content": "\n * Is it still ahead or did we miss lose the race? If we lost\n * then let's get out of here as the work has already been done.\n ", - "start_line": 158, - "end_line": 161, + "start_line": 778, "start_column": 9, - "end_column": 11, - "is_javadoc": true - }, - { - "content": "\n * If the server has been idle for a while then its possible\n * that nextMarketSummary could be way off. Rather than try\n * and play catch up we'll simply get in sync with the\n * current time + the interval.\n ", - "start_line": 166, - "end_line": 171, - "start_column": 11, - "end_column": 13, - "is_javadoc": true + "end_line": 778, + "end_column": 37 }, { - "content": "\n * If we're the lucky one then let's update the MarketSummary\n ", - "start_line": 178, - "end_line": 180, - "start_column": 7, - "end_column": 9, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public MarketSummaryDataBean getMarketSummary() throws Exception", - "parameters": [], - "code": "{\n\n if (TradeConfig.getMarketSummaryInterval() == 0) {\n return getMarketSummaryInternal();\n }\n if (TradeConfig.getMarketSummaryInterval() < 0) {\n return cachedMSDB;\n }\n\n /**\n * This is a little funky. If its time to fetch a new Market summary\n * then we'll synchronize access to make sure only one requester does\n * it. Others will merely return the old copy until the new\n * MarketSummary has been executed.\n */\n\n long currentTime = System.currentTimeMillis();\n\n if (currentTime > nextMarketSummary) {\n long oldNextMarketSummary = nextMarketSummary;\n boolean fetch = false;\n\n synchronized (marketSummaryLock) {\n /**\n * Is it still ahead or did we miss lose the race? If we lost\n * then let's get out of here as the work has already been done.\n */\n if (oldNextMarketSummary == nextMarketSummary) {\n fetch = true;\n nextMarketSummary += TradeConfig.getMarketSummaryInterval() * 1000;\n\n /**\n * If the server has been idle for a while then its possible\n * that nextMarketSummary could be way off. Rather than try\n * and play catch up we'll simply get in sync with the\n * current time + the interval.\n */\n if (nextMarketSummary < currentTime) {\n nextMarketSummary = currentTime + TradeConfig.getMarketSummaryInterval() * 1000;\n }\n }\n }\n\n /**\n * If we're the lucky one then let's update the MarketSummary\n */\n if (fetch) {\n cachedMSDB = getMarketSummaryInternal();\n \n }\n }\n\n return cachedMSDB;\n }", - "start_line": 134, - "end_line": 188, - "code_start_line": 135, - "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.cachedMSDB", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.marketSummaryLock", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.nextMarketSummary" - ], - "call_sites": [ - { - "method_name": "getMarketSummaryInterval", + "method_name": "close", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getMarketSummaryInterval()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 137, - "start_column": 9, - "end_line": 137, - "end_column": 46 + "start_line": 781, + "start_column": 7, + "end_line": 781, + "end_column": 18 }, { - "method_name": "getMarketSummaryInternal", + "method_name": "commit", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "getMarketSummaryInternal()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 138, - "start_column": 14, - "end_line": 138, - "end_column": 39 - }, - { - "method_name": "getMarketSummaryInterval", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "getMarketSummaryInterval()", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, - "start_column": 9, - "end_line": 140, - "end_column": 46 + "start_line": 782, + "start_column": 7, + "end_line": 782, + "end_column": 18 }, { - "method_name": "currentTimeMillis", + "method_name": "error", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getOrders -- error getting user orders\"", + "e" + ], "return_type": "", - "callee_signature": "currentTimeMillis()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, @@ -174251,73 +180922,86 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 151, - "start_column": 24, - "end_line": 151, - "end_column": 49 + "start_line": 785, + "start_column": 7, + "end_line": 785, + "end_column": 72 }, { - "method_name": "getMarketSummaryInterval", + "method_name": "rollBack", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", - "callee_signature": "getMarketSummaryInterval()", - "is_public": true, + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 164, - "start_column": 32, - "end_line": 164, - "end_column": 69 + "start_line": 786, + "start_column": 7, + "end_line": 786, + "end_column": 23 }, { - "method_name": "getMarketSummaryInterval", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "getMarketSummaryInterval()", - "is_public": true, + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 173, - "start_column": 47, - "end_line": 173, - "end_column": 84 + "start_line": 788, + "start_column": 7, + "end_line": 788, + "end_column": 23 }, { - "method_name": "getMarketSummaryInternal", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.util.ArrayList", "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "getMarketSummaryInternal()", - "is_public": true, + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 182, - "start_column": 22, - "end_line": 182, - "end_column": 47 + "start_line": 760, + "start_column": 48, + "end_line": 760, + "end_column": 77 } ], "variable_declarations": [ @@ -174330,13 +181014,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "currentTime", - "type": "long", - "initializer": "System.currentTimeMillis()", - "start_line": 151, - "start_column": 10, - "end_line": 151, - "end_column": 49 + "name": "orderDataBeans", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 760, + "start_column": 31, + "end_line": 760, + "end_column": 77 }, { "comment": { @@ -174347,13 +181031,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "oldNextMarketSummary", - "type": "long", - "initializer": "nextMarketSummary", - "start_line": 154, - "start_column": 12, - "end_line": 154, - "end_column": 51 + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 761, + "start_column": 16, + "end_line": 761, + "end_column": 26 }, { "comment": { @@ -174364,193 +181048,363 @@ "end_column": -1, "is_javadoc": false }, - "name": "fetch", - "type": "boolean", - "initializer": "false", - "start_line": 155, - "start_column": 15, - "end_line": 155, - "end_column": 27 + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getOrdersByUserSQL)", + "start_line": 767, + "start_column": 25, + "end_line": 767, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 770, + "start_column": 17, + "end_line": 770, + "end_column": 40 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 775, + "start_column": 11, + "end_line": 775, + "end_column": 15 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "getOrderDataFromResultSet(rs)", + "start_line": 777, + "start_column": 23, + "end_line": 777, + "end_column": 63 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 8, + "cyclomatic_complexity": 5, "is_entrypoint": false }, - "investmentReturn(double, double)": { + "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "investmentReturn(double, double)", - "comments": [], - "annotations": [ - "@Override" + "signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "comments": [ + { + "content": " pass exception back", + "start_line": 1396, + "end_line": 1396, + "start_column": 16, + "end_column": 37, + "is_javadoc": false + } ], + "annotations": [], "modifiers": [ - "public" + "private" ], - "thrown_exceptions": [], - "declaration": "public double investmentReturn(double rnd1, double rnd2)", + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private void publishQuotePriceChange(QuoteDataBean quoteData, BigDecimal oldPrice, BigDecimal changeFactor, double sharesTraded) throws Exception", "parameters": [ { - "type": "double", - "name": "rnd1", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quoteData", "annotations": [], "modifiers": [], - "start_line": 1829, - "end_line": 1829, - "start_column": 34, - "end_column": 44 + "start_line": 1370, + "end_line": 1370, + "start_column": 40, + "end_column": 62 + }, + { + "type": "java.math.BigDecimal", + "name": "oldPrice", + "annotations": [], + "modifiers": [], + "start_line": 1370, + "end_line": 1370, + "start_column": 65, + "end_column": 83 + }, + { + "type": "java.math.BigDecimal", + "name": "changeFactor", + "annotations": [], + "modifiers": [], + "start_line": 1370, + "end_line": 1370, + "start_column": 86, + "end_column": 108 }, { "type": "double", - "name": "rnd2", + "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 1829, - "end_line": 1829, - "start_column": 47, - "end_column": 57 + "start_line": 1370, + "end_line": 1370, + "start_column": 111, + "end_column": 129 } ], - "code": "{\n throw new UnsupportedOperationException();\n }", - "start_line": 1828, - "end_line": 1831, - "code_start_line": 1829, - "return_type": "double", + "code": "{\n\n Log.trace(\"TradeDirect:publishQuotePrice PUBLISHING to MDB quoteData = \" + quoteData); \n\n try (JMSContext context = topicConnectionFactory.createContext();){\n TextMessage message = context.createTextMessage();\n\n message.setStringProperty(\"command\", \"updateQuote\");\n message.setStringProperty(\"symbol\", quoteData.getSymbol());\n message.setStringProperty(\"company\", quoteData.getCompanyName());\n message.setStringProperty(\"price\", quoteData.getPrice().toString());\n message.setStringProperty(\"oldPrice\", oldPrice.toString());\n message.setStringProperty(\"open\", quoteData.getOpen().toString());\n message.setStringProperty(\"low\", quoteData.getLow().toString());\n message.setStringProperty(\"high\", quoteData.getHigh().toString());\n message.setDoubleProperty(\"volume\", quoteData.getVolume());\n\n message.setStringProperty(\"changeFactor\", changeFactor.toString());\n message.setDoubleProperty(\"sharesTraded\", sharesTraded);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Update Stock price for \" + quoteData.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quoteData.getPrice());\n\n\n context.createProducer().send(tradeStreamerTopic, message);\n\n } catch (Exception e) {\n throw e; // pass exception back\n\n }\n }", + "start_line": 1370, + "end_line": 1399, + "code_start_line": 1370, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], + "referenced_types": [ + "javax.jms.JMSContext", + "javax.jms.TextMessage" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.topicConnectionFactory", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.tradeStreamerTopic" + ], "call_sites": [ { - "method_name": "", + "method_name": "trace", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:publishQuotePrice PUBLISHING to MDB quoteData = \" + quoteData" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1372, + "start_column": 5, + "end_line": 1372, + "end_column": 89 + }, + { + "method_name": "createContext", + "comment": null, + "receiver_expr": "topicConnectionFactory", + "receiver_type": "javax.jms.TopicConnectionFactory", "argument_types": [], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException()", - "is_public": false, + "argument_expr": [], + "return_type": "javax.jms.JMSContext", + "callee_signature": "createContext()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1830, - "start_column": 11, - "end_line": 1830, - "end_column": 45 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuote(Connection, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getQuote(Connection, String)", - "comments": [ + "start_line": 1374, + "start_column": 31, + "end_line": 1374, + "end_column": 68 + }, { - "content": " symbol", - "start_line": 899, - "end_line": 899, - "start_column": 32, - "end_column": 40, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private QuoteDataBean getQuote(Connection conn, String symbol) throws Exception", - "parameters": [ + "method_name": "createTextMessage", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.TextMessage", + "callee_signature": "createTextMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1375, + "start_column": 29, + "end_line": 1375, + "end_column": 55 + }, { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 896, - "end_line": 896, - "start_column": 34, - "end_column": 48 + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"command\"", + "\"updateQuote\"" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1377, + "start_column": 7, + "end_line": 1377, + "end_column": 57 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"symbol\"", + "quoteData.getSymbol()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1378, + "start_column": 7, + "end_line": 1378, + "end_column": 64 }, { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 896, - "end_line": 896, - "start_column": 51, + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1378, + "start_column": 43, + "end_line": 1378, "end_column": 63 - } - ], - "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteSQL);\n stmt.setString(1, symbol); // symbol\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next() for symbol: \" + symbol);\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n\n stmt.close();\n\n return quoteData;\n }", - "start_line": 896, - "end_line": 912, - "code_start_line": 896, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteSQL" - ], - "call_sites": [ + }, { - "method_name": "getStatement", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection", + "java.lang.String", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"company\"", + "quoteData.getCompanyName()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 898, - "start_column": 30, - "end_line": 898, - "end_column": 60 + "start_line": 1379, + "start_column": 7, + "end_line": 1379, + "end_column": 70 }, { - "method_name": "setString", - "comment": { - "content": " symbol", - "start_line": 899, - "end_line": 899, - "start_column": 32, - "end_column": 40, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "method_name": "getCompanyName", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCompanyName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1379, + "start_column": 44, + "end_line": 1379, + "end_column": 69 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "", + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"price\"", + "quoteData.getPrice().toString()" + ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -174559,19 +181413,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 899, - "start_column": 5, - "end_line": 899, - "end_column": 29 + "start_line": 1380, + "start_column": 7, + "end_line": 1380, + "end_column": 73 }, { - "method_name": "executeQuery", + "method_name": "toString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "quoteData.getPrice()", + "receiver_type": "java.math.BigDecimal", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -174580,19 +181435,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 901, - "start_column": 20, - "end_line": 901, - "end_column": 38 + "start_line": 1380, + "start_column": 42, + "end_line": 1380, + "end_column": 72 }, { - "method_name": "next", + "method_name": "getPrice", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "next()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -174601,65 +181457,98 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 903, - "start_column": 10, - "end_line": 903, - "end_column": 18 + "start_line": 1380, + "start_column": 42, + "end_line": 1380, + "end_column": 61 }, { - "method_name": "error", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"oldPrice\"", + "oldPrice.toString()" + ], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 904, + "start_line": 1381, "start_column": 7, - "end_line": 904, - "end_column": 89 + "end_line": 1381, + "end_column": 64 }, { - "method_name": "getQuoteDataFromResultSet", + "method_name": "toString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "oldPrice", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1381, + "start_column": 45, + "end_line": 1381, + "end_column": 63 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.ResultSet" + "java.lang.String", + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", - "is_public": false, + "argument_expr": [ + "\"open\"", + "quoteData.getOpen().toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 906, - "start_column": 19, - "end_line": 906, - "end_column": 47 + "start_line": 1382, + "start_column": 7, + "end_line": 1382, + "end_column": 71 }, { - "method_name": "close", + "method_name": "toString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "quoteData.getOpen()", + "receiver_type": "java.math.BigDecimal", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -174668,165 +181557,142 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 909, - "start_column": 5, - "end_line": 909, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 897, - "start_column": 19, - "end_line": 897, - "end_column": 34 + "start_line": 1382, + "start_column": 41, + "end_line": 1382, + "end_column": 70 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getQuoteSQL)", - "start_line": 898, - "start_column": 23, - "end_line": 898, - "end_column": 60 + "method_name": "getOpen", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOpen()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1382, + "start_column": 41, + "end_line": 1382, + "end_column": 59 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 901, - "start_column": 15, - "end_line": 901, - "end_column": 38 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "getAllQuotes()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAllQuotes()", - "comments": [ + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"low\"", + "quoteData.getLow().toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1383, + "start_column": 7, + "end_line": 1383, + "end_column": 69 + }, { - "content": "\n * @see TradeServices#getAllQuotes(String)\n ", - "start_line": 932, - "end_line": 934, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Collection getAllQuotes() throws Exception", - "parameters": [], - "code": "{\n Collection quotes = new ArrayList();\n QuoteDataBean quoteData = null;\n\n Connection conn = null;\n try {\n conn = getConn();\n\n PreparedStatement stmt = getStatement(conn, getAllQuotesSQL);\n\n ResultSet rs = stmt.executeQuery();\n\n while (!rs.next()) {\n quoteData = getQuoteDataFromResultSet(rs);\n quotes.add(quoteData);\n }\n\n stmt.close();\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAllQuotes\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n\n return quotes;\n }", - "start_line": 935, - "end_line": 962, - "code_start_line": 936, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "java.util.Collection", - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAllQuotesSQL" - ], - "call_sites": [ + "method_name": "toString", + "comment": null, + "receiver_expr": "quoteData.getLow()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1383, + "start_column": 40, + "end_line": 1383, + "end_column": 68 + }, { - "method_name": "getConn", + "method_name": "getLow", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getLow()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 942, - "start_column": 14, - "end_line": 942, - "end_column": 22 + "start_line": 1383, + "start_column": 40, + "end_line": 1383, + "end_column": 57 }, { - "method_name": "getStatement", + "method_name": "setStringProperty", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection", + "java.lang.String", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"high\"", + "quoteData.getHigh().toString()" + ], + "return_type": "", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 944, - "start_column": 32, - "end_line": 944, - "end_column": 66 + "start_line": 1384, + "start_column": 7, + "end_line": 1384, + "end_column": 71 }, { - "method_name": "executeQuery", + "method_name": "toString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "quoteData.getHigh()", + "receiver_type": "java.math.BigDecimal", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -174835,19 +181701,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 946, - "start_column": 22, - "end_line": 946, - "end_column": 40 + "start_line": 1384, + "start_column": 41, + "end_line": 1384, + "end_column": 70 }, { - "method_name": "next", + "method_name": "getHigh", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "next()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getHigh()", "is_public": true, "is_protected": false, "is_private": false, @@ -174856,44 +181723,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 948, - "start_column": 15, - "end_line": 948, - "end_column": 23 + "start_line": 1384, + "start_column": 41, + "end_line": 1384, + "end_column": 59 }, { - "method_name": "getQuoteDataFromResultSet", + "method_name": "setDoubleProperty", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.ResultSet" + "java.lang.String", + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", - "is_public": false, + "argument_expr": [ + "\"volume\"", + "quoteData.getVolume()" + ], + "return_type": "", + "callee_signature": "setDoubleProperty(java.lang.String, double)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 949, - "start_column": 21, - "end_line": 949, - "end_column": 49 + "start_line": 1385, + "start_column": 7, + "end_line": 1385, + "end_column": 64 }, { - "method_name": "add", + "method_name": "getVolume", "comment": null, - "receiver_expr": "quotes", - "receiver_type": "java.util.Collection", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getVolume()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1385, + "start_column": 43, + "end_line": 1385, + "end_column": 63 + }, + { + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"changeFactor\"", + "changeFactor.toString()" ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -174902,19 +181801,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 950, - "start_column": 9, - "end_line": 950, - "end_column": 29 + "start_line": 1387, + "start_column": 7, + "end_line": 1387, + "end_column": 72 }, { - "method_name": "close", + "method_name": "toString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "changeFactor", + "receiver_type": "java.math.BigDecimal", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", "is_public": true, "is_protected": false, "is_private": false, @@ -174923,156 +181823,211 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 953, - "start_column": 7, - "end_line": 953, - "end_column": 18 + "start_line": 1387, + "start_column": 49, + "end_line": 1387, + "end_column": 71 }, { - "method_name": "error", + "method_name": "setDoubleProperty", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ "java.lang.String", - "java.lang.Exception" + "" + ], + "argument_expr": [ + "\"sharesTraded\"", + "sharesTraded" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "setDoubleProperty(java.lang.String, double)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 955, + "start_line": 1388, "start_column": 7, - "end_line": 955, - "end_column": 46 + "end_line": 1388, + "end_column": 61 }, { - "method_name": "rollBack", + "method_name": "setLongProperty", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.lang.String", + "" + ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "callee_signature": "setLongProperty(java.lang.String, long)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 956, + "start_line": 1389, "start_column": 7, - "end_line": 956, - "end_column": 23 + "end_line": 1389, + "end_column": 72 }, { - "method_name": "releaseConn", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1389, + "start_column": 46, + "end_line": 1389, + "end_column": 71 + }, + { + "method_name": "setText", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection" + "java.lang.String" + ], + "argument_expr": [ + "\"Update Stock price for \" + quoteData.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quoteData.getPrice()" ], "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "callee_signature": "setText(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 958, + "start_line": 1390, "start_column": 7, - "end_line": 958, - "end_column": 23 + "end_line": 1390, + "end_column": 142 }, { - "method_name": "", + "method_name": "getSymbol", "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 937, - "start_column": 40, - "end_line": 937, - "end_column": 69 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quotes", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 937, - "start_column": 31, - "end_line": 937, - "end_column": 69 + "start_line": 1390, + "start_column": 51, + "end_line": 1390, + "end_column": 71 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 938, - "start_column": 19, - "end_line": 938, - "end_column": 34 + "method_name": "getPrice", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1390, + "start_column": 122, + "end_line": 1390, + "end_column": 141 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 940, - "start_column": 16, - "end_line": 940, - "end_column": 26 + "method_name": "send", + "comment": null, + "receiver_expr": "context.createProducer()", + "receiver_type": "javax.jms.JMSProducer", + "argument_types": [ + "javax.jms.Topic", + "javax.jms.TextMessage" + ], + "argument_expr": [ + "tradeStreamerTopic", + "message" + ], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1393, + "start_column": 7, + "end_line": 1393, + "end_column": 64 }, + { + "method_name": "createProducer", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "createProducer()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1393, + "start_column": 7, + "end_line": 1393, + "end_column": 30 + } + ], + "variable_declarations": [ { "comment": { "content": null, @@ -175082,13 +182037,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAllQuotesSQL)", - "start_line": 944, - "start_column": 25, - "end_line": 944, - "end_column": 66 + "name": "context", + "type": "javax.jms.JMSContext", + "initializer": "topicConnectionFactory.createContext()", + "start_line": 1374, + "start_column": 21, + "end_line": 1374, + "end_column": 68 }, { "comment": { @@ -175099,137 +182054,308 @@ "end_column": -1, "is_javadoc": false }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 946, - "start_column": 17, - "end_line": 946, - "end_column": 40 + "name": "message", + "type": "javax.jms.TextMessage", + "initializer": "context.createTextMessage()", + "start_line": 1375, + "start_column": 19, + "end_line": 1375, + "end_column": 55 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 6, "is_entrypoint": false }, - "getOrderData(Connection, int)": { + "recreateDBTables(java.lang.Object[], java.io.PrintWriter)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getOrderData(Connection, int)", + "signature": "recreateDBTables(java.lang.Object[], java.io.PrintWriter)", "comments": [ { - "content": " already sold", - "start_line": 1150, - "end_line": 1150, - "start_column": 7, - "end_column": 21, + "content": " Clear MDB Statistics", + "start_line": 1594, + "end_line": 1594, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + { + "content": " commit(conn);", + "start_line": 1609, + "end_line": 1609, + "start_column": 11, + "end_column": 26, + "is_javadoc": false + }, + { + "content": " Ignore DROP statements as tables won't always exist.", + "start_line": 1611, + "end_line": 1611, + "start_column": 11, + "end_column": 65, "is_javadoc": false } ], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private OrderDataBean getOrderData(Connection conn, int orderID) throws Exception", + "declaration": "public boolean recreateDBTables(Object[] sqlBuffer, java.io.PrintWriter out) throws Exception", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", + "type": "java.lang.Object[]", + "name": "sqlBuffer", "annotations": [], "modifiers": [], - "start_line": 1141, - "end_line": 1141, - "start_column": 38, + "start_line": 1593, + "end_line": 1593, + "start_column": 35, "end_column": 52 }, { - "type": "int", - "name": "orderID", + "type": "java.io.PrintWriter", + "name": "out", "annotations": [], "modifiers": [], - "start_line": 1141, - "end_line": 1141, + "start_line": 1593, + "end_line": 1593, "start_column": 55, - "end_column": 65 + "end_column": 77 } ], - "code": "{\n OrderDataBean orderData = null;\n \n Log.trace(\"TradeDirect:getOrderData(conn, \" + orderID + \")\");\n \n PreparedStatement stmt = getStatement(conn, getOrderSQL);\n stmt.setInt(1, orderID);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n // already sold\n Log.error(\"TradeDirect:getOrderData -- no results for orderID:\" + orderID);\n } else {\n orderData = getOrderDataFromResultSet(rs);\n }\n stmt.close();\n return orderData;\n }", - "start_line": 1141, - "end_line": 1157, - "code_start_line": 1141, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n // Clear MDB Statistics\n MDBStats.getInstance().reset();\n\n Connection conn = null;\n boolean success = false;\n try {\n \n Log.trace(\"TradeDirect:recreateDBTables\");\n\n conn = getConn();\n Statement stmt = conn.createStatement();\n int bufferLength = sqlBuffer.length;\n for (int i = 0; i < bufferLength; i++) {\n try {\n stmt.executeUpdate((String) sqlBuffer[i]);\n // commit(conn);\n } catch (SQLException ex) {\n // Ignore DROP statements as tables won't always exist.\n if (((String) sqlBuffer[i]).indexOf(\"DROP \") < 0) {\n Log.error(\"TradeDirect:recreateDBTables SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i], ex);\n out.println(\"
    SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i] + \" . Check log for details.
    \");\n }\n }\n }\n stmt.close();\n commit(conn);\n success = true;\n } catch (Exception e) {\n Log.error(e, \"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\");\n } finally {\n releaseConn(conn);\n }\n return success;\n }", + "start_line": 1593, + "end_line": 1627, + "code_start_line": 1593, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.ResultSet", - "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "java.sql.Connection", + "java.sql.Statement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrderSQL" + "length" ], "call_sites": [ { - "method_name": "trace", + "method_name": "reset", + "comment": { + "content": " Clear MDB Statistics", + "start_line": 1594, + "end_line": 1594, + "start_column": 5, + "end_column": 27, + "is_javadoc": false + }, + "receiver_expr": "MDBStats.getInstance()", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "reset()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1595, + "start_column": 5, + "end_line": 1595, + "end_column": 34 + }, + { + "method_name": "getInstance", + "comment": null, + "receiver_expr": "MDBStats", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "callee_signature": "getInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1595, + "start_column": 5, + "end_line": 1595, + "end_column": 26 + }, + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:recreateDBTables\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1601, + "start_column": 7, + "end_line": 1601, + "end_column": 47 + }, + { + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1603, + "start_column": 14, + "end_line": 1603, + "end_column": 22 + }, + { + "method_name": "createStatement", + "comment": null, + "receiver_expr": "conn", + "receiver_type": "java.sql.Connection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Statement", + "callee_signature": "createStatement()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1604, + "start_column": 24, + "end_line": 1604, + "end_column": 45 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.Statement", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "(String) sqlBuffer[i]" + ], + "return_type": "", + "callee_signature": "executeUpdate(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1608, + "start_column": 11, + "end_line": 1608, + "end_column": 51 + }, + { + "method_name": "indexOf", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "((String) sqlBuffer[i])", + "receiver_type": "java.lang.String", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DROP \"" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "indexOf(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1144, - "start_column": 5, - "end_line": 1144, - "end_column": 64 + "start_line": 1612, + "start_column": 15, + "end_line": 1612, + "end_column": 54 }, { - "method_name": "getStatement", + "method_name": "error", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "java.lang.String", + "java.sql.SQLException" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"TradeDirect:recreateDBTables SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i]", + "ex" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1146, - "start_column": 30, - "end_line": 1146, - "end_column": 60 + "start_line": 1613, + "start_column": 13, + "end_line": 1613, + "end_column": 129 }, { - "method_name": "setInt", + "method_name": "println", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "out", + "receiver_type": "java.io.PrintWriter", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "\"
    SQL Exception thrown on executing the foll sql command: \" + sqlBuffer[i] + \" . Check log for details.
    \"" ], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "println(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -175238,19 +182364,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1147, - "start_column": 5, - "end_line": 1147, - "end_column": 27 + "start_line": 1614, + "start_column": 13, + "end_line": 1614, + "end_column": 144 }, { - "method_name": "executeQuery", + "method_name": "close", "comment": null, "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_type": "java.sql.Statement", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -175259,49 +182386,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1148, - "start_column": 20, - "end_line": 1148, - "end_column": 38 + "start_line": 1618, + "start_column": 7, + "end_line": 1618, + "end_column": 18 }, { - "method_name": "next", + "method_name": "commit", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "next()", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1149, - "start_column": 10, - "end_line": 1149, + "start_line": 1619, + "start_column": 7, + "end_line": 1619, "end_column": 18 }, { "method_name": "error", - "comment": { - "content": " already sold", - "start_line": 1150, - "end_line": 1150, - "start_column": 7, - "end_column": 21, - "is_javadoc": false - }, + "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ + "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeDirect:recreateDBTables() -- Error dropping and recreating the database tables\"" + ], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -175310,21 +182440,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1151, + "start_line": 1622, "start_column": 7, - "end_line": 1151, - "end_column": 80 + "end_line": 1622, + "end_column": 105 }, { - "method_name": "getOrderDataFromResultSet", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.ResultSet" + "java.sql.Connection" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, "is_protected": false, "is_private": true, @@ -175333,31 +182466,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1153, - "start_column": 19, - "end_line": 1153, - "end_column": 47 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1155, - "start_column": 5, - "end_line": 1155, - "end_column": 16 + "start_line": 1624, + "start_column": 7, + "end_line": 1624, + "end_column": 23 } ], "variable_declarations": [ @@ -175370,13 +182482,30 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "name": "conn", + "type": "java.sql.Connection", "initializer": "null", - "start_line": 1142, - "start_column": 19, - "end_line": 1142, - "end_column": 34 + "start_line": 1597, + "start_column": 16, + "end_line": 1597, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "success", + "type": "boolean", + "initializer": "false", + "start_line": 1598, + "start_column": 13, + "end_line": 1598, + "end_column": 27 }, { "comment": { @@ -175388,12 +182517,12 @@ "is_javadoc": false }, "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getOrderSQL)", - "start_line": 1146, - "start_column": 23, - "end_line": 1146, - "end_column": 60 + "type": "java.sql.Statement", + "initializer": "conn.createStatement()", + "start_line": 1604, + "start_column": 17, + "end_line": 1604, + "end_column": 45 }, { "comment": { @@ -175404,33 +182533,41 @@ "end_column": -1, "is_javadoc": false }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1148, - "start_column": 15, - "end_line": 1148, - "end_column": 38 + "name": "bufferLength", + "type": "int", + "initializer": "sqlBuffer.length", + "start_line": 1605, + "start_column": 11, + "end_line": 1605, + "end_column": 41 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "i", + "type": "int", + "initializer": "0", + "start_line": 1606, + "start_column": 16, + "end_line": 1606, + "end_column": 20 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 6, "is_entrypoint": false }, - "getQuoteForUpdate(Connection, String)": { + "updateOrderHolding(java.sql.Connection, int, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getQuoteForUpdate(Connection, String)", - "comments": [ - { - "content": " symbol", - "start_line": 917, - "end_line": 917, - "start_column": 32, - "end_column": 40, - "is_javadoc": false - } - ], + "signature": "updateOrderHolding(java.sql.Connection, int, int)", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -175438,43 +182575,51 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private QuoteDataBean getQuoteForUpdate(Connection conn, String symbol) throws Exception", + "declaration": "private void updateOrderHolding(Connection conn, int orderID, int holdingID) throws Exception", "parameters": [ { "type": "java.sql.Connection", "name": "conn", "annotations": [], "modifiers": [], - "start_line": 914, - "end_line": 914, - "start_column": 43, - "end_column": 57 + "start_line": 1265, + "end_line": 1265, + "start_column": 35, + "end_column": 49 }, { - "type": "java.lang.String", - "name": "symbol", + "type": "int", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 914, - "end_line": 914, - "start_column": 60, - "end_column": 72 + "start_line": 1265, + "end_line": 1265, + "start_column": 52, + "end_column": 62 + }, + { + "type": "int", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 1265, + "end_line": 1265, + "start_column": 65, + "end_column": 77 } ], - "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteForUpdateSQL);\n stmt.setString(1, symbol); // symbol\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next()\");\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n\n stmt.close();\n\n return quoteData;\n }", - "start_line": 914, - "end_line": 930, - "code_start_line": 914, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n PreparedStatement stmt = getStatement(conn, updateOrderHoldingSQL);\n\n stmt.setInt(1, holdingID);\n stmt.setInt(2, orderID);\n stmt.executeUpdate();\n stmt.close();\n }", + "start_line": 1265, + "end_line": 1272, + "code_start_line": 1265, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteForUpdateSQL" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateOrderHoldingSQL" ], "call_sites": [ { @@ -175486,6 +182631,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "updateOrderHoldingSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -175496,29 +182645,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 916, + "start_line": 1266, "start_column": 30, - "end_line": 916, - "end_column": 69 + "end_line": 1266, + "end_column": 70 }, { - "method_name": "setString", - "comment": { - "content": " symbol", - "start_line": 917, - "end_line": 917, - "start_column": 32, - "end_column": 40, - "is_javadoc": false - }, + "method_name": "setInt", + "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.lang.String" + "" + ], + "argument_expr": [ + "1", + "holdingID" ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -175527,40 +182673,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 917, + "start_line": 1268, "start_column": 5, - "end_line": 917, + "end_line": 1268, "end_column": 29 }, { - "method_name": "executeQuery", + "method_name": "setInt", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 919, - "start_column": 20, - "end_line": 919, - "end_column": 38 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "2", + "orderID" + ], "return_type": "", - "callee_signature": "next()", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -175569,56 +182701,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 921, - "start_column": 10, - "end_line": 921, - "end_column": 18 + "start_line": 1269, + "start_column": 5, + "end_line": 1269, + "end_column": 27 }, { - "method_name": "error", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 922, - "start_column": 7, - "end_line": 922, - "end_column": 67 - }, - { - "method_name": "getQuoteDataFromResultSet", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 924, - "start_column": 19, - "end_line": 924, - "end_column": 47 + "start_line": 1270, + "start_column": 5, + "end_line": 1270, + "end_column": 24 }, { "method_name": "close", @@ -175626,6 +182734,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -175636,30 +182745,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 927, + "start_line": 1271, "start_column": 5, - "end_line": 927, + "end_line": 1271, "end_column": 16 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 915, - "start_column": 19, - "end_line": 915, - "end_column": 34 - }, { "comment": { "content": null, @@ -175671,93 +182763,52 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getQuoteForUpdateSQL)", - "start_line": 916, + "initializer": "getStatement(conn, updateOrderHoldingSQL)", + "start_line": 1266, "start_column": 23, - "end_line": 916, - "end_column": 69 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 919, - "start_column": 15, - "end_line": 919, - "end_column": 38 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "setInSession(boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "setInSession(boolean)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setInSession(boolean inSession)", - "parameters": [ - { - "type": "boolean", - "name": "inSession", - "annotations": [], - "modifiers": [], - "start_line": 1810, - "end_line": 1810, - "start_column": 28, - "end_column": 44 + "end_line": 1266, + "end_column": 70 } ], - "code": "{\n this.inSession = inSession;\n }", - "start_line": 1810, - "end_line": 1812, - "code_start_line": 1810, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "completeOrder(Integer, boolean)": { + "getMarketSummary()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "completeOrder(Integer, boolean)", + "signature": "getMarketSummary()", "comments": [ { - "content": " twoPhase", - "start_line": 513, - "end_line": 513, + "content": "\n * This is a little funky. If its time to fetch a new Market summary\n * then we'll synchronize access to make sure only one requester does\n * it. Others will merely return the old copy until the new\n * MarketSummary has been executed.\n ", + "start_line": 144, + "end_line": 149, + "start_column": 5, + "end_column": 7, + "is_javadoc": true + }, + { + "content": "\n * Is it still ahead or did we miss lose the race? If we lost\n * then let's get out of here as the work has already been done.\n ", + "start_line": 158, + "end_line": 161, + "start_column": 9, + "end_column": 11, + "is_javadoc": true + }, + { + "content": "\n * If the server has been idle for a while then its possible\n * that nextMarketSummary could be way off. Rather than try\n * and play catch up we'll simply get in sync with the\n * current time + the interval.\n ", + "start_line": 166, + "end_line": 171, "start_column": 11, - "end_column": 21, - "is_javadoc": false + "end_column": 13, + "is_javadoc": true }, { - "content": "\n * @see TradeServices#completeOrder(Integer)\n ", - "start_line": 505, - "end_line": 507, - "start_column": 3, - "end_column": 5, + "content": "\n * If we're the lucky one then let's update the MarketSummary\n ", + "start_line": 178, + "end_line": 180, + "start_column": 7, + "end_column": 9, "is_javadoc": true } ], @@ -175770,55 +182821,31 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean completeOrder(Integer orderID, boolean twoPhase) throws Exception", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 38, - "end_column": 52 - }, - { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 509, - "end_line": 509, - "start_column": 55, - "end_column": 70 - } - ], - "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n\n try { // twoPhase\n\n \n Log.trace(\"TradeDirect:completeOrder - inSession(\" + this.inSession + \")\", orderID);\n \n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n\n orderData = completeOrder(conn, orderID);\n\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:completeOrder -- error completing order\", e);\n rollBack(conn, e);\n cancelOrder(orderID, twoPhase);\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n\n }", - "start_line": 508, - "end_line": 535, - "code_start_line": 509, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "declaration": "public MarketSummaryDataBean getMarketSummary() throws Exception", + "parameters": [], + "code": "{\n\n if (TradeConfig.getMarketSummaryInterval() == 0) {\n return getMarketSummaryInternal();\n }\n if (TradeConfig.getMarketSummaryInterval() < 0) {\n return cachedMSDB;\n }\n\n /**\n * This is a little funky. If its time to fetch a new Market summary\n * then we'll synchronize access to make sure only one requester does\n * it. Others will merely return the old copy until the new\n * MarketSummary has been executed.\n */\n\n long currentTime = System.currentTimeMillis();\n\n if (currentTime > nextMarketSummary) {\n long oldNextMarketSummary = nextMarketSummary;\n boolean fetch = false;\n\n synchronized (marketSummaryLock) {\n /**\n * Is it still ahead or did we miss lose the race? If we lost\n * then let's get out of here as the work has already been done.\n */\n if (oldNextMarketSummary == nextMarketSummary) {\n fetch = true;\n nextMarketSummary += TradeConfig.getMarketSummaryInterval() * 1000;\n\n /**\n * If the server has been idle for a while then its possible\n * that nextMarketSummary could be way off. Rather than try\n * and play catch up we'll simply get in sync with the\n * current time + the interval.\n */\n if (nextMarketSummary < currentTime) {\n nextMarketSummary = currentTime + TradeConfig.getMarketSummaryInterval() * 1000;\n }\n }\n }\n\n /**\n * If we're the lucky one then let's update the MarketSummary\n */\n if (fetch) {\n cachedMSDB = getMarketSummaryInternal();\n \n }\n }\n\n return cachedMSDB;\n }", + "start_line": 134, + "end_line": 188, + "code_start_line": 135, + "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.cachedMSDB", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.marketSummaryLock", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.nextMarketSummary" ], "call_sites": [ { - "method_name": "trace", + "method_name": "getMarketSummaryInterval", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Integer" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "getMarketSummaryInterval()", "is_public": true, "is_protected": false, "is_private": false, @@ -175827,113 +182854,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 516, - "start_column": 7, - "end_line": 516, - "end_column": 89 - }, - { - "method_name": "setInGlobalTxn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 518, - "start_column": 7, - "end_line": 518, - "end_column": 44 + "start_line": 137, + "start_column": 9, + "end_line": 137, + "end_column": 46 }, { - "method_name": "getConn", + "method_name": "getMarketSummaryInternal", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "callee_signature": "getMarketSummaryInternal()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 519, + "start_line": 138, "start_column": 14, - "end_line": 519, - "end_column": 22 - }, - { - "method_name": "completeOrder", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Integer" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 521, - "start_column": 19, - "end_line": 521, - "end_column": 46 + "end_line": 138, + "end_column": 39 }, { - "method_name": "commit", + "method_name": "getMarketSummaryInterval", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "getMarketSummaryInterval()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 523, - "start_column": 7, - "end_line": 523, - "end_column": 18 + "start_line": 140, + "start_column": 9, + "end_line": 140, + "end_column": 46 }, { - "method_name": "error", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, @@ -175942,81 +182920,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 526, - "start_column": 7, - "end_line": 526, - "end_column": 73 + "start_line": 151, + "start_column": 24, + "end_line": 151, + "end_column": 49 }, { - "method_name": "rollBack", + "method_name": "getMarketSummaryInterval", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "callee_signature": "getMarketSummaryInterval()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 527, - "start_column": 7, - "end_line": 527, - "end_column": 23 + "start_line": 164, + "start_column": 32, + "end_line": 164, + "end_column": 69 }, { - "method_name": "cancelOrder", + "method_name": "getMarketSummaryInterval", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Integer", - "" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "cancelOrder(java.lang.Integer, boolean)", + "callee_signature": "getMarketSummaryInterval()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 528, - "start_column": 7, - "end_line": 528, - "end_column": 36 + "start_line": 173, + "start_column": 47, + "end_line": 173, + "end_column": 84 }, { - "method_name": "releaseConn", + "method_name": "getMarketSummaryInternal", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", + "callee_signature": "getMarketSummaryInternal()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 530, - "start_column": 7, - "end_line": 530, - "end_column": 23 + "start_line": 182, + "start_column": 22, + "end_line": 182, + "end_column": 47 } ], "variable_declarations": [ @@ -176029,13 +183002,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "null", - "start_line": 510, - "start_column": 19, - "end_line": 510, - "end_column": 34 + "name": "currentTime", + "type": "long", + "initializer": "System.currentTimeMillis()", + "start_line": 151, + "start_column": 10, + "end_line": 151, + "end_column": 49 }, { "comment": { @@ -176046,245 +183019,298 @@ "end_column": -1, "is_javadoc": false }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 511, - "start_column": 16, - "end_line": 511, - "end_column": 26 + "name": "oldNextMarketSummary", + "type": "long", + "initializer": "nextMarketSummary", + "start_line": 154, + "start_column": 12, + "end_line": 154, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "fetch", + "type": "boolean", + "initializer": "false", + "start_line": 155, + "start_column": 15, + "end_line": 155, + "end_column": 27 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 8, "is_entrypoint": false }, - "commit(Connection)": { + "investmentReturn(double, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "commit(Connection)", + "signature": "investmentReturn(double, double)", "comments": [], - "annotations": [], - "modifiers": [ - "private" + "annotations": [ + "@Override" ], - "thrown_exceptions": [ - "java.lang.Exception" + "modifiers": [ + "public" ], - "declaration": "private void commit(Connection conn) throws Exception", + "thrown_exceptions": [], + "declaration": "public double investmentReturn(double rnd1, double rnd2)", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", + "type": "double", + "name": "rnd1", "annotations": [], "modifiers": [], - "start_line": 1683, - "end_line": 1683, - "start_column": 23, - "end_column": 37 + "start_line": 1829, + "end_line": 1829, + "start_column": 34, + "end_column": 44 + }, + { + "type": "double", + "name": "rnd2", + "annotations": [], + "modifiers": [], + "start_line": 1829, + "end_line": 1829, + "start_column": 47, + "end_column": 57 } ], - "code": "{\n if (!inSession) {\n if ((getInGlobalTxn() == false) && (conn != null)) {\n conn.commit();\n }\n }\n }", - "start_line": 1683, - "end_line": 1689, - "code_start_line": 1683, - "return_type": "void", + "code": "{\n throw new UnsupportedOperationException();\n }", + "start_line": 1828, + "end_line": 1831, + "code_start_line": 1829, + "return_type": "double", "is_implicit": false, "is_constructor": false, "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], + "accessed_fields": [], "call_sites": [ { - "method_name": "getInGlobalTxn", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.lang.UnsupportedOperationException", "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", + "argument_expr": [], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException()", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1685, - "start_column": 12, - "end_line": 1685, - "end_column": 27 - }, - { - "method_name": "commit", - "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "argument_types": [], - "return_type": "", - "callee_signature": "commit()", - "is_public": true, - "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1686, - "start_column": 9, - "end_line": 1686, - "end_column": 21 + "start_line": 1830, + "start_column": 11, + "end_line": 1830, + "end_column": 45 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getStatement(Connection, String)": { + "buy(java.lang.String, java.lang.String, double, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getStatement(Connection, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private PreparedStatement getStatement(Connection conn, String sql) throws Exception", - "parameters": [ + "signature": "buy(java.lang.String, java.lang.String, double, int)", + "comments": [ { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1709, - "end_line": 1709, - "start_column": 42, - "end_column": 56 + "content": "conn = getConn();", + "start_line": 315, + "end_line": 315, + "start_column": 7, + "end_column": 25, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "sql", - "annotations": [], - "modifiers": [], - "start_line": 1709, - "end_line": 1709, - "start_column": 59, - "end_column": 68 - } - ], - "code": "{\n return conn.prepareStatement(sql);\n }", - "start_line": 1709, - "end_line": 1711, - "code_start_line": 1709, - "return_type": "java.sql.PreparedStatement", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ + "content": " the holding", + "start_line": 320, + "end_line": 320, + "start_column": 7, + "end_column": 20, + "is_javadoc": false + }, { - "method_name": "prepareStatement", - "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "prepareStatement(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1710, - "start_column": 12, - "end_line": 1710, - "end_column": 37 + "content": ", userID, symbol, new Double(quantity));", + "start_line": 303, + "end_line": 303, + "start_column": 72, + "end_column": 113, + "is_javadoc": false + }, + { + "content": " the buy operation will create", + "start_line": 319, + "end_line": 319, + "start_column": 43, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " Update -- account should be credited during completeOrder", + "start_line": 324, + "end_line": 324, + "start_column": 7, + "end_column": 66, + "is_javadoc": false + }, + { + "content": " subtract total from account balance", + "start_line": 328, + "end_line": 328, + "start_column": 7, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " 2-phase", + "start_line": 339, + "end_line": 339, + "start_column": 38, + "end_column": 47, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#buy(String, String, double)\n ", + "start_line": 289, + "end_line": 291, + "start_column": 3, + "end_column": 5, + "is_javadoc": true } ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "releaseConn(Connection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "releaseConn(Connection)", - "comments": [], - "annotations": [], + "annotations": [ + "@Override", + "@NotNull" + ], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private void releaseConn(Connection conn) throws Exception", + "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1633, - "end_line": 1633, + "start_line": 294, + "end_line": 294, "start_column": 28, - "end_column": 42 + "end_column": 40 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 43, + "end_column": 55 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 58, + "end_column": 72 + }, + { + "type": "int", + "name": "orderProcessingMode", + "annotations": [], + "modifiers": [], + "start_line": 294, + "end_line": 294, + "start_column": 75, + "end_column": 97 } ], - "code": "{\n try {\n if (conn != null) {\n conn.close();\n if (Log.doTrace()) {\n synchronized (lock) {\n connCount--;\n }\n Log.trace(\"TradeDirect:releaseConn -- connection closed, connCount=\" + connCount);\n }\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:releaseConnection -- failed to close connection\", e);\n }\n }", - "start_line": 1633, - "end_line": 1647, - "code_start_line": 1633, - "return_type": "void", + "code": "{\n\n final Connection conn = getConn();\n OrderDataBean orderData = null;\n\n BigDecimal total;\n\n try {\n\n Log.trace(\"TradeDirect:buy - inSession(\" + this.inSession + \")\");//, userID, symbol, new Double(quantity));\n\n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n\n Log.trace(\"TradeDirect:buy create/begin global transaction\");\n\n\n txn.begin();\n setInGlobalTxn(true);\n }\n\n //conn = getConn();\n\n AccountDataBean accountData = getAccountData(conn, userID);\n QuoteDataBean quoteData = getQuoteData(conn, symbol);\n HoldingDataBean holdingData = null; // the buy operation will create\n // the holding\n\n orderData = createOrder(accountData, quoteData, holdingData, \"buy\", quantity);\n\n // Update -- account should be credited during completeOrder\n BigDecimal price = quoteData.getPrice();\n BigDecimal orderFee = orderData.getOrderFee();\n total = (new BigDecimal(quantity).multiply(price)).add(orderFee);\n // subtract total from account balance\n creditAccountBalance(conn, accountData, total.negate());\n final Integer orderID = orderData.getOrderID();\n\n try {\n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(conn, orderData.getOrderID());\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, true);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true); // 2-phase\n } \n } catch (JMSException je) {\n Log.error(\"TradeBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed to queueOrder\", je);\n\n\n cancelOrder(conn, orderData.getOrderID());\n }\n\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n\n if (getInGlobalTxn()) {\n \n Log.trace(\"TradeDirect:buy committing global transaction\");\n \n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n txn.commit();\n setInGlobalTxn(false);\n }\n } else {\n commit(conn);\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:buy error - rolling back\", e);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, e);\n }\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", + "start_line": 292, + "end_line": 373, + "code_start_line": 294, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.math.BigDecimal", + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.lang.Integer", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.connCount", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.lock" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.txn", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "close", + "method_name": "getConn", "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1636, - "start_column": 9, - "end_line": 1636, - "end_column": 20 + "start_line": 296, + "start_column": 29, + "end_line": 296, + "end_column": 37 }, { - "method_name": "doTrace", - "comment": null, + "method_name": "trace", + "comment": { + "content": ", userID, symbol, new Double(quantity));", + "start_line": 303, + "end_line": 303, + "start_column": 72, + "end_column": 113, + "is_javadoc": false + }, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [], + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:buy - inSession(\" + this.inSession + \")\"" + ], "return_type": "", - "callee_signature": "doTrace()", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -176293,10 +183319,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1637, - "start_column": 13, - "end_line": 1637, - "end_column": 25 + "start_line": 303, + "start_column": 7, + "end_line": 303, + "end_column": 70 }, { "method_name": "trace", @@ -176306,6 +183332,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:buy create/begin global transaction\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -176316,152 +183345,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1641, - "start_column": 11, - "end_line": 1641, - "end_column": 91 + "start_line": 308, + "start_column": 9, + "end_line": 308, + "end_column": 68 }, { - "method_name": "error", + "method_name": "begin", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "begin()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1645, - "start_column": 7, - "end_line": 1645, - "end_column": 81 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, - "getOrders(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getOrders(String)", - "comments": [ - { - "content": " TODO: return top 5 orders for now -- next version will add a", - "start_line": 772, - "end_line": 772, - "start_column": 7, - "end_column": 69, - "is_javadoc": false - }, - { - "content": " getAllOrders method", - "start_line": 773, - "end_line": 773, - "start_column": 7, - "end_column": 28, - "is_javadoc": false - }, - { - "content": " also need to get orders sorted by order id descending", - "start_line": 774, - "end_line": 774, - "start_column": 7, - "end_column": 62, - "is_javadoc": false + "start_line": 311, + "start_column": 9, + "end_line": 311, + "end_column": 19 }, { - "content": "\n * @see TradeServices#getOrders(String)\n ", - "start_line": 755, - "end_line": 757, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Collection getOrders(String userID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 759, - "end_line": 759, - "start_column": 46, - "end_column": 58 - } - ], - "code": "{\n Collection orderDataBeans = new ArrayList();\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:getOrders - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getOrdersByUserSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n // TODO: return top 5 orders for now -- next version will add a\n // getAllOrders method\n // also need to get orders sorted by order id descending\n int i = 0;\n while ((rs.next()) && (i++ < 5)) {\n OrderDataBean orderData = getOrderDataFromResultSet(rs);\n orderDataBeans.add(orderData);\n }\n\n stmt.close();\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getOrders -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return orderDataBeans;\n }", - "start_line": 758, - "end_line": 791, - "code_start_line": 759, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection", - "java.sql.Connection", - "java.sql.ResultSet", - "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrdersByUserSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ - { - "method_name": "trace", + "method_name": "setInGlobalTxn", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.String" + "" + ], + "argument_expr": [ + "true" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", - "is_public": true, + "callee_signature": "setInGlobalTxn(boolean)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 763, - "start_column": 7, - "end_line": 763, - "end_column": 84 + "start_line": 312, + "start_column": 9, + "end_line": 312, + "end_column": 28 }, { - "method_name": "getConn", + "method_name": "getAccountData", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -176470,13 +183421,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 766, - "start_column": 14, - "end_line": 766, - "end_column": 22 + "start_line": 317, + "start_column": 37, + "end_line": 317, + "end_column": 64 }, { - "method_name": "getStatement", + "method_name": "getQuoteData", "comment": null, "receiver_expr": "", "receiver_type": "", @@ -176484,8 +183435,12 @@ "java.sql.Connection", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuoteData(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -176494,22 +183449,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 767, - "start_column": 32, - "end_line": 767, - "end_column": 69 + "start_line": 318, + "start_column": 33, + "end_line": 318, + "end_column": 58 }, { - "method_name": "setString", + "method_name": "createOrder", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.lang.String", + "" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "argument_expr": [ + "accountData", + "quoteData", + "holdingData", + "\"buy\"", + "quantity" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -176518,19 +183483,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 768, - "start_column": 7, - "end_line": 768, - "end_column": 31 + "start_line": 322, + "start_column": 19, + "end_line": 322, + "end_column": 83 }, { - "method_name": "executeQuery", + "method_name": "getPrice", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -176539,19 +183505,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 770, - "start_column": 22, - "end_line": 770, - "end_column": 40 + "start_line": 325, + "start_column": 26, + "end_line": 325, + "end_column": 45 }, { - "method_name": "next", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "next()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee()", "is_public": true, "is_protected": false, "is_private": false, @@ -176560,21 +183527,87 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 776, + "start_line": 326, + "start_column": 29, + "end_line": 326, + "end_column": 51 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "(new BigDecimal(quantity).multiply(price))", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "orderFee" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "add(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 327, "start_column": 15, - "end_line": 776, - "end_column": 23 + "end_line": 327, + "end_column": 70 }, { - "method_name": "getOrderDataFromResultSet", + "method_name": "multiply", "comment": null, + "receiver_expr": "new BigDecimal(quantity)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "price" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "multiply(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 327, + "start_column": 16, + "end_line": 327, + "end_column": 55 + }, + { + "method_name": "creditAccountBalance", + "comment": { + "content": " subtract total from account balance", + "start_line": 328, + "end_line": 328, + "start_column": 7, + "end_column": 44, + "is_javadoc": false + }, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.ResultSet" + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "conn", + "accountData", + "total.negate()" + ], + "return_type": "", + "callee_signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", "is_public": false, "is_protected": false, "is_private": true, @@ -176583,21 +183616,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 777, - "start_column": 35, - "end_line": 777, - "end_column": 63 + "start_line": 329, + "start_column": 7, + "end_line": 329, + "end_column": 61 }, { - "method_name": "add", + "method_name": "negate", "comment": null, - "receiver_expr": "orderDataBeans", - "receiver_type": "java.util.Collection", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "return_type": "", - "callee_signature": "add(E)", + "receiver_expr": "total", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "negate()", "is_public": true, "is_protected": false, "is_private": false, @@ -176606,19 +183638,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 778, - "start_column": 9, - "end_line": 778, - "end_column": 37 + "start_line": 329, + "start_column": 47, + "end_line": 329, + "end_column": 60 }, { - "method_name": "close", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -176627,21 +183660,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 781, - "start_column": 7, - "end_line": 781, - "end_column": 18 + "start_line": 330, + "start_column": 31, + "end_line": 330, + "end_column": 52 }, { - "method_name": "commit", + "method_name": "completeOrder", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.sql.Connection", + "java.lang.Integer" ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "argument_expr": [ + "conn", + "orderData.getOrderID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": true, @@ -176650,10 +183688,95 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 782, - "start_column": 7, - "end_line": 782, - "end_column": 18 + "start_line": 335, + "start_column": 11, + "end_line": 335, + "end_column": 53 + }, + { + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 335, + "start_column": 31, + "end_line": 335, + "end_column": 52 + }, + { + "method_name": "completeOrderAsync", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "true" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 337, + "start_column": 11, + "end_line": 337, + "end_column": 43 + }, + { + "method_name": "queueOrder", + "comment": { + "content": " 2-phase", + "start_line": 339, + "end_line": 339, + "start_column": 38, + "end_column": 47, + "is_javadoc": false + }, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "true" + ], + "return_type": "", + "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 339, + "start_column": 11, + "end_line": 339, + "end_column": 35 }, { "method_name": "error", @@ -176662,7 +183785,11 @@ "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.Exception" + "javax.jms.JMSException" + ], + "argument_expr": [ + "\"TradeBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed to queueOrder\"", + "je" ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", @@ -176674,22 +183801,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 785, - "start_column": 7, - "end_line": 785, - "end_column": 72 + "start_line": 342, + "start_column": 9, + "end_line": 342, + "end_column": 111 }, { - "method_name": "rollBack", + "method_name": "cancelOrder", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Exception" + "java.lang.Integer" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": true, @@ -176698,21 +183829,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 786, - "start_column": 7, - "end_line": 786, - "end_column": 23 + "start_line": 345, + "start_column": 9, + "end_line": 345, + "end_column": 49 }, { - "method_name": "releaseConn", + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 345, + "start_column": 27, + "end_line": 345, + "end_column": 48 + }, + { + "method_name": "getOrderData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.sql.Connection", + "" ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", + "argument_expr": [ + "conn", + "orderData.getOrderID().intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderData(java.sql.Connection, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -176721,194 +183879,90 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 788, - "start_column": 7, - "end_line": 788, - "end_column": 23 + "start_line": 348, + "start_column": 19, + "end_line": 348, + "end_column": 71 }, { - "method_name": "", + "method_name": "intValue", "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", + "receiver_expr": "orderData.getOrderID()", + "receiver_type": "java.lang.Integer", "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 760, - "start_column": 48, - "end_line": 760, - "end_column": 77 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderDataBeans", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 760, - "start_column": 31, - "end_line": 760, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 761, - "start_column": 16, - "end_line": 761, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getOrdersByUserSQL)", - "start_line": 767, - "start_column": 25, - "end_line": 767, - "end_column": 69 + "start_line": 348, + "start_column": 38, + "end_line": 348, + "end_column": 70 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 770, - "start_column": 17, - "end_line": 770, - "end_column": 40 + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 348, + "start_column": 38, + "end_line": 348, + "end_column": 59 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "i", - "type": "int", - "initializer": "0", - "start_line": 775, + "method_name": "getInGlobalTxn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getInGlobalTxn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 350, "start_column": 11, - "end_line": 775, - "end_column": 15 + "end_line": 350, + "end_column": 26 }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "getOrderDataFromResultSet(rs)", - "start_line": 777, - "start_column": 23, - "end_line": 777, - "end_column": 63 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, - "getQuote(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getQuote(String)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public QuoteDataBean getQuote(String symbol) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 875, - "end_line": 875, - "start_column": 33, - "end_column": 45 - } - ], - "code": "{\n QuoteDataBean quoteData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:getQuote - inSession(\" + this.inSession + \")\", symbol);\n \n\n conn = getConn();\n quoteData = getQuote(conn, symbol);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getQuote -- error getting quote\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", - "start_line": 874, - "end_line": 894, - "code_start_line": 875, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ { "method_name": "trace", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:buy committing global transaction\"" + ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -176917,43 +183971,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 881, - "start_column": 7, - "end_line": 881, - "end_column": 83 + "start_line": 352, + "start_column": 9, + "end_line": 352, + "end_column": 66 }, { - "method_name": "getConn", + "method_name": "commit", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "commit()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 884, - "start_column": 14, - "end_line": 884, + "start_line": 355, + "start_column": 11, + "end_line": 355, "end_column": 22 }, { - "method_name": "getQuote", + "method_name": "setInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "false" + ], + "return_type": "", + "callee_signature": "setInGlobalTxn(boolean)", "is_public": false, "is_protected": false, "is_private": true, @@ -176962,10 +184019,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 885, - "start_column": 19, - "end_line": 885, - "end_column": 40 + "start_line": 356, + "start_column": 11, + "end_line": 356, + "end_column": 31 }, { "method_name": "commit", @@ -176975,6 +184032,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -176985,10 +184045,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 886, - "start_column": 7, - "end_line": 886, - "end_column": 18 + "start_line": 359, + "start_column": 9, + "end_line": 359, + "end_column": 20 }, { "method_name": "error", @@ -176999,6 +184059,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:buy error - rolling back\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -177009,10 +184073,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 888, + "start_line": 362, "start_column": 7, - "end_line": 888, - "end_column": 65 + "end_line": 362, + "end_column": 58 + }, + { + "method_name": "getInGlobalTxn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getInGlobalTxn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 363, + "start_column": 11, + "end_line": 363, + "end_column": 26 + }, + { + "method_name": "rollback", + "comment": null, + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "rollback()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 364, + "start_column": 9, + "end_line": 364, + "end_column": 22 }, { "method_name": "rollBack", @@ -177023,6 +184131,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -177033,10 +184145,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 889, - "start_column": 7, - "end_line": 889, - "end_column": 23 + "start_line": 366, + "start_column": 9, + "end_line": 366, + "end_column": 25 }, { "method_name": "releaseConn", @@ -177046,6 +184158,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -177056,10 +184171,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 891, + "start_line": 369, "start_column": 7, - "end_line": 891, + "end_line": 369, "end_column": 23 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 327, + "start_column": 16, + "end_line": 327, + "end_column": 39 } ], "variable_declarations": [ @@ -177072,12 +184213,29 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "conn", + "type": "java.sql.Connection", + "initializer": "getConn()", + "start_line": 296, + "start_column": 22, + "end_line": 296, + "end_column": 37 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 876, + "start_line": 297, "start_column": 19, - "end_line": 876, + "end_line": 297, "end_column": 34 }, { @@ -177089,97 +184247,126 @@ "end_column": -1, "is_javadoc": false }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 877, + "name": "total", + "type": "java.math.BigDecimal", + "initializer": "", + "start_line": 299, "start_column": 16, - "end_line": 877, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "completeOrder(Connection, Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "completeOrder(Connection, Integer)", - "comments": [ - { - "content": " get the data for the account and quote", - "start_line": 581, - "end_line": 581, - "start_column": 5, - "end_column": 45, - "is_javadoc": false - }, - { - "content": " the holding will be created for a buy or extracted for a sell", - "start_line": 582, - "end_line": 582, - "start_column": 5, - "end_column": 68, - "is_javadoc": false - }, - { - "content": "conn = getConn();", - "start_line": 547, - "end_line": 547, - "start_column": 5, - "end_column": 23, - "is_javadoc": false + "end_line": 299, + "end_column": 20 }, { - "content": " if (order.isCompleted())", - "start_line": 568, - "end_line": 568, - "start_column": 5, - "end_column": 31, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "getAccountData(conn, userID)", + "start_line": 317, + "start_column": 23, + "end_line": 317, + "end_column": 64 }, { - "content": "\n * Use the AccountID and Quote Symbol from the Order AccountDataBean\n * accountData = getAccountData(accountID, conn); QuoteDataBean\n * quoteData = getQuoteData(conn, quoteID);\n ", - "start_line": 584, - "end_line": 588, - "start_column": 5, - "end_column": 7, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "getQuoteData(conn, symbol)", + "start_line": 318, + "start_column": 21, + "end_line": 318, + "end_column": 58 }, { - "content": " if (order.isBuy())", - "start_line": 598, - "end_line": 598, - "start_column": 5, - "end_column": 25, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "null", + "start_line": 319, + "start_column": 23, + "end_line": 319, + "end_column": 40 }, { - "content": "\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n ", - "start_line": 600, - "end_line": 603, - "start_column": 7, - "end_column": 9, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "java.math.BigDecimal", + "initializer": "quoteData.getPrice()", + "start_line": 325, + "start_column": 18, + "end_line": 325, + "end_column": 45 }, { - "content": " if (order.isSell()) {", - "start_line": 611, - "end_line": 611, - "start_column": 5, - "end_column": 28, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderFee", + "type": "java.math.BigDecimal", + "initializer": "orderData.getOrderFee()", + "start_line": 326, + "start_column": 18, + "end_line": 326, + "end_column": 51 }, { - "content": "\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n ", - "start_line": 613, - "end_line": 616, - "start_column": 7, - "end_column": 9, - "is_javadoc": false + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderID", + "type": "java.lang.Integer", + "initializer": "orderData.getOrderID()", + "start_line": 330, + "start_column": 21, + "end_line": 330, + "end_column": 52 } ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 13, + "is_entrypoint": false + }, + "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -177187,60 +184374,85 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private OrderDataBean completeOrder(Connection conn, Integer orderID) throws Exception", + "declaration": "private HoldingDataBean createHolding(Connection conn, int accountID, String symbol, double quantity, BigDecimal purchasePrice) throws Exception", "parameters": [ { "type": "java.sql.Connection", "name": "conn", "annotations": [], "modifiers": [], - "start_line": 546, - "end_line": 546, - "start_column": 39, - "end_column": 53 + "start_line": 676, + "end_line": 676, + "start_column": 41, + "end_column": 55 }, { - "type": "java.lang.Integer", - "name": "orderID", + "type": "int", + "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 546, - "end_line": 546, - "start_column": 56, + "start_line": 676, + "end_line": 676, + "start_column": 58, "end_column": 70 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 676, + "end_line": 676, + "start_column": 73, + "end_column": 85 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 676, + "end_line": 676, + "start_column": 88, + "end_column": 102 + }, + { + "type": "java.math.BigDecimal", + "name": "purchasePrice", + "annotations": [], + "modifiers": [], + "start_line": 676, + "end_line": 676, + "start_column": 105, + "end_column": 128 } ], - "code": "{\n //conn = getConn();\n OrderDataBean orderData = null;\n \n Log.trace(\"TradeDirect:completeOrderInternal - inSession(\" + this.inSession + \")\", orderID);\n \n\n PreparedStatement stmt = getStatement(conn, getOrderSQL);\n stmt.setInt(1, orderID.intValue());\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:completeOrder -- unable to find order: \" + orderID);\n stmt.close();\n return orderData;\n }\n orderData = getOrderDataFromResultSet(rs);\n\n String orderType = orderData.getOrderType();\n String orderStatus = orderData.getOrderStatus();\n\n // if (order.isCompleted())\n if ((orderStatus.compareToIgnoreCase(\"completed\") == 0) || (orderStatus.compareToIgnoreCase(\"alertcompleted\") == 0)\n || (orderStatus.compareToIgnoreCase(\"cancelled\") == 0)) {\n throw new Exception(\"TradeDirect:completeOrder -- attempt to complete Order that is already completed\");\n }\n\n int accountID = rs.getInt(\"account_accountID\");\n String quoteID = rs.getString(\"quote_symbol\");\n int holdingID = rs.getInt(\"holding_holdingID\");\n\n BigDecimal price = orderData.getPrice();\n double quantity = orderData.getQuantity();\n\n // get the data for the account and quote\n // the holding will be created for a buy or extracted for a sell\n\n /*\n * Use the AccountID and Quote Symbol from the Order AccountDataBean\n * accountData = getAccountData(accountID, conn); QuoteDataBean\n * quoteData = getQuoteData(conn, quoteID);\n */\n String userID = getAccountProfileData(conn, new Integer(accountID)).getUserID();\n\n HoldingDataBean holdingData = null;\n\n \n Log.trace(\"TradeDirect:completeOrder--> Completing Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \"\n + accountID + \"\\n\\t Quote info: \" + quoteID);\n \n\n // if (order.isBuy())\n if (orderType.compareToIgnoreCase(\"buy\") == 0) {\n /*\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n */\n\n holdingData = createHolding(conn, accountID, quoteID, quantity, price);\n updateOrderHolding(conn, orderID.intValue(), holdingData.getHoldingID().intValue());\n updateOrderStatus(conn, orderData.getOrderID(), \"closed\");\n updateQuotePriceVolume(orderData.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), orderData.getQuantity());\n }\n\n // if (order.isSell()) {\n if (orderType.compareToIgnoreCase(\"sell\") == 0) {\n /*\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n */\n holdingData = getHoldingData(conn, holdingID);\n if (holdingData == null) {\n Log.debug(\"TradeDirect:completeOrder:sell -- user: \" + userID + \" already sold holding: \" + holdingID);\n updateOrderStatus(conn, orderData.getOrderID(), \"cancelled\");\n } else {\n removeHolding(conn, holdingID, orderID.intValue());\n updateOrderStatus(conn, orderData.getOrderID(), \"closed\");\n updateQuotePriceVolume(orderData.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), orderData.getQuantity());\n }\n\n } \n\n\n\n Log.trace(\"TradeDirect:completeOrder--> Completed Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \"\n + accountID + \"\\n\\t Quote info: \" + quoteID + \"\\n\\t Holding info: \" + holdingData);\n \n stmt.close();\n\n commit(conn);\n\n\n\n return orderData;\n }", - "start_line": 546, - "end_line": 641, - "code_start_line": 546, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n\n Timestamp purchaseDate = new Timestamp(System.currentTimeMillis());\n PreparedStatement stmt = getStatement(conn, createHoldingSQL);\n\n Integer holdingID = KeySequenceDirect.getNextID(conn, \"holding\", inSession, getInGlobalTxn());\n stmt.setInt(1, holdingID.intValue());\n stmt.setTimestamp(2, purchaseDate);\n stmt.setBigDecimal(3, purchasePrice);\n stmt.setDouble(4, quantity);\n stmt.setString(5, symbol);\n stmt.setInt(6, accountID);\n stmt.executeUpdate();\n\n stmt.close();\n\n return getHoldingData(conn, holdingID.intValue());\n }", + "start_line": 676, + "end_line": 693, + "code_start_line": 676, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", + "java.sql.Timestamp", "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrderSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createHoldingSQL", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "trace", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Integer" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, @@ -177249,10 +184461,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 550, - "start_column": 5, - "end_line": 550, - "end_column": 95 + "start_line": 678, + "start_column": 44, + "end_line": 678, + "end_column": 69 }, { "method_name": "getStatement", @@ -177263,6 +184475,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "createHoldingSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -177273,129 +184489,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 553, + "start_line": 679, "start_column": 30, - "end_line": 553, - "end_column": 60 + "end_line": 679, + "end_column": 65 }, { - "method_name": "setInt", + "method_name": "getNextID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "KeySequenceDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "argument_types": [ + "java.sql.Connection", + "java.lang.String", "", "" ], - "return_type": "", - "callee_signature": "setInt(int, int)", + "argument_expr": [ + "conn", + "\"holding\"", + "inSession", + "getInGlobalTxn()" + ], + "return_type": "java.lang.Integer", + "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 554, - "start_column": 5, - "end_line": 554, - "end_column": 38 + "start_line": 681, + "start_column": 25, + "end_line": 681, + "end_column": 97 }, { - "method_name": "intValue", + "method_name": "getInGlobalTxn", "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "intValue()", - "is_public": true, + "callee_signature": "getInGlobalTxn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 554, - "start_column": 20, - "end_line": 554, - "end_column": 37 + "start_line": 681, + "start_column": 81, + "end_line": 681, + "end_column": 96 }, { - "method_name": "executeQuery", + "method_name": "setInt", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 556, - "start_column": 20, - "end_line": 556, - "end_column": 38 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 558, - "start_column": 10, - "end_line": 558, - "end_column": 18 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String" + "", + "" + ], + "argument_expr": [ + "1", + "holdingID.intValue()" ], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 559, - "start_column": 7, - "end_line": 559, - "end_column": 80 + "start_line": 682, + "start_column": 5, + "end_line": 682, + "end_column": 40 }, { - "method_name": "close", + "method_name": "intValue", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "holdingID", + "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "close()", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -177404,86 +184593,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 560, - "start_column": 7, - "end_line": 560, - "end_column": 18 + "start_line": 682, + "start_column": 20, + "end_line": 682, + "end_column": 39 }, { - "method_name": "getOrderDataFromResultSet", + "method_name": "setTimestamp", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.ResultSet" + "", + "java.sql.Timestamp" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 563, - "start_column": 17, - "end_line": 563, - "end_column": 45 - }, - { - "method_name": "getOrderType", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getOrderType()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 565, - "start_column": 24, - "end_line": 565, - "end_column": 47 - }, - { - "method_name": "getOrderStatus", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getOrderStatus()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 566, - "start_column": 26, - "end_line": 566, - "end_column": 51 - }, - { - "method_name": "compareToIgnoreCase", - "comment": null, - "receiver_expr": "orderStatus", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "2", + "purchaseDate" ], "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, @@ -177492,21 +184621,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 569, - "start_column": 10, - "end_line": 569, - "end_column": 53 + "start_line": 683, + "start_column": 5, + "end_line": 683, + "end_column": 38 }, { - "method_name": "compareToIgnoreCase", + "method_name": "setBigDecimal", "comment": null, - "receiver_expr": "orderStatus", - "receiver_type": "java.lang.String", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "java.math.BigDecimal" + ], + "argument_expr": [ + "3", + "purchasePrice" ], "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -177515,21 +184649,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 569, - "start_column": 65, - "end_line": 569, - "end_column": 113 + "start_line": 684, + "start_column": 5, + "end_line": 684, + "end_column": 40 }, { - "method_name": "compareToIgnoreCase", + "method_name": "setDouble", "comment": null, - "receiver_expr": "orderStatus", - "receiver_type": "java.lang.String", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" + ], + "argument_expr": [ + "4", + "quantity" ], "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", + "callee_signature": "setDouble(int, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -177538,21 +184677,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 570, - "start_column": 13, - "end_line": 570, - "end_column": 56 + "start_line": 685, + "start_column": 5, + "end_line": 685, + "end_column": 31 }, { - "method_name": "getInt", + "method_name": "setString", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], + "argument_expr": [ + "5", + "symbol" + ], "return_type": "", - "callee_signature": "getInt(java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -177561,65 +184705,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 574, - "start_column": 21, - "end_line": 574, - "end_column": 50 + "start_line": 686, + "start_column": 5, + "end_line": 686, + "end_column": 29 }, { - "method_name": "getString", + "method_name": "setInt", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 575, - "start_column": 22, - "end_line": 575, - "end_column": 49 - }, - { - "method_name": "getInt", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "6", + "accountID" ], "return_type": "", - "callee_signature": "getInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 576, - "start_column": 21, - "end_line": 576, - "end_column": 50 - }, - { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -177628,19 +184733,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 578, - "start_column": 24, - "end_line": 578, - "end_column": 43 + "start_line": 687, + "start_column": 5, + "end_line": 687, + "end_column": 29 }, { - "method_name": "getQuantity", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -177649,19 +184755,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 579, - "start_column": 23, - "end_line": 579, - "end_column": 45 + "start_line": 688, + "start_column": 5, + "end_line": 688, + "end_column": 24 }, { - "method_name": "getUserID", + "method_name": "close", "comment": null, - "receiver_expr": "getAccountProfileData(conn, new Integer(accountID))", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -177670,22 +184777,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 589, - "start_column": 21, - "end_line": 589, - "end_column": 83 + "start_line": 690, + "start_column": 5, + "end_line": 690, + "end_column": 16 }, { - "method_name": "getAccountProfileData", + "method_name": "getHoldingData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Integer" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", + "argument_expr": [ + "conn", + "holdingID.intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingData(java.sql.Connection, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -177694,42 +184805,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 589, - "start_column": 21, - "end_line": 589, - "end_column": 71 - }, - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 594, - "start_column": 5, - "end_line": 595, - "end_column": 54 + "start_line": 692, + "start_column": 12, + "end_line": 692, + "end_column": 53 }, { - "method_name": "getOrderID", + "method_name": "intValue", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "holdingID", + "receiver_type": "java.lang.Integer", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -177738,48 +184827,147 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 594, - "start_column": 66, - "end_line": 594, - "end_column": 87 + "start_line": 692, + "start_column": 33, + "end_line": 692, + "end_column": 52 }, { - "method_name": "compareToIgnoreCase", + "method_name": "", "comment": null, - "receiver_expr": "orderType", - "receiver_type": "java.lang.String", + "receiver_expr": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", - "is_public": true, + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 599, - "start_column": 9, - "end_line": 599, - "end_column": 44 + "start_line": 678, + "start_column": 30, + "end_line": 678, + "end_column": 70 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "purchaseDate", + "type": "java.sql.Timestamp", + "initializer": "new Timestamp(System.currentTimeMillis())", + "start_line": 678, + "start_column": 15, + "end_line": 678, + "end_column": 70 }, { - "method_name": "createHolding", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, createHoldingSQL)", + "start_line": 679, + "start_column": 23, + "end_line": 679, + "end_column": 65 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingID", + "type": "java.lang.Integer", + "initializer": "KeySequenceDirect.getNextID(conn, \"holding\", inSession, getInGlobalTxn())", + "start_line": 681, + "start_column": 13, + "end_line": 681, + "end_column": 97 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAllQuotes()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getAllQuotes()", + "comments": [ + { + "content": "\n * @see TradeServices#getAllQuotes(String)\n ", + "start_line": 932, + "end_line": 934, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public Collection getAllQuotes() throws Exception", + "parameters": [], + "code": "{\n Collection quotes = new ArrayList();\n QuoteDataBean quoteData = null;\n\n Connection conn = null;\n try {\n conn = getConn();\n\n PreparedStatement stmt = getStatement(conn, getAllQuotesSQL);\n\n ResultSet rs = stmt.executeQuery();\n\n while (!rs.next()) {\n quoteData = getQuoteDataFromResultSet(rs);\n quotes.add(quoteData);\n }\n\n stmt.close();\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAllQuotes\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n\n return quotes;\n }", + "start_line": 935, + "end_line": 962, + "code_start_line": 936, + "return_type": "java.util.Collection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "java.util.Collection", + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAllQuotesSQL" + ], + "call_sites": [ + { + "method_name": "getConn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "", - "java.lang.String", - "", - "java.math.BigDecimal" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", "is_public": false, "is_protected": false, "is_private": true, @@ -177788,23 +184976,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 605, - "start_column": 21, - "end_line": 605, - "end_column": 76 + "start_line": 942, + "start_column": 14, + "end_line": 942, + "end_column": 22 }, { - "method_name": "updateOrderHolding", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "", - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "updateOrderHolding(java.sql.Connection, int, int)", + "argument_expr": [ + "conn", + "getAllQuotesSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -177813,40 +185004,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 606, - "start_column": 7, - "end_line": 606, - "end_column": 89 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 606, + "start_line": 944, "start_column": 32, - "end_line": 606, - "end_column": 49 + "end_line": 944, + "end_column": 66 }, { - "method_name": "intValue", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "holdingData.getHoldingID()", - "receiver_type": "java.lang.Integer", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -177855,19 +185026,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 606, - "start_column": 52, - "end_line": 606, - "end_column": 88 + "start_line": 946, + "start_column": 22, + "end_line": 946, + "end_column": 40 }, { - "method_name": "getHoldingID", + "method_name": "next", "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getHoldingID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -177876,23 +185048,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 606, - "start_column": 52, - "end_line": 606, - "end_column": 77 + "start_line": 948, + "start_column": 15, + "end_line": 948, + "end_column": 23 }, { - "method_name": "updateOrderStatus", + "method_name": "getQuoteDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.Integer", - "java.lang.String" + "java.sql.ResultSet" ], - "return_type": "", - "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -177901,107 +185074,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 607, - "start_column": 7, - "end_line": 607, - "end_column": 63 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 607, - "start_column": 31, - "end_line": 607, - "end_column": 52 + "start_line": 949, + "start_column": 21, + "end_line": 949, + "end_column": 49 }, { - "method_name": "updateQuotePriceVolume", + "method_name": "add", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "quotes", + "receiver_type": "java.util.Collection", "argument_types": [ - "java.lang.String", - "java.math.BigDecimal", - "" + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 608, - "start_column": 7, - "end_line": 608, - "end_column": 118 - }, - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", + "argument_expr": [ + "quoteData" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 608, - "start_column": 30, - "end_line": 608, - "end_column": 50 - }, - { - "method_name": "getRandomPriceChangeFactor", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getRandomPriceChangeFactor()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 608, - "start_column": 53, - "end_line": 608, - "end_column": 92 + "crud_operation": null, + "crud_query": null, + "start_line": 950, + "start_column": 9, + "end_line": 950, + "end_column": 29 }, { - "method_name": "getQuantity", + "method_name": "close", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getQuantity()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -178010,45 +185122,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 608, - "start_column": 95, - "end_line": 608, - "end_column": 117 + "start_line": 953, + "start_column": 7, + "end_line": 953, + "end_column": 18 }, { - "method_name": "compareToIgnoreCase", + "method_name": "error", "comment": null, - "receiver_expr": "orderType", - "receiver_type": "java.lang.String", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getAllQuotes\"", + "e" ], "return_type": "", - "callee_signature": "compareToIgnoreCase(java.lang.String)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 612, - "start_column": 9, - "end_line": 612, - "end_column": 45 + "start_line": 955, + "start_column": 7, + "end_line": 955, + "end_column": 46 }, { - "method_name": "getHoldingData", + "method_name": "rollBack", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "" + "java.lang.Exception" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingData(java.sql.Connection, int)", + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, "is_protected": false, "is_private": true, @@ -178057,46 +185178,217 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 617, - "start_column": 21, - "end_line": 617, - "end_column": 51 + "start_line": 956, + "start_column": 7, + "end_line": 956, + "end_column": 23 }, { - "method_name": "debug", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection" + ], + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "debug(java.lang.String)", - "is_public": true, + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 619, - "start_column": 9, - "end_line": 619, - "end_column": 110 + "start_line": 958, + "start_column": 7, + "end_line": 958, + "end_column": 23 }, { - "method_name": "updateOrderStatus", + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 937, + "start_column": 40, + "end_line": 937, + "end_column": 69 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quotes", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 937, + "start_column": 31, + "end_line": 937, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 938, + "start_column": 19, + "end_line": 938, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 940, + "start_column": 16, + "end_line": 940, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getAllQuotesSQL)", + "start_line": 944, + "start_column": 25, + "end_line": 944, + "end_column": 66 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 946, + "start_column": 17, + "end_line": 946, + "end_column": 40 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "getQuoteData(java.sql.Connection, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private QuoteDataBean getQuoteData(Connection conn, String symbol) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1095, + "end_line": 1095, + "start_column": 38, + "end_column": 52 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 1095, + "end_line": 1095, + "start_column": 55, + "end_column": 67 + } + ], + "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteSQL);\n stmt.setString(1, symbol);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuoteData -- could not find quote for symbol=\" + symbol);\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n stmt.close();\n return quoteData;\n }", + "start_line": 1095, + "end_line": 1107, + "code_start_line": 1095, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteSQL" + ], + "call_sites": [ + { + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Integer", "java.lang.String" ], - "return_type": "", - "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "argument_expr": [ + "conn", + "getQuoteSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -178105,19 +185397,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 620, - "start_column": 9, - "end_line": 620, - "end_column": 68 + "start_line": 1097, + "start_column": 30, + "end_line": 1097, + "end_column": 60 }, { - "method_name": "getOrderID", + "method_name": "setString", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "1", + "symbol" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -178126,44 +185425,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 620, - "start_column": 33, - "end_line": 620, - "end_column": 54 + "start_line": 1098, + "start_column": 5, + "end_line": 1098, + "end_column": 29 }, { - "method_name": "removeHolding", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "", - "" - ], - "return_type": "", - "callee_signature": "removeHolding(java.sql.Connection, int, int)", - "is_public": false, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 622, - "start_column": 9, - "end_line": 622, - "end_column": 58 + "start_line": 1099, + "start_column": 20, + "end_line": 1099, + "end_column": 38 }, { - "method_name": "intValue", + "method_name": "next", "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -178172,90 +185469,72 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 622, - "start_column": 40, - "end_line": 622, - "end_column": 57 + "start_line": 1100, + "start_column": 10, + "end_line": 1100, + "end_column": 18 }, { - "method_name": "updateOrderStatus", + "method_name": "error", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.sql.Connection", - "java.lang.Integer", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getQuoteData -- could not find quote for symbol=\" + symbol" + ], "return_type": "", - "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 623, - "start_column": 9, - "end_line": 623, - "end_column": 65 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 623, - "start_column": 33, - "end_line": 623, - "end_column": 54 + "start_line": 1101, + "start_column": 7, + "end_line": 1101, + "end_column": 88 }, { - "method_name": "updateQuotePriceVolume", + "method_name": "getQuoteDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.math.BigDecimal", - "" + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", - "is_public": true, + "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 624, - "start_column": 9, - "end_line": 624, - "end_column": 120 + "start_line": 1103, + "start_column": 19, + "end_line": 1103, + "end_column": 47 }, { - "method_name": "getSymbol", + "method_name": "close", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -178264,19 +185543,136 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 624, - "start_column": 32, - "end_line": 624, - "end_column": 52 + "start_line": 1105, + "start_column": 5, + "end_line": 1105, + "end_column": 16 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 1096, + "start_column": 19, + "end_line": 1096, + "end_column": 34 }, { - "method_name": "getRandomPriceChangeFactor", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getQuoteSQL)", + "start_line": 1097, + "start_column": 23, + "end_line": 1097, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 1099, + "start_column": 15, + "end_line": 1099, + "end_column": 38 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "logout(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "logout(java.lang.String)", + "comments": [ + { + "content": "\n * @see TradeServices#logout(String)\n ", + "start_line": 1461, + "end_line": 1463, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public void logout(String userID) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 1465, + "end_line": 1465, + "start_column": 22, + "end_column": 34 + } + ], + "code": "{\n Log.trace(\"TradeDirect:logout - inSession(\" + this.inSession + \")\", userID);\n \n Connection conn = null;\n try {\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, logoutSQL);\n stmt.setString(1, userID);\n stmt.executeUpdate();\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:logout -- error logging out user\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n }", + "start_line": 1464, + "end_line": 1483, + "code_start_line": 1465, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.logoutSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getRandomPriceChangeFactor()", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:logout - inSession(\" + this.inSession + \")\"", + "userID" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -178285,63 +185681,98 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 624, - "start_column": 55, - "end_line": 624, - "end_column": 94 + "start_line": 1466, + "start_column": 5, + "end_line": 1466, + "end_column": 79 }, { - "method_name": "getQuantity", + "method_name": "getConn", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 624, - "start_column": 97, - "end_line": 624, - "end_column": 119 + "start_line": 1470, + "start_column": 14, + "end_line": 1470, + "end_column": 22 }, { - "method_name": "trace", + "method_name": "getStatement", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "logoutSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1471, + "start_column": 32, + "end_line": 1471, + "end_column": 60 + }, + { + "method_name": "setString", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 631, - "start_column": 5, - "end_line": 632, - "end_column": 92 + "start_line": 1472, + "start_column": 7, + "end_line": 1472, + "end_column": 31 }, { - "method_name": "getOrderID", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -178350,10 +185781,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 631, - "start_column": 65, - "end_line": 631, - "end_column": 86 + "start_line": 1473, + "start_column": 7, + "end_line": 1473, + "end_column": 26 }, { "method_name": "close", @@ -178361,6 +185792,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -178371,10 +185803,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 634, - "start_column": 5, - "end_line": 634, - "end_column": 16 + "start_line": 1474, + "start_column": 7, + "end_line": 1474, + "end_column": 18 }, { "method_name": "commit", @@ -178384,6 +185816,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -178394,56 +185829,92 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 636, - "start_column": 5, - "end_line": 636, - "end_column": 16 + "start_line": 1476, + "start_column": 7, + "end_line": 1476, + "end_column": 18 }, { - "method_name": "", + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:logout -- error logging out user\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1478, + "start_column": 7, + "end_line": 1478, + "end_column": 66 + }, + { + "method_name": "rollBack", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Exception", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection", + "java.lang.Exception" ], - "return_type": "java.lang.Exception", - "callee_signature": "Exception(java.lang.String)", + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 571, - "start_column": 13, - "end_line": 571, - "end_column": 109 + "start_line": 1479, + "start_column": 7, + "end_line": 1479, + "end_column": 23 }, { - "method_name": "", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Integer", + "receiver_type": "", "argument_types": [ - "" + "java.sql.Connection" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 589, - "start_column": 49, - "end_line": 589, - "end_column": 70 + "start_line": 1481, + "start_column": 7, + "end_line": 1481, + "end_column": 23 } ], "variable_declarations": [ @@ -178456,13 +185927,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "name": "conn", + "type": "java.sql.Connection", "initializer": "null", - "start_line": 548, - "start_column": 19, - "end_line": 548, - "end_column": 34 + "start_line": 1468, + "start_column": 16, + "end_line": 1468, + "end_column": 26 }, { "comment": { @@ -178475,260 +185946,145 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getOrderSQL)", - "start_line": 553, - "start_column": 23, - "end_line": 553, + "initializer": "getStatement(conn, logoutSQL)", + "start_line": 1471, + "start_column": 25, + "end_line": 1471, "end_column": 60 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 556, - "start_column": 15, - "end_line": 556, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderType", - "type": "java.lang.String", - "initializer": "orderData.getOrderType()", - "start_line": 565, - "start_column": 12, - "end_line": 565, - "end_column": 47 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderStatus", - "type": "java.lang.String", - "initializer": "orderData.getOrderStatus()", - "start_line": 566, - "start_column": 12, - "end_line": 566, - "end_column": 51 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountID", - "type": "int", - "initializer": "rs.getInt(\"account_accountID\")", - "start_line": 574, - "start_column": 9, - "end_line": 574, - "end_column": 50 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteID", - "type": "java.lang.String", - "initializer": "rs.getString(\"quote_symbol\")", - "start_line": 575, - "start_column": 12, - "end_line": 575, - "end_column": 49 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingID", - "type": "int", - "initializer": "rs.getInt(\"holding_holdingID\")", - "start_line": 576, - "start_column": 9, - "end_line": 576, - "end_column": 50 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "price", - "type": "java.math.BigDecimal", - "initializer": "orderData.getPrice()", - "start_line": 578, - "start_column": 16, - "end_line": 578, - "end_column": 43 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "double", - "initializer": "orderData.getQuantity()", - "start_line": 579, - "start_column": 12, - "end_line": 579, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "userID", - "type": "java.lang.String", - "initializer": "getAccountProfileData(conn, new Integer(accountID)).getUserID()", - "start_line": 589, - "start_column": 12, - "end_line": 589, - "end_column": 83 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "null", - "start_line": 591, - "start_column": 21, - "end_line": 591, - "end_column": 38 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 8, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "createQuote(String, String, BigDecimal)": { + "orderCompleted(java.lang.String, java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "createQuote(String, String, BigDecimal)", - "comments": [ - { - "content": " symbol", - "start_line": 848, - "end_line": 848, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, - { - "content": " companyName", - "start_line": 849, - "end_line": 849, - "start_column": 39, - "end_column": 52, - "is_javadoc": false - }, - { - "content": " volume", - "start_line": 850, - "end_line": 850, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, - { - "content": " price", - "start_line": 851, - "end_line": 851, - "start_column": 37, - "end_column": 44, - "is_javadoc": false - }, + "signature": "orderCompleted(java.lang.String, java.lang.Integer)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public void orderCompleted(String userID, Integer orderID) throws Exception", + "parameters": [ { - "content": " open", - "start_line": 852, - "end_line": 852, - "start_column": 37, - "end_column": 43, - "is_javadoc": false + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 672, + "end_line": 672, + "start_column": 30, + "end_column": 42 }, { - "content": " low", - "start_line": 853, - "end_line": 853, - "start_column": 37, - "end_column": 42, - "is_javadoc": false - }, + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 672, + "end_line": 672, + "start_column": 45, + "end_column": 59 + } + ], + "code": "{\n throw new UnsupportedOperationException(\"TradeDirect:orderCompleted method not supported\");\n }", + "start_line": 671, + "end_line": 674, + "code_start_line": 672, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ { - "content": " high", - "start_line": 854, - "end_line": 854, - "start_column": 37, - "end_column": 43, - "is_javadoc": false - }, + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.UnsupportedOperationException", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:orderCompleted method not supported\"" + ], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 673, + "start_column": 11, + "end_line": 673, + "end_column": 94 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setInSession(boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "setInSession(boolean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setInSession(boolean inSession)", + "parameters": [ { - "content": " change", - "start_line": 855, - "end_line": 855, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, + "type": "boolean", + "name": "inSession", + "annotations": [], + "modifiers": [], + "start_line": 1810, + "end_line": 1810, + "start_column": 28, + "end_column": 44 + } + ], + "code": "{\n this.inSession = inSession;\n }", + "start_line": 1810, + "end_line": 1812, + "code_start_line": 1810, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getClosedOrders(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getClosedOrders(java.lang.String)", + "comments": [ { - "content": "\n * @see TradeServices#createQuote(String, String, BigDecimal)\n ", - "start_line": 830, - "end_line": 832, + "content": "\n * @see TradeServices#getClosedOrders(String)\n ", + "start_line": 793, + "end_line": 795, "start_column": 3, "end_column": 5, "is_javadoc": true @@ -178743,56 +186099,36 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", + "declaration": "public Collection getClosedOrders(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 834, - "end_line": 834, - "start_column": 36, - "end_column": 48 - }, - { - "type": "java.lang.String", - "name": "companyName", - "annotations": [], - "modifiers": [], - "start_line": 834, - "end_line": 834, - "start_column": 51, - "end_column": 68 - }, - { - "type": "java.math.BigDecimal", - "name": "price", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 834, - "end_line": 834, - "start_column": 71, - "end_column": 86 + "start_line": 797, + "end_line": 797, + "start_column": 52, + "end_column": 64 } ], - "code": "{\n\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:createQuote - inSession(\" + this.inSession + \")\");\n \n\n price = price.setScale(FinancialUtils.SCALE, FinancialUtils.ROUND);\n double volume = 0.0, change = 0.0;\n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createQuoteSQL);\n stmt.setString(1, symbol); // symbol\n stmt.setString(2, companyName); // companyName\n stmt.setDouble(3, volume); // volume\n stmt.setBigDecimal(4, price); // price\n stmt.setBigDecimal(5, price); // open\n stmt.setBigDecimal(6, price); // low\n stmt.setBigDecimal(7, price); // high\n stmt.setDouble(8, change); // change\n\n stmt.executeUpdate();\n stmt.close();\n commit(conn);\n\n quoteData = new QuoteDataBean(symbol, companyName, volume, price, price, price, price, change);\n } catch (Exception e) {\n Log.error(\"TradeDirect:createQuote -- error creating quote\", e);\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", - "start_line": 833, - "end_line": 868, - "code_start_line": 834, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n Collection orderDataBeans = new ArrayList();\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getClosedOrders - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getClosedOrdersSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n OrderDataBean orderData = getOrderDataFromResultSet(rs);\n orderData.setOrderStatus(\"completed\");\n updateOrderStatus(conn, orderData.getOrderID(), orderData.getOrderStatus());\n orderDataBeans.add(orderData);\n\n }\n\n stmt.close();\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getOrders -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return orderDataBeans;\n }", + "start_line": 796, + "end_line": 828, + "code_start_line": 797, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [ + "java.util.Collection", "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.sql.PreparedStatement" + "java.sql.ResultSet", + "java.sql.PreparedStatement", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createQuoteSQL", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getClosedOrdersSQL" ], "call_sites": [ { @@ -178801,10 +186137,15 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getClosedOrders - inSession(\" + this.inSession + \")\"", + "userID" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -178813,34 +186154,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 840, + "start_line": 802, "start_column": 7, - "end_line": 840, - "end_column": 78 - }, - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "price", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "", - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 843, - "start_column": 15, - "end_line": 843, - "end_column": 72 + "end_line": 802, + "end_column": 90 }, { "method_name": "getConn", @@ -178848,6 +186165,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -178858,9 +186176,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 846, + "start_line": 805, "start_column": 14, - "end_line": 846, + "end_line": 805, "end_column": 22 }, { @@ -178872,6 +186190,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getClosedOrdersSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -178882,27 +186204,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 847, + "start_line": 806, "start_column": 32, - "end_line": 847, - "end_column": 65 + "end_line": 806, + "end_column": 69 }, { "method_name": "setString", - "comment": { - "content": " symbol", - "start_line": 848, - "end_line": 848, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, + "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -178913,29 +186232,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 848, + "start_line": 807, "start_column": 7, - "end_line": 848, + "end_line": 807, "end_column": 31 }, { - "method_name": "setString", - "comment": { - "content": " companyName", - "start_line": 849, - "end_line": 849, - "start_column": 39, - "end_column": 52, - "is_javadoc": false - }, + "method_name": "executeQuery", + "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -178944,29 +186254,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 849, - "start_column": 7, - "end_line": 849, - "end_column": 36 + "start_line": 809, + "start_column": 22, + "end_line": 809, + "end_column": 40 }, { - "method_name": "setDouble", - "comment": { - "content": " volume", - "start_line": 850, - "end_line": 850, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], + "method_name": "next", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setDouble(int, double)", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -178975,60 +186276,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 850, - "start_column": 7, - "end_line": 850, - "end_column": 31 + "start_line": 811, + "start_column": 14, + "end_line": 811, + "end_column": 22 }, { - "method_name": "setBigDecimal", - "comment": { - "content": " price", - "start_line": 851, - "end_line": 851, - "start_column": 37, - "end_column": 44, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "method_name": "getOrderDataFromResultSet", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.math.BigDecimal" + "java.sql.ResultSet" ], - "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", - "is_public": true, + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 851, - "start_column": 7, - "end_line": 851, - "end_column": 34 + "start_line": 812, + "start_column": 35, + "end_line": 812, + "end_column": 63 }, { - "method_name": "setBigDecimal", - "comment": { - "content": " open", - "start_line": 852, - "end_line": 852, - "start_column": 37, - "end_column": 43, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "method_name": "setOrderStatus", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [ - "", - "java.math.BigDecimal" + "java.lang.String" + ], + "argument_expr": [ + "\"completed\"" ], "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179037,60 +186328,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 852, - "start_column": 7, - "end_line": 852, - "end_column": 34 + "start_line": 813, + "start_column": 9, + "end_line": 813, + "end_column": 45 }, { - "method_name": "setBigDecimal", - "comment": { - "content": " low", - "start_line": 853, - "end_line": 853, - "start_column": 37, - "end_column": 42, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "method_name": "updateOrderStatus", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.math.BigDecimal" + "java.sql.Connection", + "java.lang.Integer", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()", + "orderData.getOrderStatus()" ], "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", - "is_public": true, + "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 853, - "start_column": 7, - "end_line": 853, - "end_column": 34 + "start_line": 814, + "start_column": 9, + "end_line": 814, + "end_column": 83 }, { - "method_name": "setBigDecimal", - "comment": { - "content": " high", - "start_line": 854, - "end_line": 854, - "start_column": 37, - "end_column": 43, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.math.BigDecimal" - ], - "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -179099,29 +186380,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 854, - "start_column": 7, - "end_line": 854, - "end_column": 34 + "start_line": 814, + "start_column": 33, + "end_line": 814, + "end_column": 54 }, { - "method_name": "setDouble", - "comment": { - "content": " change", - "start_line": 855, - "end_line": 855, - "start_column": 34, - "end_column": 42, - "is_javadoc": false - }, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "setDouble(int, double)", + "method_name": "getOrderStatus", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getOrderStatus()", "is_public": true, "is_protected": false, "is_private": false, @@ -179130,19 +186402,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 855, - "start_column": 7, - "end_line": 855, - "end_column": 31 + "start_line": 814, + "start_column": 57, + "end_line": 814, + "end_column": 82 }, { - "method_name": "executeUpdate", + "method_name": "add", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "orderDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "argument_expr": [ + "orderData" + ], "return_type": "", - "callee_signature": "executeUpdate()", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -179151,10 +186428,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 857, - "start_column": 7, - "end_line": 857, - "end_column": 26 + "start_line": 815, + "start_column": 9, + "end_line": 815, + "end_column": 37 }, { "method_name": "close", @@ -179162,6 +186439,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -179172,9 +186450,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 858, + "start_line": 819, "start_column": 7, - "end_line": 858, + "end_line": 819, "end_column": 18 }, { @@ -179185,6 +186463,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -179195,9 +186476,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 859, + "start_line": 820, "start_column": 7, - "end_line": 859, + "end_line": 820, "end_column": 18 }, { @@ -179209,6 +186490,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:getOrders -- error getting user orders\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -179219,10 +186504,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 863, + "start_line": 822, "start_column": 7, - "end_line": 863, - "end_column": 69 + "end_line": 822, + "end_column": 72 + }, + { + "method_name": "rollBack", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 823, + "start_column": 7, + "end_line": 823, + "end_column": 23 }, { "method_name": "releaseConn", @@ -179232,6 +186545,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -179242,28 +186558,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 865, + "start_line": 825, "start_column": 7, - "end_line": 865, + "end_line": 825, "end_column": 23 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.math.BigDecimal", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", "is_public": false, "is_protected": false, "is_private": false, @@ -179272,10 +186580,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 861, - "start_column": 19, - "end_line": 861, - "end_column": 100 + "start_line": 798, + "start_column": 48, + "end_line": 798, + "end_column": 77 } ], "variable_declarations": [ @@ -179288,13 +186596,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 836, - "start_column": 19, - "end_line": 836, - "end_column": 34 + "name": "orderDataBeans", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 798, + "start_column": 31, + "end_line": 798, + "end_column": 77 }, { "comment": { @@ -179308,9 +186616,9 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 837, + "start_line": 799, "start_column": 16, - "end_line": 837, + "end_line": 799, "end_column": 26 }, { @@ -179322,13 +186630,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "volume", - "type": "double", - "initializer": "0.0", - "start_line": 844, - "start_column": 14, - "end_line": 844, - "end_column": 25 + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getClosedOrdersSQL)", + "start_line": 806, + "start_column": 25, + "end_line": 806, + "end_column": 69 }, { "comment": { @@ -179339,13 +186647,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "change", - "type": "double", - "initializer": "0.0", - "start_line": 844, - "start_column": 28, - "end_line": 844, - "end_column": 39 + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 809, + "start_column": 17, + "end_line": 809, + "end_column": 40 }, { "comment": { @@ -179356,23 +186664,23 @@ "end_column": -1, "is_javadoc": false }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, createQuoteSQL)", - "start_line": 847, - "start_column": 25, - "end_line": 847, - "end_column": 65 + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "getOrderDataFromResultSet(rs)", + "start_line": 812, + "start_column": 23, + "end_line": 812, + "end_column": 63 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "getHoldingData(int)": { + "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getHoldingData(int)", + "signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -179381,40 +186689,68 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private HoldingDataBean getHoldingData(int holdingID) throws Exception", + "declaration": "private void creditAccountBalance(Connection conn, AccountDataBean accountData, BigDecimal credit) throws Exception", "parameters": [ { - "type": "int", - "name": "holdingID", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1109, - "end_line": 1109, - "start_column": 42, - "end_column": 54 + "start_line": 1232, + "end_line": 1232, + "start_column": 37, + "end_column": 51 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "accountData", + "annotations": [], + "modifiers": [], + "start_line": 1232, + "end_line": 1232, + "start_column": 54, + "end_column": 80 + }, + { + "type": "java.math.BigDecimal", + "name": "credit", + "annotations": [], + "modifiers": [], + "start_line": 1232, + "end_line": 1232, + "start_column": 83, + "end_column": 99 } ], - "code": "{\n HoldingDataBean holdingData = null;\n Connection conn = null;\n try {\n conn = getConn();\n holdingData = getHoldingData(conn, holdingID);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHoldingData -- error getting data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingData;\n }", - "start_line": 1109, - "end_line": 1123, - "code_start_line": 1109, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n PreparedStatement stmt = getStatement(conn, creditAccountBalanceSQL);\n\n stmt.setBigDecimal(1, credit);\n stmt.setInt(2, accountData.getAccountID().intValue());\n\n stmt.executeUpdate();\n stmt.close();\n\n }", + "start_line": 1232, + "end_line": 1241, + "code_start_line": 1232, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.creditAccountBalanceSQL" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "getConn", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "creditAccountBalanceSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -179423,128 +186759,463 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1113, - "start_column": 14, - "end_line": 1113, - "end_column": 22 + "start_line": 1233, + "start_column": 30, + "end_line": 1233, + "end_column": 72 }, { - "method_name": "getHoldingData", + "method_name": "setBigDecimal", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", - "" + "", + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingData(java.sql.Connection, int)", - "is_public": false, + "argument_expr": [ + "1", + "credit" + ], + "return_type": "", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1114, - "start_column": 21, - "end_line": 1114, - "end_column": 51 + "start_line": 1235, + "start_column": 5, + "end_line": 1235, + "end_column": 33 }, { - "method_name": "commit", + "method_name": "setInt", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection" + "", + "" + ], + "argument_expr": [ + "2", + "accountData.getAccountID().intValue()" ], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "setInt(int, int)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1115, - "start_column": 7, - "end_line": 1115, - "end_column": 18 + "start_line": 1236, + "start_column": 5, + "end_line": 1236, + "end_column": 57 }, { - "method_name": "error", + "method_name": "intValue", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "accountData.getAccountID()", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1236, + "start_column": 20, + "end_line": 1236, + "end_column": 56 + }, + { + "method_name": "getAccountID", + "comment": null, + "receiver_expr": "accountData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getAccountID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1236, + "start_column": 20, + "end_line": 1236, + "end_column": 45 + }, + { + "method_name": "executeUpdate", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1238, + "start_column": 5, + "end_line": 1238, + "end_column": 24 + }, + { + "method_name": "close", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1239, + "start_column": 5, + "end_line": 1239, + "end_column": 16 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, creditAccountBalanceSQL)", + "start_line": 1233, + "start_column": 23, + "end_line": 1233, + "end_column": 72 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getQuoteDataFromResultSet(java.sql.ResultSet)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private QuoteDataBean getQuoteDataFromResultSet(ResultSet rs) throws Exception", + "parameters": [ + { + "type": "java.sql.ResultSet", + "name": "rs", + "annotations": [], + "modifiers": [], + "start_line": 1576, + "end_line": 1576, + "start_column": 51, + "end_column": 62 + } + ], + "code": "{\n QuoteDataBean quoteData = null;\n\n quoteData = new QuoteDataBean(rs.getString(\"symbol\"), rs.getString(\"companyName\"), rs.getDouble(\"volume\"), rs.getBigDecimal(\"price\"),\n rs.getBigDecimal(\"open1\"), rs.getBigDecimal(\"low\"), rs.getBigDecimal(\"high\"), rs.getDouble(\"change1\"));\n return quoteData;\n }", + "start_line": 1576, + "end_line": 1582, + "code_start_line": 1576, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getString", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "java.lang.String" + ], + "argument_expr": [ + "\"symbol\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1579, + "start_column": 35, + "end_line": 1579, + "end_column": 56 + }, + { + "method_name": "getString", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"companyName\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1579, + "start_column": 59, + "end_line": 1579, + "end_column": 85 + }, + { + "method_name": "getDouble", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"volume\"" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "getDouble(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1117, - "start_column": 7, - "end_line": 1117, - "end_column": 70 + "start_line": 1579, + "start_column": 88, + "end_line": 1579, + "end_column": 109 }, { - "method_name": "rollBack", + "method_name": "getBigDecimal", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.lang.String" + ], + "argument_expr": [ + "\"price\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1579, + "start_column": 112, + "end_line": 1579, + "end_column": 136 + }, + { + "method_name": "getBigDecimal", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"open1\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1580, + "start_column": 9, + "end_line": 1580, + "end_column": 33 + }, + { + "method_name": "getBigDecimal", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"low\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1580, + "start_column": 36, + "end_line": 1580, + "end_column": 58 + }, + { + "method_name": "getBigDecimal", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"high\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1580, + "start_column": 61, + "end_line": 1580, + "end_column": 84 + }, + { + "method_name": "getDouble", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"change1\"" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "callee_signature": "getDouble(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1118, - "start_column": 7, - "end_line": 1118, - "end_column": 23 + "start_line": 1580, + "start_column": 87, + "end_line": 1580, + "end_column": 109 }, { - "method_name": "releaseConn", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ - "java.sql.Connection" + "java.lang.String", + "java.lang.String", + "", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.math.BigDecimal", + "" + ], + "argument_expr": [ + "rs.getString(\"symbol\")", + "rs.getString(\"companyName\")", + "rs.getDouble(\"volume\")", + "rs.getBigDecimal(\"price\")", + "rs.getBigDecimal(\"open1\")", + "rs.getBigDecimal(\"low\")", + "rs.getBigDecimal(\"high\")", + "rs.getDouble(\"change1\")" ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1120, - "start_column": 7, - "end_line": 1120, - "end_column": 23 + "start_line": 1579, + "start_column": 17, + "end_line": 1580, + "end_column": 110 } ], "variable_declarations": [ @@ -179557,139 +187228,111 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "null", - "start_line": 1110, - "start_column": 21, - "end_line": 1110, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 1111, - "start_column": 16, - "end_line": 1111, - "end_column": 26 + "start_line": 1577, + "start_column": 19, + "end_line": 1577, + "end_column": 34 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "queueOrder(Integer, boolean)": { + "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "queueOrder(Integer, boolean)", - "comments": [ - { - "content": " pass the exception", - "start_line": 501, - "end_line": 501, - "start_column": 16, - "end_column": 36, - "is_javadoc": false - }, - { - "content": "\n * @see TradeServices#queueOrder(Integer)\n ", - "start_line": 479, - "end_line": 481, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], + "signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "comments": [], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void queueOrder(Integer orderID, boolean twoPhase) throws Exception", + "declaration": "private void updateAccountProfile(Connection conn, AccountProfileDataBean profileData) throws Exception", "parameters": [ { - "type": "java.lang.Integer", - "name": "orderID", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 483, - "end_line": 483, - "start_column": 26, - "end_column": 40 + "start_line": 1274, + "end_line": 1274, + "start_column": 37, + "end_column": 51 }, { - "type": "boolean", - "name": "twoPhase", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profileData", "annotations": [], "modifiers": [], - "start_line": 483, - "end_line": 483, - "start_column": 43, - "end_column": 58 + "start_line": 1274, + "end_line": 1274, + "start_column": 54, + "end_column": 87 } ], - "code": "{\n\n \n Log.trace(\"TradeDirect:queueOrder - inSession(\" + this.inSession + \")\", orderID);\n \n\n try (JMSContext context = queueConnectionFactory.createContext();){\t\n TextMessage message = context.createTextMessage();\n\n message.setStringProperty(\"command\", \"neworder\");\n message.setIntProperty(\"orderID\", orderID.intValue());\n message.setBooleanProperty(\"twoPhase\", twoPhase);\n message.setBooleanProperty(\"direct\", true);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"neworder: orderID=\" + orderID + \" runtimeMode=Direct twoPhase=\" + twoPhase);\n\n context.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) { \n throw e; // pass the exception\n }\n }", - "start_line": 482, - "end_line": 503, - "code_start_line": 483, + "code": "{\n PreparedStatement stmt = getStatement(conn, updateAccountProfileSQL);\n\n stmt.setString(1, profileData.getPassword());\n stmt.setString(2, profileData.getFullName());\n stmt.setString(3, profileData.getAddress());\n stmt.setString(4, profileData.getEmail());\n stmt.setString(5, profileData.getCreditCard());\n stmt.setString(6, profileData.getUserID());\n\n stmt.executeUpdate();\n stmt.close();\n }", + "start_line": 1274, + "end_line": 1286, + "code_start_line": 1274, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.jms.JMSContext", - "javax.jms.TextMessage" + "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.tradeBrokerQueue", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.queueConnectionFactory", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateAccountProfileSQL" ], "call_sites": [ { - "method_name": "trace", + "method_name": "getStatement", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.Integer" + "java.sql.Connection", + "java.lang.String" ], - "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", - "is_public": true, + "argument_expr": [ + "conn", + "updateAccountProfileSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 486, - "start_column": 5, - "end_line": 486, - "end_column": 84 + "start_line": 1275, + "start_column": 30, + "end_line": 1275, + "end_column": 72 }, { - "method_name": "createContext", + "method_name": "setString", "comment": null, - "receiver_expr": "queueConnectionFactory", - "receiver_type": "javax.jms.QueueConnectionFactory", - "argument_types": [], - "return_type": "javax.jms.JMSContext", - "callee_signature": "createContext()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "1", + "profileData.getPassword()" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179698,19 +187341,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 489, - "start_column": 31, - "end_line": 489, - "end_column": 68 + "start_line": 1277, + "start_column": 5, + "end_line": 1277, + "end_column": 48 }, { - "method_name": "createTextMessage", + "method_name": "getPassword", "comment": null, - "receiver_expr": "context", - "receiver_type": "javax.jms.JMSContext", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "javax.jms.TextMessage", - "callee_signature": "createTextMessage()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPassword()", "is_public": true, "is_protected": false, "is_private": false, @@ -179719,22 +187363,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 490, - "start_column": 29, - "end_line": 490, - "end_column": 55 + "start_line": 1277, + "start_column": 23, + "end_line": 1277, + "end_column": 47 }, { - "method_name": "setStringProperty", + "method_name": "setString", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", + "", "java.lang.String" ], + "argument_expr": [ + "2", + "profileData.getFullName()" + ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179743,22 +187391,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 492, - "start_column": 7, - "end_line": 492, - "end_column": 54 + "start_line": 1278, + "start_column": 5, + "end_line": 1278, + "end_column": 48 }, { - "method_name": "setIntProperty", + "method_name": "getFullName", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getFullName()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1278, + "start_column": 23, + "end_line": 1278, + "end_column": 47 + }, + { + "method_name": "setString", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", - "" + "", + "java.lang.String" + ], + "argument_expr": [ + "3", + "profileData.getAddress()" ], "return_type": "", - "callee_signature": "setIntProperty(java.lang.String, int)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179767,19 +187441,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 493, - "start_column": 7, - "end_line": 493, - "end_column": 59 + "start_line": 1279, + "start_column": 5, + "end_line": 1279, + "end_column": 47 }, { - "method_name": "intValue", + "method_name": "getAddress", "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getAddress()", "is_public": true, "is_protected": false, "is_private": false, @@ -179788,22 +187463,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 493, - "start_column": 41, - "end_line": 493, - "end_column": 58 + "start_line": 1279, + "start_column": 23, + "end_line": 1279, + "end_column": 46 }, { - "method_name": "setBooleanProperty", + "method_name": "setString", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", - "" + "", + "java.lang.String" + ], + "argument_expr": [ + "4", + "profileData.getEmail()" ], "return_type": "", - "callee_signature": "setBooleanProperty(java.lang.String, boolean)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179812,22 +187491,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 494, - "start_column": 7, - "end_line": 494, - "end_column": 54 + "start_line": 1280, + "start_column": 5, + "end_line": 1280, + "end_column": 45 }, { - "method_name": "setBooleanProperty", + "method_name": "getEmail", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "", - "callee_signature": "setBooleanProperty(java.lang.String, boolean)", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getEmail()", "is_public": true, "is_protected": false, "is_private": false, @@ -179836,22 +187513,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 495, - "start_column": 7, - "end_line": 495, - "end_column": 48 + "start_line": 1280, + "start_column": 23, + "end_line": 1280, + "end_column": 44 }, { - "method_name": "setLongProperty", + "method_name": "setString", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", - "" + "", + "java.lang.String" + ], + "argument_expr": [ + "5", + "profileData.getCreditCard()" ], "return_type": "", - "callee_signature": "setLongProperty(java.lang.String, long)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179860,42 +187541,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 496, - "start_column": 7, - "end_line": 496, - "end_column": 72 + "start_line": 1281, + "start_column": 5, + "end_line": 1281, + "end_column": 50 }, { - "method_name": "currentTimeMillis", + "method_name": "getCreditCard", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getCreditCard()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 496, - "start_column": 46, - "end_line": 496, - "end_column": 71 + "start_line": 1281, + "start_column": 23, + "end_line": 1281, + "end_column": 49 }, { - "method_name": "setText", + "method_name": "setString", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], + "argument_expr": [ + "6", + "profileData.getUserID()" + ], "return_type": "", - "callee_signature": "setText(java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -179904,22 +187591,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 497, - "start_column": 7, - "end_line": 497, - "end_column": 98 + "start_line": 1282, + "start_column": 5, + "end_line": 1282, + "end_column": 46 }, { - "method_name": "send", + "method_name": "getUserID", "comment": null, - "receiver_expr": "context.createProducer()", - "receiver_type": "javax.jms.JMSProducer", - "argument_types": [ - "javax.jms.Queue", - "javax.jms.TextMessage" - ], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", "is_public": true, "is_protected": false, "is_private": false, @@ -179928,19 +187613,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 499, - "start_column": 7, - "end_line": 499, - "end_column": 62 + "start_line": 1282, + "start_column": 23, + "end_line": 1282, + "end_column": 45 }, { - "method_name": "createProducer", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "context", - "receiver_type": "javax.jms.JMSContext", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "createProducer()", + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -179949,10 +187635,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 499, - "start_column": 7, - "end_line": 499, - "end_column": 30 + "start_line": 1284, + "start_column": 5, + "end_line": 1284, + "end_column": 24 + }, + { + "method_name": "close", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1285, + "start_column": 5, + "end_line": 1285, + "end_column": 16 } ], "variable_declarations": [ @@ -179965,74 +187673,59 @@ "end_column": -1, "is_javadoc": false }, - "name": "context", - "type": "javax.jms.JMSContext", - "initializer": "queueConnectionFactory.createContext()", - "start_line": 489, - "start_column": 21, - "end_line": 489, - "end_column": 68 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "message", - "type": "javax.jms.TextMessage", - "initializer": "context.createTextMessage()", - "start_line": 490, - "start_column": 19, - "end_line": 490, - "end_column": 55 + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, updateAccountProfileSQL)", + "start_line": 1275, + "start_column": 23, + "end_line": 1275, + "end_column": 72 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountData(int)": { + "getAccountData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountData(int)", + "signature": "getAccountData(java.lang.String)", "comments": [ { "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1063, - "end_line": 1065, + "start_line": 1025, + "end_line": 1027, "start_column": 3, "end_column": 5, "is_javadoc": true } ], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountDataBean getAccountData(int accountID) throws Exception", + "declaration": "public AccountDataBean getAccountData(String userID) throws Exception", "parameters": [ { - "type": "int", - "name": "accountID", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1066, - "end_line": 1066, + "start_line": 1029, + "end_line": 1029, "start_column": 41, "end_column": 53 } ], - "code": "{\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", new Integer(accountID));\n\n conn = getConn();\n accountData = getAccountData(accountID, conn);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountData -- error getting account data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n }", - "start_line": 1066, - "end_line": 1084, - "code_start_line": 1066, + "code": "{\n try {\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n accountData = getAccountData(conn, userID);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountData -- error getting account data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n } catch (Exception e) {\n throw new Exception(e.getMessage(), e);\n }\n }", + "start_line": 1028, + "end_line": 1052, + "code_start_line": 1029, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, @@ -180051,7 +187744,11 @@ "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.Integer" + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\"", + "userID" ], "return_type": "", "callee_signature": "trace(java.lang.String, java.lang.Object)", @@ -180063,10 +187760,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1071, - "start_column": 7, - "end_line": 1071, - "end_column": 105 + "start_line": 1035, + "start_column": 9, + "end_line": 1035, + "end_column": 91 }, { "method_name": "getConn", @@ -180074,6 +187771,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -180084,10 +187782,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1073, - "start_column": 14, - "end_line": 1073, - "end_column": 22 + "start_line": 1038, + "start_column": 16, + "end_line": 1038, + "end_column": 24 }, { "method_name": "getAccountData", @@ -180095,11 +187793,15 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [ - "", - "java.sql.Connection" + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "userID" ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(int, java.sql.Connection)", + "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -180108,10 +187810,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1074, - "start_column": 21, - "end_line": 1074, - "end_column": 51 + "start_line": 1039, + "start_column": 23, + "end_line": 1039, + "end_column": 50 }, { "method_name": "commit", @@ -180121,6 +187823,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -180131,10 +187836,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1075, - "start_column": 7, - "end_line": 1075, - "end_column": 18 + "start_line": 1040, + "start_column": 9, + "end_line": 1040, + "end_column": 20 }, { "method_name": "error", @@ -180145,6 +187850,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:getAccountData -- error getting account data\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -180155,10 +187864,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1078, - "start_column": 7, - "end_line": 1078, - "end_column": 78 + "start_line": 1043, + "start_column": 9, + "end_line": 1043, + "end_column": 80 }, { "method_name": "rollBack", @@ -180169,6 +187878,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -180179,10 +187892,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1079, - "start_column": 7, - "end_line": 1079, - "end_column": 23 + "start_line": 1044, + "start_column": 9, + "end_line": 1044, + "end_column": 25 }, { "method_name": "releaseConn", @@ -180192,6 +187905,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -180202,21 +187918,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1081, - "start_column": 7, - "end_line": 1081, - "end_column": 23 + "start_line": 1046, + "start_column": 9, + "end_line": 1046, + "end_column": 25 + }, + { + "method_name": "getMessage", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getMessage()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1050, + "start_column": 27, + "end_line": 1050, + "end_column": 40 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Integer", + "receiver_type": "java.lang.Exception", "argument_types": [ - "" + "java.lang.String", + "java.lang.Exception" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", + "argument_expr": [ + "e.getMessage()", + "e" + ], + "return_type": "java.lang.Exception", + "callee_signature": "Exception(java.lang.String, java.lang.Throwable)", "is_public": false, "is_protected": false, "is_private": false, @@ -180225,10 +187968,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1071, - "start_column": 83, - "end_line": 1071, - "end_column": 104 + "start_line": 1050, + "start_column": 13, + "end_line": 1050, + "end_column": 44 } ], "variable_declarations": [ @@ -180244,10 +187987,10 @@ "name": "accountData", "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1067, - "start_column": 21, - "end_line": 1067, - "end_column": 38 + "start_line": 1031, + "start_column": 23, + "end_line": 1031, + "end_column": 40 }, { "comment": { @@ -180261,30 +188004,21 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1068, - "start_column": 16, - "end_line": 1068, - "end_column": 26 + "start_line": 1032, + "start_column": 18, + "end_line": 1032, + "end_column": 28 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "getHoldingData(Connection, int)": { + "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getHoldingData(Connection, int)", - "comments": [ - { - "content": " already sold", - "start_line": 1131, - "end_line": 1131, - "start_column": 7, - "end_column": 21, - "is_javadoc": false - } - ], + "signature": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)", + "comments": [], "annotations": [], "modifiers": [ "private" @@ -180292,43 +188026,71 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private HoldingDataBean getHoldingData(Connection conn, int holdingID) throws Exception", + "declaration": "private void updateQuotePriceVolume(Connection conn, String symbol, BigDecimal newPrice, double newVolume, double change) throws Exception", "parameters": [ { "type": "java.sql.Connection", "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1125, - "end_line": 1125, - "start_column": 42, - "end_column": 56 + "start_line": 1357, + "end_line": 1357, + "start_column": 39, + "end_column": 53 }, { - "type": "int", - "name": "holdingID", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1125, - "end_line": 1125, - "start_column": 59, - "end_column": 71 + "start_line": 1357, + "end_line": 1357, + "start_column": 56, + "end_column": 68 + }, + { + "type": "java.math.BigDecimal", + "name": "newPrice", + "annotations": [], + "modifiers": [], + "start_line": 1357, + "end_line": 1357, + "start_column": 71, + "end_column": 89 + }, + { + "type": "double", + "name": "newVolume", + "annotations": [], + "modifiers": [], + "start_line": 1357, + "end_line": 1357, + "start_column": 92, + "end_column": 107 + }, + { + "type": "double", + "name": "change", + "annotations": [], + "modifiers": [], + "start_line": 1357, + "end_line": 1357, + "start_column": 110, + "end_column": 122 } ], - "code": "{\n HoldingDataBean holdingData = null;\n PreparedStatement stmt = getStatement(conn, getHoldingSQL);\n stmt.setInt(1, holdingID);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n // already sold\n Log.debug(\"TradeDirect:getHoldingData -- no results -- holdingID=\" + holdingID);\n } else {\n holdingData = getHoldingDataFromResultSet(rs);\n }\n\n stmt.close();\n return holdingData;\n }", - "start_line": 1125, - "end_line": 1139, - "code_start_line": 1125, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n\n PreparedStatement stmt = getStatement(conn, updateQuotePriceVolumeSQL);\n\n stmt.setBigDecimal(1, newPrice);\n stmt.setDouble(2, change);\n stmt.setDouble(3, newVolume);\n stmt.setString(4, symbol);\n\n stmt.executeUpdate();\n stmt.close();\n }", + "start_line": 1357, + "end_line": 1368, + "code_start_line": 1357, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.sql.ResultSet", "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getHoldingSQL" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateQuotePriceVolumeSQL" ], "call_sites": [ { @@ -180340,6 +188102,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "updateQuotePriceVolumeSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -180350,22 +188116,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1127, + "start_line": 1359, "start_column": 30, - "end_line": 1127, - "end_column": 62 + "end_line": 1359, + "end_column": 74 }, { - "method_name": "setInt", + "method_name": "setBigDecimal", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "" + "java.math.BigDecimal" + ], + "argument_expr": [ + "1", + "newPrice" ], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -180374,19 +188144,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1128, + "start_line": 1361, "start_column": 5, - "end_line": 1128, - "end_column": 29 + "end_line": 1361, + "end_column": 35 }, { - "method_name": "executeQuery", + "method_name": "setDouble", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "2", + "change" + ], + "return_type": "", + "callee_signature": "setDouble(int, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -180395,19 +188172,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1129, - "start_column": 20, - "end_line": 1129, - "end_column": 38 + "start_line": 1362, + "start_column": 5, + "end_line": 1362, + "end_column": 29 }, { - "method_name": "next", + "method_name": "setDouble", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "3", + "newVolume" + ], "return_type": "", - "callee_signature": "next()", + "callee_signature": "setDouble(int, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -180416,63 +188200,60 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1130, - "start_column": 10, - "end_line": 1130, - "end_column": 18 + "start_line": 1363, + "start_column": 5, + "end_line": 1363, + "end_column": 32 }, { - "method_name": "debug", - "comment": { - "content": " already sold", - "start_line": 1131, - "end_line": 1131, - "start_column": 7, - "end_column": 21, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "method_name": "setString", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], + "argument_expr": [ + "4", + "symbol" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1132, - "start_column": 7, - "end_line": 1132, - "end_column": 85 + "start_line": 1364, + "start_column": 5, + "end_line": 1364, + "end_column": 29 }, { - "method_name": "getHoldingDataFromResultSet", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", - "is_public": false, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1134, - "start_column": 21, - "end_line": 1134, - "end_column": 51 + "start_line": 1366, + "start_column": 5, + "end_line": 1366, + "end_column": 24 }, { "method_name": "close", @@ -180480,6 +188261,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -180490,30 +188272,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1137, + "start_line": 1367, "start_column": 5, - "end_line": 1137, + "end_line": 1367, "end_column": 16 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "null", - "start_line": 1126, - "start_column": 21, - "end_line": 1126, - "end_column": 38 - }, { "comment": { "content": null, @@ -180525,204 +188290,64 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getHoldingSQL)", - "start_line": 1127, + "initializer": "getStatement(conn, updateQuotePriceVolumeSQL)", + "start_line": 1359, "start_column": 23, - "end_line": 1127, - "end_column": 62 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1129, - "start_column": 15, - "end_line": 1129, - "end_column": 38 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "pingTwoPhase(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "pingTwoPhase(String)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteDataBean pingTwoPhase(String symbol)", - "parameters": [ - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 1822, - "end_line": 1822, - "start_column": 37, - "end_column": 49 - } - ], - "code": "{\n throw new UnsupportedOperationException();\n }", - "start_line": 1821, - "end_line": 1824, - "code_start_line": 1822, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1823, - "start_column": 11, - "end_line": 1823, - "end_column": 45 + "end_line": 1359, + "end_column": 74 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "logout(String)": { + "getHoldingData(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "logout(String)", - "comments": [ - { - "content": "\n * @see TradeServices#logout(String)\n ", - "start_line": 1461, - "end_line": 1463, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], + "signature": "getHoldingData(int)", + "comments": [], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public void logout(String userID) throws Exception", + "declaration": "private HoldingDataBean getHoldingData(int holdingID) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "int", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1465, - "end_line": 1465, - "start_column": 22, - "end_column": 34 + "start_line": 1109, + "end_line": 1109, + "start_column": 42, + "end_column": 54 } ], - "code": "{\n Log.trace(\"TradeDirect:logout - inSession(\" + this.inSession + \")\", userID);\n \n Connection conn = null;\n try {\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, logoutSQL);\n stmt.setString(1, userID);\n stmt.executeUpdate();\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:logout -- error logging out user\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n }", - "start_line": 1464, - "end_line": 1483, - "code_start_line": 1465, - "return_type": "void", + "code": "{\n HoldingDataBean holdingData = null;\n Connection conn = null;\n try {\n conn = getConn();\n holdingData = getHoldingData(conn, holdingID);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHoldingData -- error getting data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingData;\n }", + "start_line": 1109, + "end_line": 1123, + "code_start_line": 1109, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.sql.Connection", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.logoutSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" ], + "accessed_fields": [], "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1466, - "start_column": 5, - "end_line": 1466, - "end_column": 79 - }, - { - "method_name": "getConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1470, - "start_column": 14, - "end_line": 1470, - "end_column": 22 - }, - { - "method_name": "getStatement", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + { + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", "is_public": false, "is_protected": false, "is_private": true, @@ -180731,76 +188356,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1471, - "start_column": 32, - "end_line": 1471, - "end_column": 60 + "start_line": 1113, + "start_column": 14, + "end_line": 1113, + "end_column": 22 }, { - "method_name": "setString", + "method_name": "getHoldingData", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.lang.String" + "java.sql.Connection", + "" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1472, - "start_column": 7, - "end_line": 1472, - "end_column": 31 - }, - { - "method_name": "executeUpdate", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1473, - "start_column": 7, - "end_line": 1473, - "end_column": 26 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, + "argument_expr": [ + "conn", + "holdingID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingData(java.sql.Connection, int)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1474, - "start_column": 7, - "end_line": 1474, - "end_column": 18 + "start_line": 1114, + "start_column": 21, + "end_line": 1114, + "end_column": 51 }, { "method_name": "commit", @@ -180810,6 +188397,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -180820,9 +188410,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1476, + "start_line": 1115, "start_column": 7, - "end_line": 1476, + "end_line": 1115, "end_column": 18 }, { @@ -180834,6 +188424,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:getHoldingData -- error getting data\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -180844,10 +188438,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1478, + "start_line": 1117, "start_column": 7, - "end_line": 1478, - "end_column": 66 + "end_line": 1117, + "end_column": 70 }, { "method_name": "rollBack", @@ -180858,6 +188452,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -180868,9 +188466,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1479, + "start_line": 1118, "start_column": 7, - "end_line": 1479, + "end_line": 1118, "end_column": 23 }, { @@ -180881,6 +188479,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -180891,9 +188492,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1481, + "start_line": 1120, "start_column": 7, - "end_line": 1481, + "end_line": 1120, "end_column": 23 } ], @@ -180907,13 +188508,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "conn", - "type": "java.sql.Connection", + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1468, - "start_column": 16, - "end_line": 1468, - "end_column": 26 + "start_line": 1110, + "start_column": 21, + "end_line": 1110, + "end_column": 38 }, { "comment": { @@ -180924,13 +188525,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, logoutSQL)", - "start_line": 1471, - "start_column": 25, - "end_line": 1471, - "end_column": 60 + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1111, + "start_column": 16, + "end_line": 1111, + "end_column": 26 } ], "crud_operations": [], @@ -180938,241 +188539,69 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getStatement(Connection, String, int, int)": { + "getAccountData(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getStatement(Connection, String, int, int)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private PreparedStatement getStatement(Connection conn, String sql, int type, int concurrency) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1713, - "end_line": 1713, - "start_column": 42, - "end_column": 56 - }, - { - "type": "java.lang.String", - "name": "sql", - "annotations": [], - "modifiers": [], - "start_line": 1713, - "end_line": 1713, - "start_column": 59, - "end_column": 68 - }, - { - "type": "int", - "name": "type", - "annotations": [], - "modifiers": [], - "start_line": 1713, - "end_line": 1713, - "start_column": 71, - "end_column": 78 - }, - { - "type": "int", - "name": "concurrency", - "annotations": [], - "modifiers": [], - "start_line": 1713, - "end_line": 1713, - "start_column": 81, - "end_column": 95 - } - ], - "code": "{\n return conn.prepareStatement(sql, type, concurrency);\n }", - "start_line": 1713, - "end_line": 1715, - "code_start_line": 1713, - "return_type": "java.sql.PreparedStatement", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ + "signature": "getAccountData(int)", + "comments": [ { - "method_name": "prepareStatement", - "comment": null, - "receiver_expr": "conn", - "receiver_type": "java.sql.Connection", - "argument_types": [ - "java.lang.String", - "", - "" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "prepareStatement(java.lang.String, int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1714, - "start_column": 12, - "end_line": 1714, - "end_column": 56 + "content": "\n * @see TradeServices#getAccountData(String)\n ", + "start_line": 1063, + "end_line": 1065, + "start_column": 3, + "end_column": 5, + "is_javadoc": true } ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "createHolding(Connection, int, String, double, BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "createHolding(Connection, int, String, double, BigDecimal)", - "comments": [], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private HoldingDataBean createHolding(Connection conn, int accountID, String symbol, double quantity, BigDecimal purchasePrice) throws Exception", + "declaration": "public AccountDataBean getAccountData(int accountID) throws Exception", "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 676, - "end_line": 676, - "start_column": 41, - "end_column": 55 - }, { "type": "int", "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 676, - "end_line": 676, - "start_column": 58, - "end_column": 70 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 676, - "end_line": 676, - "start_column": 73, - "end_column": 85 - }, - { - "type": "double", - "name": "quantity", - "annotations": [], - "modifiers": [], - "start_line": 676, - "end_line": 676, - "start_column": 88, - "end_column": 102 - }, - { - "type": "java.math.BigDecimal", - "name": "purchasePrice", - "annotations": [], - "modifiers": [], - "start_line": 676, - "end_line": 676, - "start_column": 105, - "end_column": 128 + "start_line": 1066, + "end_line": 1066, + "start_column": 41, + "end_column": 53 } ], - "code": "{\n\n Timestamp purchaseDate = new Timestamp(System.currentTimeMillis());\n PreparedStatement stmt = getStatement(conn, createHoldingSQL);\n\n Integer holdingID = KeySequenceDirect.getNextID(conn, \"holding\", inSession, getInGlobalTxn());\n stmt.setInt(1, holdingID.intValue());\n stmt.setTimestamp(2, purchaseDate);\n stmt.setBigDecimal(3, purchasePrice);\n stmt.setDouble(4, quantity);\n stmt.setString(5, symbol);\n stmt.setInt(6, accountID);\n stmt.executeUpdate();\n\n stmt.close();\n\n return getHoldingData(conn, holdingID.intValue());\n }", - "start_line": 676, - "end_line": 693, - "code_start_line": 676, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", new Integer(accountID));\n\n conn = getConn();\n accountData = getAccountData(accountID, conn);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountData -- error getting account data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n }", + "start_line": 1066, + "end_line": 1084, + "code_start_line": 1066, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.Timestamp", - "java.sql.PreparedStatement", - "java.lang.Integer" + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createHoldingSQL", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 678, - "start_column": 44, - "end_line": 678, - "end_column": 69 - }, - { - "method_name": "getStatement", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 679, - "start_column": 30, - "end_line": 679, - "end_column": 65 - }, - { - "method_name": "getNextID", + "method_name": "trace", "comment": null, - "receiver_expr": "KeySequenceDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.sql.Connection", "java.lang.String", - "", - "" + "java.lang.Integer" ], - "return_type": "java.lang.Integer", - "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "argument_expr": [ + "\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\"", + "new Integer(accountID)" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -181181,19 +188610,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 681, - "start_column": 25, - "end_line": 681, - "end_column": 97 + "start_line": 1071, + "start_column": 7, + "end_line": 1071, + "end_column": 105 }, { - "method_name": "getInGlobalTxn", + "method_name": "getConn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", "is_public": false, "is_protected": false, "is_private": true, @@ -181202,229 +188632,108 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 681, - "start_column": 81, - "end_line": 681, - "end_column": 96 + "start_line": 1073, + "start_column": 14, + "end_line": 1073, + "end_column": 22 }, { - "method_name": "setInt", + "method_name": "getAccountData", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ "", - "" + "java.sql.Connection" ], - "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 682, - "start_column": 5, - "end_line": 682, - "end_column": 40 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "holdingID", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 682, - "start_column": 20, - "end_line": 682, - "end_column": 39 - }, - { - "method_name": "setTimestamp", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.sql.Timestamp" + "argument_expr": [ + "accountID", + "conn" ], - "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", - "is_public": true, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountData(int, java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 683, - "start_column": 5, - "end_line": 683, - "end_column": 38 + "start_line": 1074, + "start_column": 21, + "end_line": 1074, + "end_column": 51 }, { - "method_name": "setBigDecimal", + "method_name": "commit", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.math.BigDecimal" + "java.sql.Connection" ], - "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 684, - "start_column": 5, - "end_line": 684, - "end_column": 40 - }, - { - "method_name": "setDouble", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "setDouble(int, double)", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 685, - "start_column": 5, - "end_line": 685, - "end_column": 31 + "start_line": 1075, + "start_column": 7, + "end_line": 1075, + "end_column": 18 }, { - "method_name": "setString", + "method_name": "error", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", - "java.lang.String" + "java.lang.String", + "java.lang.Exception" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 686, - "start_column": 5, - "end_line": 686, - "end_column": 29 - }, - { - "method_name": "setInt", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" + "argument_expr": [ + "\"TradeDirect:getAccountData -- error getting account data\"", + "e" ], "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 687, - "start_column": 5, - "end_line": 687, - "end_column": 29 - }, - { - "method_name": "executeUpdate", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 688, - "start_column": 5, - "end_line": 688, - "end_column": 24 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 690, - "start_column": 5, - "end_line": 690, - "end_column": 16 + "start_line": 1078, + "start_column": 7, + "end_line": 1078, + "end_column": 78 }, { - "method_name": "getHoldingData", + "method_name": "rollBack", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "" + "java.lang.Exception" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingData(java.sql.Connection, int)", + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, "is_protected": false, "is_private": true, @@ -181433,42 +188742,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 692, - "start_column": 12, - "end_line": 692, - "end_column": 53 + "start_line": 1079, + "start_column": 7, + "end_line": 1079, + "end_column": 23 }, { - "method_name": "intValue", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "holdingID", - "receiver_type": "java.lang.Integer", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "intValue()", - "is_public": true, + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 692, - "start_column": 33, - "end_line": 692, - "end_column": 52 + "start_line": 1081, + "start_column": 7, + "end_line": 1081, + "end_column": 23 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", + "receiver_type": "java.lang.Integer", "argument_types": [ "" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", + "argument_expr": [ + "accountID" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", "is_public": false, "is_protected": false, "is_private": false, @@ -181477,10 +188794,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 678, - "start_column": 30, - "end_line": 678, - "end_column": 70 + "start_line": 1071, + "start_column": 83, + "end_line": 1071, + "end_column": 104 } ], "variable_declarations": [ @@ -181493,30 +188810,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "purchaseDate", - "type": "java.sql.Timestamp", - "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 678, - "start_column": 15, - "end_line": 678, - "end_column": 70 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, createHoldingSQL)", - "start_line": 679, - "start_column": 23, - "end_line": 679, - "end_column": 65 + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "null", + "start_line": 1067, + "start_column": 21, + "end_line": 1067, + "end_column": 38 }, { "comment": { @@ -181527,76 +188827,35 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdingID", - "type": "java.lang.Integer", - "initializer": "KeySequenceDirect.getNextID(conn, \"holding\", inSession, getInGlobalTxn())", - "start_line": 681, - "start_column": 13, - "end_line": 681, - "end_column": 97 + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1068, + "start_column": 16, + "end_line": 1068, + "end_column": 26 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "sell(String, Integer, int)": { + "getAccountProfileData(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "sell(String, Integer, int)", + "signature": "getAccountProfileData(java.lang.String)", "comments": [ { - "content": "UserTransaction txn = null;", - "start_line": 383, - "end_line": 383, - "start_column": 5, - "end_column": 33, - "is_javadoc": false - }, - { - "content": "\n * total = (quantity * purchasePrice) + orderFee\n ", - "start_line": 385, - "end_line": 387, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - }, - { - "content": " Set the holdingSymbol purchaseDate to selling to signify the sell", - "start_line": 430, - "end_line": 430, - "start_column": 7, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " is \"inflight\"", - "start_line": 431, - "end_line": 431, - "start_column": 7, - "end_column": 22, - "is_javadoc": false - }, - { - "content": " UPDATE -- account should be credited during completeOrder", - "start_line": 434, - "end_line": 434, - "start_column": 7, - "end_column": 66, - "is_javadoc": false - }, - { - "content": "\n * @see TradeServices#sell(String, Integer)\n ", - "start_line": 375, - "end_line": 377, + "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", + "start_line": 1159, + "end_line": 1161, "start_column": 3, "end_column": 5, "is_javadoc": true } ], "annotations": [ - "@Override", - "@NotNull" + "@Override" ], "modifiers": [ "public" @@ -181604,60 +188863,31 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", + "declaration": "public AccountProfileDataBean getAccountProfileData(String userID) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 380, - "end_line": 380, - "start_column": 29, - "end_column": 41 - }, - { - "type": "java.lang.Integer", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 380, - "end_line": 380, - "start_column": 44, - "end_column": 60 - }, - { - "type": "int", - "name": "orderProcessingMode", - "annotations": [], - "modifiers": [], - "start_line": 380, - "end_line": 380, - "start_column": 63, - "end_column": 85 + "start_line": 1163, + "end_line": 1163, + "start_column": 55, + "end_column": 67 } ], - "code": "{\n Connection conn = null;\n OrderDataBean orderData = null;\n //UserTransaction txn = null;\n\n /*\n * total = (quantity * purchasePrice) + orderFee\n */\n BigDecimal total;\n\n try {\n \n Log.trace(\"TradeDirect:sell - inSession(\" + this.inSession + \")\", userID, holdingID);\n \n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n \n Log.trace(\"TradeDirect:sell create/begin global transaction\");\n \n txn.begin();\n setInGlobalTxn(true);\n }\n\n conn = getConn();\n\n AccountDataBean accountData = getAccountData(conn, userID);\n HoldingDataBean holdingData = getHoldingData(conn, holdingID.intValue());\n QuoteDataBean quoteData = null;\n if (holdingData != null) {\n quoteData = getQuoteData(conn, holdingData.getQuoteID());\n }\n\n if ((accountData == null) || (holdingData == null) || (quoteData == null)) {\n String error = \"TradeDirect:sell -- error selling stock -- unable to find: \\n\\taccount=\" + accountData + \"\\n\\tholding=\" + holdingData\n + \"\\n\\tquote=\" + quoteData + \"\\nfor user: \" + userID + \" and holdingID: \" + holdingID;\n Log.debug(error);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, new Exception(error));\n }\n orderData = new OrderDataBean();\n orderData.setOrderStatus(\"cancelled\");\n return orderData;\n }\n\n double quantity = holdingData.getQuantity();\n\n orderData = createOrder(accountData, quoteData, holdingData, \"sell\", quantity);\n\n // Set the holdingSymbol purchaseDate to selling to signify the sell\n // is \"inflight\"\n updateHoldingStatus(conn, holdingData.getHoldingID(), holdingData.getQuoteID());\n\n // UPDATE -- account should be credited during completeOrder\n BigDecimal price = quoteData.getPrice();\n BigDecimal orderFee = orderData.getOrderFee();\n total = (new BigDecimal(quantity).multiply(price)).subtract(orderFee);\n creditAccountBalance(conn, accountData, total);\n\n try {\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(conn, orderData.getOrderID());\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderData.getOrderID(), true);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderData.getOrderID(), true);\n } \n } catch (JMSException je) {\n Log.error(\"TradeBean:sell(\" + userID + \",\" + holdingID + \") --> failed to queueOrder\", je);\n\n cancelOrder(conn, orderData.getOrderID());\n }\n\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n \n Log.trace(\"TradeDirect:sell committing global transaction\");\n \n txn.commit();\n setInGlobalTxn(false);\n } else {\n commit(conn);\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:sell error\", e);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, e);\n }\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", - "start_line": 378, - "end_line": 477, - "code_start_line": 380, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:getAccountProfileData - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n accountProfileData = getAccountProfileData(conn, userID);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountProfileData -- error getting profile data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountProfileData;\n }", + "start_line": 1162, + "end_line": 1182, + "code_start_line": 1163, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.txn", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ @@ -181668,11 +188898,14 @@ "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.String", - "java.lang.Integer" + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:getAccountProfileData - inSession(\" + this.inSession + \")\"", + "userID" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -181681,65 +188914,130 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 392, + "start_line": 1169, "start_column": 7, - "end_line": 392, - "end_column": 90 + "end_line": 1169, + "end_column": 96 }, { - "method_name": "trace", + "method_name": "getConn", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1172, + "start_column": 14, + "end_line": 1172, + "end_column": 22 + }, + { + "method_name": "getAccountProfileData", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1173, + "start_column": 28, + "end_line": 1173, + "end_column": 62 + }, + { + "method_name": "commit", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 397, - "start_column": 9, - "end_line": 397, - "end_column": 69 + "start_line": 1174, + "start_column": 7, + "end_line": 1174, + "end_column": 18 }, { - "method_name": "begin", + "method_name": "error", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getAccountProfileData -- error getting profile data\"", + "e" + ], "return_type": "", - "callee_signature": "begin()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 399, - "start_column": 9, - "end_line": 399, - "end_column": 19 + "start_line": 1176, + "start_column": 7, + "end_line": 1176, + "end_column": 85 }, { - "method_name": "setInGlobalTxn", + "method_name": "rollBack", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "" + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" ], "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, "is_protected": false, "is_private": true, @@ -181748,19 +189046,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 400, - "start_column": 9, - "end_line": 400, - "end_column": 28 + "start_line": 1177, + "start_column": 7, + "end_line": 1177, + "end_column": 23 }, { - "method_name": "getConn", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, "is_protected": false, "is_private": true, @@ -181769,46 +189072,153 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 403, - "start_column": 14, - "end_line": 403, - "end_column": 22 + "start_line": 1179, + "start_column": 7, + "end_line": 1179, + "end_column": 23 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "null", + "start_line": 1164, + "start_column": 28, + "end_line": 1164, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1165, + "start_column": 16, + "end_line": 1165, + "end_column": 26 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getOrderData(java.sql.Connection, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getOrderData(java.sql.Connection, int)", + "comments": [ + { + "content": " already sold", + "start_line": 1150, + "end_line": 1150, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private OrderDataBean getOrderData(Connection conn, int orderID) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1141, + "end_line": 1141, + "start_column": 38, + "end_column": 52 }, { - "method_name": "getAccountData", + "type": "int", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 1141, + "end_line": 1141, + "start_column": 55, + "end_column": 65 + } + ], + "code": "{\n OrderDataBean orderData = null;\n \n Log.trace(\"TradeDirect:getOrderData(conn, \" + orderID + \")\");\n \n PreparedStatement stmt = getStatement(conn, getOrderSQL);\n stmt.setInt(1, orderID);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n // already sold\n Log.error(\"TradeDirect:getOrderData -- no results for orderID:\" + orderID);\n } else {\n orderData = getOrderDataFromResultSet(rs);\n }\n stmt.close();\n return orderData;\n }", + "start_line": 1141, + "end_line": 1157, + "code_start_line": 1141, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.ResultSet", + "java.sql.PreparedStatement", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrderSQL" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.sql.Connection", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"TradeDirect:getOrderData(conn, \" + orderID + \")\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 405, - "start_column": 37, - "end_line": 405, + "start_line": 1144, + "start_column": 5, + "end_line": 1144, "end_column": 64 }, { - "method_name": "getHoldingData", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingData(java.sql.Connection, int)", + "argument_expr": [ + "conn", + "getOrderSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -181817,19 +189227,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 406, - "start_column": 37, - "end_line": 406, - "end_column": 78 + "start_line": 1146, + "start_column": 30, + "end_line": 1146, + "end_column": 60 }, { - "method_name": "intValue", + "method_name": "setInt", "comment": null, - "receiver_expr": "holdingID", - "receiver_type": "java.lang.Integer", - "argument_types": [], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "1", + "orderID" + ], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -181838,43 +189255,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 406, - "start_column": 58, - "end_line": 406, - "end_column": 77 + "start_line": 1147, + "start_column": 5, + "end_line": 1147, + "end_column": 27 }, { - "method_name": "getQuoteData", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteData(java.sql.Connection, java.lang.String)", - "is_public": false, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 409, - "start_column": 21, - "end_line": 409, - "end_column": 64 + "start_line": 1148, + "start_column": 20, + "end_line": 1148, + "end_column": 38 }, { - "method_name": "getQuoteID", + "method_name": "next", "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getQuoteID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -181883,21 +189299,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 409, - "start_column": 40, - "end_line": 409, - "end_column": 63 + "start_line": 1149, + "start_column": 10, + "end_line": 1149, + "end_column": 18 }, { - "method_name": "debug", - "comment": null, + "method_name": "error", + "comment": { + "content": " already sold", + "start_line": 1150, + "end_line": 1150, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + }, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getOrderData -- no results for orderID:\" + orderID" + ], "return_type": "", - "callee_signature": "debug(java.lang.String)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -181906,19 +189332,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 415, - "start_column": 9, - "end_line": 415, - "end_column": 24 + "start_line": 1151, + "start_column": 7, + "end_line": 1151, + "end_column": 80 }, { - "method_name": "getInGlobalTxn", + "method_name": "getOrderDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", + "argument_types": [ + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -181927,19 +189358,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 416, - "start_column": 13, - "end_line": 416, - "end_column": 28 + "start_line": 1153, + "start_column": 19, + "end_line": 1153, + "end_column": 47 }, { - "method_name": "rollback", + "method_name": "close", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "rollback()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -181948,66 +189380,240 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 417, - "start_column": 11, - "end_line": 417, - "end_column": 24 + "start_line": 1155, + "start_column": 5, + "end_line": 1155, + "end_column": 16 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "null", + "start_line": 1142, + "start_column": 19, + "end_line": 1142, + "end_column": 34 }, { - "method_name": "rollBack", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getOrderSQL)", + "start_line": 1146, + "start_column": 23, + "end_line": 1146, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 1148, + "start_column": 15, + "end_line": 1148, + "end_column": 38 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "pingTwoPhase(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "pingTwoPhase(java.lang.String)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteDataBean pingTwoPhase(String symbol)", + "parameters": [ + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 1822, + "end_line": 1822, + "start_column": 37, + "end_column": 49 + } + ], + "code": "{\n throw new UnsupportedOperationException();\n }", + "start_line": 1821, + "end_line": 1824, + "code_start_line": 1822, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "receiver_type": "java.lang.UnsupportedOperationException", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException()", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 419, + "start_line": 1823, "start_column": 11, - "end_line": 419, - "end_column": 46 + "end_line": 1823, + "end_column": 45 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "queueOrder(java.lang.Integer, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "queueOrder(java.lang.Integer, boolean)", + "comments": [ + { + "content": " pass the exception", + "start_line": 501, + "end_line": 501, + "start_column": 16, + "end_column": 36, + "is_javadoc": false }, { - "method_name": "setOrderStatus", + "content": "\n * @see TradeServices#queueOrder(Integer)\n ", + "start_line": 479, + "end_line": 481, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public void queueOrder(Integer orderID, boolean twoPhase) throws Exception", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 483, + "end_line": 483, + "start_column": 26, + "end_column": 40 + }, + { + "type": "boolean", + "name": "twoPhase", + "annotations": [], + "modifiers": [], + "start_line": 483, + "end_line": 483, + "start_column": 43, + "end_column": 58 + } + ], + "code": "{\n\n \n Log.trace(\"TradeDirect:queueOrder - inSession(\" + this.inSession + \")\", orderID);\n \n\n try (JMSContext context = queueConnectionFactory.createContext();){\t\n TextMessage message = context.createTextMessage();\n\n message.setStringProperty(\"command\", \"neworder\");\n message.setIntProperty(\"orderID\", orderID.intValue());\n message.setBooleanProperty(\"twoPhase\", twoPhase);\n message.setBooleanProperty(\"direct\", true);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"neworder: orderID=\" + orderID + \" runtimeMode=Direct twoPhase=\" + twoPhase);\n\n context.createProducer().send(tradeBrokerQueue, message);\n } catch (Exception e) { \n throw e; // pass the exception\n }\n }", + "start_line": 482, + "end_line": 503, + "code_start_line": 483, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.jms.JMSContext", + "javax.jms.TextMessage" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.tradeBrokerQueue", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.queueConnectionFactory", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:queueOrder - inSession(\" + this.inSession + \")\"", + "orderID" ], "return_type": "", - "callee_signature": "setOrderStatus(java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 422, - "start_column": 9, - "end_line": 422, - "end_column": 45 + "start_line": 486, + "start_column": 5, + "end_line": 486, + "end_column": 84 }, { - "method_name": "getQuantity", + "method_name": "createContext", "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_expr": "queueConnectionFactory", + "receiver_type": "javax.jms.QueueConnectionFactory", "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", + "argument_expr": [], + "return_type": "javax.jms.JMSContext", + "callee_signature": "createContext()", "is_public": true, "is_protected": false, "is_private": false, @@ -182016,25 +189622,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 426, - "start_column": 25, - "end_line": 426, - "end_column": 49 + "start_line": 489, + "start_column": 31, + "end_line": 489, + "end_column": 68 }, { - "method_name": "createOrder", + "method_name": "createTextMessage", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "receiver_expr": "context", + "receiver_type": "javax.jms.JMSContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.jms.TextMessage", + "callee_signature": "createTextMessage()", "is_public": true, "is_protected": false, "is_private": false, @@ -182043,72 +189644,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 428, - "start_column": 19, - "end_line": 428, - "end_column": 84 + "start_line": 490, + "start_column": 29, + "end_line": 490, + "end_column": 55 }, { - "method_name": "updateHoldingStatus", - "comment": { - "content": " is \"inflight\"", - "start_line": 431, - "end_line": 431, - "start_column": 7, - "end_column": 22, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", + "method_name": "setStringProperty", + "comment": null, + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection", - "java.lang.Integer", + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"command\"", + "\"neworder\"" + ], "return_type": "", - "callee_signature": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 432, - "start_column": 7, - "end_line": 432, - "end_column": 85 - }, - { - "method_name": "getHoldingID", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getHoldingID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 432, - "start_column": 33, - "end_line": 432, - "end_column": 58 - }, - { - "method_name": "getQuoteID", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getQuoteID()", + "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -182117,19 +189672,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 432, - "start_column": 61, - "end_line": 432, - "end_column": 84 + "start_line": 492, + "start_column": 7, + "end_line": 492, + "end_column": 54 }, { - "method_name": "getPrice", + "method_name": "setIntProperty", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", + "argument_types": [ + "java.lang.String", + "" + ], + "argument_expr": [ + "\"orderID\"", + "orderID.intValue()" + ], + "return_type": "", + "callee_signature": "setIntProperty(java.lang.String, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -182138,19 +189700,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 435, - "start_column": 26, - "end_line": 435, - "end_column": 45 + "start_line": 493, + "start_column": 7, + "end_line": 493, + "end_column": 59 }, { - "method_name": "getOrderFee", + "method_name": "intValue", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "orderID", + "receiver_type": "java.lang.Integer", "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee()", + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -182159,21 +189722,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 436, - "start_column": 29, - "end_line": 436, - "end_column": 51 + "start_line": 493, + "start_column": 41, + "end_line": 493, + "end_column": 58 }, { - "method_name": "subtract", + "method_name": "setBooleanProperty", "comment": null, - "receiver_expr": "(new BigDecimal(quantity).multiply(price))", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String", + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "argument_expr": [ + "\"twoPhase\"", + "twoPhase" + ], + "return_type": "", + "callee_signature": "setBooleanProperty(java.lang.String, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -182182,21 +189750,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, - "start_column": 15, - "end_line": 437, - "end_column": 75 + "start_line": 494, + "start_column": 7, + "end_line": 494, + "end_column": 54 }, { - "method_name": "multiply", + "method_name": "setBooleanProperty", "comment": null, - "receiver_expr": "new BigDecimal(quantity)", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String", + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", + "argument_expr": [ + "\"direct\"", + "true" + ], + "return_type": "", + "callee_signature": "setBooleanProperty(java.lang.String, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -182205,113 +189778,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, - "start_column": 16, - "end_line": 437, - "end_column": 55 + "start_line": 495, + "start_column": 7, + "end_line": 495, + "end_column": 48 }, { - "method_name": "creditAccountBalance", + "method_name": "setLongProperty", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.math.BigDecimal" + "java.lang.String", + "" + ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" ], "return_type": "", - "callee_signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", - "is_public": false, + "callee_signature": "setLongProperty(java.lang.String, long)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 438, + "start_line": 496, "start_column": 7, - "end_line": 438, - "end_column": 52 - }, - { - "method_name": "completeOrder", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Integer" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 442, - "start_column": 11, - "end_line": 442, - "end_column": 53 + "end_line": 496, + "end_column": 72 }, { - "method_name": "getOrderID", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "System", + "receiver_type": "java.lang.System", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 442, - "start_column": 31, - "end_line": 442, - "end_column": 52 + "start_line": 496, + "start_column": 46, + "end_line": 496, + "end_column": 71 }, { - "method_name": "completeOrderAsync", + "method_name": "setText", "comment": null, - "receiver_expr": "this", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", + "receiver_expr": "message", + "receiver_type": "javax.jms.TextMessage", "argument_types": [ - "java.lang.Integer", - "" + "java.lang.String" ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 444, - "start_column": 11, - "end_line": 444, - "end_column": 63 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [ + "\"neworder: orderID=\" + orderID + \" runtimeMode=Direct twoPhase=\" + twoPhase" + ], + "return_type": "", + "callee_signature": "setText(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -182320,22 +189854,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 444, - "start_column": 35, - "end_line": 444, - "end_column": 56 + "start_line": 497, + "start_column": 7, + "end_line": 497, + "end_column": 98 }, { - "method_name": "queueOrder", + "method_name": "send", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "context.createProducer()", + "receiver_type": "javax.jms.JMSProducer", "argument_types": [ - "java.lang.Integer", - "" + "javax.jms.Queue", + "javax.jms.TextMessage" ], - "return_type": "", - "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "argument_expr": [ + "tradeBrokerQueue", + "message" + ], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", "is_public": true, "is_protected": false, "is_private": false, @@ -182344,19 +189882,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 446, - "start_column": 11, - "end_line": 446, - "end_column": 50 + "start_line": 499, + "start_column": 7, + "end_line": 499, + "end_column": 62 }, { - "method_name": "getOrderID", + "method_name": "createProducer", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "context", + "receiver_type": "javax.jms.JMSContext", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "javax.jms.JMSProducer", + "callee_signature": "createProducer()", "is_public": true, "is_protected": false, "is_private": false, @@ -182365,22 +189904,195 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 446, - "start_column": 22, - "end_line": 446, - "end_column": 43 + "start_line": 499, + "start_column": 7, + "end_line": 499, + "end_column": 30 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "context", + "type": "javax.jms.JMSContext", + "initializer": "queueConnectionFactory.createContext()", + "start_line": 489, + "start_column": 21, + "end_line": 489, + "end_column": 68 }, { - "method_name": "error", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "message", + "type": "javax.jms.TextMessage", + "initializer": "context.createTextMessage()", + "start_line": 490, + "start_column": 19, + "end_line": 490, + "end_column": 55 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 6, + "is_entrypoint": false + }, + "completeOrder(java.sql.Connection, java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "comments": [ + { + "content": " get the data for the account and quote", + "start_line": 581, + "end_line": 581, + "start_column": 5, + "end_column": 45, + "is_javadoc": false + }, + { + "content": " the holding will be created for a buy or extracted for a sell", + "start_line": 582, + "end_line": 582, + "start_column": 5, + "end_column": 68, + "is_javadoc": false + }, + { + "content": "conn = getConn();", + "start_line": 547, + "end_line": 547, + "start_column": 5, + "end_column": 23, + "is_javadoc": false + }, + { + "content": " if (order.isCompleted())", + "start_line": 568, + "end_line": 568, + "start_column": 5, + "end_column": 31, + "is_javadoc": false + }, + { + "content": "\n * Use the AccountID and Quote Symbol from the Order AccountDataBean\n * accountData = getAccountData(accountID, conn); QuoteDataBean\n * quoteData = getQuoteData(conn, quoteID);\n ", + "start_line": 584, + "end_line": 588, + "start_column": 5, + "end_column": 7, + "is_javadoc": false + }, + { + "content": " if (order.isBuy())", + "start_line": 598, + "end_line": 598, + "start_column": 5, + "end_column": 25, + "is_javadoc": false + }, + { + "content": "\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n ", + "start_line": 600, + "end_line": 603, + "start_column": 7, + "end_column": 9, + "is_javadoc": false + }, + { + "content": " if (order.isSell()) {", + "start_line": 611, + "end_line": 611, + "start_column": 5, + "end_column": 28, + "is_javadoc": false + }, + { + "content": "\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n ", + "start_line": 613, + "end_line": 616, + "start_column": 7, + "end_column": 9, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private OrderDataBean completeOrder(Connection conn, Integer orderID) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 546, + "end_line": 546, + "start_column": 39, + "end_column": 53 + }, + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 546, + "end_line": 546, + "start_column": 56, + "end_column": 70 + } + ], + "code": "{\n //conn = getConn();\n OrderDataBean orderData = null;\n \n Log.trace(\"TradeDirect:completeOrderInternal - inSession(\" + this.inSession + \")\", orderID);\n \n\n PreparedStatement stmt = getStatement(conn, getOrderSQL);\n stmt.setInt(1, orderID.intValue());\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:completeOrder -- unable to find order: \" + orderID);\n stmt.close();\n return orderData;\n }\n orderData = getOrderDataFromResultSet(rs);\n\n String orderType = orderData.getOrderType();\n String orderStatus = orderData.getOrderStatus();\n\n // if (order.isCompleted())\n if ((orderStatus.compareToIgnoreCase(\"completed\") == 0) || (orderStatus.compareToIgnoreCase(\"alertcompleted\") == 0)\n || (orderStatus.compareToIgnoreCase(\"cancelled\") == 0)) {\n throw new Exception(\"TradeDirect:completeOrder -- attempt to complete Order that is already completed\");\n }\n\n int accountID = rs.getInt(\"account_accountID\");\n String quoteID = rs.getString(\"quote_symbol\");\n int holdingID = rs.getInt(\"holding_holdingID\");\n\n BigDecimal price = orderData.getPrice();\n double quantity = orderData.getQuantity();\n\n // get the data for the account and quote\n // the holding will be created for a buy or extracted for a sell\n\n /*\n * Use the AccountID and Quote Symbol from the Order AccountDataBean\n * accountData = getAccountData(accountID, conn); QuoteDataBean\n * quoteData = getQuoteData(conn, quoteID);\n */\n String userID = getAccountProfileData(conn, new Integer(accountID)).getUserID();\n\n HoldingDataBean holdingData = null;\n\n \n Log.trace(\"TradeDirect:completeOrder--> Completing Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \"\n + accountID + \"\\n\\t Quote info: \" + quoteID);\n \n\n // if (order.isBuy())\n if (orderType.compareToIgnoreCase(\"buy\") == 0) {\n /*\n * Complete a Buy operation - create a new Holding for the Account -\n * deduct the Order cost from the Account balance\n */\n\n holdingData = createHolding(conn, accountID, quoteID, quantity, price);\n updateOrderHolding(conn, orderID.intValue(), holdingData.getHoldingID().intValue());\n updateOrderStatus(conn, orderData.getOrderID(), \"closed\");\n updateQuotePriceVolume(orderData.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), orderData.getQuantity());\n }\n\n // if (order.isSell()) {\n if (orderType.compareToIgnoreCase(\"sell\") == 0) {\n /*\n * Complete a Sell operation - remove the Holding from the Account -\n * deposit the Order proceeds to the Account balance\n */\n holdingData = getHoldingData(conn, holdingID);\n if (holdingData == null) {\n Log.debug(\"TradeDirect:completeOrder:sell -- user: \" + userID + \" already sold holding: \" + holdingID);\n updateOrderStatus(conn, orderData.getOrderID(), \"cancelled\");\n } else {\n removeHolding(conn, holdingID, orderID.intValue());\n updateOrderStatus(conn, orderData.getOrderID(), \"closed\");\n updateQuotePriceVolume(orderData.getSymbol(), TradeConfig.getRandomPriceChangeFactor(), orderData.getQuantity());\n }\n\n } \n\n\n\n Log.trace(\"TradeDirect:completeOrder--> Completed Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \"\n + accountID + \"\\n\\t Quote info: \" + quoteID + \"\\n\\t Holding info: \" + holdingData);\n \n stmt.close();\n\n commit(conn);\n\n\n\n return orderData;\n }", + "start_line": 546, + "end_line": 641, + "code_start_line": 546, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal", + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.lang.String", + "java.sql.PreparedStatement", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getOrderSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "javax.jms.JMSException" + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:completeOrderInternal - inSession(\" + this.inSession + \")\"", + "orderID" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -182389,22 +190101,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 449, - "start_column": 9, - "end_line": 449, - "end_column": 98 + "start_line": 550, + "start_column": 5, + "end_line": 550, + "end_column": 95 }, { - "method_name": "cancelOrder", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Integer" + "java.lang.String" ], - "return_type": "", - "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "argument_expr": [ + "conn", + "getOrderSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -182413,19 +190129,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, - "start_column": 9, - "end_line": 451, - "end_column": 49 + "start_line": 553, + "start_column": 30, + "end_line": 553, + "end_column": 60 }, { - "method_name": "getOrderID", + "method_name": "setInt", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "1", + "orderID.intValue()" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -182434,43 +190157,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 451, - "start_column": 27, - "end_line": 451, - "end_column": 48 + "start_line": 554, + "start_column": 5, + "end_line": 554, + "end_column": 38 }, { - "method_name": "getOrderData", + "method_name": "intValue", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderData(java.sql.Connection, int)", - "is_public": false, + "receiver_expr": "orderID", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, - "start_column": 19, - "end_line": 454, - "end_column": 71 + "start_line": 554, + "start_column": 20, + "end_line": 554, + "end_column": 37 }, { - "method_name": "intValue", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "orderData.getOrderID()", - "receiver_type": "java.lang.Integer", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -182479,19 +190201,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, - "start_column": 38, - "end_line": 454, - "end_column": 70 + "start_line": 556, + "start_column": 20, + "end_line": 556, + "end_column": 38 }, { - "method_name": "getOrderID", + "method_name": "next", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -182500,21 +190223,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 454, - "start_column": 38, - "end_line": 454, - "end_column": 59 + "start_line": 558, + "start_column": 10, + "end_line": 558, + "end_column": 18 }, { - "method_name": "trace", + "method_name": "error", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:completeOrder -- unable to find order: \" + orderID" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -182523,19 +190249,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 458, - "start_column": 9, - "end_line": 458, - "end_column": 67 + "start_line": 559, + "start_column": 7, + "end_line": 559, + "end_column": 80 }, { - "method_name": "commit", + "method_name": "close", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -182544,44 +190271,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 460, - "start_column": 9, - "end_line": 460, - "end_column": 20 + "start_line": 560, + "start_column": 7, + "end_line": 560, + "end_column": 18 }, { - "method_name": "setInGlobalTxn", + "method_name": "getOrderDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "" + "java.sql.ResultSet" ], - "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 461, - "start_column": 9, - "end_line": 461, - "end_column": 29 - }, - { - "method_name": "commit", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" + "argument_expr": [ + "rs" ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -182590,64 +190297,68 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 463, - "start_column": 9, - "end_line": 463, - "end_column": 20 + "start_line": 563, + "start_column": 17, + "end_line": 563, + "end_column": 45 }, { - "method_name": "error", + "method_name": "getOrderType", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getOrderType()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 466, - "start_column": 7, - "end_line": 466, - "end_column": 44 + "start_line": 565, + "start_column": 24, + "end_line": 565, + "end_column": 47 }, { - "method_name": "getInGlobalTxn", + "method_name": "getOrderStatus", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", - "is_public": false, + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getOrderStatus()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 467, - "start_column": 11, - "end_line": 467, - "end_column": 26 + "start_line": 566, + "start_column": 26, + "end_line": 566, + "end_column": 51 }, { - "method_name": "rollback", + "method_name": "compareToIgnoreCase", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", - "argument_types": [], + "receiver_expr": "orderStatus", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"completed\"" + ], "return_type": "", - "callee_signature": "rollback()", + "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -182656,388 +190367,172 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 468, - "start_column": 9, - "end_line": 468, - "end_column": 22 + "start_line": 569, + "start_column": 10, + "end_line": 569, + "end_column": 53 }, { - "method_name": "rollBack", + "method_name": "compareToIgnoreCase", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "orderStatus", + "receiver_type": "java.lang.String", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.lang.String" + ], + "argument_expr": [ + "\"alertcompleted\"" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "callee_signature": "compareToIgnoreCase(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 470, - "start_column": 9, - "end_line": 470, - "end_column": 25 + "start_line": 569, + "start_column": 65, + "end_line": 569, + "end_column": 113 }, { - "method_name": "releaseConn", + "method_name": "compareToIgnoreCase", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "orderStatus", + "receiver_type": "java.lang.String", "argument_types": [ - "java.sql.Connection" + "java.lang.String" + ], + "argument_expr": [ + "\"cancelled\"" ], "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "callee_signature": "compareToIgnoreCase(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 473, - "start_column": 7, - "end_line": 473, - "end_column": 23 + "start_line": 570, + "start_column": 13, + "end_line": 570, + "end_column": 56 }, { - "method_name": "", + "method_name": "getInt", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Exception", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.Exception", - "callee_signature": "Exception(java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"account_accountID\"" + ], + "return_type": "", + "callee_signature": "getInt(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 419, - "start_column": 26, - "end_line": 419, - "end_column": 45 + "start_line": 574, + "start_column": 21, + "end_line": 574, + "end_column": 50 }, { - "method_name": "", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "OrderDataBean()", - "is_public": false, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"quote_symbol\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 421, - "start_column": 21, - "end_line": 421, - "end_column": 39 + "start_line": 575, + "start_column": 22, + "end_line": 575, + "end_column": 49 }, { - "method_name": "", + "method_name": "getInt", "comment": null, - "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "" + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", - "is_public": false, + "argument_expr": [ + "\"holding_holdingID\"" + ], + "return_type": "", + "callee_signature": "getInt(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 437, - "start_column": 16, - "end_line": 437, - "end_column": 39 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 381, - "start_column": 16, - "end_line": 381, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "null", - "start_line": 382, - "start_column": 19, - "end_line": 382, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "total", - "type": "java.math.BigDecimal", - "initializer": "", - "start_line": 388, - "start_column": 16, - "end_line": 388, - "end_column": 20 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "getAccountData(conn, userID)", - "start_line": 405, - "start_column": 23, - "end_line": 405, - "end_column": 64 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "getHoldingData(conn, holdingID.intValue())", - "start_line": 406, - "start_column": 23, - "end_line": 406, - "end_column": 78 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 407, + "start_line": 576, "start_column": 21, - "end_line": 407, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "error", - "type": "java.lang.String", - "initializer": "\"TradeDirect:sell -- error selling stock -- unable to find: \\n\\taccount=\" + accountData + \"\\n\\tholding=\" + holdingData + \"\\n\\tquote=\" + quoteData + \"\\nfor user: \" + userID + \" and holdingID: \" + holdingID", - "start_line": 413, - "start_column": 16, - "end_line": 414, - "end_column": 97 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quantity", - "type": "double", - "initializer": "holdingData.getQuantity()", - "start_line": 426, - "start_column": 14, - "end_line": 426, - "end_column": 49 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "price", - "type": "java.math.BigDecimal", - "initializer": "quoteData.getPrice()", - "start_line": 435, - "start_column": 18, - "end_line": 435, - "end_column": 45 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderFee", - "type": "java.math.BigDecimal", - "initializer": "orderData.getOrderFee()", - "start_line": 436, - "start_column": 18, - "end_line": 436, - "end_column": 51 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 17, - "is_entrypoint": false - }, - "getAccountData(Connection, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountData(Connection, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private AccountDataBean getAccountData(Connection conn, String userID) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1054, - "end_line": 1054, - "start_column": 42, - "end_column": 56 + "end_line": 576, + "end_column": 50 }, { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 1054, - "end_line": 1054, - "start_column": 59, - "end_column": 71 - } - ], - "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountForUserSQL);\n stmt.setString(1, userID);\n ResultSet rs = stmt.executeQuery();\n AccountDataBean accountData = getAccountDataFromResultSet(rs);\n stmt.close();\n return accountData;\n }", - "start_line": 1054, - "end_line": 1061, - "code_start_line": 1054, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountForUserSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", + "method_name": "getPrice", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1055, - "start_column": 30, - "end_line": 1055, - "end_column": 69 + "start_line": 578, + "start_column": 24, + "end_line": 578, + "end_column": 43 }, { - "method_name": "setString", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -183046,19 +190541,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1056, - "start_column": 5, - "end_line": 1056, - "end_column": 29 + "start_line": 579, + "start_column": 23, + "end_line": 579, + "end_column": 45 }, { - "method_name": "executeQuery", + "method_name": "getUserID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "getAccountProfileData(conn, new Integer(accountID))", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", "is_public": true, "is_protected": false, "is_private": false, @@ -183067,21 +190563,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1057, - "start_column": 20, - "end_line": 1057, - "end_column": 38 + "start_line": 589, + "start_column": 21, + "end_line": 589, + "end_column": 83 }, { - "method_name": "getAccountDataFromResultSet", + "method_name": "getAccountProfileData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.ResultSet" + "java.sql.Connection", + "java.lang.Integer" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "conn", + "new Integer(accountID)" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": true, @@ -183090,173 +190591,106 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1058, - "start_column": 35, - "end_line": 1058, - "end_column": 65 + "start_line": 589, + "start_column": 21, + "end_line": 589, + "end_column": 71 }, { - "method_name": "close", + "method_name": "trace", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:completeOrder--> Completing Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \" + accountID + \"\\n\\t Quote info: \" + quoteID" + ], "return_type": "", - "callee_signature": "close()", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1059, + "start_line": 594, "start_column": 5, - "end_line": 1059, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAccountForUserSQL)", - "start_line": 1055, - "start_column": 23, - "end_line": 1055, - "end_column": 69 + "end_line": 595, + "end_column": 54 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1057, - "start_column": 15, - "end_line": 1057, - "end_column": 38 + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 594, + "start_column": 66, + "end_line": 594, + "end_column": 87 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "getAccountDataFromResultSet(rs)", - "start_line": 1058, - "start_column": 21, - "end_line": 1058, - "end_column": 65 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getHolding(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getHolding(Integer)", - "comments": [ - { - "content": "\n * @see TradeServices#getHolding(Integer)\n ", - "start_line": 999, - "end_line": 1001, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public HoldingDataBean getHolding(Integer holdingID) throws Exception", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 1003, - "end_line": 1003, - "start_column": 37, - "end_column": 53 - } - ], - "code": "{\n HoldingDataBean holdingData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getHolding - inSession(\" + this.inSession + \")\", holdingID);\n \n\n conn = getConn();\n holdingData = getHoldingData(holdingID.intValue());\n\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHolding -- error getting holding \" + holdingID + \"\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingData;\n }", - "start_line": 1002, - "end_line": 1023, - "code_start_line": 1003, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ - { - "method_name": "trace", + "method_name": "compareToIgnoreCase", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "orderType", + "receiver_type": "java.lang.String", "argument_types": [ - "java.lang.String", - "java.lang.Integer" + "java.lang.String" + ], + "argument_expr": [ + "\"buy\"" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1008, - "start_column": 7, - "end_line": 1008, - "end_column": 88 + "start_line": 599, + "start_column": 9, + "end_line": 599, + "end_column": 44 }, { - "method_name": "getConn", + "method_name": "createHolding", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_types": [ + "java.sql.Connection", + "", + "java.lang.String", + "", + "java.math.BigDecimal" + ], + "argument_expr": [ + "conn", + "accountID", + "quoteID", + "quantity", + "price" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "createHolding(java.sql.Connection, int, java.lang.String, double, java.math.BigDecimal)", "is_public": false, "is_protected": false, "is_private": true, @@ -183265,21 +190699,28 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1011, - "start_column": 14, - "end_line": 1011, - "end_column": 22 + "start_line": 605, + "start_column": 21, + "end_line": 605, + "end_column": 76 }, { - "method_name": "getHoldingData", + "method_name": "updateOrderHolding", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ + "java.sql.Connection", + "", "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingData(int)", + "argument_expr": [ + "conn", + "orderID.intValue()", + "holdingData.getHoldingID().intValue()" + ], + "return_type": "", + "callee_signature": "updateOrderHolding(java.sql.Connection, int, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -183288,17 +190729,18 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1012, - "start_column": 21, - "end_line": 1012, - "end_column": 56 + "start_line": 606, + "start_column": 7, + "end_line": 606, + "end_column": 89 }, { "method_name": "intValue", "comment": null, - "receiver_expr": "holdingID", + "receiver_expr": "orderID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -183309,69 +190751,72 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1012, - "start_column": 36, - "end_line": 1012, - "end_column": 55 + "start_line": 606, + "start_column": 32, + "end_line": 606, + "end_column": 49 }, { - "method_name": "commit", + "method_name": "intValue", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "holdingData.getHoldingID()", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "intValue()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1014, - "start_column": 7, - "end_line": 1014, - "end_column": 18 + "start_line": 606, + "start_column": 52, + "end_line": 606, + "end_column": 88 }, { - "method_name": "error", + "method_name": "getHoldingID", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getHoldingID()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1017, - "start_column": 7, - "end_line": 1017, - "end_column": 87 + "start_line": 606, + "start_column": 52, + "end_line": 606, + "end_column": 77 }, { - "method_name": "rollBack", + "method_name": "updateOrderStatus", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Exception" + "java.lang.Integer", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()", + "\"closed\"" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -183380,169 +190825,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1018, + "start_line": 607, "start_column": 7, - "end_line": 1018, - "end_column": 23 + "end_line": 607, + "end_column": 63 }, { - "method_name": "releaseConn", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1020, - "start_column": 7, - "end_line": 1020, - "end_column": 23 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "null", - "start_line": 1004, - "start_column": 21, - "end_line": 1004, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1005, - "start_column": 16, - "end_line": 1005, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "updateOrderHolding(Connection, int, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateOrderHolding(Connection, int, int)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private void updateOrderHolding(Connection conn, int orderID, int holdingID) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1265, - "end_line": 1265, - "start_column": 35, - "end_column": 49 - }, - { - "type": "int", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 1265, - "end_line": 1265, - "start_column": 52, - "end_column": 62 + "start_line": 607, + "start_column": 31, + "end_line": 607, + "end_column": 52 }, { - "type": "int", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 1265, - "end_line": 1265, - "start_column": 65, - "end_column": 77 - } - ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateOrderHoldingSQL);\n\n stmt.setInt(1, holdingID);\n stmt.setInt(2, orderID);\n stmt.executeUpdate();\n stmt.close();\n }", - "start_line": 1265, - "end_line": 1272, - "code_start_line": 1265, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateOrderHoldingSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", + "method_name": "updateQuotePriceVolume", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1266, - "start_column": 30, - "end_line": 1266, - "end_column": 70 - }, - { - "method_name": "setInt", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", + "java.lang.String", + "java.math.BigDecimal", "" ], - "return_type": "", - "callee_signature": "setInt(int, int)", + "argument_expr": [ + "orderData.getSymbol()", + "TradeConfig.getRandomPriceChangeFactor()", + "orderData.getQuantity()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -183551,22 +190877,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1268, - "start_column": 5, - "end_line": 1268, - "end_column": 29 + "start_line": 608, + "start_column": 7, + "end_line": 608, + "end_column": 118 }, { - "method_name": "setInt", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "setInt(int, int)", + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", "is_public": true, "is_protected": false, "is_private": false, @@ -183575,40 +190899,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1269, - "start_column": 5, - "end_line": 1269, - "end_column": 27 + "start_line": 608, + "start_column": 30, + "end_line": 608, + "end_column": 50 }, { - "method_name": "executeUpdate", + "method_name": "getRandomPriceChangeFactor", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getRandomPriceChangeFactor()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1270, - "start_column": 5, - "end_line": 1270, - "end_column": 24 + "start_line": 608, + "start_column": 53, + "end_line": 608, + "end_column": 92 }, { - "method_name": "close", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "close()", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -183617,96 +190943,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1271, - "start_column": 5, - "end_line": 1271, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, updateOrderHoldingSQL)", - "start_line": 1266, - "start_column": 23, - "end_line": 1266, - "end_column": 70 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "completeOrderAsync(Integer, boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "completeOrderAsync(Integer, boolean)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Future completeOrderAsync(Integer orderID, boolean twoPhase) throws Exception", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 538, - "end_line": 538, - "start_column": 51, - "end_column": 65 + "start_line": 608, + "start_column": 95, + "end_line": 608, + "end_column": 117 }, { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 538, - "end_line": 538, - "start_column": 68, - "end_column": 83 - } - ], - "code": "{\n if (!inSession) {\n asyncOrderSubmitter.submitOrder(orderID, twoPhase);\n }\n return null;\n }", - "start_line": 537, - "end_line": 543, - "code_start_line": 538, - "return_type": "java.util.concurrent.Future", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.asyncOrderSubmitter", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ - { - "method_name": "submitOrder", + "method_name": "compareToIgnoreCase", "comment": null, - "receiver_expr": "asyncOrderSubmitter", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", + "receiver_expr": "orderType", + "receiver_type": "java.lang.String", "argument_types": [ - "java.lang.Integer", - "" + "java.lang.String" ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "submitOrder(java.lang.Integer, boolean)", + "argument_expr": [ + "\"sell\"" + ], + "return_type": "", + "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -183715,105 +190969,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 540, - "start_column": 7, - "end_line": 540, - "end_column": 56 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "removeHolding(Connection, int, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "removeHolding(Connection, int, int)", - "comments": [ - { - "content": " set the HoldingID to NULL for the purchase and sell order now that", - "start_line": 702, - "end_line": 702, - "start_column": 5, - "end_column": 73, - "is_javadoc": false - }, - { - "content": " the holding as been removed", - "start_line": 703, - "end_line": 703, - "start_column": 5, - "end_column": 34, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private void removeHolding(Connection conn, int holdingID, int orderID) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 695, - "end_line": 695, - "start_column": 30, - "end_column": 44 - }, - { - "type": "int", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 695, - "end_line": 695, - "start_column": 47, - "end_column": 59 + "start_line": 612, + "start_column": 9, + "end_line": 612, + "end_column": 45 }, { - "type": "int", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 695, - "end_line": 695, - "start_column": 62, - "end_column": 72 - } - ], - "code": "{\n PreparedStatement stmt = getStatement(conn, removeHoldingSQL);\n\n stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\n\n // set the HoldingID to NULL for the purchase and sell order now that\n // the holding as been removed\n stmt = getStatement(conn, removeHoldingFromOrderSQL);\n\n stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\n\n }", - "start_line": 695, - "end_line": 710, - "code_start_line": 695, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.removeHoldingSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.removeHoldingFromOrderSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", + "method_name": "getHoldingData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.String" + "" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "holdingID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingData(java.sql.Connection, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -183822,64 +190997,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 696, - "start_column": 30, - "end_line": 696, - "end_column": 65 + "start_line": 617, + "start_column": 21, + "end_line": 617, + "end_column": 51 }, { - "method_name": "setInt", + "method_name": "debug", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", - "" + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:completeOrder:sell -- user: \" + userID + \" already sold holding: \" + holdingID" ], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 698, - "start_column": 5, - "end_line": 698, - "end_column": 29 + "start_line": 619, + "start_column": 9, + "end_line": 619, + "end_column": 110 }, { - "method_name": "executeUpdate", + "method_name": "updateOrderStatus", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Integer", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()", + "\"cancelled\"" + ], "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, + "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 699, - "start_column": 5, - "end_line": 699, - "end_column": 24 + "start_line": 620, + "start_column": 9, + "end_line": 620, + "end_column": 68 }, { - "method_name": "close", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -183888,22 +191075,28 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 700, - "start_column": 5, - "end_line": 700, - "end_column": 16 + "start_line": 620, + "start_column": 33, + "end_line": 620, + "end_column": 54 }, { - "method_name": "getStatement", + "method_name": "removeHolding", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.String" + "", + "" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "holdingID", + "orderID.intValue()" + ], + "return_type": "", + "callee_signature": "removeHolding(java.sql.Connection, int, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -183912,22 +191105,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 704, - "start_column": 12, - "end_line": 704, - "end_column": 56 + "start_line": 622, + "start_column": 9, + "end_line": 622, + "end_column": 58 }, { - "method_name": "setInt", + "method_name": "intValue", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], + "receiver_expr": "orderID", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -183936,40 +191127,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 706, - "start_column": 5, - "end_line": 706, - "end_column": 29 + "start_line": 622, + "start_column": 40, + "end_line": 622, + "end_column": 57 }, { - "method_name": "executeUpdate", + "method_name": "updateOrderStatus", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Integer", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()", + "\"closed\"" + ], "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, + "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 707, - "start_column": 5, - "end_line": 707, - "end_column": 24 + "start_line": 623, + "start_column": 9, + "end_line": 623, + "end_column": 65 }, { - "method_name": "close", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -183978,119 +191179,50 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 708, - "start_column": 5, - "end_line": 708, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, removeHoldingSQL)", - "start_line": 696, - "start_column": 23, - "end_line": 696, - "end_column": 65 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "updateAccountProfile(Connection, AccountProfileDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateAccountProfile(Connection, AccountProfileDataBean)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private void updateAccountProfile(Connection conn, AccountProfileDataBean profileData) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1274, - "end_line": 1274, - "start_column": 37, - "end_column": 51 + "start_line": 623, + "start_column": 33, + "end_line": 623, + "end_column": 54 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profileData", - "annotations": [], - "modifiers": [], - "start_line": 1274, - "end_line": 1274, - "start_column": 54, - "end_column": 87 - } - ], - "code": "{\n PreparedStatement stmt = getStatement(conn, updateAccountProfileSQL);\n\n stmt.setString(1, profileData.getPassword());\n stmt.setString(2, profileData.getFullName());\n stmt.setString(3, profileData.getAddress());\n stmt.setString(4, profileData.getEmail());\n stmt.setString(5, profileData.getCreditCard());\n stmt.setString(6, profileData.getUserID());\n\n stmt.executeUpdate();\n stmt.close();\n }", - "start_line": 1274, - "end_line": 1286, - "code_start_line": 1274, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateAccountProfileSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", + "method_name": "updateQuotePriceVolume", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "java.lang.String", + "java.math.BigDecimal", + "" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "orderData.getSymbol()", + "TradeConfig.getRandomPriceChangeFactor()", + "orderData.getQuantity()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1275, - "start_column": 30, - "end_line": 1275, - "end_column": 72 + "start_line": 624, + "start_column": 9, + "end_line": 624, + "end_column": 120 }, { - "method_name": "setString", + "method_name": "getSymbol", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", "is_public": true, "is_protected": false, "is_private": false, @@ -184099,19 +191231,42 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1277, - "start_column": 5, - "end_line": 1277, - "end_column": 48 + "start_line": 624, + "start_column": 32, + "end_line": 624, + "end_column": 52 }, { - "method_name": "getPassword", + "method_name": "getRandomPriceChangeFactor", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getRandomPriceChangeFactor()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 624, + "start_column": 55, + "end_line": 624, + "end_column": 94 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -184120,43 +191275,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1277, - "start_column": 23, - "end_line": 1277, - "end_column": 47 + "start_line": 624, + "start_column": 97, + "end_line": 624, + "end_column": 119 }, { - "method_name": "setString", + "method_name": "trace", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:completeOrder--> Completed Order \" + orderData.getOrderID() + \"\\n\\t Order info: \" + orderData + \"\\n\\t Account info: \" + accountID + \"\\n\\t Quote info: \" + quoteID + \"\\n\\t Holding info: \" + holdingData" + ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1278, + "start_line": 631, "start_column": 5, - "end_line": 1278, - "end_column": 48 + "end_line": 632, + "end_column": 92 }, { - "method_name": "getFullName", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getFullName()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -184165,22 +191323,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1278, - "start_column": 23, - "end_line": 1278, - "end_column": 47 + "start_line": 631, + "start_column": 65, + "end_line": 631, + "end_column": 86 }, { - "method_name": "setString", + "method_name": "close", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -184189,121 +191345,459 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1279, + "start_line": 634, "start_column": 5, - "end_line": 1279, - "end_column": 47 + "end_line": 634, + "end_column": 16 }, { - "method_name": "getAddress", + "method_name": "commit", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getAddress()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1279, - "start_column": 23, - "end_line": 1279, - "end_column": 46 + "start_line": 636, + "start_column": 5, + "end_line": 636, + "end_column": 16 }, { - "method_name": "setString", + "method_name": "", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "java.lang.Exception", "argument_types": [ - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, + "argument_expr": [ + "\"TradeDirect:completeOrder -- attempt to complete Order that is already completed\"" + ], + "return_type": "java.lang.Exception", + "callee_signature": "Exception(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1280, - "start_column": 5, - "end_line": 1280, - "end_column": 45 + "start_line": 571, + "start_column": 13, + "end_line": 571, + "end_column": 109 }, { - "method_name": "getEmail", + "method_name": "", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getEmail()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "" + ], + "argument_expr": [ + "accountID" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1280, + "start_line": 589, + "start_column": 49, + "end_line": 589, + "end_column": 70 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "null", + "start_line": 548, + "start_column": 19, + "end_line": 548, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getOrderSQL)", + "start_line": 553, "start_column": 23, - "end_line": 1280, - "end_column": 44 + "end_line": 553, + "end_column": 60 }, { - "method_name": "setString", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 556, + "start_column": 15, + "end_line": 556, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderType", + "type": "java.lang.String", + "initializer": "orderData.getOrderType()", + "start_line": 565, + "start_column": 12, + "end_line": 565, + "end_column": 47 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderStatus", + "type": "java.lang.String", + "initializer": "orderData.getOrderStatus()", + "start_line": 566, + "start_column": 12, + "end_line": 566, + "end_column": 51 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountID", + "type": "int", + "initializer": "rs.getInt(\"account_accountID\")", + "start_line": 574, + "start_column": 9, + "end_line": 574, + "end_column": 50 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteID", + "type": "java.lang.String", + "initializer": "rs.getString(\"quote_symbol\")", + "start_line": 575, + "start_column": 12, + "end_line": 575, + "end_column": 49 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingID", + "type": "int", + "initializer": "rs.getInt(\"holding_holdingID\")", + "start_line": 576, + "start_column": 9, + "end_line": 576, + "end_column": 50 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "java.math.BigDecimal", + "initializer": "orderData.getPrice()", + "start_line": 578, + "start_column": 16, + "end_line": 578, + "end_column": 43 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "double", + "initializer": "orderData.getQuantity()", + "start_line": 579, + "start_column": 12, + "end_line": 579, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "userID", + "type": "java.lang.String", + "initializer": "getAccountProfileData(conn, new Integer(accountID)).getUserID()", + "start_line": 589, + "start_column": 12, + "end_line": 589, + "end_column": 83 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "null", + "start_line": 591, + "start_column": 21, + "end_line": 591, + "end_column": 38 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 8, + "is_entrypoint": false + }, + "cancelOrder(java.sql.Connection, java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private void cancelOrder(Connection conn, Integer orderID) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 667, + "end_line": 667, + "start_column": 28, + "end_column": 42 + }, + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 667, + "end_line": 667, + "start_column": 45, + "end_column": 59 + } + ], + "code": "{\n updateOrderStatus(conn, orderID, \"cancelled\");\n }", + "start_line": 667, + "end_line": 669, + "code_start_line": 667, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "updateOrderStatus", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", + "java.sql.Connection", + "java.lang.Integer", "java.lang.String" ], + "argument_expr": [ + "conn", + "orderID", + "\"cancelled\"" + ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, + "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1281, + "start_line": 668, "start_column": 5, - "end_line": 1281, - "end_column": 50 + "end_line": 668, + "end_column": 49 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getAccountProfileData(java.sql.Connection, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private AccountProfileDataBean getAccountProfileData(Connection conn, String userID) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1184, + "end_line": 1184, + "start_column": 56, + "end_column": 70 }, { - "method_name": "getCreditCard", + "type": "java.lang.String", + "name": "userID", + "annotations": [], + "modifiers": [], + "start_line": 1184, + "end_line": 1184, + "start_column": 73, + "end_column": 85 + } + ], + "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountProfileSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n }", + "start_line": 1184, + "end_line": 1193, + "code_start_line": 1184, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.ResultSet", + "java.sql.PreparedStatement", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileSQL" + ], + "call_sites": [ + { + "method_name": "getStatement", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCreditCard()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "getAccountProfileSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1281, - "start_column": 23, - "end_line": 1281, - "end_column": 49 + "start_line": 1185, + "start_column": 30, + "end_line": 1185, + "end_column": 69 }, { "method_name": "setString", @@ -184314,6 +191808,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -184324,19 +191822,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1282, + "start_line": 1186, "start_column": 5, - "end_line": 1282, - "end_column": 46 + "end_line": 1186, + "end_column": 29 }, { - "method_name": "getUserID", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -184345,31 +191844,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1282, - "start_column": 23, - "end_line": 1282, - "end_column": 45 + "start_line": 1188, + "start_column": 20, + "end_line": 1188, + "end_column": 38 }, { - "method_name": "executeUpdate", + "method_name": "getAccountProfileDataFromResultSet", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1284, - "start_column": 5, - "end_line": 1284, - "end_column": 24 + "start_line": 1190, + "start_column": 49, + "end_line": 1190, + "end_column": 86 }, { "method_name": "close", @@ -184377,6 +191881,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -184387,9 +191892,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1285, + "start_line": 1191, "start_column": 5, - "end_line": 1285, + "end_line": 1191, "end_column": 16 } ], @@ -184405,11 +191910,45 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, updateAccountProfileSQL)", - "start_line": 1275, + "initializer": "getStatement(conn, getAccountProfileSQL)", + "start_line": 1185, "start_column": 23, - "end_line": 1275, - "end_column": 72 + "end_line": 1185, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 1188, + "start_column": 15, + "end_line": 1188, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "getAccountProfileDataFromResultSet(rs)", + "start_line": 1190, + "start_column": 28, + "end_line": 1190, + "end_column": 86 } ], "crud_operations": [], @@ -184417,95 +191956,100 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)": { + "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "publishQuotePriceChange(QuoteDataBean, BigDecimal, BigDecimal, double)", + "signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", "comments": [ { - "content": " pass exception back", - "start_line": 1396, - "end_line": 1396, - "start_column": 16, - "end_column": 37, - "is_javadoc": false + "content": "\n * Update a quote's price and volume\n *\n * @param symbol\n * The PK of the quote\n * @param changeFactor\n * the percent to change the old price by (between 50% and 150%)\n * @param sharedTraded\n * the ammount to add to the current volume\n * @param publishQuotePriceChange\n * used by the PingJDBCWrite Primitive to ensure no JMS is used,\n * should be true for all normal calls to this API\n ", + "start_line": 1293, + "end_line": 1305, + "start_column": 3, + "end_column": 5, + "is_javadoc": true } ], "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private void publishQuotePriceChange(QuoteDataBean quoteData, BigDecimal oldPrice, BigDecimal changeFactor, double sharesTraded) throws Exception", + "declaration": "public QuoteDataBean updateQuotePriceVolumeInt(String symbol, BigDecimal changeFactor, double sharesTraded, boolean publishQuotePriceChange) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quoteData", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1370, - "end_line": 1370, - "start_column": 40, + "start_line": 1306, + "end_line": 1306, + "start_column": 50, "end_column": 62 }, { "type": "java.math.BigDecimal", - "name": "oldPrice", + "name": "changeFactor", "annotations": [], "modifiers": [], - "start_line": 1370, - "end_line": 1370, + "start_line": 1306, + "end_line": 1306, "start_column": 65, - "end_column": 83 + "end_column": 87 }, { - "type": "java.math.BigDecimal", - "name": "changeFactor", + "type": "double", + "name": "sharesTraded", "annotations": [], "modifiers": [], - "start_line": 1370, - "end_line": 1370, - "start_column": 86, + "start_line": 1306, + "end_line": 1306, + "start_column": 90, "end_column": 108 }, { - "type": "double", - "name": "sharesTraded", + "type": "boolean", + "name": "publishQuotePriceChange", "annotations": [], "modifiers": [], - "start_line": 1370, - "end_line": 1370, + "start_line": 1306, + "end_line": 1306, "start_column": 111, - "end_column": 129 + "end_column": 141 } ], - "code": "{\n\n Log.trace(\"TradeDirect:publishQuotePrice PUBLISHING to MDB quoteData = \" + quoteData); \n\n try (JMSContext context = topicConnectionFactory.createContext();){\n TextMessage message = context.createTextMessage();\n\n message.setStringProperty(\"command\", \"updateQuote\");\n message.setStringProperty(\"symbol\", quoteData.getSymbol());\n message.setStringProperty(\"company\", quoteData.getCompanyName());\n message.setStringProperty(\"price\", quoteData.getPrice().toString());\n message.setStringProperty(\"oldPrice\", oldPrice.toString());\n message.setStringProperty(\"open\", quoteData.getOpen().toString());\n message.setStringProperty(\"low\", quoteData.getLow().toString());\n message.setStringProperty(\"high\", quoteData.getHigh().toString());\n message.setDoubleProperty(\"volume\", quoteData.getVolume());\n\n message.setStringProperty(\"changeFactor\", changeFactor.toString());\n message.setDoubleProperty(\"sharesTraded\", sharesTraded);\n message.setLongProperty(\"publishTime\", System.currentTimeMillis());\n message.setText(\"Update Stock price for \" + quoteData.getSymbol() + \" old price = \" + oldPrice + \" new price = \" + quoteData.getPrice());\n\n\n context.createProducer().send(tradeStreamerTopic, message);\n\n } catch (Exception e) {\n throw e; // pass exception back\n\n }\n }", - "start_line": 1370, - "end_line": 1399, - "code_start_line": 1370, - "return_type": "void", + "code": "{\n\n if (TradeConfig.getUpdateQuotePrices() == false) {\n return new QuoteDataBean();\n }\n\n QuoteDataBean quoteData = null;\n Connection conn = null;\n\n try {\n Log.trace(\"TradeDirect:updateQuotePriceVolume - inSession(\" + this.inSession + \")\", symbol, changeFactor, new Double(sharesTraded));\n\n conn = getConn();\n\n quoteData = getQuoteForUpdate(conn, symbol);\n BigDecimal oldPrice = quoteData.getPrice();\n BigDecimal openPrice = quoteData.getOpen();\n\n double newVolume = quoteData.getVolume() + sharesTraded;\n\n if (oldPrice.equals(TradeConfig.PENNY_STOCK_PRICE)) {\n changeFactor = TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER;\n } else if (oldPrice.compareTo(TradeConfig.MAXIMUM_STOCK_PRICE) > 0) {\n changeFactor = TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER;\n }\n\n BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n double change = newPrice.subtract(openPrice).doubleValue();\n\n updateQuotePriceVolume(conn, quoteData.getSymbol(), newPrice, newVolume, change);\n quoteData = getQuote(conn, symbol);\n\n commit(conn);\n\n if (publishQuotePriceChange) {\n publishQuotePriceChange(quoteData, oldPrice, changeFactor, sharesTraded);\n }\n\n recentQuotePriceChangeList.add(quoteData);\n \n } catch (Exception e) {\n Log.error(\"TradeDirect:updateQuotePriceVolume -- error updating quote price/volume for symbol:\" + symbol);\n rollBack(conn, e);\n throw e;\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", + "start_line": 1306, + "end_line": 1355, + "code_start_line": 1307, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "javax.jms.JMSContext", - "javax.jms.TextMessage" + "java.math.BigDecimal", + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.topicConnectionFactory", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.tradeStreamerTopic" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.recentQuotePriceChangeList", + "java.math.BigDecimal.ROUND_HALF_UP", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_PRICE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_PRICE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "trace", + "method_name": "getUpdateQuotePrices", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "getUpdateQuotePrices()", "is_public": true, "is_protected": false, "is_private": false, @@ -184514,88 +192058,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1372, - "start_column": 5, - "end_line": 1372, - "end_column": 89 + "start_line": 1309, + "start_column": 9, + "end_line": 1309, + "end_column": 42 }, { - "method_name": "createContext", + "method_name": "trace", "comment": null, - "receiver_expr": "topicConnectionFactory", - "receiver_type": "javax.jms.TopicConnectionFactory", - "argument_types": [], - "return_type": "javax.jms.JMSContext", - "callee_signature": "createContext()", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.math.BigDecimal", + "java.lang.Double" + ], + "argument_expr": [ + "\"TradeDirect:updateQuotePriceVolume - inSession(\" + this.inSession + \")\"", + "symbol", + "changeFactor", + "new Double(sharesTraded)" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1374, - "start_column": 31, - "end_line": 1374, - "end_column": 68 + "start_line": 1317, + "start_column": 7, + "end_line": 1317, + "end_column": 137 }, { - "method_name": "createTextMessage", + "method_name": "getConn", "comment": null, - "receiver_expr": "context", - "receiver_type": "javax.jms.JMSContext", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], - "return_type": "javax.jms.TextMessage", - "callee_signature": "createTextMessage()", - "is_public": true, + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1375, - "start_column": 29, - "end_line": 1375, - "end_column": 55 + "start_line": 1319, + "start_column": 14, + "end_line": 1319, + "end_column": 22 }, { - "method_name": "setStringProperty", + "method_name": "getQuoteForUpdate", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", + "java.sql.Connection", "java.lang.String" ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", - "is_public": true, + "argument_expr": [ + "conn", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1377, - "start_column": 7, - "end_line": 1377, - "end_column": 57 + "start_line": 1321, + "start_column": 19, + "end_line": 1321, + "end_column": 49 }, { - "method_name": "setStringProperty", + "method_name": "getPrice", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -184604,19 +192162,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1378, - "start_column": 7, - "end_line": 1378, - "end_column": 64 + "start_line": 1322, + "start_column": 29, + "end_line": 1322, + "end_column": 48 }, { - "method_name": "getSymbol", + "method_name": "getOpen", "comment": null, "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOpen()", "is_public": true, "is_protected": false, "is_private": false, @@ -184625,22 +192184,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1378, - "start_column": 43, - "end_line": 1378, - "end_column": 63 + "start_line": 1323, + "start_column": 30, + "end_line": 1323, + "end_column": 48 }, { - "method_name": "setStringProperty", + "method_name": "getVolume", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "getVolume()", "is_public": true, "is_protected": false, "is_private": false, @@ -184649,19 +192206,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1379, - "start_column": 7, - "end_line": 1379, - "end_column": 70 + "start_line": 1325, + "start_column": 26, + "end_line": 1325, + "end_column": 46 }, { - "method_name": "getCompanyName", + "method_name": "equals", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getCompanyName()", + "receiver_expr": "oldPrice", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "TradeConfig.PENNY_STOCK_PRICE" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -184670,22 +192232,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1379, - "start_column": 44, - "end_line": 1379, - "end_column": 69 + "start_line": 1327, + "start_column": 11, + "end_line": 1327, + "end_column": 56 }, { - "method_name": "setStringProperty", + "method_name": "compareTo", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "oldPrice", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.math.BigDecimal" + ], + "argument_expr": [ + "TradeConfig.MAXIMUM_STOCK_PRICE" ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "compareTo(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -184694,19 +192258,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1380, - "start_column": 7, - "end_line": 1380, - "end_column": 73 + "start_line": 1329, + "start_column": 18, + "end_line": 1329, + "end_column": 68 }, { - "method_name": "toString", + "method_name": "setScale", "comment": null, - "receiver_expr": "quoteData.getPrice()", + "receiver_expr": "changeFactor.multiply(oldPrice)", "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "2", + "BigDecimal.ROUND_HALF_UP" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -184715,19 +192286,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1380, - "start_column": 42, - "end_line": 1380, - "end_column": 72 + "start_line": 1333, + "start_column": 29, + "end_line": 1333, + "end_column": 97 }, { - "method_name": "getPrice", + "method_name": "multiply", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], + "receiver_expr": "changeFactor", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "oldPrice" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -184736,22 +192312,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1380, - "start_column": 42, - "end_line": 1380, - "end_column": 61 + "start_line": 1333, + "start_column": 29, + "end_line": 1333, + "end_column": 59 }, { - "method_name": "setStringProperty", + "method_name": "doubleValue", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], + "receiver_expr": "newPrice.subtract(openPrice)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "doubleValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -184760,19 +192334,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1381, - "start_column": 7, - "end_line": 1381, + "start_line": 1334, + "start_column": 23, + "end_line": 1334, "end_column": 64 }, { - "method_name": "toString", + "method_name": "subtract", "comment": null, - "receiver_expr": "oldPrice", + "receiver_expr": "newPrice", "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "openPrice" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -184781,43 +192360,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1381, - "start_column": 45, - "end_line": 1381, - "end_column": 63 + "start_line": 1334, + "start_column": 23, + "end_line": 1334, + "end_column": 50 }, { - "method_name": "setStringProperty", + "method_name": "updateQuotePriceVolume", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "java.sql.Connection", "java.lang.String", - "java.lang.String" + "java.math.BigDecimal", + "", + "" + ], + "argument_expr": [ + "conn", + "quoteData.getSymbol()", + "newPrice", + "newVolume", + "change" ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", - "is_public": true, + "callee_signature": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1382, + "start_line": 1336, "start_column": 7, - "end_line": 1382, - "end_column": 71 + "end_line": 1336, + "end_column": 86 }, { - "method_name": "toString", + "method_name": "getSymbol", "comment": null, - "receiver_expr": "quoteData.getOpen()", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", - "callee_signature": "toString()", + "callee_signature": "getSymbol()", "is_public": true, "is_protected": false, "is_private": false, @@ -184826,85 +192416,110 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1382, - "start_column": 41, - "end_line": 1382, - "end_column": 70 + "start_line": 1336, + "start_column": 36, + "end_line": 1336, + "end_column": 56 }, { - "method_name": "getOpen", + "method_name": "getQuote", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOpen()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1382, - "start_column": 41, - "end_line": 1382, - "end_column": 59 + "start_line": 1337, + "start_column": 19, + "end_line": 1337, + "end_column": 40 }, { - "method_name": "setStringProperty", + "method_name": "commit", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.String" + "java.sql.Connection" + ], + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1383, + "start_line": 1339, "start_column": 7, - "end_line": 1383, - "end_column": 69 + "end_line": 1339, + "end_column": 18 }, { - "method_name": "toString", + "method_name": "publishQuotePriceChange", "comment": null, - "receiver_expr": "quoteData.getLow()", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.math.BigDecimal", + "java.math.BigDecimal", + "" + ], + "argument_expr": [ + "quoteData", + "oldPrice", + "changeFactor", + "sharesTraded" + ], + "return_type": "", + "callee_signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1383, - "start_column": 40, - "end_line": 1383, - "end_column": 68 + "start_line": 1342, + "start_column": 9, + "end_line": 1342, + "end_column": 80 }, { - "method_name": "getLow", + "method_name": "add", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getLow()", + "receiver_expr": "recentQuotePriceChangeList", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "quoteData" + ], + "return_type": "", + "callee_signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "is_public": true, "is_protected": false, "is_private": false, @@ -184913,109 +192528,341 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1383, - "start_column": 40, - "end_line": 1383, - "end_column": 57 + "start_line": 1345, + "start_column": 7, + "end_line": 1345, + "end_column": 47 }, { - "method_name": "setStringProperty", + "method_name": "error", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:updateQuotePriceVolume -- error updating quote price/volume for symbol:\" + symbol" + ], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1348, + "start_column": 7, + "end_line": 1348, + "end_column": 111 + }, + { + "method_name": "rollBack", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1384, + "start_line": 1349, "start_column": 7, - "end_line": 1384, - "end_column": 71 + "end_line": 1349, + "end_column": 23 }, { - "method_name": "toString", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "quoteData.getHigh()", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1384, - "start_column": 41, - "end_line": 1384, - "end_column": 70 + "start_line": 1352, + "start_column": 7, + "end_line": 1352, + "end_column": 23 }, { - "method_name": "getHigh", + "method_name": "", "comment": null, - "receiver_expr": "quoteData", + "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getHigh()", - "is_public": true, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "QuoteDataBean()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1384, - "start_column": 41, - "end_line": 1384, - "end_column": 59 + "start_line": 1310, + "start_column": 14, + "end_line": 1310, + "end_column": 32 }, { - "method_name": "setDoubleProperty", + "method_name": "", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "java.lang.Double", "argument_types": [ - "java.lang.String", "" ], - "return_type": "", - "callee_signature": "setDoubleProperty(java.lang.String, double)", - "is_public": true, + "argument_expr": [ + "sharesTraded" + ], + "return_type": "java.lang.Double", + "callee_signature": "Double(double)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1385, - "start_column": 7, - "end_line": 1385, + "start_line": 1317, + "start_column": 113, + "end_line": 1317, + "end_column": 136 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 1313, + "start_column": 19, + "end_line": 1313, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1314, + "start_column": 16, + "end_line": 1314, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "oldPrice", + "type": "java.math.BigDecimal", + "initializer": "quoteData.getPrice()", + "start_line": 1322, + "start_column": 18, + "end_line": 1322, + "end_column": 48 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "openPrice", + "type": "java.math.BigDecimal", + "initializer": "quoteData.getOpen()", + "start_line": 1323, + "start_column": 18, + "end_line": 1323, + "end_column": 48 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "newVolume", + "type": "double", + "initializer": "quoteData.getVolume() + sharesTraded", + "start_line": 1325, + "start_column": 14, + "end_line": 1325, + "end_column": 61 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "newPrice", + "type": "java.math.BigDecimal", + "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", + "start_line": 1333, + "start_column": 18, + "end_line": 1333, + "end_column": 97 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "change", + "type": "double", + "initializer": "newPrice.subtract(openPrice).doubleValue()", + "start_line": 1334, + "start_column": 14, + "end_line": 1334, "end_column": 64 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 7, + "is_entrypoint": false + }, + "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "updateQuotePriceVolume(java.lang.String, java.math.BigDecimal, double)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal changeFactor, double sharesTraded) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 1289, + "end_line": 1289, + "start_column": 47, + "end_column": 59 }, { - "method_name": "getVolume", + "type": "java.math.BigDecimal", + "name": "changeFactor", + "annotations": [], + "modifiers": [], + "start_line": 1289, + "end_line": 1289, + "start_column": 62, + "end_column": 84 + }, + { + "type": "double", + "name": "sharesTraded", + "annotations": [], + "modifiers": [], + "start_line": 1289, + "end_line": 1289, + "start_column": 87, + "end_column": 105 + } + ], + "code": "{\n return updateQuotePriceVolumeInt(symbol, changeFactor, sharesTraded, TradeConfig.getPublishQuotePriceChange());\n }", + "start_line": 1288, + "end_line": 1291, + "code_start_line": 1289, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "updateQuotePriceVolumeInt", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "", - "callee_signature": "getVolume()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.math.BigDecimal", + "", + "" + ], + "argument_expr": [ + "symbol", + "changeFactor", + "sharesTraded", + "TradeConfig.getPublishQuotePriceChange()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", "is_public": true, "is_protected": false, "is_private": false, @@ -185024,234 +192871,295 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1385, - "start_column": 43, - "end_line": 1385, - "end_column": 63 + "start_line": 1290, + "start_column": 12, + "end_line": 1290, + "end_column": 114 }, { - "method_name": "setStringProperty", + "method_name": "getPublishQuotePriceChange", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", + "callee_signature": "getPublishQuotePriceChange()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1387, - "start_column": 7, - "end_line": 1387, - "end_column": 72 - }, + "start_line": 1290, + "start_column": 74, + "end_line": 1290, + "end_column": 113 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getHolding(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getHolding(java.lang.Integer)", + "comments": [ { - "method_name": "toString", - "comment": null, - "receiver_expr": "changeFactor", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", + "content": "\n * @see TradeServices#getHolding(Integer)\n ", + "start_line": 999, + "end_line": 1001, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public HoldingDataBean getHolding(Integer holdingID) throws Exception", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 1003, + "end_line": 1003, + "start_column": 37, + "end_column": 53 + } + ], + "code": "{\n HoldingDataBean holdingData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getHolding - inSession(\" + this.inSession + \")\", holdingID);\n \n\n conn = getConn();\n holdingData = getHoldingData(holdingID.intValue());\n\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHolding -- error getting holding \" + holdingID + \"\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingData;\n }", + "start_line": 1002, + "end_line": 1023, + "code_start_line": 1003, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:getHolding - inSession(\" + this.inSession + \")\"", + "holdingID" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1387, - "start_column": 49, - "end_line": 1387, - "end_column": 71 + "start_line": 1008, + "start_column": 7, + "end_line": 1008, + "end_column": 88 }, { - "method_name": "setDoubleProperty", + "method_name": "getConn", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", - "argument_types": [ - "java.lang.String", - "" - ], - "return_type": "", - "callee_signature": "setDoubleProperty(java.lang.String, double)", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1388, - "start_column": 7, - "end_line": 1388, - "end_column": 61 + "start_line": 1011, + "start_column": 14, + "end_line": 1011, + "end_column": 22 }, { - "method_name": "setLongProperty", + "method_name": "getHoldingData", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", "" ], - "return_type": "", - "callee_signature": "setLongProperty(java.lang.String, long)", - "is_public": true, + "argument_expr": [ + "holdingID.intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingData(int)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1389, - "start_column": 7, - "end_line": 1389, - "end_column": 72 + "start_line": 1012, + "start_column": 21, + "end_line": 1012, + "end_column": 56 }, { - "method_name": "currentTimeMillis", + "method_name": "intValue", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", + "receiver_expr": "holdingID", + "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "currentTimeMillis()", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1389, - "start_column": 46, - "end_line": 1389, - "end_column": 71 + "start_line": 1012, + "start_column": 36, + "end_line": 1012, + "end_column": 55 }, { - "method_name": "setText", + "method_name": "commit", "comment": null, - "receiver_expr": "message", - "receiver_type": "javax.jms.TextMessage", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection" + ], + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "setText(java.lang.String)", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1390, + "start_line": 1014, "start_column": 7, - "end_line": 1390, - "end_column": 142 - }, - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1390, - "start_column": 51, - "end_line": 1390, - "end_column": 71 + "end_line": 1014, + "end_column": 18 }, { - "method_name": "getPrice", + "method_name": "error", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getHolding -- error getting holding \" + holdingID + \"\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1390, - "start_column": 122, - "end_line": 1390, - "end_column": 141 + "start_line": 1017, + "start_column": 7, + "end_line": 1017, + "end_column": 87 }, { - "method_name": "send", + "method_name": "rollBack", "comment": null, - "receiver_expr": "context.createProducer()", - "receiver_type": "javax.jms.JMSProducer", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "javax.jms.Topic", - "javax.jms.TextMessage" + "java.sql.Connection", + "java.lang.Exception" ], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", - "is_public": true, + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1393, + "start_line": 1018, "start_column": 7, - "end_line": 1393, - "end_column": 64 + "end_line": 1018, + "end_column": 23 }, { - "method_name": "createProducer", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "context", - "receiver_type": "javax.jms.JMSContext", - "argument_types": [], - "return_type": "javax.jms.JMSProducer", - "callee_signature": "createProducer()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1393, + "start_line": 1020, "start_column": 7, - "end_line": 1393, - "end_column": 30 + "end_line": 1020, + "end_column": 23 } ], "variable_declarations": [ @@ -185264,13 +193172,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "context", - "type": "javax.jms.JMSContext", - "initializer": "topicConnectionFactory.createContext()", - "start_line": 1374, + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "null", + "start_line": 1004, "start_column": 21, - "end_line": 1374, - "end_column": 68 + "end_line": 1004, + "end_column": 38 }, { "comment": { @@ -185281,159 +193189,140 @@ "end_column": -1, "is_javadoc": false }, - "name": "message", - "type": "javax.jms.TextMessage", - "initializer": "context.createTextMessage()", - "start_line": 1375, - "start_column": 19, - "end_line": 1375, - "end_column": 55 + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1005, + "start_column": 16, + "end_line": 1005, + "end_column": 26 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)": { + "rollBack(java.sql.Connection, java.lang.Exception)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "createOrder(AccountDataBean, QuoteDataBean, HoldingDataBean, String, double)", - "comments": [], + "signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "comments": [ + { + "content": " so the Global txn manager will rollBack", + "start_line": 1701, + "end_line": 1701, + "start_column": 9, + "end_column": 50, + "is_javadoc": false + }, + { + "content": " Throw the exception", + "start_line": 1700, + "end_line": 1700, + "start_column": 18, + "end_column": 39, + "is_javadoc": false + } + ], "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean createOrder(AccountDataBean accountData, QuoteDataBean quoteData, HoldingDataBean holdingData, String orderType, double quantity) throws Exception", + "declaration": "private void rollBack(Connection conn, Exception e) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "accountData", - "annotations": [], - "modifiers": [], - "start_line": 712, - "end_line": 712, - "start_column": 36, - "end_column": 62 - }, - { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quoteData", - "annotations": [], - "modifiers": [], - "start_line": 712, - "end_line": 712, - "start_column": 65, - "end_column": 87 - }, - { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holdingData", - "annotations": [], - "modifiers": [], - "start_line": 712, - "end_line": 712, - "start_column": 90, - "end_column": 116 - }, - { - "type": "java.lang.String", - "name": "orderType", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 712, - "end_line": 712, - "start_column": 119, - "end_column": 134 + "start_line": 1694, + "end_line": 1694, + "start_column": 25, + "end_column": 39 }, { - "type": "double", - "name": "quantity", + "type": "java.lang.Exception", + "name": "e", "annotations": [], "modifiers": [], - "start_line": 713, - "end_line": 713, - "start_column": 7, - "end_column": 21 + "start_line": 1694, + "end_line": 1694, + "start_column": 42, + "end_column": 52 } ], - "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n try {\n\n conn = getConn();\n Timestamp currentDate = new Timestamp(System.currentTimeMillis());\n\n PreparedStatement stmt = getStatement(conn, createOrderSQL);\n\n Integer orderID = KeySequenceDirect.getNextID(conn, \"order\", inSession, getInGlobalTxn());\n stmt.setInt(1, orderID.intValue());\n stmt.setString(2, orderType);\n stmt.setString(3, \"open\");\n stmt.setTimestamp(4, currentDate);\n stmt.setDouble(5, quantity);\n stmt.setBigDecimal(6, quoteData.getPrice().setScale(FinancialUtils.SCALE, FinancialUtils.ROUND));\n stmt.setBigDecimal(7, TradeConfig.getOrderFee(orderType));\n stmt.setInt(8, accountData.getAccountID().intValue());\n if (holdingData == null) {\n stmt.setNull(9, java.sql.Types.INTEGER);\n } else {\n stmt.setInt(9, holdingData.getHoldingID().intValue());\n }\n stmt.setString(10, quoteData.getSymbol());\n stmt.executeUpdate();\n\n orderData = getOrderData(conn, orderID.intValue());\n\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:createOrder -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", - "start_line": 712, - "end_line": 753, - "code_start_line": 713, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "code": "{\n if (!inSession) {\n Log.log(\"TradeDirect:rollBack -- rolling back conn due to previously caught exception -- inGlobalTxn=\" + getInGlobalTxn());\n if ((getInGlobalTxn() == false) && (conn != null)) {\n conn.rollback();\n } else {\n throw e; // Throw the exception\n // so the Global txn manager will rollBack\n }\n }\n }", + "start_line": 1694, + "end_line": 1704, + "code_start_line": 1694, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "java.sql.Timestamp", - "java.sql.PreparedStatement", - "java.lang.Integer", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createOrderSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", - "java.sql.Types.INTEGER", - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "getConn", + "method_name": "log", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:rollBack -- rolling back conn due to previously caught exception -- inGlobalTxn=\" + getInGlobalTxn()" + ], + "return_type": "", + "callee_signature": "log(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 718, - "start_column": 14, - "end_line": 718, - "end_column": 22 + "start_line": 1696, + "start_column": 7, + "end_line": 1696, + "end_column": 128 }, { - "method_name": "currentTimeMillis", + "method_name": "getInGlobalTxn", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, + "callee_signature": "getInGlobalTxn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 719, - "start_column": 45, - "end_line": 719, - "end_column": 70 + "start_line": 1696, + "start_column": 112, + "end_line": 1696, + "end_column": 127 }, { - "method_name": "getStatement", + "method_name": "getInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getInGlobalTxn()", "is_public": false, "is_protected": false, "is_private": true, @@ -185442,69 +193331,219 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 721, - "start_column": 32, - "end_line": 721, - "end_column": 65 + "start_line": 1697, + "start_column": 12, + "end_line": 1697, + "end_column": 27 }, { - "method_name": "getNextID", + "method_name": "rollback", "comment": null, - "receiver_expr": "KeySequenceDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", - "argument_types": [ - "java.sql.Connection", - "java.lang.String", - "", - "" - ], - "return_type": "java.lang.Integer", - "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "receiver_expr": "conn", + "receiver_type": "java.sql.Connection", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "rollback()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 723, - "start_column": 25, - "end_line": 723, - "end_column": 95 + "start_line": 1698, + "start_column": 9, + "end_line": 1698, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "createQuote(java.lang.String, java.lang.String, java.math.BigDecimal)", + "comments": [ + { + "content": " symbol", + "start_line": 848, + "end_line": 848, + "start_column": 34, + "end_column": 42, + "is_javadoc": false }, { - "method_name": "getInGlobalTxn", + "content": " companyName", + "start_line": 849, + "end_line": 849, + "start_column": 39, + "end_column": 52, + "is_javadoc": false + }, + { + "content": " volume", + "start_line": 850, + "end_line": 850, + "start_column": 34, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " price", + "start_line": 851, + "end_line": 851, + "start_column": 37, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " open", + "start_line": 852, + "end_line": 852, + "start_column": 37, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " low", + "start_line": 853, + "end_line": 853, + "start_column": 37, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " high", + "start_line": 854, + "end_line": 854, + "start_column": 37, + "end_column": 43, + "is_javadoc": false + }, + { + "content": " change", + "start_line": 855, + "end_line": 855, + "start_column": 34, + "end_column": 42, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#createQuote(String, String, BigDecimal)\n ", + "start_line": 830, + "end_line": 832, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public QuoteDataBean createQuote(String symbol, String companyName, BigDecimal price) throws Exception", + "parameters": [ + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 834, + "end_line": 834, + "start_column": 36, + "end_column": 48 + }, + { + "type": "java.lang.String", + "name": "companyName", + "annotations": [], + "modifiers": [], + "start_line": 834, + "end_line": 834, + "start_column": 51, + "end_column": 68 + }, + { + "type": "java.math.BigDecimal", + "name": "price", + "annotations": [], + "modifiers": [], + "start_line": 834, + "end_line": 834, + "start_column": 71, + "end_column": 86 + } + ], + "code": "{\n\n QuoteDataBean quoteData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:createQuote - inSession(\" + this.inSession + \")\");\n \n\n price = price.setScale(FinancialUtils.SCALE, FinancialUtils.ROUND);\n double volume = 0.0, change = 0.0;\n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createQuoteSQL);\n stmt.setString(1, symbol); // symbol\n stmt.setString(2, companyName); // companyName\n stmt.setDouble(3, volume); // volume\n stmt.setBigDecimal(4, price); // price\n stmt.setBigDecimal(5, price); // open\n stmt.setBigDecimal(6, price); // low\n stmt.setBigDecimal(7, price); // high\n stmt.setDouble(8, change); // change\n\n stmt.executeUpdate();\n stmt.close();\n commit(conn);\n\n quoteData = new QuoteDataBean(symbol, companyName, volume, price, price, price, price, change);\n } catch (Exception e) {\n Log.error(\"TradeDirect:createQuote -- error creating quote\", e);\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", + "start_line": 833, + "end_line": 868, + "code_start_line": 834, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createQuoteSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:createQuote - inSession(\" + this.inSession + \")\"" + ], "return_type": "", - "callee_signature": "getInGlobalTxn()", - "is_public": false, + "callee_signature": "trace(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 723, - "start_column": 79, - "end_line": 723, - "end_column": 94 + "start_line": 840, + "start_column": 7, + "end_line": 840, + "end_column": 78 }, { - "method_name": "setInt", + "method_name": "setScale", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "price", + "receiver_type": "java.math.BigDecimal", "argument_types": [ "", "" ], - "return_type": "", - "callee_signature": "setInt(int, int)", + "argument_expr": [ + "FinancialUtils.SCALE", + "FinancialUtils.ROUND" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -185513,65 +193552,81 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 724, - "start_column": 7, - "end_line": 724, - "end_column": 40 + "start_line": 843, + "start_column": 15, + "end_line": 843, + "end_column": 72 }, { - "method_name": "intValue", + "method_name": "getConn", "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 724, - "start_column": 22, - "end_line": 724, - "end_column": 39 + "start_line": 846, + "start_column": 14, + "end_line": 846, + "end_column": 22 }, { - "method_name": "setString", + "method_name": "getStatement", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", + "java.sql.Connection", "java.lang.String" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, + "argument_expr": [ + "conn", + "createQuoteSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 725, - "start_column": 7, - "end_line": 725, - "end_column": 34 + "start_line": 847, + "start_column": 32, + "end_line": 847, + "end_column": 65 }, { "method_name": "setString", - "comment": null, + "comment": { + "content": " symbol", + "start_line": 848, + "end_line": 848, + "start_column": 34, + "end_column": 42, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", "java.lang.String" ], + "argument_expr": [ + "1", + "symbol" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -185582,22 +193637,33 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 726, + "start_line": 848, "start_column": 7, - "end_line": 726, + "end_line": 848, "end_column": 31 }, { - "method_name": "setTimestamp", - "comment": null, + "method_name": "setString", + "comment": { + "content": " companyName", + "start_line": 849, + "end_line": 849, + "start_column": 39, + "end_column": 52, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.sql.Timestamp" + "java.lang.String" + ], + "argument_expr": [ + "2", + "companyName" ], "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -185606,20 +193672,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 727, + "start_line": 849, "start_column": 7, - "end_line": 727, - "end_column": 39 + "end_line": 849, + "end_column": 36 }, { "method_name": "setDouble", - "comment": null, + "comment": { + "content": " volume", + "start_line": 850, + "end_line": 850, + "start_column": 34, + "end_column": 42, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", "" ], + "argument_expr": [ + "3", + "volume" + ], "return_type": "", "callee_signature": "setDouble(int, double)", "is_public": true, @@ -185630,20 +193707,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 728, + "start_line": 850, "start_column": 7, - "end_line": 728, - "end_column": 33 + "end_line": 850, + "end_column": 31 }, { "method_name": "setBigDecimal", - "comment": null, + "comment": { + "content": " price", + "start_line": 851, + "end_line": 851, + "start_column": 37, + "end_column": 44, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", "java.math.BigDecimal" ], + "argument_expr": [ + "4", + "price" + ], "return_type": "", "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, @@ -185654,22 +193742,33 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 729, + "start_line": 851, "start_column": 7, - "end_line": 729, - "end_column": 102 + "end_line": 851, + "end_column": 34 }, { - "method_name": "setScale", - "comment": null, - "receiver_expr": "quoteData.getPrice()", - "receiver_type": "java.math.BigDecimal", + "method_name": "setBigDecimal", + "comment": { + "content": " open", + "start_line": 852, + "end_line": 852, + "start_column": 37, + "end_column": 43, + "is_javadoc": false + }, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "" + "java.math.BigDecimal" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", + "argument_expr": [ + "5", + "price" + ], + "return_type": "", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -185678,19 +193777,33 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 729, - "start_column": 29, - "end_line": 729, - "end_column": 101 + "start_line": 852, + "start_column": 7, + "end_line": 852, + "end_column": 34 }, { - "method_name": "getPrice", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "method_name": "setBigDecimal", + "comment": { + "content": " low", + "start_line": 853, + "end_line": 853, + "start_column": 37, + "end_column": 42, + "is_javadoc": false + }, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.math.BigDecimal" + ], + "argument_expr": [ + "6", + "price" + ], + "return_type": "", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -185699,20 +193812,31 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 729, - "start_column": 29, - "end_line": 729, - "end_column": 48 + "start_line": 853, + "start_column": 7, + "end_line": 853, + "end_column": 34 }, { "method_name": "setBigDecimal", - "comment": null, + "comment": { + "content": " high", + "start_line": 854, + "end_line": 854, + "start_column": 37, + "end_column": 43, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", "java.math.BigDecimal" ], + "argument_expr": [ + "7", + "price" + ], "return_type": "", "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, @@ -185723,45 +193847,55 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 730, + "start_line": 854, "start_column": 7, - "end_line": 730, - "end_column": 63 + "end_line": 854, + "end_column": 34 }, { - "method_name": "getOrderFee", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "method_name": "setDouble", + "comment": { + "content": " change", + "start_line": 855, + "end_line": 855, + "start_column": 34, + "end_column": 42, + "is_javadoc": false + }, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee(java.lang.String)", + "argument_expr": [ + "8", + "change" + ], + "return_type": "", + "callee_signature": "setDouble(int, double)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 730, - "start_column": 29, - "end_line": 730, - "end_column": 62 + "start_line": 855, + "start_column": 7, + "end_line": 855, + "end_column": 31 }, { - "method_name": "setInt", + "method_name": "executeUpdate", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -185770,19 +193904,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 731, + "start_line": 857, "start_column": 7, - "end_line": 731, - "end_column": 59 + "end_line": 857, + "end_column": 26 }, { - "method_name": "intValue", + "method_name": "close", "comment": null, - "receiver_expr": "accountData.getAccountID()", - "receiver_type": "java.lang.Integer", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -185791,199 +193926,330 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 731, - "start_column": 22, - "end_line": 731, - "end_column": 58 + "start_line": 858, + "start_column": 7, + "end_line": 858, + "end_column": 18 }, { - "method_name": "getAccountID", + "method_name": "commit", "comment": null, - "receiver_expr": "accountData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getAccountID()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 731, - "start_column": 22, - "end_line": 731, - "end_column": 47 + "start_line": 859, + "start_column": 7, + "end_line": 859, + "end_column": 18 }, { - "method_name": "setNull", + "method_name": "error", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", - "" + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:createQuote -- error creating quote\"", + "e" ], "return_type": "", - "callee_signature": "setNull(int, int)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 863, + "start_column": 7, + "end_line": 863, + "end_column": 69 + }, + { + "method_name": "releaseConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 733, - "start_column": 9, - "end_line": 733, - "end_column": 47 + "start_line": 865, + "start_column": 7, + "end_line": 865, + "end_column": 23 }, { - "method_name": "setInt", + "method_name": "", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [ + "java.lang.String", + "java.lang.String", "", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.math.BigDecimal", "" ], - "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, + "argument_expr": [ + "symbol", + "companyName", + "volume", + "price", + "price", + "price", + "price", + "change" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 735, - "start_column": 9, - "end_line": 735, - "end_column": 61 + "start_line": 861, + "start_column": 19, + "end_line": 861, + "end_column": 100 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 836, + "start_column": 19, + "end_line": 836, + "end_column": 34 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 837, + "start_column": 16, + "end_line": 837, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "volume", + "type": "double", + "initializer": "0.0", + "start_line": 844, + "start_column": 14, + "end_line": 844, + "end_column": 25 }, { - "method_name": "intValue", - "comment": null, - "receiver_expr": "holdingData.getHoldingID()", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 735, - "start_column": 24, - "end_line": 735, - "end_column": 60 + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "change", + "type": "double", + "initializer": "0.0", + "start_line": 844, + "start_column": 28, + "end_line": 844, + "end_column": 39 }, { - "method_name": "getHoldingID", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getHoldingID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 735, - "start_column": 24, - "end_line": 735, - "end_column": 49 - }, + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, createQuoteSQL)", + "start_line": 847, + "start_column": 25, + "end_line": 847, + "end_column": 65 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getQuote(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getQuote(java.lang.String)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public QuoteDataBean getQuote(String symbol) throws Exception", + "parameters": [ { - "method_name": "setString", + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 875, + "end_line": 875, + "start_column": 33, + "end_column": 45 + } + ], + "code": "{\n QuoteDataBean quoteData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:getQuote - inSession(\" + this.inSession + \")\", symbol);\n \n\n conn = getConn();\n quoteData = getQuote(conn, symbol);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getQuote -- error getting quote\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", + "start_line": 874, + "end_line": 894, + "code_start_line": 875, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getQuote - inSession(\" + this.inSession + \")\"", + "symbol" + ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 737, + "start_line": 881, "start_column": 7, - "end_line": 737, - "end_column": 47 - }, - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 737, - "start_column": 26, - "end_line": 737, - "end_column": 46 + "end_line": 881, + "end_column": 83 }, { - "method_name": "executeUpdate", + "method_name": "getConn", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", - "is_public": true, + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 738, - "start_column": 7, - "end_line": 738, - "end_column": 26 + "start_line": 884, + "start_column": 14, + "end_line": 884, + "end_column": 22 }, { - "method_name": "getOrderData", + "method_name": "getQuote", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderData(java.sql.Connection, int)", + "argument_expr": [ + "conn", + "symbol" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuote(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -185992,52 +194258,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 740, + "start_line": 885, "start_column": 19, - "end_line": 740, - "end_column": 56 - }, - { - "method_name": "intValue", - "comment": null, - "receiver_expr": "orderID", - "receiver_type": "java.lang.Integer", - "argument_types": [], - "return_type": "", - "callee_signature": "intValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 740, - "start_column": 38, - "end_line": 740, - "end_column": 55 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 742, - "start_column": 7, - "end_line": 742, - "end_column": 18 + "end_line": 885, + "end_column": 40 }, { "method_name": "commit", @@ -186047,6 +194271,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -186057,9 +194284,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 744, + "start_line": 886, "start_column": 7, - "end_line": 744, + "end_line": 886, "end_column": 18 }, { @@ -186071,6 +194298,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:getQuote -- error getting quote\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -186081,10 +194312,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 746, + "start_line": 888, "start_column": 7, - "end_line": 746, - "end_column": 74 + "end_line": 888, + "end_column": 65 }, { "method_name": "rollBack", @@ -186095,6 +194326,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -186105,9 +194340,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 747, + "start_line": 889, "start_column": 7, - "end_line": 747, + "end_line": 889, "end_column": 23 }, { @@ -186118,6 +194353,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -186128,33 +194366,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 749, + "start_line": 891, "start_column": 7, - "end_line": 749, + "end_line": 891, "end_column": 23 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 719, - "start_column": 31, - "end_line": 719, - "end_column": 71 } ], "variable_declarations": [ @@ -186167,12 +194382,12 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "initializer": "null", - "start_line": 714, + "start_line": 876, "start_column": 19, - "end_line": 714, + "end_line": 876, "end_column": 34 }, { @@ -186187,71 +194402,20 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 715, + "start_line": 877, "start_column": 16, - "end_line": 715, + "end_line": 877, "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "currentDate", - "type": "java.sql.Timestamp", - "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 719, - "start_column": 17, - "end_line": 719, - "end_column": 71 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, createOrderSQL)", - "start_line": 721, - "start_column": 25, - "end_line": 721, - "end_column": 65 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderID", - "type": "java.lang.Integer", - "initializer": "KeySequenceDirect.getNextID(conn, \"order\", inSession, getInGlobalTxn())", - "start_line": 723, - "start_column": 15, - "end_line": 723, - "end_column": 95 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getAccountProfileData(Connection, String)": { + "getAccountData(java.sql.Connection, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountProfileData(Connection, String)", + "signature": "getAccountData(java.sql.Connection, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -186260,43 +194424,43 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private AccountProfileDataBean getAccountProfileData(Connection conn, String userID) throws Exception", + "declaration": "private AccountDataBean getAccountData(Connection conn, String userID) throws Exception", "parameters": [ { "type": "java.sql.Connection", "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1184, - "end_line": 1184, - "start_column": 56, - "end_column": 70 + "start_line": 1054, + "end_line": 1054, + "start_column": 42, + "end_column": 56 }, { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1184, - "end_line": 1184, - "start_column": 73, - "end_column": 85 + "start_line": 1054, + "end_line": 1054, + "start_column": 59, + "end_column": 71 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountProfileSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n }", - "start_line": 1184, - "end_line": 1193, - "code_start_line": 1184, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountForUserSQL);\n stmt.setString(1, userID);\n ResultSet rs = stmt.executeQuery();\n AccountDataBean accountData = getAccountDataFromResultSet(rs);\n stmt.close();\n return accountData;\n }", + "start_line": 1054, + "end_line": 1061, + "code_start_line": 1054, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.sql.ResultSet", - "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileSQL" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountForUserSQL" ], "call_sites": [ { @@ -186308,6 +194472,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getAccountForUserSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -186318,9 +194486,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1185, + "start_line": 1055, "start_column": 30, - "end_line": 1185, + "end_line": 1055, "end_column": 69 }, { @@ -186332,6 +194500,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -186342,9 +194514,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1186, + "start_line": 1056, "start_column": 5, - "end_line": 1186, + "end_line": 1056, "end_column": 29 }, { @@ -186353,6 +194525,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -186363,21 +194536,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1188, + "start_line": 1057, "start_column": 20, - "end_line": 1188, + "end_line": 1057, "end_column": 38 }, { - "method_name": "getAccountProfileDataFromResultSet", + "method_name": "getAccountDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.ResultSet" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -186386,10 +194562,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1190, - "start_column": 49, - "end_line": 1190, - "end_column": 86 + "start_line": 1058, + "start_column": 35, + "end_line": 1058, + "end_column": 65 }, { "method_name": "close", @@ -186397,6 +194573,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -186407,9 +194584,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1191, + "start_line": 1059, "start_column": 5, - "end_line": 1191, + "end_line": 1059, "end_column": 16 } ], @@ -186425,10 +194602,10 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAccountProfileSQL)", - "start_line": 1185, + "initializer": "getStatement(conn, getAccountForUserSQL)", + "start_line": 1055, "start_column": 23, - "end_line": 1185, + "end_line": 1055, "end_column": 69 }, { @@ -186443,9 +194620,9 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1188, + "start_line": 1057, "start_column": 15, - "end_line": 1188, + "end_line": 1057, "end_column": 38 }, { @@ -186457,13 +194634,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "getAccountProfileDataFromResultSet(rs)", - "start_line": 1190, - "start_column": 28, - "end_line": 1190, - "end_column": 86 + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "getAccountDataFromResultSet(rs)", + "start_line": 1058, + "start_column": 21, + "end_line": 1058, + "end_column": 65 } ], "crud_operations": [], @@ -186471,119 +194648,133 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "rollBack(Connection, Exception)": { + "completeOrderAsync(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "rollBack(Connection, Exception)", - "comments": [ - { - "content": " so the Global txn manager will rollBack", - "start_line": 1701, - "end_line": 1701, - "start_column": 9, - "end_column": 50, - "is_javadoc": false - }, - { - "content": " Throw the exception", - "start_line": 1700, - "end_line": 1700, - "start_column": 18, - "end_column": 39, - "is_javadoc": false - } + "signature": "completeOrderAsync(java.lang.Integer, boolean)", + "comments": [], + "annotations": [ + "@Override" ], - "annotations": [], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private void rollBack(Connection conn, Exception e) throws Exception", + "declaration": "public Future completeOrderAsync(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 1694, - "end_line": 1694, - "start_column": 25, - "end_column": 39 + "start_line": 538, + "end_line": 538, + "start_column": 51, + "end_column": 65 }, { - "type": "java.lang.Exception", - "name": "e", + "type": "boolean", + "name": "twoPhase", "annotations": [], "modifiers": [], - "start_line": 1694, - "end_line": 1694, - "start_column": 42, - "end_column": 52 + "start_line": 538, + "end_line": 538, + "start_column": 68, + "end_column": 83 } ], - "code": "{\n if (!inSession) {\n Log.log(\"TradeDirect:rollBack -- rolling back conn due to previously caught exception -- inGlobalTxn=\" + getInGlobalTxn());\n if ((getInGlobalTxn() == false) && (conn != null)) {\n conn.rollback();\n } else {\n throw e; // Throw the exception\n // so the Global txn manager will rollBack\n }\n }\n }", - "start_line": 1694, - "end_line": 1704, - "code_start_line": 1694, - "return_type": "void", + "code": "{\n if (!inSession) {\n asyncOrderSubmitter.submitOrder(orderID, twoPhase);\n }\n return null;\n }", + "start_line": 537, + "end_line": 543, + "code_start_line": 538, + "return_type": "java.util.concurrent.Future", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.asyncOrderSubmitter", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "log", + "method_name": "submitOrder", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "asyncOrderSubmitter", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.AsyncOrderSubmitter", "argument_types": [ - "java.lang.String" + "java.lang.Integer", + "" ], - "return_type": "", - "callee_signature": "log(java.lang.String)", + "argument_expr": [ + "orderID", + "twoPhase" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "submitOrder(java.lang.Integer, boolean)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1696, + "start_line": 540, "start_column": 7, - "end_line": 1696, - "end_column": 128 - }, + "end_line": 540, + "end_column": 56 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "commit(java.sql.Connection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "commit(java.sql.Connection)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private void commit(Connection conn) throws Exception", + "parameters": [ { - "method_name": "getInGlobalTxn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1696, - "start_column": 112, - "end_line": 1696, - "end_column": 127 - }, + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1683, + "end_line": 1683, + "start_column": 23, + "end_column": 37 + } + ], + "code": "{\n if (!inSession) {\n if ((getInGlobalTxn() == false) && (conn != null)) {\n conn.commit();\n }\n }\n }", + "start_line": 1683, + "end_line": 1689, + "code_start_line": 1683, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ { "method_name": "getInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getInGlobalTxn()", "is_public": false, @@ -186594,19 +194785,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1697, + "start_line": 1685, "start_column": 12, - "end_line": 1697, + "end_line": 1685, "end_column": 27 }, { - "method_name": "rollback", + "method_name": "commit", "comment": null, "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "rollback()", + "callee_signature": "commit()", "is_public": true, "is_protected": false, "is_private": false, @@ -186615,10 +194807,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1698, + "start_line": 1686, "start_column": 9, - "end_line": 1698, - "end_column": 23 + "end_line": 1686, + "end_column": 21 } ], "variable_declarations": [], @@ -186627,75 +194819,153 @@ "cyclomatic_complexity": 4, "is_entrypoint": false }, - "getHoldingDataFromResultSet(ResultSet)": { + "getHoldings(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getHoldingDataFromResultSet(ResultSet)", - "comments": [], - "annotations": [], + "signature": "getHoldings(java.lang.String)", + "comments": [ + { + "content": "\n * @see TradeServices#getHoldings(String)\n ", + "start_line": 964, + "end_line": 966, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private HoldingDataBean getHoldingDataFromResultSet(ResultSet rs) throws Exception", + "declaration": "public Collection getHoldings(String userID) throws Exception", "parameters": [ { - "type": "java.sql.ResultSet", - "name": "rs", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1568, - "end_line": 1568, - "start_column": 55, - "end_column": 66 + "start_line": 968, + "end_line": 968, + "start_column": 50, + "end_column": 62 } ], - "code": "{\n HoldingDataBean holdingData = null;\n\n holdingData = new HoldingDataBean(new Integer(rs.getInt(\"holdingID\")), rs.getDouble(\"quantity\"), rs.getBigDecimal(\"purchasePrice\"),\n rs.getTimestamp(\"purchaseDate\"), rs.getString(\"quote_symbol\"));\n return holdingData;\n }", - "start_line": 1568, - "end_line": 1574, - "code_start_line": 1568, - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "code": "{\n Collection holdingDataBeans = new ArrayList();\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:getHoldings - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getHoldingsForUserSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n HoldingDataBean holdingData = getHoldingDataFromResultSet(rs);\n holdingDataBeans.add(holdingData);\n }\n\n stmt.close();\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHoldings -- error getting user holings\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingDataBeans;\n }", + "start_line": 967, + "end_line": 997, + "code_start_line": 968, + "return_type": "java.util.Collection", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "java.util.Collection", + "java.sql.Connection", + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getHoldingsForUserSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "getInt", + "method_name": "trace", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ + "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getHoldings - inSession(\" + this.inSession + \")\"", + "userID" + ], "return_type": "", - "callee_signature": "getInt(java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 973, + "start_column": 7, + "end_line": 973, + "end_column": 86 + }, + { + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1571, - "start_column": 51, - "end_line": 1571, + "start_line": 976, + "start_column": 14, + "end_line": 976, + "end_column": 22 + }, + { + "method_name": "getStatement", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "getHoldingsForUserSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 977, + "start_column": 32, + "end_line": 977, "end_column": 72 }, { - "method_name": "getDouble", + "method_name": "setString", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", - "callee_signature": "getDouble(java.lang.String)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -186704,21 +194974,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1571, - "start_column": 76, - "end_line": 1571, - "end_column": 99 + "start_line": 978, + "start_column": 7, + "end_line": 978, + "end_column": 31 }, { - "method_name": "getBigDecimal", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -186727,21 +194996,72 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1571, - "start_column": 102, - "end_line": 1571, - "end_column": 134 + "start_line": 980, + "start_column": 22, + "end_line": 980, + "end_column": 40 }, { - "method_name": "getTimestamp", + "method_name": "next", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 982, + "start_column": 14, + "end_line": 982, + "end_column": 22 + }, + { + "method_name": "getHoldingDataFromResultSet", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.ResultSet" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "getTimestamp(java.lang.String)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 983, + "start_column": 39, + "end_line": 983, + "end_column": 69 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "holdingDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + ], + "argument_expr": [ + "holdingData" + ], + "return_type": "", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -186750,48 +195070,150 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1572, + "start_line": 984, "start_column": 9, - "end_line": 1572, - "end_column": 39 + "end_line": 984, + "end_column": 41 }, { - "method_name": "getString", + "method_name": "close", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 987, + "start_column": 7, + "end_line": 987, + "end_column": 18 + }, + { + "method_name": "commit", + "comment": null, + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 988, + "start_column": 7, + "end_line": 988, + "end_column": 18 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getHoldings -- error getting user holings\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 991, + "start_column": 7, + "end_line": 991, + "end_column": 75 + }, + { + "method_name": "rollBack", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1572, - "start_column": 42, - "end_line": 1572, - "end_column": 69 + "start_line": 992, + "start_column": 7, + "end_line": 992, + "end_column": 23 }, { - "method_name": "", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "receiver_type": "", "argument_types": [ - "java.lang.Integer", - "", - "java.math.BigDecimal", - "java.sql.Timestamp", - "java.lang.String" + "java.sql.Connection" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 994, + "start_column": 7, + "end_line": 994, + "end_column": 23 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.ArrayList", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.ArrayList", + "callee_signature": "ArrayList()", "is_public": false, "is_protected": false, "is_private": false, @@ -186800,36 +195222,81 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1571, - "start_column": 19, - "end_line": 1572, - "end_column": 70 + "start_line": 969, + "start_column": 52, + "end_line": 969, + "end_column": 83 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingDataBeans", + "type": "java.util.Collection", + "initializer": "new ArrayList()", + "start_line": 969, + "start_column": 33, + "end_line": 969, + "end_column": 83 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 970, + "start_column": 16, + "end_line": 970, + "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getHoldingsForUserSQL)", + "start_line": 977, + "start_column": 25, + "end_line": 977, + "end_column": 72 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 980, + "start_column": 17, + "end_line": 980, + "end_column": 40 }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1571, - "start_column": 39, - "end_line": 1571, - "end_column": 73 - } - ], - "variable_declarations": [ { "comment": { "content": null, @@ -186841,111 +195308,83 @@ }, "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "null", - "start_line": 1569, - "start_column": 21, - "end_line": 1569, - "end_column": 38 + "initializer": "getHoldingDataFromResultSet(rs)", + "start_line": 983, + "start_column": 25, + "end_line": 983, + "end_column": 69 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 4, "is_entrypoint": false }, - "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)": { + "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateQuotePriceVolumeInt(String, BigDecimal, double, boolean)", + "signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", "comments": [ { - "content": "\n * Update a quote's price and volume\n *\n * @param symbol\n * The PK of the quote\n * @param changeFactor\n * the percent to change the old price by (between 50% and 150%)\n * @param sharedTraded\n * the ammount to add to the current volume\n * @param publishQuotePriceChange\n * used by the PingJDBCWrite Primitive to ensure no JMS is used,\n * should be true for all normal calls to this API\n ", - "start_line": 1293, - "end_line": 1305, + "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", + "start_line": 1206, + "end_line": 1208, "start_column": 3, "end_column": 5, "is_javadoc": true } ], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean updateQuotePriceVolumeInt(String symbol, BigDecimal changeFactor, double sharesTraded, boolean publishQuotePriceChange) throws Exception", + "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 1306, - "end_line": 1306, - "start_column": 50, - "end_column": 62 - }, - { - "type": "java.math.BigDecimal", - "name": "changeFactor", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profileData", "annotations": [], "modifiers": [], - "start_line": 1306, - "end_line": 1306, - "start_column": 65, + "start_line": 1210, + "end_line": 1210, + "start_column": 54, "end_column": 87 - }, - { - "type": "double", - "name": "sharesTraded", - "annotations": [], - "modifiers": [], - "start_line": 1306, - "end_line": 1306, - "start_column": 90, - "end_column": 108 - }, - { - "type": "boolean", - "name": "publishQuotePriceChange", - "annotations": [], - "modifiers": [], - "start_line": 1306, - "end_line": 1306, - "start_column": 111, - "end_column": 141 } ], - "code": "{\n\n if (TradeConfig.getUpdateQuotePrices() == false) {\n return new QuoteDataBean();\n }\n\n QuoteDataBean quoteData = null;\n Connection conn = null;\n\n try {\n Log.trace(\"TradeDirect:updateQuotePriceVolume - inSession(\" + this.inSession + \")\", symbol, changeFactor, new Double(sharesTraded));\n\n conn = getConn();\n\n quoteData = getQuoteForUpdate(conn, symbol);\n BigDecimal oldPrice = quoteData.getPrice();\n BigDecimal openPrice = quoteData.getOpen();\n\n double newVolume = quoteData.getVolume() + sharesTraded;\n\n if (oldPrice.equals(TradeConfig.PENNY_STOCK_PRICE)) {\n changeFactor = TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER;\n } else if (oldPrice.compareTo(TradeConfig.MAXIMUM_STOCK_PRICE) > 0) {\n changeFactor = TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER;\n }\n\n BigDecimal newPrice = changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP);\n double change = newPrice.subtract(openPrice).doubleValue();\n\n updateQuotePriceVolume(conn, quoteData.getSymbol(), newPrice, newVolume, change);\n quoteData = getQuote(conn, symbol);\n\n commit(conn);\n\n if (publishQuotePriceChange) {\n publishQuotePriceChange(quoteData, oldPrice, changeFactor, sharesTraded);\n }\n\n recentQuotePriceChangeList.add(quoteData);\n \n } catch (Exception e) {\n Log.error(\"TradeDirect:updateQuotePriceVolume -- error updating quote price/volume for symbol:\" + symbol);\n rollBack(conn, e);\n throw e;\n } finally {\n releaseConn(conn);\n }\n return quoteData;\n }", - "start_line": 1306, - "end_line": 1355, - "code_start_line": 1307, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:updateAccountProfileData - inSession(\" + this.inSession + \")\", profileData.getUserID());\n\n conn = getConn();\n updateAccountProfile(conn, profileData);\n\n accountProfileData = getAccountProfileData(conn, profileData.getUserID());\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountProfileData -- error getting profile data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountProfileData;\n }", + "start_line": 1209, + "end_line": 1230, + "code_start_line": 1210, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.recentQuotePriceChangeList", - "java.math.BigDecimal.ROUND_HALF_UP", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_PRICE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_SPLIT_MULTIPLIER", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.MAXIMUM_STOCK_PRICE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.PENNY_STOCK_RECOVERY_MIRACLE_MULTIPLIER", "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { - "method_name": "getUpdateQuotePrices", + "method_name": "trace", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:updateAccountProfileData - inSession(\" + this.inSession + \")\"", + "profileData.getUserID()" + ], "return_type": "", - "callee_signature": "getUpdateQuotePrices()", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -186954,36 +195393,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1309, - "start_column": 9, - "end_line": 1309, - "end_column": 42 + "start_line": 1216, + "start_column": 7, + "end_line": 1216, + "end_column": 116 }, { - "method_name": "trace", + "method_name": "getUserID", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.math.BigDecimal", - "java.lang.Double" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1317, - "start_column": 7, - "end_line": 1317, - "end_column": 137 + "start_line": 1216, + "start_column": 93, + "end_line": 1216, + "end_column": 115 }, { "method_name": "getConn", @@ -186991,6 +195426,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -187001,22 +195437,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1319, + "start_line": 1218, "start_column": 14, - "end_line": 1319, + "end_line": 1218, "end_column": 22 }, { - "method_name": "getQuoteForUpdate", + "method_name": "updateAccountProfile", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "profileData" + ], + "return_type": "", + "callee_signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", "is_public": false, "is_protected": false, "is_private": true, @@ -187025,40 +195465,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1321, - "start_column": 19, - "end_line": 1321, - "end_column": 49 + "start_line": 1219, + "start_column": 7, + "end_line": 1219, + "end_column": 45 }, { - "method_name": "getPrice", + "method_name": "getAccountProfileData", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "profileData.getUserID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1322, - "start_column": 29, - "end_line": 1322, - "end_column": 48 + "start_line": 1221, + "start_column": 28, + "end_line": 1221, + "end_column": 79 }, { - "method_name": "getOpen", + "method_name": "getUserID", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_expr": "profileData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOpen()", + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", "is_public": true, "is_protected": false, "is_private": false, @@ -187067,133 +195515,270 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1323, - "start_column": 30, - "end_line": 1323, - "end_column": 48 + "start_line": 1221, + "start_column": 56, + "end_line": 1221, + "end_column": 78 }, { - "method_name": "getVolume", + "method_name": "commit", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "getVolume()", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1325, - "start_column": 26, - "end_line": 1325, - "end_column": 46 + "start_line": 1222, + "start_column": 7, + "end_line": 1222, + "end_column": 18 }, { - "method_name": "equals", + "method_name": "error", "comment": null, - "receiver_expr": "oldPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:getAccountProfileData -- error getting profile data\"", + "e" ], "return_type": "", - "callee_signature": "equals(java.lang.Object)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1327, - "start_column": 11, - "end_line": 1327, - "end_column": 56 + "start_line": 1224, + "start_column": 7, + "end_line": 1224, + "end_column": 85 }, { - "method_name": "compareTo", + "method_name": "rollBack", "comment": null, - "receiver_expr": "oldPrice", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.math.BigDecimal" + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" ], "return_type": "", - "callee_signature": "compareTo(java.math.BigDecimal)", - "is_public": true, + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1329, - "start_column": 18, - "end_line": 1329, - "end_column": 68 + "start_line": 1225, + "start_column": 7, + "end_line": 1225, + "end_column": 23 }, { - "method_name": "setScale", + "method_name": "releaseConn", "comment": null, - "receiver_expr": "changeFactor.multiply(oldPrice)", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "" + "java.sql.Connection" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", - "is_public": true, + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1333, - "start_column": 29, - "end_line": 1333, - "end_column": 97 + "start_line": 1227, + "start_column": 7, + "end_line": 1227, + "end_column": 23 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "null", + "start_line": 1211, + "start_column": 28, + "end_line": 1211, + "end_column": 52 }, { - "method_name": "multiply", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1212, + "start_column": 16, + "end_line": 1212, + "end_column": 26 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false + }, + "getQuote(java.sql.Connection, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getQuote(java.sql.Connection, java.lang.String)", + "comments": [ + { + "content": " symbol", + "start_line": 899, + "end_line": 899, + "start_column": 32, + "end_column": 40, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private QuoteDataBean getQuote(Connection conn, String symbol) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 896, + "end_line": 896, + "start_column": 34, + "end_column": 48 + }, + { + "type": "java.lang.String", + "name": "symbol", + "annotations": [], + "modifiers": [], + "start_line": 896, + "end_line": 896, + "start_column": 51, + "end_column": 63 + } + ], + "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteSQL);\n stmt.setString(1, symbol); // symbol\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next() for symbol: \" + symbol);\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n\n stmt.close();\n\n return quoteData;\n }", + "start_line": 896, + "end_line": 912, + "code_start_line": 896, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteSQL" + ], + "call_sites": [ + { + "method_name": "getStatement", "comment": null, - "receiver_expr": "changeFactor", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.math.BigDecimal" + "java.sql.Connection", + "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", - "is_public": true, + "argument_expr": [ + "conn", + "getQuoteSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1333, - "start_column": 29, - "end_line": 1333, - "end_column": 59 + "start_line": 898, + "start_column": 30, + "end_line": 898, + "end_column": 60 }, { - "method_name": "doubleValue", - "comment": null, - "receiver_expr": "newPrice.subtract(openPrice)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], + "method_name": "setString", + "comment": { + "content": " symbol", + "start_line": 899, + "end_line": 899, + "start_column": 32, + "end_column": 40, + "is_javadoc": false + }, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "1", + "symbol" + ], "return_type": "", - "callee_signature": "doubleValue()", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -187202,21 +195787,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1334, - "start_column": 23, - "end_line": 1334, - "end_column": 64 + "start_line": 899, + "start_column": 5, + "end_line": 899, + "end_column": 29 }, { - "method_name": "subtract", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "newPrice", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -187225,70 +195809,72 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1334, - "start_column": 23, - "end_line": 1334, - "end_column": 50 + "start_line": 901, + "start_column": 20, + "end_line": 901, + "end_column": 38 }, { - "method_name": "updateQuotePriceVolume", + "method_name": "next", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String", - "java.math.BigDecimal", - "", - "" - ], + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "updateQuotePriceVolume(java.sql.Connection, java.lang.String, java.math.BigDecimal, double, double)", - "is_public": false, + "callee_signature": "next()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1336, - "start_column": 7, - "end_line": 1336, - "end_column": 86 + "start_line": 903, + "start_column": 10, + "end_line": 903, + "end_column": 18 }, { - "method_name": "getSymbol", + "method_name": "error", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:getQuote -- failure no result.next() for symbol: \" + symbol" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1336, - "start_column": 36, - "end_line": 1336, - "end_column": 56 + "start_line": 904, + "start_column": 7, + "end_line": 904, + "end_column": 89 }, { - "method_name": "getQuote", + "method_name": "getQuoteDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuote(java.sql.Connection, java.lang.String)", + "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -187297,70 +195883,167 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1337, + "start_line": 906, "start_column": 19, - "end_line": 1337, - "end_column": 40 + "end_line": 906, + "end_column": 47 }, { - "method_name": "commit", + "method_name": "close", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "close()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1339, - "start_column": 7, - "end_line": 1339, - "end_column": 18 + "start_line": 909, + "start_column": 5, + "end_line": 909, + "end_column": 16 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 897, + "start_column": 19, + "end_line": 897, + "end_column": 34 }, { - "method_name": "publishQuotePriceChange", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getQuoteSQL)", + "start_line": 898, + "start_column": 23, + "end_line": 898, + "end_column": 60 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 901, + "start_column": 15, + "end_line": 901, + "end_column": 38 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getHoldingDataFromResultSet(java.sql.ResultSet)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private HoldingDataBean getHoldingDataFromResultSet(ResultSet rs) throws Exception", + "parameters": [ + { + "type": "java.sql.ResultSet", + "name": "rs", + "annotations": [], + "modifiers": [], + "start_line": 1568, + "end_line": 1568, + "start_column": 55, + "end_column": 66 + } + ], + "code": "{\n HoldingDataBean holdingData = null;\n\n holdingData = new HoldingDataBean(new Integer(rs.getInt(\"holdingID\")), rs.getDouble(\"quantity\"), rs.getBigDecimal(\"purchasePrice\"),\n rs.getTimestamp(\"purchaseDate\"), rs.getString(\"quote_symbol\"));\n return holdingData;\n }", + "start_line": 1568, + "end_line": 1574, + "code_start_line": 1568, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getInt", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "java.math.BigDecimal", - "java.math.BigDecimal", - "" + "java.lang.String" + ], + "argument_expr": [ + "\"holdingID\"" ], "return_type": "", - "callee_signature": "publishQuotePriceChange(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, java.math.BigDecimal, java.math.BigDecimal, double)", - "is_public": false, + "callee_signature": "getInt(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1342, - "start_column": 9, - "end_line": 1342, - "end_column": 80 + "start_line": 1571, + "start_column": 51, + "end_line": 1571, + "end_column": 72 }, { - "method_name": "add", + "method_name": "getDouble", "comment": null, - "receiver_expr": "recentQuotePriceChangeList", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.String" + ], + "argument_expr": [ + "\"quantity\"" ], "return_type": "", - "callee_signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "callee_signature": "getDouble(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -187369,89 +196052,110 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1345, - "start_column": 7, - "end_line": 1345, - "end_column": 47 + "start_line": 1571, + "start_column": 76, + "end_line": 1571, + "end_column": 99 }, { - "method_name": "error", + "method_name": "getBigDecimal", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "error(java.lang.String)", + "argument_expr": [ + "\"purchasePrice\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1348, - "start_column": 7, - "end_line": 1348, - "end_column": 111 + "start_line": 1571, + "start_column": 102, + "end_line": 1571, + "end_column": 134 }, { - "method_name": "rollBack", + "method_name": "getTimestamp", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.lang.String" ], - "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "argument_expr": [ + "\"purchaseDate\"" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "getTimestamp(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1349, - "start_column": 7, - "end_line": 1349, - "end_column": 23 + "start_line": 1572, + "start_column": 9, + "end_line": 1572, + "end_column": 39 }, { - "method_name": "releaseConn", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.Connection" + "java.lang.String" ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "argument_expr": [ + "\"quote_symbol\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1352, - "start_column": 7, - "end_line": 1352, - "end_column": 23 + "start_line": 1572, + "start_column": 42, + "end_line": 1572, + "end_column": 69 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "QuoteDataBean()", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [ + "java.lang.Integer", + "", + "java.math.BigDecimal", + "java.sql.Timestamp", + "java.lang.String" + ], + "argument_expr": [ + "new Integer(rs.getInt(\"holdingID\"))", + "rs.getDouble(\"quantity\")", + "rs.getBigDecimal(\"purchasePrice\")", + "rs.getTimestamp(\"purchaseDate\")", + "rs.getString(\"quote_symbol\")" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "HoldingDataBean(java.lang.Integer, double, java.math.BigDecimal, java.util.Date, java.lang.String)", "is_public": false, "is_protected": false, "is_private": false, @@ -187460,21 +196164,24 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1310, - "start_column": 14, - "end_line": 1310, - "end_column": 32 + "start_line": 1571, + "start_column": 19, + "end_line": 1572, + "end_column": 70 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Double", + "receiver_type": "java.lang.Integer", "argument_types": [ "" ], - "return_type": "java.lang.Double", - "callee_signature": "Double(double)", + "argument_expr": [ + "rs.getInt(\"holdingID\")" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", "is_public": false, "is_protected": false, "is_private": false, @@ -187483,10 +196190,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1317, - "start_column": 113, - "end_line": 1317, - "end_column": 136 + "start_line": 1571, + "start_column": 39, + "end_line": 1571, + "end_column": 73 } ], "variable_declarations": [ @@ -187499,227 +196206,138 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "null", - "start_line": 1313, - "start_column": 19, - "end_line": 1313, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1314, - "start_column": 16, - "end_line": 1314, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "oldPrice", - "type": "java.math.BigDecimal", - "initializer": "quoteData.getPrice()", - "start_line": 1322, - "start_column": 18, - "end_line": 1322, - "end_column": 48 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "openPrice", - "type": "java.math.BigDecimal", - "initializer": "quoteData.getOpen()", - "start_line": 1323, - "start_column": 18, - "end_line": 1323, - "end_column": 48 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "newVolume", - "type": "double", - "initializer": "quoteData.getVolume() + sharesTraded", - "start_line": 1325, - "start_column": 14, - "end_line": 1325, - "end_column": 61 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "newPrice", - "type": "java.math.BigDecimal", - "initializer": "changeFactor.multiply(oldPrice).setScale(2, BigDecimal.ROUND_HALF_UP)", - "start_line": 1333, - "start_column": 18, - "end_line": 1333, - "end_column": 97 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "change", - "type": "double", - "initializer": "newPrice.subtract(openPrice).doubleValue()", - "start_line": 1334, - "start_column": 14, - "end_line": 1334, - "end_column": 64 + "start_line": 1569, + "start_column": 21, + "end_line": 1569, + "end_column": 38 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 7, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "register(String, String, String, String, String, String, BigDecimal)": { + "sell(java.lang.String, java.lang.Integer, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "register(String, String, String, String, String, String, BigDecimal)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance) throws Exception", - "parameters": [ + "signature": "sell(java.lang.String, java.lang.Integer, int)", + "comments": [ { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 35, - "end_column": 47 + "content": "UserTransaction txn = null;", + "start_line": 383, + "end_line": 383, + "start_column": 5, + "end_column": 33, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 50, - "end_column": 64 + "content": "\n * total = (quantity * purchasePrice) + orderFee\n ", + "start_line": 385, + "end_line": 387, + "start_column": 5, + "end_column": 7, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "fullname", - "annotations": [], - "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 67, - "end_column": 81 + "content": " Set the holdingSymbol purchaseDate to selling to signify the sell", + "start_line": 430, + "end_line": 430, + "start_column": 7, + "end_column": 74, + "is_javadoc": false + }, + { + "content": " is \"inflight\"", + "start_line": 431, + "end_line": 431, + "start_column": 7, + "end_column": 22, + "is_javadoc": false + }, + { + "content": " UPDATE -- account should be credited during completeOrder", + "start_line": 434, + "end_line": 434, + "start_column": 7, + "end_column": 66, + "is_javadoc": false }, { - "type": "java.lang.String", - "name": "address", - "annotations": [], - "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 84, - "end_column": 97 - }, + "content": "\n * @see TradeServices#sell(String, Integer)\n ", + "start_line": 375, + "end_line": 377, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override", + "@NotNull" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public OrderDataBean sell(String userID, Integer holdingID, int orderProcessingMode) throws Exception", + "parameters": [ { "type": "java.lang.String", - "name": "email", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 100, - "end_column": 111 + "start_line": 380, + "end_line": 380, + "start_column": 29, + "end_column": 41 }, { - "type": "java.lang.String", - "name": "creditcard", + "type": "java.lang.Integer", + "name": "holdingID", "annotations": [], "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 114, - "end_column": 130 + "start_line": 380, + "end_line": 380, + "start_column": 44, + "end_column": 60 }, { - "type": "java.math.BigDecimal", - "name": "openBalance", + "type": "int", + "name": "orderProcessingMode", "annotations": [], "modifiers": [], - "start_line": 1491, - "end_line": 1491, - "start_column": 133, - "end_column": 154 + "start_line": 380, + "end_line": 380, + "start_column": 63, + "end_column": 85 } ], - "code": "{\n\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:register - inSession(\" + this.inSession + \")\"); \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createAccountSQL);\n\n Integer accountID = KeySequenceDirect.getNextID(conn, \"account\", inSession, getInGlobalTxn());\n BigDecimal balance = openBalance;\n Timestamp creationDate = new Timestamp(System.currentTimeMillis());\n Timestamp lastLogin = creationDate;\n int loginCount = 0;\n int logoutCount = 0;\n\n stmt.setInt(1, accountID.intValue());\n stmt.setTimestamp(2, creationDate);\n stmt.setBigDecimal(3, openBalance);\n stmt.setBigDecimal(4, balance);\n stmt.setTimestamp(5, lastLogin);\n stmt.setInt(6, loginCount);\n stmt.setInt(7, logoutCount);\n stmt.setString(8, userID);\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, createAccountProfileSQL);\n stmt.setString(1, userID);\n stmt.setString(2, password);\n stmt.setString(3, fullname);\n stmt.setString(4, address);\n stmt.setString(5, email);\n stmt.setString(6, creditcard);\n stmt.executeUpdate();\n stmt.close();\n\n commit(conn);\n\n accountData = new AccountDataBean(accountID, loginCount, logoutCount, lastLogin, creationDate, balance, openBalance, userID);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:register -- error registering new user\", e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n }", - "start_line": 1490, - "end_line": 1540, - "code_start_line": 1492, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n Connection conn = null;\n OrderDataBean orderData = null;\n //UserTransaction txn = null;\n\n /*\n * total = (quantity * purchasePrice) + orderFee\n */\n BigDecimal total;\n\n try {\n \n Log.trace(\"TradeDirect:sell - inSession(\" + this.inSession + \")\", userID, holdingID);\n \n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n \n Log.trace(\"TradeDirect:sell create/begin global transaction\");\n \n txn.begin();\n setInGlobalTxn(true);\n }\n\n conn = getConn();\n\n AccountDataBean accountData = getAccountData(conn, userID);\n HoldingDataBean holdingData = getHoldingData(conn, holdingID.intValue());\n QuoteDataBean quoteData = null;\n if (holdingData != null) {\n quoteData = getQuoteData(conn, holdingData.getQuoteID());\n }\n\n if ((accountData == null) || (holdingData == null) || (quoteData == null)) {\n String error = \"TradeDirect:sell -- error selling stock -- unable to find: \\n\\taccount=\" + accountData + \"\\n\\tholding=\" + holdingData\n + \"\\n\\tquote=\" + quoteData + \"\\nfor user: \" + userID + \" and holdingID: \" + holdingID;\n Log.debug(error);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, new Exception(error));\n }\n orderData = new OrderDataBean();\n orderData.setOrderStatus(\"cancelled\");\n return orderData;\n }\n\n double quantity = holdingData.getQuantity();\n\n orderData = createOrder(accountData, quoteData, holdingData, \"sell\", quantity);\n\n // Set the holdingSymbol purchaseDate to selling to signify the sell\n // is \"inflight\"\n updateHoldingStatus(conn, holdingData.getHoldingID(), holdingData.getQuoteID());\n\n // UPDATE -- account should be credited during completeOrder\n BigDecimal price = quoteData.getPrice();\n BigDecimal orderFee = orderData.getOrderFee();\n total = (new BigDecimal(quantity).multiply(price)).subtract(orderFee);\n creditAccountBalance(conn, accountData, total);\n\n try {\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(conn, orderData.getOrderID());\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n this.completeOrderAsync(orderData.getOrderID(), true);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderData.getOrderID(), true);\n } \n } catch (JMSException je) {\n Log.error(\"TradeBean:sell(\" + userID + \",\" + holdingID + \") --> failed to queueOrder\", je);\n\n cancelOrder(conn, orderData.getOrderID());\n }\n\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n \n Log.trace(\"TradeDirect:sell committing global transaction\");\n \n txn.commit();\n setInGlobalTxn(false);\n } else {\n commit(conn);\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:sell error\", e);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, e);\n }\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", + "start_line": 378, + "end_line": 477, + "code_start_line": 380, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.math.BigDecimal", "java.sql.Connection", - "java.sql.Timestamp", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.sql.PreparedStatement", - "java.lang.Integer" + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createAccountProfileSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createAccountSQL" + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.txn", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", + "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], "call_sites": [ { @@ -187728,10 +196346,17 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:sell - inSession(\" + this.inSession + \")\"", + "userID", + "holdingID" ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -187740,90 +196365,94 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1497, + "start_line": 392, "start_column": 7, - "end_line": 1497, - "end_column": 75 + "end_line": 392, + "end_column": 90 }, { - "method_name": "getConn", + "method_name": "trace", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:sell create/begin global transaction\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1499, - "start_column": 14, - "end_line": 1499, - "end_column": 22 + "start_line": 397, + "start_column": 9, + "end_line": 397, + "end_column": 69 }, { - "method_name": "getStatement", + "method_name": "begin", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "begin()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1500, - "start_column": 32, - "end_line": 1500, - "end_column": 67 + "start_line": 399, + "start_column": 9, + "end_line": 399, + "end_column": 19 }, { - "method_name": "getNextID", + "method_name": "setInGlobalTxn", "comment": null, - "receiver_expr": "KeySequenceDirect", - "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String", - "", "" ], - "return_type": "java.lang.Integer", - "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", - "is_public": true, + "argument_expr": [ + "true" + ], + "return_type": "", + "callee_signature": "setInGlobalTxn(boolean)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1502, - "start_column": 27, - "end_line": 1502, - "end_column": 99 + "start_line": 400, + "start_column": 9, + "end_line": 400, + "end_column": 28 }, { - "method_name": "getInGlobalTxn", + "method_name": "getConn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [], - "return_type": "", - "callee_signature": "getInGlobalTxn()", + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", "is_public": false, "is_protected": false, "is_private": true, @@ -187832,62 +196461,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1502, - "start_column": 83, - "end_line": 1502, - "end_column": 98 + "start_line": 403, + "start_column": 14, + "end_line": 403, + "end_column": 22 }, { - "method_name": "currentTimeMillis", + "method_name": "getAccountData", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1504, - "start_column": 46, - "end_line": 1504, - "end_column": 71 + "start_line": 405, + "start_column": 37, + "end_line": 405, + "end_column": 64 }, { - "method_name": "setInt", + "method_name": "getHoldingData", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", + "java.sql.Connection", "" ], - "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, + "argument_expr": [ + "conn", + "holdingID.intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingData(java.sql.Connection, int)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1509, - "start_column": 7, - "end_line": 1509, - "end_column": 42 + "start_line": 406, + "start_column": 37, + "end_line": 406, + "end_column": 78 }, { "method_name": "intValue", "comment": null, - "receiver_expr": "accountID", + "receiver_expr": "holdingID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -187898,46 +196539,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1509, - "start_column": 22, - "end_line": 1509, - "end_column": 41 + "start_line": 406, + "start_column": 58, + "end_line": 406, + "end_column": 77 }, { - "method_name": "setTimestamp", + "method_name": "getQuoteData", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "java.sql.Timestamp" + "java.sql.Connection", + "java.lang.String" ], - "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", - "is_public": true, + "argument_expr": [ + "conn", + "holdingData.getQuoteID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuoteData(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1510, - "start_column": 7, - "end_line": 1510, - "end_column": 40 + "start_line": 409, + "start_column": 21, + "end_line": 409, + "end_column": 64 }, { - "method_name": "setBigDecimal", + "method_name": "getQuoteID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.math.BigDecimal" - ], - "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getQuoteID()", "is_public": true, "is_protected": false, "is_private": false, @@ -187946,70 +196589,68 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1511, - "start_column": 7, - "end_line": 1511, - "end_column": 40 + "start_line": 409, + "start_column": 40, + "end_line": 409, + "end_column": 63 }, { - "method_name": "setBigDecimal", + "method_name": "debug", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", - "java.math.BigDecimal" + "java.lang.String" + ], + "argument_expr": [ + "error" ], "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1512, - "start_column": 7, - "end_line": 1512, - "end_column": 36 + "start_line": 415, + "start_column": 9, + "end_line": 415, + "end_column": 24 }, { - "method_name": "setTimestamp", + "method_name": "getInGlobalTxn", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.sql.Timestamp" - ], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", - "is_public": true, + "callee_signature": "getInGlobalTxn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1513, - "start_column": 7, - "end_line": 1513, - "end_column": 37 + "start_line": 416, + "start_column": 13, + "end_line": 416, + "end_column": 28 }, { - "method_name": "setInt", + "method_name": "rollback", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setInt(int, int)", + "callee_signature": "rollback()", "is_public": true, "is_protected": false, "is_private": false, @@ -188018,46 +196659,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1514, - "start_column": 7, - "end_line": 1514, - "end_column": 32 + "start_line": 417, + "start_column": 11, + "end_line": 417, + "end_column": 24 }, { - "method_name": "setInt", + "method_name": "rollBack", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "", - "" + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "new Exception(error)" ], "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1515, - "start_column": 7, - "end_line": 1515, - "end_column": 33 + "start_line": 419, + "start_column": 11, + "end_line": 419, + "end_column": 46 }, { - "method_name": "setString", + "method_name": "setOrderStatus", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [ - "", "java.lang.String" ], + "argument_expr": [ + "\"cancelled\"" + ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -188066,19 +196713,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1516, - "start_column": 7, - "end_line": 1516, - "end_column": 31 + "start_line": 422, + "start_column": 9, + "end_line": 422, + "end_column": 45 }, { - "method_name": "executeUpdate", + "method_name": "getQuantity", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "executeUpdate()", + "callee_signature": "getQuantity()", "is_public": true, "is_protected": false, "is_private": false, @@ -188087,19 +196735,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1517, - "start_column": 7, - "end_line": 1517, - "end_column": 26 + "start_line": 426, + "start_column": 25, + "end_line": 426, + "end_column": 49 }, { - "method_name": "close", + "method_name": "createOrder", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.lang.String", + "" + ], + "argument_expr": [ + "accountData", + "quoteData", + "holdingData", + "\"sell\"", + "quantity" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -188108,22 +196769,35 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1518, - "start_column": 7, - "end_line": 1518, - "end_column": 18 + "start_line": 428, + "start_column": 19, + "end_line": 428, + "end_column": 84 }, { - "method_name": "getStatement", - "comment": null, + "method_name": "updateHoldingStatus", + "comment": { + "content": " is \"inflight\"", + "start_line": 431, + "end_line": 431, + "start_column": 7, + "end_column": 22, + "is_javadoc": false + }, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", + "java.lang.Integer", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "holdingData.getHoldingID()", + "holdingData.getQuoteID()" + ], + "return_type": "", + "callee_signature": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -188132,22 +196806,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1520, - "start_column": 14, - "end_line": 1520, - "end_column": 56 + "start_line": 432, + "start_column": 7, + "end_line": 432, + "end_column": 85 }, { - "method_name": "setString", + "method_name": "getHoldingID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getHoldingID()", "is_public": true, "is_protected": false, "is_private": false, @@ -188156,22 +196828,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1521, - "start_column": 7, - "end_line": 1521, - "end_column": 31 + "start_line": 432, + "start_column": 33, + "end_line": 432, + "end_column": 58 }, { - "method_name": "setString", + "method_name": "getQuoteID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getQuoteID()", "is_public": true, "is_protected": false, "is_private": false, @@ -188180,22 +196850,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1522, - "start_column": 7, - "end_line": 1522, - "end_column": 33 + "start_line": 432, + "start_column": 61, + "end_line": 432, + "end_column": 84 }, { - "method_name": "setString", + "method_name": "getPrice", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -188204,22 +196872,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1523, - "start_column": 7, - "end_line": 1523, - "end_column": 33 + "start_line": 435, + "start_column": 26, + "end_line": 435, + "end_column": 45 }, { - "method_name": "setString", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee()", "is_public": true, "is_protected": false, "is_private": false, @@ -188228,22 +196894,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1524, - "start_column": 7, - "end_line": 1524, - "end_column": 32 + "start_line": 436, + "start_column": 29, + "end_line": 436, + "end_column": 51 }, { - "method_name": "setString", + "method_name": "subtract", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "(new BigDecimal(quantity).multiply(price))", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "", - "java.lang.String" + "java.math.BigDecimal" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "argument_expr": [ + "orderFee" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -188252,43 +196920,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1525, - "start_column": 7, - "end_line": 1525, - "end_column": 30 + "start_line": 437, + "start_column": 15, + "end_line": 437, + "end_column": 75 }, { - "method_name": "setString", + "method_name": "multiply", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "new BigDecimal(quantity)", + "receiver_type": "java.math.BigDecimal", "argument_types": [ - "", - "java.lang.String" + "java.math.BigDecimal" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1526, - "start_column": 7, - "end_line": 1526, - "end_column": 35 - }, - { - "method_name": "executeUpdate", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "executeUpdate()", + "argument_expr": [ + "price" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -188297,42 +196946,56 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1527, - "start_column": 7, - "end_line": 1527, - "end_column": 26 + "start_line": 437, + "start_column": 16, + "end_line": 437, + "end_column": 55 }, { - "method_name": "close", + "method_name": "creditAccountBalance", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.math.BigDecimal" + ], + "argument_expr": [ + "conn", + "accountData", + "total" + ], "return_type": "", - "callee_signature": "close()", - "is_public": true, + "callee_signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1528, + "start_line": 438, "start_column": 7, - "end_line": 1528, - "end_column": 18 + "end_line": 438, + "end_column": 52 }, { - "method_name": "commit", + "method_name": "completeOrder", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.sql.Connection", + "java.lang.Integer" ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "argument_expr": [ + "conn", + "orderData.getOrderID()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": true, @@ -188341,337 +197004,148 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1530, - "start_column": 7, - "end_line": 1530, - "end_column": 18 + "start_line": 442, + "start_column": 11, + "end_line": 442, + "end_column": 53 }, { - "method_name": "error", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1535, - "start_column": 7, - "end_line": 1535, - "end_column": 72 + "start_line": 442, + "start_column": 31, + "end_line": 442, + "end_column": 52 }, { - "method_name": "releaseConn", + "method_name": "completeOrderAsync", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect", "argument_types": [ - "java.sql.Connection" + "java.lang.Integer", + "" ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "argument_expr": [ + "orderData.getOrderID()", + "true" + ], + "return_type": "java.util.concurrent.Future", + "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1537, - "start_column": 7, - "end_line": 1537, - "end_column": 23 + "start_line": 444, + "start_column": 11, + "end_line": 444, + "end_column": 63 }, { - "method_name": "", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1504, - "start_column": 32, - "end_line": 1504, - "end_column": 72 + "start_line": 444, + "start_column": 35, + "end_line": 444, + "end_column": 56 }, { - "method_name": "", + "method_name": "queueOrder", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_type": "", "argument_types": [ "java.lang.Integer", - "", - "", - "java.sql.Timestamp", - "java.sql.Timestamp", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.lang.String" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", - "is_public": false, + "argument_expr": [ + "orderData.getOrderID()", + "true" + ], + "return_type": "", + "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1532, - "start_column": 21, - "end_line": 1532, - "end_column": 130 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "null", - "start_line": 1494, - "start_column": 21, - "end_line": 1494, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1495, - "start_column": 16, - "end_line": 1495, - "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, createAccountSQL)", - "start_line": 1500, - "start_column": 25, - "end_line": 1500, - "end_column": 67 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountID", - "type": "java.lang.Integer", - "initializer": "KeySequenceDirect.getNextID(conn, \"account\", inSession, getInGlobalTxn())", - "start_line": 1502, - "start_column": 15, - "end_line": 1502, - "end_column": 99 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "balance", - "type": "java.math.BigDecimal", - "initializer": "openBalance", - "start_line": 1503, - "start_column": 18, - "end_line": 1503, - "end_column": 38 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "creationDate", - "type": "java.sql.Timestamp", - "initializer": "new Timestamp(System.currentTimeMillis())", - "start_line": 1504, - "start_column": 17, - "end_line": 1504, - "end_column": 72 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "lastLogin", - "type": "java.sql.Timestamp", - "initializer": "creationDate", - "start_line": 1505, - "start_column": 17, - "end_line": 1505, - "end_column": 40 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "loginCount", - "type": "int", - "initializer": "0", - "start_line": 1506, + "start_line": 446, "start_column": 11, - "end_line": 1506, - "end_column": 24 + "end_line": 446, + "end_column": 50 }, { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "logoutCount", - "type": "int", - "initializer": "0", - "start_line": 1507, - "start_column": 11, - "end_line": 1507, - "end_column": 25 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "getHoldings(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getHoldings(String)", - "comments": [ - { - "content": "\n * @see TradeServices#getHoldings(String)\n ", - "start_line": 964, - "end_line": 966, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public Collection getHoldings(String userID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 968, - "end_line": 968, - "start_column": 50, - "end_column": 62 - } - ], - "code": "{\n Collection holdingDataBeans = new ArrayList();\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:getHoldings - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getHoldingsForUserSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n HoldingDataBean holdingData = getHoldingDataFromResultSet(rs);\n holdingDataBeans.add(holdingData);\n }\n\n stmt.close();\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getHoldings -- error getting user holings\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return holdingDataBeans;\n }", - "start_line": 967, - "end_line": 997, - "code_start_line": 968, - "return_type": "java.util.Collection", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection", - "java.sql.Connection", - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getHoldingsForUserSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 446, + "start_column": 22, + "end_line": 446, + "end_column": 43 + }, { - "method_name": "trace", + "method_name": "error", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.String" + "javax.jms.JMSException" + ], + "argument_expr": [ + "\"TradeBean:sell(\" + userID + \",\" + holdingID + \") --> failed to queueOrder\"", + "je" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, @@ -188680,19 +197154,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 973, - "start_column": 7, - "end_line": 973, - "end_column": 86 + "start_line": 449, + "start_column": 9, + "end_line": 449, + "end_column": 98 }, { - "method_name": "getConn", + "method_name": "cancelOrder", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_types": [ + "java.sql.Connection", + "java.lang.Integer" + ], + "argument_expr": [ + "conn", + "orderData.getOrderID()" + ], + "return_type": "", + "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", "is_public": false, "is_protected": false, "is_private": true, @@ -188701,22 +197182,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 976, - "start_column": 14, - "end_line": 976, - "end_column": 22 + "start_line": 451, + "start_column": 9, + "end_line": 451, + "end_column": 49 }, { - "method_name": "getStatement", + "method_name": "getOrderID", + "comment": null, + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 451, + "start_column": 27, + "end_line": 451, + "end_column": 48 + }, + { + "method_name": "getOrderData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.String" + "" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "orderData.getOrderID().intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderData(java.sql.Connection, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -188725,22 +197232,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 977, - "start_column": 32, - "end_line": 977, - "end_column": 72 + "start_line": 454, + "start_column": 19, + "end_line": 454, + "end_column": 71 }, { - "method_name": "setString", + "method_name": "intValue", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], + "receiver_expr": "orderData.getOrderID()", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -188749,19 +197254,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 978, - "start_column": 7, - "end_line": 978, - "end_column": 31 + "start_line": 454, + "start_column": 38, + "end_line": 454, + "end_column": 70 }, { - "method_name": "executeQuery", + "method_name": "getOrderID", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "orderData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getOrderID()", "is_public": true, "is_protected": false, "is_private": false, @@ -188770,19 +197276,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 980, - "start_column": 22, - "end_line": 980, - "end_column": 40 + "start_line": 454, + "start_column": 38, + "end_line": 454, + "end_column": 59 }, { - "method_name": "next", + "method_name": "trace", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:sell committing global transaction\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 458, + "start_column": 9, + "end_line": 458, + "end_column": 67 + }, + { + "method_name": "commit", + "comment": null, + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "next()", + "callee_signature": "commit()", "is_public": true, "is_protected": false, "is_private": false, @@ -188791,21 +197324,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 982, - "start_column": 14, - "end_line": 982, - "end_column": 22 + "start_line": 460, + "start_column": 9, + "end_line": 460, + "end_column": 20 }, { - "method_name": "getHoldingDataFromResultSet", + "method_name": "setInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.ResultSet" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "false" + ], + "return_type": "", + "callee_signature": "setInGlobalTxn(boolean)", "is_public": false, "is_protected": false, "is_private": true, @@ -188814,65 +197350,74 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 983, - "start_column": 39, - "end_line": 983, - "end_column": 69 + "start_line": 461, + "start_column": 9, + "end_line": 461, + "end_column": 29 }, { - "method_name": "add", + "method_name": "commit", "comment": null, - "receiver_expr": "holdingDataBeans", - "receiver_type": "java.util.Collection", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "java.sql.Connection" + ], + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "add(E)", - "is_public": true, + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 984, + "start_line": 463, "start_column": 9, - "end_line": 984, - "end_column": 41 + "end_line": 463, + "end_column": 20 }, { - "method_name": "close", + "method_name": "error", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:sell error\"", + "e" + ], "return_type": "", - "callee_signature": "close()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 987, + "start_line": 466, "start_column": 7, - "end_line": 987, - "end_column": 18 + "end_line": 466, + "end_column": 44 }, { - "method_name": "commit", + "method_name": "getInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "callee_signature": "getInGlobalTxn()", "is_public": false, "is_protected": false, "is_private": true, @@ -188881,34 +197426,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 988, - "start_column": 7, - "end_line": 988, - "end_column": 18 + "start_line": 467, + "start_column": 11, + "end_line": 467, + "end_column": 26 }, { - "method_name": "error", + "method_name": "rollback", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], + "receiver_expr": "txn", + "receiver_type": "javax.transaction.UserTransaction", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "rollback()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 991, - "start_column": 7, - "end_line": 991, - "end_column": 75 + "start_line": 468, + "start_column": 9, + "end_line": 468, + "end_column": 22 }, { "method_name": "rollBack", @@ -188919,6 +197462,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -188929,10 +197476,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 992, - "start_column": 7, - "end_line": 992, - "end_column": 23 + "start_line": 470, + "start_column": 9, + "end_line": 470, + "end_column": 25 }, { "method_name": "releaseConn", @@ -188942,6 +197489,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -188952,19 +197502,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 994, + "start_line": 473, "start_column": 7, - "end_line": 994, + "end_line": 473, "end_column": 23 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.util.ArrayList", + "receiver_type": "java.lang.Exception", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "error" + ], + "return_type": "java.lang.Exception", + "callee_signature": "Exception(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 419, + "start_column": 26, + "end_line": 419, + "end_column": 45 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "OrderDataBean()", "is_public": false, "is_protected": false, "is_private": false, @@ -188973,10 +197550,36 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 969, - "start_column": 52, - "end_line": 969, - "end_column": 83 + "start_line": 421, + "start_column": 21, + "end_line": 421, + "end_column": 39 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "quantity" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 437, + "start_column": 16, + "end_line": 437, + "end_column": 39 } ], "variable_declarations": [ @@ -188989,13 +197592,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdingDataBeans", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 969, - "start_column": 33, - "end_line": 969, - "end_column": 83 + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 381, + "start_column": 16, + "end_line": 381, + "end_column": 26 }, { "comment": { @@ -189006,13 +197609,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "conn", - "type": "java.sql.Connection", + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 970, - "start_column": 16, - "end_line": 970, - "end_column": 26 + "start_line": 382, + "start_column": 19, + "end_line": 382, + "end_column": 34 }, { "comment": { @@ -189023,13 +197626,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getHoldingsForUserSQL)", - "start_line": 977, - "start_column": 25, - "end_line": 977, - "end_column": 72 + "name": "total", + "type": "java.math.BigDecimal", + "initializer": "", + "start_line": 388, + "start_column": 16, + "end_line": 388, + "end_column": 20 }, { "comment": { @@ -189040,13 +197643,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 980, - "start_column": 17, - "end_line": 980, - "end_column": 40 + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "getAccountData(conn, userID)", + "start_line": 405, + "start_column": 23, + "end_line": 405, + "end_column": 64 }, { "comment": { @@ -189059,130 +197662,160 @@ }, "name": "holdingData", "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "getHoldingDataFromResultSet(rs)", - "start_line": 983, - "start_column": 25, - "end_line": 983, - "end_column": 69 + "initializer": "getHoldingData(conn, holdingID.intValue())", + "start_line": 406, + "start_column": 23, + "end_line": 406, + "end_column": 78 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 407, + "start_column": 21, + "end_line": 407, + "end_column": 36 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "error", + "type": "java.lang.String", + "initializer": "\"TradeDirect:sell -- error selling stock -- unable to find: \\n\\taccount=\" + accountData + \"\\n\\tholding=\" + holdingData + \"\\n\\tquote=\" + quoteData + \"\\nfor user: \" + userID + \" and holdingID: \" + holdingID", + "start_line": 413, + "start_column": 16, + "end_line": 414, + "end_column": 97 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "quantity", + "type": "double", + "initializer": "holdingData.getQuantity()", + "start_line": 426, + "start_column": 14, + "end_line": 426, + "end_column": 49 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "price", + "type": "java.math.BigDecimal", + "initializer": "quoteData.getPrice()", + "start_line": 435, + "start_column": 18, + "end_line": 435, + "end_column": 45 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderFee", + "type": "java.math.BigDecimal", + "initializer": "orderData.getOrderFee()", + "start_line": 436, + "start_column": 18, + "end_line": 436, + "end_column": 51 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 17, "is_entrypoint": false }, - "login(String, String)": { + "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "login(String, String)", - "comments": [ - { - "content": "\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n ", - "start_line": 1455, - "end_line": 1458, - "start_column": 5, - "end_column": 7, - "is_javadoc": false - } - ], - "annotations": [ - "@Override" - ], + "signature": "updateHoldingStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "comments": [], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountDataBean login(String userID, String password) throws Exception", + "declaration": "private void updateHoldingStatus(Connection conn, Integer holdingID, String symbol) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1406, - "end_line": 1406, - "start_column": 32, - "end_column": 44 + "start_line": 1245, + "end_line": 1245, + "start_column": 36, + "end_column": 50 + }, + { + "type": "java.lang.Integer", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 1245, + "end_line": 1245, + "start_column": 53, + "end_column": 69 }, { "type": "java.lang.String", - "name": "password", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1406, - "end_line": 1406, - "start_column": 47, - "end_column": 61 + "start_line": 1245, + "end_line": 1245, + "start_column": 72, + "end_column": 84 } ], - "code": "{\n\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:login - inSession(\" + this.inSession + \")\", userID, password);\n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getAccountProfileSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:login -- failure to find account for\" + userID);\n throw new javax.ejb.FinderException(\"Cannot find account for\" + userID);\n }\n\n String pw = rs.getString(\"passwd\");\n stmt.close();\n if ((pw == null) || (pw.equals(password) == false)) {\n String error = \"TradeDirect:Login failure for user: \" + userID + \"\\n\\tIncorrect password-->\" + userID + \":\" + password;\n Log.error(error);\n throw new Exception(error);\n }\n\n stmt = getStatement(conn, loginSQL);\n stmt.setTimestamp(1, new Timestamp(System.currentTimeMillis()));\n stmt.setString(2, userID);\n\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, getAccountForUserSQL);\n stmt.setString(1, userID);\n rs = stmt.executeQuery();\n\n accountData = getAccountDataFromResultSet(rs);\n\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:login -- error logging in user\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n\n /*\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n */\n }", - "start_line": 1405, - "end_line": 1459, - "code_start_line": 1406, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n Timestamp ts = new Timestamp(0);\n PreparedStatement stmt = getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\");\n\n stmt.setTimestamp(1, ts);\n stmt.setInt(2, holdingID.intValue());\n stmt.executeUpdate();\n stmt.close();\n }", + "start_line": 1245, + "end_line": 1253, + "code_start_line": 1245, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.Connection", - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.lang.String", + "java.sql.Timestamp", "java.sql.PreparedStatement" ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountForUserSQL", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.loginSQL" - ], + "accessed_fields": [], "call_sites": [ - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1411, - "start_column": 7, - "end_line": 1411, - "end_column": 90 - }, - { - "method_name": "getConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1413, - "start_column": 14, - "end_line": 1413, - "end_column": 22 - }, { "method_name": "getStatement", "comment": null, @@ -189192,6 +197825,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "\"update holdingejb set purchasedate= ? where holdingid = ?\"" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -189202,225 +197839,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1414, - "start_column": 32, - "end_line": 1414, - "end_column": 71 + "start_line": 1247, + "start_column": 30, + "end_line": 1247, + "end_column": 108 }, { - "method_name": "setString", + "method_name": "setTimestamp", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1415, - "start_column": 7, - "end_line": 1415, - "end_column": 31 - }, - { - "method_name": "executeQuery", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1417, - "start_column": 22, - "end_line": 1417, - "end_column": 40 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1418, - "start_column": 12, - "end_line": 1418, - "end_column": 20 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1419, - "start_column": 9, - "end_line": 1419, - "end_column": 78 - }, - { - "method_name": "getString", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1423, - "start_column": 19, - "end_line": 1423, - "end_column": 40 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1424, - "start_column": 7, - "end_line": 1424, - "end_column": 18 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "pw", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" + "java.sql.Timestamp" ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1425, - "start_column": 28, - "end_line": 1425, - "end_column": 46 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "1", + "ts" ], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1427, - "start_column": 9, - "end_line": 1427, - "end_column": 24 - }, - { - "method_name": "getStatement", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1431, - "start_column": 14, - "end_line": 1431, - "end_column": 41 + "start_line": 1249, + "start_column": 5, + "end_line": 1249, + "end_column": 28 }, { - "method_name": "setTimestamp", + "method_name": "setInt", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.sql.Timestamp" + "" + ], + "argument_expr": [ + "2", + "holdingID.intValue()" ], "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -189429,43 +197895,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1432, - "start_column": 7, - "end_line": 1432, - "end_column": 69 + "start_line": 1250, + "start_column": 5, + "end_line": 1250, + "end_column": 40 }, { - "method_name": "currentTimeMillis", + "method_name": "intValue", "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", + "receiver_expr": "holdingID", + "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1432, - "start_column": 42, - "end_line": 1432, - "end_column": 67 - }, - { - "method_name": "setString", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -189474,10 +197917,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1433, - "start_column": 7, - "end_line": 1433, - "end_column": 31 + "start_line": 1250, + "start_column": 20, + "end_line": 1250, + "end_column": 39 }, { "method_name": "executeUpdate", @@ -189485,6 +197928,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -189495,10 +197939,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1435, - "start_column": 7, - "end_line": 1435, - "end_column": 26 + "start_line": 1251, + "start_column": 5, + "end_line": 1251, + "end_column": 24 }, { "method_name": "close", @@ -189506,6 +197950,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -189516,90 +197961,210 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1436, - "start_column": 7, - "end_line": 1436, - "end_column": 18 + "start_line": 1252, + "start_column": 5, + "end_line": 1252, + "end_column": 16 }, { - "method_name": "getStatement", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "0" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1438, - "start_column": 14, - "end_line": 1438, - "end_column": 53 + "start_line": 1246, + "start_column": 20, + "end_line": 1246, + "end_column": 35 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ts", + "type": "java.sql.Timestamp", + "initializer": "new Timestamp(0)", + "start_line": 1246, + "start_column": 15, + "end_line": 1246, + "end_column": 35 }, { - "method_name": "setString", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\")", + "start_line": 1247, + "start_column": 23, + "end_line": 1247, + "end_column": 108 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "completeOrder(java.lang.Integer, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "completeOrder(java.lang.Integer, boolean)", + "comments": [ + { + "content": " twoPhase", + "start_line": 513, + "end_line": 513, + "start_column": 11, + "end_column": 21, + "is_javadoc": false + }, + { + "content": "\n * @see TradeServices#completeOrder(Integer)\n ", + "start_line": 505, + "end_line": 507, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public OrderDataBean completeOrder(Integer orderID, boolean twoPhase) throws Exception", + "parameters": [ + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 509, + "end_line": 509, + "start_column": 38, + "end_column": 52 + }, + { + "type": "boolean", + "name": "twoPhase", + "annotations": [], + "modifiers": [], + "start_line": 509, + "end_line": 509, + "start_column": 55, + "end_column": 70 + } + ], + "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n\n try { // twoPhase\n\n \n Log.trace(\"TradeDirect:completeOrder - inSession(\" + this.inSession + \")\", orderID);\n \n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n\n orderData = completeOrder(conn, orderID);\n\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:completeOrder -- error completing order\", e);\n rollBack(conn, e);\n cancelOrder(orderID, twoPhase);\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n\n }", + "start_line": 508, + "end_line": 535, + "code_start_line": 509, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.Connection", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + ], + "call_sites": [ + { + "method_name": "trace", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "", - "java.lang.String" + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:completeOrder - inSession(\" + this.inSession + \")\"", + "orderID" ], "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1439, + "start_line": 516, "start_column": 7, - "end_line": 1439, - "end_column": 31 + "end_line": 516, + "end_column": 89 }, { - "method_name": "executeQuery", + "method_name": "setInGlobalTxn", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "!inSession && twoPhase" + ], + "return_type": "", + "callee_signature": "setInGlobalTxn(boolean)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1440, - "start_column": 12, - "end_line": 1440, - "end_column": 30 + "start_line": 518, + "start_column": 7, + "end_line": 518, + "end_column": 44 }, { - "method_name": "getAccountDataFromResultSet", + "method_name": "getConn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.ResultSet" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", "is_public": false, "is_protected": false, "is_private": true, @@ -189608,31 +198173,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1442, - "start_column": 21, - "end_line": 1442, - "end_column": 51 + "start_line": 519, + "start_column": 14, + "end_line": 519, + "end_column": 22 }, { - "method_name": "close", + "method_name": "completeOrder", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Integer" + ], + "argument_expr": [ + "conn", + "orderID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1444, - "start_column": 7, - "end_line": 1444, - "end_column": 18 + "start_line": 521, + "start_column": 19, + "end_line": 521, + "end_column": 46 }, { "method_name": "commit", @@ -189642,6 +198214,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -189652,9 +198227,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1446, + "start_line": 523, "start_column": 7, - "end_line": 1446, + "end_line": 523, "end_column": 18 }, { @@ -189666,6 +198241,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:completeOrder -- error completing order\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -189676,10 +198255,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1448, + "start_line": 526, "start_column": 7, - "end_line": 1448, - "end_column": 64 + "end_line": 526, + "end_column": 73 }, { "method_name": "rollBack", @@ -189690,6 +198269,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -189700,102 +198283,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1449, + "start_line": 527, "start_column": 7, - "end_line": 1449, + "end_line": 527, "end_column": 23 }, { - "method_name": "releaseConn", + "method_name": "cancelOrder", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.lang.Integer", + "" + ], + "argument_expr": [ + "orderID", + "twoPhase" ], "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "callee_signature": "cancelOrder(java.lang.Integer, boolean)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1451, + "start_line": 528, "start_column": 7, - "end_line": 1451, - "end_column": 23 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "javax.ejb.FinderException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.ejb.FinderException", - "callee_signature": "FinderException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1420, - "start_column": 15, - "end_line": 1420, - "end_column": 79 + "end_line": 528, + "end_column": 36 }, { - "method_name": "", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", - "receiver_type": "java.lang.Exception", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection" ], - "return_type": "java.lang.Exception", - "callee_signature": "Exception(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1428, - "start_column": 15, - "end_line": 1428, - "end_column": 34 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" + "argument_expr": [ + "conn" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1432, - "start_column": 28, - "end_line": 1432, - "end_column": 68 + "start_line": 530, + "start_column": 7, + "end_line": 530, + "end_column": 23 } ], "variable_declarations": [ @@ -189808,13 +198353,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 1408, - "start_column": 21, - "end_line": 1408, - "end_column": 38 + "start_line": 510, + "start_column": 19, + "end_line": 510, + "end_column": 34 }, { "comment": { @@ -189828,258 +198373,114 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 1409, + "start_line": 511, "start_column": 16, - "end_line": 1409, + "end_line": 511, "end_column": 26 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAccountProfileSQL)", - "start_line": 1414, - "start_column": 25, - "end_line": 1414, - "end_column": 71 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "rs", - "type": "java.sql.ResultSet", - "initializer": "stmt.executeQuery()", - "start_line": 1417, - "start_column": 17, - "end_line": 1417, - "end_column": 40 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "pw", - "type": "java.lang.String", - "initializer": "rs.getString(\"passwd\")", - "start_line": 1423, - "start_column": 14, - "end_line": 1423, - "end_column": 40 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "error", - "type": "java.lang.String", - "initializer": "\"TradeDirect:Login failure for user: \" + userID + \"\\n\\tIncorrect password-->\" + userID + \":\" + password", - "start_line": 1426, - "start_column": 16, - "end_line": 1426, - "end_column": 126 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 6, + "cyclomatic_complexity": 5, "is_entrypoint": false }, - "getConnPublic()": { + "getAccountDataFromResultSet(java.sql.ResultSet)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getConnPublic()", + "signature": "getAccountDataFromResultSet(java.sql.ResultSet)", "comments": [], "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public Connection getConnPublic() throws Exception", - "parameters": [], - "code": "{\n return getConn();\n }", - "start_line": 1674, - "end_line": 1676, - "code_start_line": 1674, - "return_type": "java.sql.Connection", + "declaration": "private AccountDataBean getAccountDataFromResultSet(ResultSet rs) throws Exception", + "parameters": [ + { + "type": "java.sql.ResultSet", + "name": "rs", + "annotations": [], + "modifiers": [], + "start_line": 1542, + "end_line": 1542, + "start_column": 55, + "end_column": 66 + } + ], + "code": "{\n AccountDataBean accountData = null;\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getAccountDataFromResultSet -- cannot find account data\");\n } else {\n accountData = new AccountDataBean(new Integer(rs.getInt(\"accountID\")), rs.getInt(\"loginCount\"), rs.getInt(\"logoutCount\"),\n rs.getTimestamp(\"lastLogin\"), rs.getTimestamp(\"creationDate\"), rs.getBigDecimal(\"balance\"), rs.getBigDecimal(\"openBalance\"),\n rs.getString(\"profile_userID\"));\n }\n return accountData;\n }", + "start_line": 1542, + "end_line": 1553, + "code_start_line": 1542, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], "accessed_fields": [], "call_sites": [ { - "method_name": "getConn", + "method_name": "next", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1675, - "start_column": 12, - "end_line": 1675, - "end_column": 20 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "cancelOrder(Connection, Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "cancelOrder(Connection, Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private void cancelOrder(Connection conn, Integer orderID) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 667, - "end_line": 667, - "start_column": 28, - "end_column": 42 + "start_line": 1545, + "start_column": 10, + "end_line": 1545, + "end_column": 18 }, { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 667, - "end_line": 667, - "start_column": 45, - "end_column": 59 - } - ], - "code": "{\n updateOrderStatus(conn, orderID, \"cancelled\");\n }", - "start_line": 667, - "end_line": 669, - "code_start_line": 667, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "updateOrderStatus", + "method_name": "error", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.sql.Connection", - "java.lang.Integer", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getAccountDataFromResultSet -- cannot find account data\"" + ], "return_type": "", - "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", - "is_public": false, + "callee_signature": "error(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 668, - "start_column": 5, - "end_line": 668, - "end_column": 49 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuoteDataFromResultSet(ResultSet)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getQuoteDataFromResultSet(ResultSet)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private QuoteDataBean getQuoteDataFromResultSet(ResultSet rs) throws Exception", - "parameters": [ - { - "type": "java.sql.ResultSet", - "name": "rs", - "annotations": [], - "modifiers": [], - "start_line": 1576, - "end_line": 1576, - "start_column": 51, - "end_column": 62 - } - ], - "code": "{\n QuoteDataBean quoteData = null;\n\n quoteData = new QuoteDataBean(rs.getString(\"symbol\"), rs.getString(\"companyName\"), rs.getDouble(\"volume\"), rs.getBigDecimal(\"price\"),\n rs.getBigDecimal(\"open1\"), rs.getBigDecimal(\"low\"), rs.getBigDecimal(\"high\"), rs.getDouble(\"change1\"));\n return quoteData;\n }", - "start_line": 1576, - "end_line": 1582, - "code_start_line": 1576, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "accessed_fields": [], - "call_sites": [ + "start_line": 1546, + "start_column": 7, + "end_line": 1546, + "end_column": 86 + }, { - "method_name": "getString", + "method_name": "getInt", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "\"accountID\"" + ], + "return_type": "", + "callee_signature": "getInt(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190088,21 +198489,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1579, - "start_column": 35, - "end_line": 1579, - "end_column": 56 + "start_line": 1548, + "start_column": 53, + "end_line": 1548, + "end_column": 74 }, { - "method_name": "getString", + "method_name": "getInt", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "\"loginCount\"" + ], + "return_type": "", + "callee_signature": "getInt(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190111,21 +198515,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1579, - "start_column": 59, - "end_line": 1579, - "end_column": 85 + "start_line": 1548, + "start_column": 78, + "end_line": 1548, + "end_column": 100 }, { - "method_name": "getDouble", + "method_name": "getInt", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"logoutCount\"" + ], "return_type": "", - "callee_signature": "getDouble(java.lang.String)", + "callee_signature": "getInt(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190134,21 +198541,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1579, - "start_column": 88, - "end_line": 1579, - "end_column": 109 + "start_line": 1548, + "start_column": 103, + "end_line": 1548, + "end_column": 126 }, { - "method_name": "getBigDecimal", + "method_name": "getTimestamp", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "argument_expr": [ + "\"lastLogin\"" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "getTimestamp(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190157,21 +198567,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1579, - "start_column": 112, - "end_line": 1579, - "end_column": 136 + "start_line": 1549, + "start_column": 11, + "end_line": 1549, + "end_column": 38 }, { - "method_name": "getBigDecimal", + "method_name": "getTimestamp", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "argument_expr": [ + "\"creationDate\"" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "getTimestamp(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190180,10 +198593,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1580, - "start_column": 9, - "end_line": 1580, - "end_column": 33 + "start_line": 1549, + "start_column": 41, + "end_line": 1549, + "end_column": 71 }, { "method_name": "getBigDecimal", @@ -190193,6 +198606,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"balance\"" + ], "return_type": "java.math.BigDecimal", "callee_signature": "getBigDecimal(java.lang.String)", "is_public": true, @@ -190203,10 +198619,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1580, - "start_column": 36, - "end_line": 1580, - "end_column": 58 + "start_line": 1549, + "start_column": 74, + "end_line": 1549, + "end_column": 100 }, { "method_name": "getBigDecimal", @@ -190216,6 +198632,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"openBalance\"" + ], "return_type": "java.math.BigDecimal", "callee_signature": "getBigDecimal(java.lang.String)", "is_public": true, @@ -190226,21 +198645,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1580, - "start_column": 61, - "end_line": 1580, - "end_column": 84 + "start_line": 1549, + "start_column": 103, + "end_line": 1549, + "end_column": 133 }, { - "method_name": "getDouble", + "method_name": "getString", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "getDouble(java.lang.String)", + "argument_expr": [ + "\"profile_userID\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190249,28 +198671,64 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1580, - "start_column": 87, - "end_line": 1580, - "end_column": 109 + "start_line": 1550, + "start_column": 11, + "end_line": 1550, + "end_column": 40 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [ - "java.lang.String", - "java.lang.String", + "java.lang.Integer", "", + "", + "java.sql.Timestamp", + "java.sql.Timestamp", "java.math.BigDecimal", "java.math.BigDecimal", - "java.math.BigDecimal", - "java.math.BigDecimal", + "java.lang.String" + ], + "argument_expr": [ + "new Integer(rs.getInt(\"accountID\"))", + "rs.getInt(\"loginCount\")", + "rs.getInt(\"logoutCount\")", + "rs.getTimestamp(\"lastLogin\")", + "rs.getTimestamp(\"creationDate\")", + "rs.getBigDecimal(\"balance\")", + "rs.getBigDecimal(\"openBalance\")", + "rs.getString(\"profile_userID\")" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 1548, + "start_column": 21, + "end_line": 1550, + "end_column": 41 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "QuoteDataBean(java.lang.String, java.lang.String, double, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, java.math.BigDecimal, double)", + "argument_expr": [ + "rs.getInt(\"accountID\")" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", "is_public": false, "is_protected": false, "is_private": false, @@ -190279,10 +198737,10 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1579, - "start_column": 17, - "end_line": 1580, - "end_column": 110 + "start_line": 1548, + "start_column": 41, + "end_line": 1548, + "end_column": 75 } ], "variable_declarations": [ @@ -190295,89 +198753,113 @@ "end_column": -1, "is_javadoc": false }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "initializer": "null", - "start_line": 1577, - "start_column": 19, - "end_line": 1577, - "end_column": 34 + "start_line": 1543, + "start_column": 21, + "end_line": 1543, + "end_column": 38 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "updateQuotePriceVolume(String, BigDecimal, double)": { + "getAccountData(int, java.sql.Connection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateQuotePriceVolume(String, BigDecimal, double)", + "signature": "getAccountData(int, java.sql.Connection)", "comments": [], - "annotations": [ - "@Override" - ], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public QuoteDataBean updateQuotePriceVolume(String symbol, BigDecimal changeFactor, double sharesTraded) throws Exception", + "declaration": "private AccountDataBean getAccountData(int accountID, Connection conn) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 1289, - "end_line": 1289, - "start_column": 47, - "end_column": 59 - }, - { - "type": "java.math.BigDecimal", - "name": "changeFactor", + "type": "int", + "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 1289, - "end_line": 1289, - "start_column": 62, - "end_column": 84 + "start_line": 1086, + "end_line": 1086, + "start_column": 42, + "end_column": 54 }, { - "type": "double", - "name": "sharesTraded", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1289, - "end_line": 1289, - "start_column": 87, - "end_column": 105 + "start_line": 1086, + "end_line": 1086, + "start_column": 57, + "end_column": 71 } ], - "code": "{\n return updateQuotePriceVolumeInt(symbol, changeFactor, sharesTraded, TradeConfig.getPublishQuotePriceChange());\n }", - "start_line": 1288, - "end_line": 1291, - "code_start_line": 1289, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountSQL);\n stmt.setInt(1, accountID);\n ResultSet rs = stmt.executeQuery();\n AccountDataBean accountData = getAccountDataFromResultSet(rs);\n stmt.close();\n return accountData;\n }", + "start_line": 1086, + "end_line": 1093, + "code_start_line": 1086, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], + "referenced_types": [ + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountSQL" + ], "call_sites": [ { - "method_name": "updateQuotePriceVolumeInt", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.math.BigDecimal", + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "getAccountSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1087, + "start_column": 30, + "end_line": 1087, + "end_column": 62 + }, + { + "method_name": "setInt", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ "", "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "updateQuotePriceVolumeInt(java.lang.String, java.math.BigDecimal, double, boolean)", + "argument_expr": [ + "1", + "accountID" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -190386,97 +198868,295 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1290, - "start_column": 12, - "end_line": 1290, - "end_column": 114 + "start_line": 1088, + "start_column": 5, + "end_line": 1088, + "end_column": 29 }, { - "method_name": "getPublishQuotePriceChange", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1089, + "start_column": 20, + "end_line": 1089, + "end_column": 38 + }, + { + "method_name": "getAccountDataFromResultSet", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1090, + "start_column": 35, + "end_line": 1090, + "end_column": 65 + }, + { + "method_name": "close", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getPublishQuotePriceChange()", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1290, - "start_column": 74, - "end_line": 1290, - "end_column": 113 + "start_line": 1091, + "start_column": 5, + "end_line": 1091, + "end_column": 16 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getAccountSQL)", + "start_line": 1087, + "start_column": 23, + "end_line": 1087, + "end_column": 62 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 1089, + "start_column": 15, + "end_line": 1089, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "getAccountDataFromResultSet(rs)", + "start_line": 1090, + "start_column": 21, + "end_line": 1090, + "end_column": 65 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "creditAccountBalance(Connection, AccountDataBean, BigDecimal)": { + "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "creditAccountBalance(Connection, AccountDataBean, BigDecimal)", + "signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private void creditAccountBalance(Connection conn, AccountDataBean accountData, BigDecimal credit) throws Exception", + "declaration": "public AccountDataBean register(String userID, String password, String fullname, String address, String email, String creditcard, BigDecimal openBalance) throws Exception", "parameters": [ { - "type": "java.sql.Connection", - "name": "conn", + "type": "java.lang.String", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1232, - "end_line": 1232, - "start_column": 37, - "end_column": 51 + "start_line": 1491, + "end_line": 1491, + "start_column": 35, + "end_column": 47 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "accountData", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 1232, - "end_line": 1232, - "start_column": 54, - "end_column": 80 + "start_line": 1491, + "end_line": 1491, + "start_column": 50, + "end_column": 64 + }, + { + "type": "java.lang.String", + "name": "fullname", + "annotations": [], + "modifiers": [], + "start_line": 1491, + "end_line": 1491, + "start_column": 67, + "end_column": 81 + }, + { + "type": "java.lang.String", + "name": "address", + "annotations": [], + "modifiers": [], + "start_line": 1491, + "end_line": 1491, + "start_column": 84, + "end_column": 97 + }, + { + "type": "java.lang.String", + "name": "email", + "annotations": [], + "modifiers": [], + "start_line": 1491, + "end_line": 1491, + "start_column": 100, + "end_column": 111 + }, + { + "type": "java.lang.String", + "name": "creditcard", + "annotations": [], + "modifiers": [], + "start_line": 1491, + "end_line": 1491, + "start_column": 114, + "end_column": 130 }, { "type": "java.math.BigDecimal", - "name": "credit", + "name": "openBalance", "annotations": [], "modifiers": [], - "start_line": 1232, - "end_line": 1232, - "start_column": 83, - "end_column": 99 + "start_line": 1491, + "end_line": 1491, + "start_column": 133, + "end_column": 154 } ], - "code": "{\n PreparedStatement stmt = getStatement(conn, creditAccountBalanceSQL);\n\n stmt.setBigDecimal(1, credit);\n stmt.setInt(2, accountData.getAccountID().intValue());\n\n stmt.executeUpdate();\n stmt.close();\n\n }", - "start_line": 1232, - "end_line": 1241, - "code_start_line": 1232, - "return_type": "void", + "code": "{\n\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:register - inSession(\" + this.inSession + \")\"); \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, createAccountSQL);\n\n Integer accountID = KeySequenceDirect.getNextID(conn, \"account\", inSession, getInGlobalTxn());\n BigDecimal balance = openBalance;\n Timestamp creationDate = new Timestamp(System.currentTimeMillis());\n Timestamp lastLogin = creationDate;\n int loginCount = 0;\n int logoutCount = 0;\n\n stmt.setInt(1, accountID.intValue());\n stmt.setTimestamp(2, creationDate);\n stmt.setBigDecimal(3, openBalance);\n stmt.setBigDecimal(4, balance);\n stmt.setTimestamp(5, lastLogin);\n stmt.setInt(6, loginCount);\n stmt.setInt(7, logoutCount);\n stmt.setString(8, userID);\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, createAccountProfileSQL);\n stmt.setString(1, userID);\n stmt.setString(2, password);\n stmt.setString(3, fullname);\n stmt.setString(4, address);\n stmt.setString(5, email);\n stmt.setString(6, creditcard);\n stmt.executeUpdate();\n stmt.close();\n\n commit(conn);\n\n accountData = new AccountDataBean(accountID, loginCount, logoutCount, lastLogin, creationDate, balance, openBalance, userID);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:register -- error registering new user\", e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n }", + "start_line": 1490, + "end_line": 1540, + "code_start_line": 1492, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.PreparedStatement" + "java.math.BigDecimal", + "java.sql.Connection", + "java.sql.Timestamp", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.sql.PreparedStatement", + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.creditAccountBalanceSQL" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createAccountProfileSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createAccountSQL" ], "call_sites": [ + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:register - inSession(\" + this.inSession + \")\"" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1497, + "start_column": 7, + "end_line": 1497, + "end_column": 75 + }, + { + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1499, + "start_column": 14, + "end_line": 1499, + "end_column": 22 + }, { "method_name": "getStatement", "comment": null, @@ -190486,6 +199166,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "createAccountSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -190496,34 +199180,86 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1233, - "start_column": 30, - "end_line": 1233, - "end_column": 72 + "start_line": 1500, + "start_column": 32, + "end_line": 1500, + "end_column": 67 + }, + { + "method_name": "getNextID", + "comment": null, + "receiver_expr": "KeySequenceDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", + "argument_types": [ + "java.sql.Connection", + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "conn", + "\"account\"", + "inSession", + "getInGlobalTxn()" + ], + "return_type": "java.lang.Integer", + "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1502, + "start_column": 27, + "end_line": 1502, + "end_column": 99 + }, + { + "method_name": "getInGlobalTxn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getInGlobalTxn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1502, + "start_column": 83, + "end_line": 1502, + "end_column": 98 }, { - "method_name": "setBigDecimal", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "java.math.BigDecimal" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1235, - "start_column": 5, - "end_line": 1235, - "end_column": 33 + "start_line": 1504, + "start_column": 46, + "end_line": 1504, + "end_column": 71 }, { "method_name": "setInt", @@ -190534,6 +199270,10 @@ "", "" ], + "argument_expr": [ + "1", + "accountID.intValue()" + ], "return_type": "", "callee_signature": "setInt(int, int)", "is_public": true, @@ -190544,17 +199284,18 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1236, - "start_column": 5, - "end_line": 1236, - "end_column": 57 + "start_line": 1509, + "start_column": 7, + "end_line": 1509, + "end_column": 42 }, { "method_name": "intValue", "comment": null, - "receiver_expr": "accountData.getAccountID()", + "receiver_expr": "accountID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -190565,19 +199306,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1236, - "start_column": 20, - "end_line": 1236, - "end_column": 56 + "start_line": 1509, + "start_column": 22, + "end_line": 1509, + "end_column": 41 }, { - "method_name": "getAccountID", + "method_name": "setTimestamp", "comment": null, - "receiver_expr": "accountData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getAccountID()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.sql.Timestamp" + ], + "argument_expr": [ + "2", + "creationDate" + ], + "return_type": "", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, @@ -190586,19 +199334,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1236, - "start_column": 20, - "end_line": 1236, - "end_column": 45 + "start_line": 1510, + "start_column": 7, + "end_line": 1510, + "end_column": 40 }, { - "method_name": "executeUpdate", + "method_name": "setBigDecimal", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "argument_types": [ + "", + "java.math.BigDecimal" + ], + "argument_expr": [ + "3", + "openBalance" + ], "return_type": "", - "callee_signature": "executeUpdate()", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -190607,19 +199362,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1238, - "start_column": 5, - "end_line": 1238, - "end_column": 24 + "start_line": 1511, + "start_column": 7, + "end_line": 1511, + "end_column": 40 }, { - "method_name": "close", + "method_name": "setBigDecimal", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "argument_types": [ + "", + "java.math.BigDecimal" + ], + "argument_expr": [ + "4", + "balance" + ], "return_type": "", - "callee_signature": "close()", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -190628,82 +199390,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1239, - "start_column": 5, - "end_line": 1239, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, creditAccountBalanceSQL)", - "start_line": 1233, - "start_column": 23, - "end_line": 1233, - "end_column": 72 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrderDataFromResultSet(ResultSet)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getOrderDataFromResultSet(ResultSet)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private OrderDataBean getOrderDataFromResultSet(ResultSet rs) throws Exception", - "parameters": [ - { - "type": "java.sql.ResultSet", - "name": "rs", - "annotations": [], - "modifiers": [], - "start_line": 1584, - "end_line": 1584, - "start_column": 51, - "end_column": 62 - } - ], - "code": "{\n OrderDataBean orderData = null;\n\n orderData = new OrderDataBean(new Integer(rs.getInt(\"orderID\")), rs.getString(\"orderType\"), rs.getString(\"orderStatus\"), rs.getTimestamp(\"openDate\"),\n rs.getTimestamp(\"completionDate\"), rs.getDouble(\"quantity\"), rs.getBigDecimal(\"price\"), rs.getBigDecimal(\"orderFee\"),\n rs.getString(\"quote_symbol\"));\n return orderData;\n }", - "start_line": 1584, - "end_line": 1591, - "code_start_line": 1584, - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [], - "call_sites": [ + "start_line": 1512, + "start_column": 7, + "end_line": 1512, + "end_column": 36 + }, { - "method_name": "getInt", + "method_name": "setTimestamp", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "java.sql.Timestamp" + ], + "argument_expr": [ + "5", + "lastLogin" ], "return_type": "", - "callee_signature": "getInt(java.lang.String)", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, @@ -190712,21 +199418,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 47, - "end_line": 1587, - "end_column": 66 + "start_line": 1513, + "start_column": 7, + "end_line": 1513, + "end_column": 37 }, { - "method_name": "getString", + "method_name": "setInt", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "6", + "loginCount" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -190735,21 +199446,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 70, - "end_line": 1587, - "end_column": 94 + "start_line": 1514, + "start_column": 7, + "end_line": 1514, + "end_column": 32 }, { - "method_name": "getString", + "method_name": "setInt", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "7", + "logoutCount" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -190758,21 +199474,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 97, - "end_line": 1587, - "end_column": 123 + "start_line": 1515, + "start_column": 7, + "end_line": 1515, + "end_column": 33 }, { - "method_name": "getTimestamp", + "method_name": "setString", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], - "return_type": "java.sql.Timestamp", - "callee_signature": "getTimestamp(java.lang.String)", + "argument_expr": [ + "8", + "userID" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190781,21 +199502,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 126, - "end_line": 1587, - "end_column": 152 + "start_line": 1516, + "start_column": 7, + "end_line": 1516, + "end_column": 31 }, { - "method_name": "getTimestamp", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "getTimestamp(java.lang.String)", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -190804,21 +199524,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1588, - "start_column": 9, - "end_line": 1588, - "end_column": 41 + "start_line": 1517, + "start_column": 7, + "end_line": 1517, + "end_column": 26 }, { - "method_name": "getDouble", + "method_name": "close", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "getDouble(java.lang.String)", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -190827,44 +199546,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1588, - "start_column": 44, - "end_line": 1588, - "end_column": 67 + "start_line": 1518, + "start_column": 7, + "end_line": 1518, + "end_column": 18 }, { - "method_name": "getBigDecimal", + "method_name": "getStatement", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "java.sql.Connection", "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", - "is_public": true, + "argument_expr": [ + "conn", + "createAccountProfileSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1588, - "start_column": 70, - "end_line": 1588, - "end_column": 94 + "start_line": 1520, + "start_column": 14, + "end_line": 1520, + "end_column": 56 }, { - "method_name": "getBigDecimal", + "method_name": "setString", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "argument_expr": [ + "1", + "userID" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190873,21 +199602,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1588, - "start_column": 97, - "end_line": 1588, - "end_column": 124 + "start_line": 1521, + "start_column": 7, + "end_line": 1521, + "end_column": 31 }, { - "method_name": "getString", + "method_name": "setString", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ + "", "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "2", + "password" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -190896,240 +199630,166 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1589, - "start_column": 9, - "end_line": 1589, - "end_column": 36 + "start_line": 1522, + "start_column": 7, + "end_line": 1522, + "end_column": 33 }, { - "method_name": "", + "method_name": "setString", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.Integer", - "java.lang.String", - "java.lang.String", - "java.sql.Timestamp", - "java.sql.Timestamp", "", - "java.math.BigDecimal", - "java.math.BigDecimal", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", - "is_public": false, + "argument_expr": [ + "3", + "fullname" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 17, - "end_line": 1589, - "end_column": 37 + "start_line": 1523, + "start_column": 7, + "end_line": 1523, + "end_column": 33 }, { - "method_name": "", + "method_name": "setString", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "" + "", + "java.lang.String" ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", - "is_public": false, + "argument_expr": [ + "4", + "address" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1587, - "start_column": 35, - "end_line": 1587, - "end_column": 67 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "null", - "start_line": 1585, - "start_column": 19, - "end_line": 1585, - "end_column": 34 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "cancelOrder(Integer, boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "cancelOrder(Integer, boolean)", - "comments": [ - { - "content": "\n * @see TradeServices#cancelOrder(Integer, boolean)\n ", - "start_line": 643, - "end_line": 645, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 647, - "end_line": 647, - "start_column": 27, - "end_column": 41 + "start_line": 1524, + "start_column": 7, + "end_line": 1524, + "end_column": 32 }, { - "type": "boolean", - "name": "twoPhase", - "annotations": [], - "modifiers": [], - "start_line": 647, - "end_line": 647, - "start_column": 44, - "end_column": 59 - } - ], - "code": "{\n\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:cancelOrder - inSession(\" + this.inSession + \")\", orderID);\n \n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n cancelOrder(conn, orderID);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:cancelOrder -- error cancelling order: \" + orderID, e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n }", - "start_line": 646, - "end_line": 665, - "code_start_line": 647, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ - { - "method_name": "trace", + "method_name": "setString", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", - "java.lang.Integer" + "", + "java.lang.String" + ], + "argument_expr": [ + "5", + "email" ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 652, + "start_line": 1525, "start_column": 7, - "end_line": 652, - "end_column": 87 + "end_line": 1525, + "end_column": 30 }, { - "method_name": "setInGlobalTxn", + "method_name": "setString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "" + "", + "java.lang.String" + ], + "argument_expr": [ + "6", + "creditcard" ], "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", - "is_public": false, + "callee_signature": "setString(int, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 654, + "start_line": 1526, "start_column": 7, - "end_line": 654, - "end_column": 44 + "end_line": 1526, + "end_column": 35 }, { - "method_name": "getConn", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 655, - "start_column": 14, - "end_line": 655, - "end_column": 22 + "start_line": 1527, + "start_column": 7, + "end_line": 1527, + "end_column": 26 }, { - "method_name": "cancelOrder", + "method_name": "close", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Integer" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", - "is_public": false, + "callee_signature": "close()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 656, + "start_line": 1528, "start_column": 7, - "end_line": 656, - "end_column": 32 + "end_line": 1528, + "end_column": 18 }, { "method_name": "commit", @@ -191139,6 +199799,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -191149,9 +199812,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 657, + "start_line": 1530, "start_column": 7, - "end_line": 657, + "end_line": 1530, "end_column": 18 }, { @@ -191163,6 +199826,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:register -- error registering new user\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -191173,22 +199840,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 660, + "start_line": 1535, "start_column": 7, - "end_line": 660, - "end_column": 83 + "end_line": 1535, + "end_column": 72 }, { - "method_name": "rollBack", + "method_name": "releaseConn", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.sql.Connection" + ], + "argument_expr": [ + "conn" ], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, "is_protected": false, "is_private": true, @@ -191197,36 +199866,96 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 661, + "start_line": 1537, "start_column": 7, - "end_line": 661, + "end_line": 1537, "end_column": 23 }, { - "method_name": "releaseConn", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.sql.Connection" + "" ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 663, - "start_column": 7, - "end_line": 663, - "end_column": 23 + "start_line": 1504, + "start_column": 32, + "end_line": 1504, + "end_column": 72 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [ + "java.lang.Integer", + "", + "", + "java.sql.Timestamp", + "java.sql.Timestamp", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.lang.String" + ], + "argument_expr": [ + "accountID", + "loginCount", + "logoutCount", + "lastLogin", + "creationDate", + "balance", + "openBalance", + "userID" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 1532, + "start_column": 21, + "end_line": 1532, + "end_column": 130 } ], "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "null", + "start_line": 1494, + "start_column": 21, + "end_line": 1494, + "end_column": 38 + }, { "comment": { "content": null, @@ -191239,21 +199968,149 @@ "name": "conn", "type": "java.sql.Connection", "initializer": "null", - "start_line": 649, + "start_line": 1495, "start_column": 16, - "end_line": 649, + "end_line": 1495, "end_column": 26 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, createAccountSQL)", + "start_line": 1500, + "start_column": 25, + "end_line": 1500, + "end_column": 67 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountID", + "type": "java.lang.Integer", + "initializer": "KeySequenceDirect.getNextID(conn, \"account\", inSession, getInGlobalTxn())", + "start_line": 1502, + "start_column": 15, + "end_line": 1502, + "end_column": 99 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "balance", + "type": "java.math.BigDecimal", + "initializer": "openBalance", + "start_line": 1503, + "start_column": 18, + "end_line": 1503, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "creationDate", + "type": "java.sql.Timestamp", + "initializer": "new Timestamp(System.currentTimeMillis())", + "start_line": 1504, + "start_column": 17, + "end_line": 1504, + "end_column": 72 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "lastLogin", + "type": "java.sql.Timestamp", + "initializer": "creationDate", + "start_line": 1505, + "start_column": 17, + "end_line": 1505, + "end_column": 40 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "loginCount", + "type": "int", + "initializer": "0", + "start_line": 1506, + "start_column": 11, + "end_line": 1506, + "end_column": 24 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "logoutCount", + "type": "int", + "initializer": "0", + "start_line": 1507, + "start_column": 11, + "end_line": 1507, + "end_column": 25 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "getAccountDataFromResultSet(ResultSet)": { + "getHoldingData(java.sql.Connection, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountDataFromResultSet(ResultSet)", - "comments": [], + "signature": "getHoldingData(java.sql.Connection, int)", + "comments": [ + { + "content": " already sold", + "start_line": 1131, + "end_line": 1131, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + } + ], "annotations": [], "modifiers": [ "private" @@ -191261,177 +200118,88 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private AccountDataBean getAccountDataFromResultSet(ResultSet rs) throws Exception", + "declaration": "private HoldingDataBean getHoldingData(Connection conn, int holdingID) throws Exception", "parameters": [ { - "type": "java.sql.ResultSet", - "name": "rs", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1542, - "end_line": 1542, - "start_column": 55, - "end_column": 66 + "start_line": 1125, + "end_line": 1125, + "start_column": 42, + "end_column": 56 + }, + { + "type": "int", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 1125, + "end_line": 1125, + "start_column": 59, + "end_column": 71 } ], - "code": "{\n AccountDataBean accountData = null;\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getAccountDataFromResultSet -- cannot find account data\");\n } else {\n accountData = new AccountDataBean(new Integer(rs.getInt(\"accountID\")), rs.getInt(\"loginCount\"), rs.getInt(\"logoutCount\"),\n rs.getTimestamp(\"lastLogin\"), rs.getTimestamp(\"creationDate\"), rs.getBigDecimal(\"balance\"), rs.getBigDecimal(\"openBalance\"),\n rs.getString(\"profile_userID\"));\n }\n return accountData;\n }", - "start_line": 1542, - "end_line": 1553, - "code_start_line": 1542, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "code": "{\n HoldingDataBean holdingData = null;\n PreparedStatement stmt = getStatement(conn, getHoldingSQL);\n stmt.setInt(1, holdingID);\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n // already sold\n Log.debug(\"TradeDirect:getHoldingData -- no results -- holdingID=\" + holdingID);\n } else {\n holdingData = getHoldingDataFromResultSet(rs);\n }\n\n stmt.close();\n return holdingData;\n }", + "start_line": 1125, + "end_line": 1139, + "code_start_line": 1125, + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.sql.ResultSet", + "java.sql.PreparedStatement" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getHoldingSQL" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1545, - "start_column": 10, - "end_line": 1545, - "end_column": 18 - }, - { - "method_name": "error", + "method_name": "getStatement", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "java.sql.Connection", "java.lang.String" ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1546, - "start_column": 7, - "end_line": 1546, - "end_column": 86 - }, - { - "method_name": "getInt", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "conn", + "getHoldingSQL" ], - "return_type": "", - "callee_signature": "getInt(java.lang.String)", - "is_public": true, + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1548, - "start_column": 53, - "end_line": 1548, - "end_column": 74 + "start_line": 1127, + "start_column": 30, + "end_line": 1127, + "end_column": 62 }, { - "method_name": "getInt", + "method_name": "setInt", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String" + "", + "" ], - "return_type": "", - "callee_signature": "getInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1548, - "start_column": 78, - "end_line": 1548, - "end_column": 100 - }, - { - "method_name": "getInt", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "1", + "holdingID" ], "return_type": "", - "callee_signature": "getInt(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1548, - "start_column": 103, - "end_line": 1548, - "end_column": 126 - }, - { - "method_name": "getTimestamp", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "getTimestamp(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1549, - "start_column": 11, - "end_line": 1549, - "end_column": 38 - }, - { - "method_name": "getTimestamp", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "getTimestamp(java.lang.String)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -191440,21 +200208,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1549, - "start_column": 41, - "end_line": 1549, - "end_column": 71 + "start_line": 1128, + "start_column": 5, + "end_line": 1128, + "end_column": 29 }, { - "method_name": "getBigDecimal", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -191463,21 +200230,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1549, - "start_column": 74, - "end_line": 1549, - "end_column": 100 + "start_line": 1129, + "start_column": 20, + "end_line": 1129, + "end_column": 38 }, { - "method_name": "getBigDecimal", + "method_name": "next", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "getBigDecimal(java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -191486,86 +200252,91 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1549, - "start_column": 103, - "end_line": 1549, - "end_column": 133 + "start_line": 1130, + "start_column": 10, + "end_line": 1130, + "end_column": 18 }, { - "method_name": "getString", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "method_name": "debug", + "comment": { + "content": " already sold", + "start_line": 1131, + "end_line": 1131, + "start_column": 7, + "end_column": 21, + "is_javadoc": false + }, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", + "argument_expr": [ + "\"TradeDirect:getHoldingData -- no results -- holdingID=\" + holdingID" + ], + "return_type": "", + "callee_signature": "debug(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1550, - "start_column": 11, - "end_line": 1550, - "end_column": 40 + "start_line": 1132, + "start_column": 7, + "end_line": 1132, + "end_column": 85 }, { - "method_name": "", + "method_name": "getHoldingDataFromResultSet", "comment": null, "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "receiver_type": "", "argument_types": [ - "java.lang.Integer", - "", - "", - "java.sql.Timestamp", - "java.sql.Timestamp", - "java.math.BigDecimal", - "java.math.BigDecimal", - "java.lang.String" + "java.sql.ResultSet" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "getHoldingDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, - "is_private": false, - "is_unspecified": true, + "is_private": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1548, + "start_line": 1134, "start_column": 21, - "end_line": 1550, - "end_column": 41 + "end_line": 1134, + "end_column": 51 }, { - "method_name": "", + "method_name": "close", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(int)", - "is_public": false, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, + "is_unspecified": false, "is_static_call": false, - "is_constructor_call": true, + "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1548, - "start_column": 41, - "end_line": 1548, - "end_column": 75 + "start_line": 1137, + "start_column": 5, + "end_line": 1137, + "end_column": 16 } ], "variable_declarations": [ @@ -191578,12 +200349,46 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "initializer": "null", - "start_line": 1543, + "start_line": 1126, "start_column": 21, - "end_line": 1543, + "end_line": 1126, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, getHoldingSQL)", + "start_line": 1127, + "start_column": 23, + "end_line": 1127, + "end_column": 62 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 1129, + "start_column": 15, + "end_line": 1129, "end_column": 38 } ], @@ -191592,109 +200397,149 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "updateAccountProfile(AccountProfileDataBean)": { + "getConnPublic()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateAccountProfile(AccountProfileDataBean)", - "comments": [ + "signature": "getConnPublic()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public Connection getConnPublic() throws Exception", + "parameters": [], + "code": "{\n return getConn();\n }", + "start_line": 1674, + "end_line": 1676, + "code_start_line": 1674, + "return_type": "java.sql.Connection", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ { - "content": "\n * @see TradeServices#updateAccountProfile(AccountProfileDataBean)\n ", - "start_line": 1206, - "end_line": 1208, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "getConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1675, + "start_column": 12, + "end_line": 1675, + "end_column": 20 } ], - "annotations": [ - "@Override" + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "removeHolding(java.sql.Connection, int, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "removeHolding(java.sql.Connection, int, int)", + "comments": [ + { + "content": " set the HoldingID to NULL for the purchase and sell order now that", + "start_line": 702, + "end_line": 702, + "start_column": 5, + "end_column": 73, + "is_javadoc": false + }, + { + "content": " the holding as been removed", + "start_line": 703, + "end_line": 703, + "start_column": 5, + "end_column": 34, + "is_javadoc": false + } ], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData) throws Exception", + "declaration": "private void removeHolding(Connection conn, int holdingID, int orderID) throws Exception", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profileData", + "type": "java.sql.Connection", + "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1210, - "end_line": 1210, - "start_column": 54, - "end_column": 87 + "start_line": 695, + "end_line": 695, + "start_column": 30, + "end_column": 44 + }, + { + "type": "int", + "name": "holdingID", + "annotations": [], + "modifiers": [], + "start_line": 695, + "end_line": 695, + "start_column": 47, + "end_column": 59 + }, + { + "type": "int", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 695, + "end_line": 695, + "start_column": 62, + "end_column": 72 } ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:updateAccountProfileData - inSession(\" + this.inSession + \")\", profileData.getUserID());\n\n conn = getConn();\n updateAccountProfile(conn, profileData);\n\n accountProfileData = getAccountProfileData(conn, profileData.getUserID());\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountProfileData -- error getting profile data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountProfileData;\n }", - "start_line": 1209, - "end_line": 1230, - "code_start_line": 1210, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n PreparedStatement stmt = getStatement(conn, removeHoldingSQL);\n\n stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\n\n // set the HoldingID to NULL for the purchase and sell order now that\n // the holding as been removed\n stmt = getStatement(conn, removeHoldingFromOrderSQL);\n\n stmt.setInt(1, holdingID);\n stmt.executeUpdate();\n stmt.close();\n\n }", + "start_line": 695, + "end_line": 710, + "code_start_line": 695, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.removeHoldingSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.removeHoldingFromOrderSQL" ], "call_sites": [ { - "method_name": "trace", + "method_name": "getStatement", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String", + "java.sql.Connection", "java.lang.String" ], - "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1216, - "start_column": 7, - "end_line": 1216, - "end_column": 116 - }, - { - "method_name": "getUserID", - "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1216, - "start_column": 93, - "end_line": 1216, - "end_column": 115 - }, - { - "method_name": "getConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", + "argument_expr": [ + "conn", + "removeHoldingSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -191703,67 +200548,70 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1218, - "start_column": 14, - "end_line": 1218, - "end_column": 22 + "start_line": 696, + "start_column": 30, + "end_line": 696, + "end_column": 65 }, { - "method_name": "updateAccountProfile", + "method_name": "setInt", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "", + "" + ], + "argument_expr": [ + "1", + "holdingID" ], "return_type": "", - "callee_signature": "updateAccountProfile(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", - "is_public": false, + "callee_signature": "setInt(int, int)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1219, - "start_column": 7, - "end_line": 1219, - "end_column": 45 + "start_line": 698, + "start_column": 5, + "end_line": 698, + "end_column": 29 }, { - "method_name": "getAccountProfileData", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", - "is_public": false, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "executeUpdate()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1221, - "start_column": 28, - "end_line": 1221, - "end_column": 79 + "start_line": 699, + "start_column": 5, + "end_line": 699, + "end_column": 24 }, { - "method_name": "getUserID", + "method_name": "close", "comment": null, - "receiver_expr": "profileData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, @@ -191772,21 +200620,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1221, - "start_column": 56, - "end_line": 1221, - "end_column": 78 + "start_line": 700, + "start_column": 5, + "end_line": 700, + "end_column": 16 }, { - "method_name": "commit", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.sql.Connection", + "java.lang.String" ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "argument_expr": [ + "conn", + "removeHoldingFromOrderSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -191795,81 +200648,82 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1222, - "start_column": 7, - "end_line": 1222, - "end_column": 18 + "start_line": 704, + "start_column": 12, + "end_line": 704, + "end_column": 56 }, { - "method_name": "error", + "method_name": "setInt", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "", + "" + ], + "argument_expr": [ + "1", + "holdingID" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1224, - "start_column": 7, - "end_line": 1224, - "end_column": 85 + "start_line": 706, + "start_column": 5, + "end_line": 706, + "end_column": 29 }, { - "method_name": "rollBack", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "callee_signature": "executeUpdate()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1225, - "start_column": 7, - "end_line": 1225, - "end_column": 23 + "start_line": 707, + "start_column": 5, + "end_line": 707, + "end_column": 24 }, { - "method_name": "releaseConn", + "method_name": "close", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "callee_signature": "close()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1227, - "start_column": 7, - "end_line": 1227, - "end_column": 23 + "start_line": 708, + "start_column": 5, + "end_line": 708, + "end_column": 16 } ], "variable_declarations": [ @@ -191882,48 +200736,132 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "null", - "start_line": 1211, - "start_column": 28, - "end_line": 1211, - "end_column": 52 - }, + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, removeHoldingSQL)", + "start_line": 696, + "start_column": 23, + "end_line": 696, + "end_column": 65 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getStatement(java.sql.Connection, java.lang.String, int, int)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getStatement(java.sql.Connection, java.lang.String, int, int)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private PreparedStatement getStatement(Connection conn, String sql, int type, int concurrency) throws Exception", + "parameters": [ { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1212, - "start_column": 16, - "end_line": 1212, - "end_column": 26 + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1713, + "end_line": 1713, + "start_column": 42, + "end_column": 56 + }, + { + "type": "java.lang.String", + "name": "sql", + "annotations": [], + "modifiers": [], + "start_line": 1713, + "end_line": 1713, + "start_column": 59, + "end_column": 68 + }, + { + "type": "int", + "name": "type", + "annotations": [], + "modifiers": [], + "start_line": 1713, + "end_line": 1713, + "start_column": 71, + "end_column": 78 + }, + { + "type": "int", + "name": "concurrency", + "annotations": [], + "modifiers": [], + "start_line": 1713, + "end_line": 1713, + "start_column": 81, + "end_column": 95 + } + ], + "code": "{\n return conn.prepareStatement(sql, type, concurrency);\n }", + "start_line": 1713, + "end_line": 1715, + "code_start_line": 1713, + "return_type": "java.sql.PreparedStatement", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "prepareStatement", + "comment": null, + "receiver_expr": "conn", + "receiver_type": "java.sql.Connection", + "argument_types": [ + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "sql", + "type", + "concurrency" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "prepareStatement(java.lang.String, int, int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1714, + "start_column": 12, + "end_line": 1714, + "end_column": 56 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getAccountData(String)": { + "login(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountData(String)", + "signature": "login(java.lang.String, java.lang.String)", "comments": [ { - "content": "\n * @see TradeServices#getAccountData(String)\n ", - "start_line": 1025, - "end_line": 1027, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "content": "\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n ", + "start_line": 1455, + "end_line": 1458, + "start_column": 5, + "end_column": 7, + "is_javadoc": false } ], "annotations": [ @@ -191935,32 +200873,48 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public AccountDataBean getAccountData(String userID) throws Exception", + "declaration": "public AccountDataBean login(String userID, String password) throws Exception", "parameters": [ { "type": "java.lang.String", "name": "userID", "annotations": [], "modifiers": [], - "start_line": 1029, - "end_line": 1029, - "start_column": 41, - "end_column": 53 + "start_line": 1406, + "end_line": 1406, + "start_column": 32, + "end_column": 44 + }, + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 1406, + "end_line": 1406, + "start_column": 47, + "end_column": 61 } ], - "code": "{\n try {\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getAccountData - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n accountData = getAccountData(conn, userID);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountData -- error getting account data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n } catch (Exception e) {\n throw new Exception(e.getMessage(), e);\n }\n }", - "start_line": 1028, - "end_line": 1052, - "code_start_line": 1029, + "code": "{\n\n AccountDataBean accountData = null;\n Connection conn = null;\n try {\n Log.trace(\"TradeDirect:login - inSession(\" + this.inSession + \")\", userID, password);\n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getAccountProfileSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n if (!rs.next()) {\n Log.error(\"TradeDirect:login -- failure to find account for\" + userID);\n throw new javax.ejb.FinderException(\"Cannot find account for\" + userID);\n }\n\n String pw = rs.getString(\"passwd\");\n stmt.close();\n if ((pw == null) || (pw.equals(password) == false)) {\n String error = \"TradeDirect:Login failure for user: \" + userID + \"\\n\\tIncorrect password-->\" + userID + \":\" + password;\n Log.error(error);\n throw new Exception(error);\n }\n\n stmt = getStatement(conn, loginSQL);\n stmt.setTimestamp(1, new Timestamp(System.currentTimeMillis()));\n stmt.setString(2, userID);\n\n stmt.executeUpdate();\n stmt.close();\n\n stmt = getStatement(conn, getAccountForUserSQL);\n stmt.setString(1, userID);\n rs = stmt.executeQuery();\n\n accountData = getAccountDataFromResultSet(rs);\n\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:login -- error logging in user\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountData;\n\n /*\n * setLastLogin( new Timestamp(System.currentTimeMillis()) );\n * setLoginCount( getLoginCount() + 1 );\n */\n }", + "start_line": 1405, + "end_line": 1459, + "code_start_line": 1406, "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.lang.String", + "java.sql.PreparedStatement" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountForUserSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.loginSQL" ], "call_sites": [ { @@ -191969,11 +200923,17 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ + "java.lang.String", "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:login - inSession(\" + this.inSession + \")\"", + "userID", + "password" + ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -191982,10 +200942,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1035, - "start_column": 9, - "end_line": 1035, - "end_column": 91 + "start_line": 1411, + "start_column": 7, + "end_line": 1411, + "end_column": 90 }, { "method_name": "getConn", @@ -191993,6 +200953,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -192003,13 +200964,13 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1038, - "start_column": 16, - "end_line": 1038, - "end_column": 24 + "start_line": 1413, + "start_column": 14, + "end_line": 1413, + "end_column": 22 }, { - "method_name": "getAccountData", + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", @@ -192017,8 +200978,12 @@ "java.sql.Connection", "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "conn", + "getAccountProfileSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -192027,32 +200992,81 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1039, - "start_column": 23, - "end_line": 1039, - "end_column": 50 + "start_line": 1414, + "start_column": 32, + "end_line": 1414, + "end_column": 71 }, { - "method_name": "commit", + "method_name": "setString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection" + "", + "java.lang.String" + ], + "argument_expr": [ + "1", + "userID" ], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "setString(int, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1040, - "start_column": 9, - "end_line": 1040, + "start_line": 1415, + "start_column": 7, + "end_line": 1415, + "end_column": 31 + }, + { + "method_name": "executeQuery", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1417, + "start_column": 22, + "end_line": 1417, + "end_column": 40 + }, + { + "method_name": "next", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1418, + "start_column": 12, + "end_line": 1418, "end_column": 20 }, { @@ -192061,11 +201075,13 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:login -- failure to find account for\" + userID" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -192074,66 +201090,72 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1043, + "start_line": 1419, "start_column": 9, - "end_line": 1043, - "end_column": 80 + "end_line": 1419, + "end_column": 78 }, { - "method_name": "rollBack", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" + "java.lang.String" ], - "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, + "argument_expr": [ + "\"passwd\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1044, - "start_column": 9, - "end_line": 1044, - "end_column": 25 + "start_line": 1423, + "start_column": 19, + "end_line": 1423, + "end_column": 40 }, { - "method_name": "releaseConn", + "method_name": "close", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, + "callee_signature": "close()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1046, - "start_column": 9, - "end_line": 1046, - "end_column": 25 + "start_line": 1424, + "start_column": 7, + "end_line": 1424, + "end_column": 18 }, { - "method_name": "getMessage", + "method_name": "equals", "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getMessage()", + "receiver_expr": "pw", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "password" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -192142,155 +201164,37 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1050, - "start_column": 27, - "end_line": 1050, - "end_column": 40 + "start_line": 1425, + "start_column": 28, + "end_line": 1425, + "end_column": 46 }, { - "method_name": "", + "method_name": "error", "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Exception", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", - "java.lang.Exception" + "java.lang.String" ], - "return_type": "java.lang.Exception", - "callee_signature": "Exception(java.lang.String, java.lang.Throwable)", - "is_public": false, + "argument_expr": [ + "error" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", + "is_public": true, "is_protected": false, "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, "crud_operation": null, - "crud_query": null, - "start_line": 1050, - "start_column": 13, - "end_line": 1050, - "end_column": 44 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "null", - "start_line": 1031, - "start_column": 23, - "end_line": 1031, - "end_column": 40 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1032, - "start_column": 18, - "end_line": 1032, - "end_column": 28 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - }, - "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateQuotePriceVolume(Connection, String, BigDecimal, double, double)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private void updateQuotePriceVolume(Connection conn, String symbol, BigDecimal newPrice, double newVolume, double change) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1357, - "end_line": 1357, - "start_column": 39, - "end_column": 53 - }, - { - "type": "java.lang.String", - "name": "symbol", - "annotations": [], - "modifiers": [], - "start_line": 1357, - "end_line": 1357, - "start_column": 56, - "end_column": 68 - }, - { - "type": "java.math.BigDecimal", - "name": "newPrice", - "annotations": [], - "modifiers": [], - "start_line": 1357, - "end_line": 1357, - "start_column": 71, - "end_column": 89 - }, - { - "type": "double", - "name": "newVolume", - "annotations": [], - "modifiers": [], - "start_line": 1357, - "end_line": 1357, - "start_column": 92, - "end_column": 107 - }, - { - "type": "double", - "name": "change", - "annotations": [], - "modifiers": [], - "start_line": 1357, - "end_line": 1357, - "start_column": 110, - "end_column": 122 - } - ], - "code": "{\n\n PreparedStatement stmt = getStatement(conn, updateQuotePriceVolumeSQL);\n\n stmt.setBigDecimal(1, newPrice);\n stmt.setDouble(2, change);\n stmt.setDouble(3, newVolume);\n stmt.setString(4, symbol);\n\n stmt.executeUpdate();\n stmt.close();\n }", - "start_line": 1357, - "end_line": 1368, - "code_start_line": 1357, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.updateQuotePriceVolumeSQL" - ], - "call_sites": [ + "crud_query": null, + "start_line": 1427, + "start_column": 9, + "end_line": 1427, + "end_column": 24 + }, { "method_name": "getStatement", "comment": null, @@ -192300,6 +201204,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "loginSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -192310,46 +201218,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1359, - "start_column": 30, - "end_line": 1359, - "end_column": 74 + "start_line": 1431, + "start_column": 14, + "end_line": 1431, + "end_column": 41 }, { - "method_name": "setBigDecimal", + "method_name": "setTimestamp", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.math.BigDecimal" + "java.sql.Timestamp" ], - "return_type": "", - "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1361, - "start_column": 5, - "end_line": 1361, - "end_column": 35 - }, - { - "method_name": "setDouble", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" + "argument_expr": [ + "1", + "new Timestamp(System.currentTimeMillis())" ], "return_type": "", - "callee_signature": "setDouble(int, double)", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, @@ -192358,34 +201246,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1362, - "start_column": 5, - "end_line": 1362, - "end_column": 29 + "start_line": 1432, + "start_column": 7, + "end_line": 1432, + "end_column": 69 }, { - "method_name": "setDouble", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setDouble(int, double)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1363, - "start_column": 5, - "end_line": 1363, - "end_column": 32 + "start_line": 1432, + "start_column": 42, + "end_line": 1432, + "end_column": 67 }, { "method_name": "setString", @@ -192396,6 +201282,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "2", + "userID" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -192406,10 +201296,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1364, - "start_column": 5, - "end_line": 1364, - "end_column": 29 + "start_line": 1433, + "start_column": 7, + "end_line": 1433, + "end_column": 31 }, { "method_name": "executeUpdate", @@ -192417,6 +201307,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -192427,10 +201318,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1366, - "start_column": 5, - "end_line": 1366, - "end_column": 24 + "start_line": 1435, + "start_column": 7, + "end_line": 1435, + "end_column": 26 }, { "method_name": "close", @@ -192438,6 +201329,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -192448,142 +201340,102 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1367, - "start_column": 5, - "end_line": 1367, - "end_column": 16 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "stmt", - "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, updateQuotePriceVolumeSQL)", - "start_line": 1359, - "start_column": 23, - "end_line": 1359, - "end_column": 74 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getAccountProfileData(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountProfileData(String)", - "comments": [ - { - "content": "\n * @see TradeServices#getAccountProfileData(String)\n ", - "start_line": 1159, - "end_line": 1161, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public AccountProfileDataBean getAccountProfileData(String userID) throws Exception", - "parameters": [ + "start_line": 1436, + "start_column": 7, + "end_line": 1436, + "end_column": 18 + }, { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 1163, - "end_line": 1163, - "start_column": 55, - "end_column": 67 - } - ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\n Connection conn = null;\n\n try {\n \n Log.trace(\"TradeDirect:getAccountProfileData - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n accountProfileData = getAccountProfileData(conn, userID);\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getAccountProfileData -- error getting profile data\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return accountProfileData;\n }", - "start_line": 1162, - "end_line": 1182, - "code_start_line": 1163, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" - ], - "call_sites": [ + "method_name": "getStatement", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String" + ], + "argument_expr": [ + "conn", + "getAccountForUserSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1438, + "start_column": 14, + "end_line": 1438, + "end_column": 53 + }, { - "method_name": "trace", + "method_name": "setString", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.String", + "", "java.lang.String" ], + "argument_expr": [ + "1", + "userID" + ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1169, + "start_line": 1439, "start_column": 7, - "end_line": 1169, - "end_column": 96 + "end_line": 1439, + "end_column": 31 }, { - "method_name": "getConn", + "method_name": "executeQuery", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1172, - "start_column": 14, - "end_line": 1172, - "end_column": 22 + "start_line": 1440, + "start_column": 12, + "end_line": 1440, + "end_column": 30 }, { - "method_name": "getAccountProfileData", + "method_name": "getAccountDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "java.sql.ResultSet" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getAccountProfileData(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -192592,10 +201444,32 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1173, - "start_column": 28, - "end_line": 1173, - "end_column": 62 + "start_line": 1442, + "start_column": 21, + "end_line": 1442, + "end_column": 51 + }, + { + "method_name": "close", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1444, + "start_column": 7, + "end_line": 1444, + "end_column": 18 }, { "method_name": "commit", @@ -192605,6 +201479,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -192615,9 +201492,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1174, + "start_line": 1446, "start_column": 7, - "end_line": 1174, + "end_line": 1446, "end_column": 18 }, { @@ -192629,6 +201506,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:login -- error logging in user\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -192639,10 +201520,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1176, + "start_line": 1448, "start_column": 7, - "end_line": 1176, - "end_column": 85 + "end_line": 1448, + "end_column": 64 }, { "method_name": "rollBack", @@ -192653,6 +201534,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -192663,9 +201548,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1177, + "start_line": 1449, "start_column": 7, - "end_line": 1177, + "end_line": 1449, "end_column": 23 }, { @@ -192676,6 +201561,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -192686,218 +201574,125 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1179, + "start_line": 1451, "start_column": 7, - "end_line": 1179, + "end_line": 1451, "end_column": 23 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "null", - "start_line": 1164, - "start_column": 28, - "end_line": 1164, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 1165, - "start_column": 16, - "end_line": 1165, - "end_column": 26 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "getAccountData(int, Connection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountData(int, Connection)", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "private AccountDataBean getAccountData(int accountID, Connection conn) throws Exception", - "parameters": [ - { - "type": "int", - "name": "accountID", - "annotations": [], - "modifiers": [], - "start_line": 1086, - "end_line": 1086, - "start_column": 42, - "end_column": 54 }, { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 1086, - "end_line": 1086, - "start_column": 57, - "end_column": 71 - } - ], - "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountSQL);\n stmt.setInt(1, accountID);\n ResultSet rs = stmt.executeQuery();\n AccountDataBean accountData = getAccountDataFromResultSet(rs);\n stmt.close();\n return accountData;\n }", - "start_line": 1086, - "end_line": 1093, - "code_start_line": 1086, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.sql.ResultSet", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.sql.PreparedStatement" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountSQL" - ], - "call_sites": [ - { - "method_name": "getStatement", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "javax.ejb.FinderException", "argument_types": [ - "java.sql.Connection", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "argument_expr": [ + "\"Cannot find account for\" + userID" + ], + "return_type": "javax.ejb.FinderException", + "callee_signature": "FinderException(java.lang.String)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, + "is_private": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1087, - "start_column": 30, - "end_line": 1087, - "end_column": 62 + "start_line": 1420, + "start_column": 15, + "end_line": 1420, + "end_column": 79 }, { - "method_name": "setInt", + "method_name": "", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "", + "receiver_type": "java.lang.Exception", "argument_types": [ - "", - "" + "java.lang.String" ], - "return_type": "", - "callee_signature": "setInt(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1088, - "start_column": 5, - "end_line": 1088, - "end_column": 29 - }, - { - "method_name": "executeQuery", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", - "is_public": true, + "argument_expr": [ + "error" + ], + "return_type": "java.lang.Exception", + "callee_signature": "Exception(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1089, - "start_column": 20, - "end_line": 1089, - "end_column": 38 + "start_line": 1428, + "start_column": 15, + "end_line": 1428, + "end_column": 34 }, { - "method_name": "getAccountDataFromResultSet", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.sql.ResultSet" + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountDataFromResultSet(java.sql.ResultSet)", + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", "is_public": false, "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1090, - "start_column": 35, - "end_line": 1090, - "end_column": 65 - }, - { - "method_name": "close", - "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "", - "callee_signature": "close()", - "is_public": true, - "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 1091, - "start_column": 5, - "end_line": 1091, - "end_column": 16 + "start_line": 1432, + "start_column": 28, + "end_line": 1432, + "end_column": 68 } ], "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "null", + "start_line": 1408, + "start_column": 21, + "end_line": 1408, + "end_column": 38 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 1409, + "start_column": 16, + "end_line": 1409, + "end_column": 26 + }, { "comment": { "content": null, @@ -192909,11 +201704,11 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getAccountSQL)", - "start_line": 1087, - "start_column": 23, - "end_line": 1087, - "end_column": 62 + "initializer": "getStatement(conn, getAccountProfileSQL)", + "start_line": 1414, + "start_column": 25, + "end_line": 1414, + "end_column": 71 }, { "comment": { @@ -192927,10 +201722,10 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 1089, - "start_column": 15, - "end_line": 1089, - "end_column": 38 + "start_line": 1417, + "start_column": 17, + "end_line": 1417, + "end_column": 40 }, { "comment": { @@ -192941,87 +201736,111 @@ "end_column": -1, "is_javadoc": false }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "getAccountDataFromResultSet(rs)", - "start_line": 1090, - "start_column": 21, - "end_line": 1090, - "end_column": 65 + "name": "pw", + "type": "java.lang.String", + "initializer": "rs.getString(\"passwd\")", + "start_line": 1423, + "start_column": 14, + "end_line": 1423, + "end_column": 40 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "error", + "type": "java.lang.String", + "initializer": "\"TradeDirect:Login failure for user: \" + userID + \"\\n\\tIncorrect password-->\" + userID + \":\" + password", + "start_line": 1426, + "start_column": 16, + "end_line": 1426, + "end_column": 126 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 6, "is_entrypoint": false }, - "getAccountProfileDataFromResultSet(ResultSet)": { + "cancelOrder(java.lang.Integer, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getAccountProfileDataFromResultSet(ResultSet)", - "comments": [], - "annotations": [], + "signature": "cancelOrder(java.lang.Integer, boolean)", + "comments": [ + { + "content": "\n * @see TradeServices#cancelOrder(Integer, boolean)\n ", + "start_line": 643, + "end_line": 645, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], "modifiers": [ - "private" + "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private AccountProfileDataBean getAccountProfileDataFromResultSet(ResultSet rs) throws Exception", + "declaration": "public void cancelOrder(Integer orderID, boolean twoPhase) throws Exception", "parameters": [ { - "type": "java.sql.ResultSet", - "name": "rs", + "type": "java.lang.Integer", + "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 1555, - "end_line": 1555, - "start_column": 69, - "end_column": 80 + "start_line": 647, + "end_line": 647, + "start_column": 27, + "end_column": 41 + }, + { + "type": "boolean", + "name": "twoPhase", + "annotations": [], + "modifiers": [], + "start_line": 647, + "end_line": 647, + "start_column": 44, + "end_column": 59 } ], - "code": "{\n AccountProfileDataBean accountProfileData = null;\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getAccountProfileDataFromResultSet -- cannot find accountprofile data\");\n } else {\n accountProfileData = new AccountProfileDataBean(rs.getString(\"userID\"), rs.getString(\"passwd\"), rs.getString(\"fullName\"), rs.getString(\"address\"),\n rs.getString(\"email\"), rs.getString(\"creditCard\"));\n }\n\n return accountProfileData;\n }", - "start_line": 1555, - "end_line": 1566, - "code_start_line": 1555, - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "code": "{\n\n Connection conn = null;\n try {\n \n Log.trace(\"TradeDirect:cancelOrder - inSession(\" + this.inSession + \")\", orderID);\n \n setInGlobalTxn(!inSession && twoPhase);\n conn = getConn();\n cancelOrder(conn, orderID);\n commit(conn);\n\n } catch (Exception e) {\n Log.error(\"TradeDirect:cancelOrder -- error cancelling order: \" + orderID, e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n }", + "start_line": 646, + "end_line": 665, + "code_start_line": 647, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + "java.sql.Connection" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" ], - "accessed_fields": [], "call_sites": [ { - "method_name": "next", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1558, - "start_column": 10, - "end_line": 1558, - "end_column": 18 - }, - { - "method_name": "error", + "method_name": "trace", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Integer" + ], + "argument_expr": [ + "\"TradeDirect:cancelOrder - inSession(\" + this.inSession + \")\"", + "orderID" ], "return_type": "", - "callee_signature": "error(java.lang.String)", + "callee_signature": "trace(java.lang.String, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -193030,453 +201849,304 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1559, + "start_line": 652, "start_column": 7, - "end_line": 1559, - "end_column": 100 + "end_line": 652, + "end_column": 87 }, { - "method_name": "getString", + "method_name": "setInGlobalTxn", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1561, - "start_column": 55, - "end_line": 1561, - "end_column": 76 - }, - { - "method_name": "getString", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "!inSession && twoPhase" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, + "return_type": "", + "callee_signature": "setInGlobalTxn(boolean)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1561, - "start_column": 79, - "end_line": 1561, - "end_column": 100 + "start_line": 654, + "start_column": 7, + "end_line": 654, + "end_column": 44 }, { - "method_name": "getString", + "method_name": "getConn", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.Connection", + "callee_signature": "getConn()", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1561, - "start_column": 103, - "end_line": 1561, - "end_column": 126 + "start_line": 655, + "start_column": 14, + "end_line": 655, + "end_column": 22 }, { - "method_name": "getString", + "method_name": "cancelOrder", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection", + "java.lang.Integer" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 1561, - "start_column": 129, - "end_line": 1561, - "end_column": 151 - }, - { - "method_name": "getString", - "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "conn", + "orderID" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, + "return_type": "", + "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1562, - "start_column": 11, - "end_line": 1562, - "end_column": 31 + "start_line": 656, + "start_column": 7, + "end_line": 656, + "end_column": 32 }, { - "method_name": "getString", + "method_name": "commit", "comment": null, - "receiver_expr": "rs", - "receiver_type": "java.sql.ResultSet", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.sql.Connection" ], - "return_type": "java.lang.String", - "callee_signature": "getString(java.lang.String)", - "is_public": true, + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "commit(java.sql.Connection)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1562, - "start_column": 34, - "end_line": 1562, - "end_column": 59 + "start_line": 657, + "start_column": 7, + "end_line": 657, + "end_column": 18 }, { - "method_name": "", + "method_name": "error", "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1561, - "start_column": 28, - "end_line": 1562, - "end_column": 60 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountProfileData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "null", - "start_line": 1556, - "start_column": 28, - "end_line": 1556, - "end_column": 52 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "orderCompleted(String, Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "orderCompleted(String, Integer)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public void orderCompleted(String userID, Integer orderID) throws Exception", - "parameters": [ - { - "type": "java.lang.String", - "name": "userID", - "annotations": [], - "modifiers": [], - "start_line": 672, - "end_line": 672, - "start_column": 30, - "end_column": 42 - }, - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 672, - "end_line": 672, - "start_column": 45, - "end_column": 59 - } - ], - "code": "{\n throw new UnsupportedOperationException(\"TradeDirect:orderCompleted method not supported\");\n }", - "start_line": 671, - "end_line": 674, - "code_start_line": 672, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 673, - "start_column": 11, - "end_line": 673, - "end_column": 94 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getImpl()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getImpl()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public int getImpl()", - "parameters": [], - "code": "{\n return TradeConfig.DIRECT;\n }", - "start_line": 1814, - "end_line": 1817, - "code_start_line": 1815, - "return_type": "int", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.DIRECT" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "buy(String, String, double, int)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "buy(String, String, double, int)", - "comments": [ - { - "content": "conn = getConn();", - "start_line": 315, - "end_line": 315, - "start_column": 7, - "end_column": 25, - "is_javadoc": false - }, - { - "content": " the holding", - "start_line": 320, - "end_line": 320, - "start_column": 7, - "end_column": 20, - "is_javadoc": false - }, - { - "content": ", userID, symbol, new Double(quantity));", - "start_line": 303, - "end_line": 303, - "start_column": 72, - "end_column": 113, - "is_javadoc": false - }, - { - "content": " the buy operation will create", - "start_line": 319, - "end_line": 319, - "start_column": 43, - "end_column": 74, - "is_javadoc": false - }, - { - "content": " Update -- account should be credited during completeOrder", - "start_line": 324, - "end_line": 324, + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:cancelOrder -- error cancelling order: \" + orderID", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 660, "start_column": 7, - "end_column": 66, - "is_javadoc": false + "end_line": 660, + "end_column": 83 }, { - "content": " subtract total from account balance", - "start_line": 328, - "end_line": 328, + "method_name": "rollBack", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.Exception" + ], + "argument_expr": [ + "conn", + "e" + ], + "return_type": "", + "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 661, "start_column": 7, - "end_column": 44, - "is_javadoc": false - }, - { - "content": " 2-phase", - "start_line": 339, - "end_line": 339, - "start_column": 38, - "end_column": 47, - "is_javadoc": false + "end_line": 661, + "end_column": 23 }, { - "content": "\n * @see TradeServices#buy(String, String, double)\n ", - "start_line": 289, - "end_line": 291, - "start_column": 3, - "end_column": 5, - "is_javadoc": true + "method_name": "releaseConn", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], + "return_type": "", + "callee_signature": "releaseConn(java.sql.Connection)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 663, + "start_column": 7, + "end_line": 663, + "end_column": 23 } ], - "annotations": [ - "@Override", - "@NotNull" + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "conn", + "type": "java.sql.Connection", + "initializer": "null", + "start_line": 649, + "start_column": 16, + "end_line": 649, + "end_column": 26 + } ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 5, + "is_entrypoint": false + }, + "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "comments": [], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public OrderDataBean buy(String userID, String symbol, double quantity, int orderProcessingMode) throws Exception", + "declaration": "public OrderDataBean createOrder(AccountDataBean accountData, QuoteDataBean quoteData, HoldingDataBean holdingData, String orderType, double quantity) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "accountData", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 28, - "end_column": 40 + "start_line": 712, + "end_line": 712, + "start_column": 36, + "end_column": 62 }, { - "type": "java.lang.String", - "name": "symbol", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quoteData", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 43, - "end_column": 55 + "start_line": 712, + "end_line": 712, + "start_column": 65, + "end_column": 87 }, { - "type": "double", - "name": "quantity", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holdingData", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 58, - "end_column": 72 + "start_line": 712, + "end_line": 712, + "start_column": 90, + "end_column": 116 }, { - "type": "int", - "name": "orderProcessingMode", + "type": "java.lang.String", + "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 294, - "end_line": 294, - "start_column": 75, - "end_column": 97 + "start_line": 712, + "end_line": 712, + "start_column": 119, + "end_column": 134 + }, + { + "type": "double", + "name": "quantity", + "annotations": [], + "modifiers": [], + "start_line": 713, + "end_line": 713, + "start_column": 7, + "end_column": 21 } ], - "code": "{\n\n final Connection conn = getConn();\n OrderDataBean orderData = null;\n\n BigDecimal total;\n\n try {\n\n Log.trace(\"TradeDirect:buy - inSession(\" + this.inSession + \")\");//, userID, symbol, new Double(quantity));\n\n\n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n\n Log.trace(\"TradeDirect:buy create/begin global transaction\");\n\n\n txn.begin();\n setInGlobalTxn(true);\n }\n\n //conn = getConn();\n\n AccountDataBean accountData = getAccountData(conn, userID);\n QuoteDataBean quoteData = getQuoteData(conn, symbol);\n HoldingDataBean holdingData = null; // the buy operation will create\n // the holding\n\n orderData = createOrder(accountData, quoteData, holdingData, \"buy\", quantity);\n\n // Update -- account should be credited during completeOrder\n BigDecimal price = quoteData.getPrice();\n BigDecimal orderFee = orderData.getOrderFee();\n total = (new BigDecimal(quantity).multiply(price)).add(orderFee);\n // subtract total from account balance\n creditAccountBalance(conn, accountData, total.negate());\n final Integer orderID = orderData.getOrderID();\n\n try {\n\n if (orderProcessingMode == TradeConfig.SYNCH) {\n completeOrder(conn, orderData.getOrderID());\n } else if (orderProcessingMode == TradeConfig.ASYNCH) {\n completeOrderAsync(orderID, true);\n } else if (orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n queueOrder(orderID, true); // 2-phase\n } \n } catch (JMSException je) {\n Log.error(\"TradeBean:buy(\" + userID + \",\" + symbol + \",\" + quantity + \") --> failed to queueOrder\", je);\n\n\n cancelOrder(conn, orderData.getOrderID());\n }\n\n orderData = getOrderData(conn, orderData.getOrderID().intValue());\n\n if (getInGlobalTxn()) {\n \n Log.trace(\"TradeDirect:buy committing global transaction\");\n \n if (!inSession && orderProcessingMode == TradeConfig.ASYNCH_2PHASE) {\n txn.commit();\n setInGlobalTxn(false);\n }\n } else {\n commit(conn);\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:buy error - rolling back\", e);\n if (getInGlobalTxn()) {\n txn.rollback();\n } else {\n rollBack(conn, e);\n }\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", - "start_line": 292, - "end_line": 373, - "code_start_line": 294, + "code": "{\n OrderDataBean orderData = null;\n Connection conn = null;\n try {\n\n conn = getConn();\n Timestamp currentDate = new Timestamp(System.currentTimeMillis());\n\n PreparedStatement stmt = getStatement(conn, createOrderSQL);\n\n Integer orderID = KeySequenceDirect.getNextID(conn, \"order\", inSession, getInGlobalTxn());\n stmt.setInt(1, orderID.intValue());\n stmt.setString(2, orderType);\n stmt.setString(3, \"open\");\n stmt.setTimestamp(4, currentDate);\n stmt.setDouble(5, quantity);\n stmt.setBigDecimal(6, quoteData.getPrice().setScale(FinancialUtils.SCALE, FinancialUtils.ROUND));\n stmt.setBigDecimal(7, TradeConfig.getOrderFee(orderType));\n stmt.setInt(8, accountData.getAccountID().intValue());\n if (holdingData == null) {\n stmt.setNull(9, java.sql.Types.INTEGER);\n } else {\n stmt.setInt(9, holdingData.getHoldingID().intValue());\n }\n stmt.setString(10, quoteData.getSymbol());\n stmt.executeUpdate();\n\n orderData = getOrderData(conn, orderID.intValue());\n\n stmt.close();\n\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:createOrder -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n\n return orderData;\n }", + "start_line": 712, + "end_line": 753, + "code_start_line": 713, "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal", "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "java.sql.Timestamp", + "java.sql.PreparedStatement", "java.lang.Integer", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.txn", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.ASYNCH_2PHASE", - "com.ibm.websphere.samples.daytrader.util.TradeConfig.SYNCH", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession" + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.createOrderSQL", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", + "java.sql.Types.INTEGER", + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" ], "call_sites": [ { @@ -193485,6 +202155,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -193495,28 +202166,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 296, - "start_column": 29, - "end_line": 296, - "end_column": 37 + "start_line": 718, + "start_column": 14, + "end_line": 718, + "end_column": 22 }, { - "method_name": "trace", - "comment": { - "content": ", userID, symbol, new Double(quantity));", - "start_line": 303, - "end_line": 303, - "start_column": 72, - "end_column": 113, - "is_javadoc": false - }, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], + "method_name": "currentTimeMillis", + "comment": null, + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, @@ -193525,89 +202188,80 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 303, - "start_column": 7, - "end_line": 303, + "start_line": 719, + "start_column": 45, + "end_line": 719, "end_column": 70 }, { - "method_name": "trace", + "method_name": "getStatement", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ + "java.sql.Connection", "java.lang.String" ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 308, - "start_column": 9, - "end_line": 308, - "end_column": 68 - }, - { - "method_name": "begin", - "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", - "argument_types": [], - "return_type": "", - "callee_signature": "begin()", - "is_public": true, + "argument_expr": [ + "conn", + "createOrderSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", + "is_public": false, "is_protected": false, - "is_private": false, + "is_private": true, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 311, - "start_column": 9, - "end_line": 311, - "end_column": 19 + "start_line": 721, + "start_column": 32, + "end_line": 721, + "end_column": 65 }, { - "method_name": "setInGlobalTxn", + "method_name": "getNextID", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "KeySequenceDirect", + "receiver_type": "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect", "argument_types": [ + "java.sql.Connection", + "java.lang.String", + "", "" ], - "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", - "is_public": false, + "argument_expr": [ + "conn", + "\"order\"", + "inSession", + "getInGlobalTxn()" + ], + "return_type": "java.lang.Integer", + "callee_signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 312, - "start_column": 9, - "end_line": 312, - "end_column": 28 + "start_line": 723, + "start_column": 25, + "end_line": 723, + "end_column": 95 }, { - "method_name": "getAccountData", + "method_name": "getInGlobalTxn", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "callee_signature": "getAccountData(java.sql.Connection, java.lang.String)", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getInGlobalTxn()", "is_public": false, "is_protected": false, "is_private": true, @@ -193616,49 +202270,48 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 317, - "start_column": 37, - "end_line": 317, - "end_column": 64 + "start_line": 723, + "start_column": 79, + "end_line": 723, + "end_column": 94 }, { - "method_name": "getQuoteData", + "method_name": "setInt", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", - "java.lang.String" + "", + "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "getQuoteData(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "1", + "orderID.intValue()" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 318, - "start_column": 33, - "end_line": 318, - "end_column": 58 + "start_line": 724, + "start_column": 7, + "end_line": 724, + "end_column": 40 }, { - "method_name": "createOrder", + "method_name": "intValue", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.lang.String", - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "createOrder(com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean, java.lang.String, double)", + "receiver_expr": "orderID", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -193667,19 +202320,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 322, - "start_column": 19, - "end_line": 322, - "end_column": 83 + "start_line": 724, + "start_column": 22, + "end_line": 724, + "end_column": 39 }, { - "method_name": "getPrice", + "method_name": "setString", "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPrice()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "2", + "orderType" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -193688,19 +202348,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 325, - "start_column": 26, - "end_line": 325, - "end_column": 45 + "start_line": 725, + "start_column": 7, + "end_line": 725, + "end_column": 34 }, { - "method_name": "getOrderFee", + "method_name": "setString", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getOrderFee()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "3", + "\"open\"" + ], + "return_type": "", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -193709,21 +202376,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 326, - "start_column": 29, - "end_line": 326, - "end_column": 51 + "start_line": 726, + "start_column": 7, + "end_line": 726, + "end_column": 31 }, { - "method_name": "add", + "method_name": "setTimestamp", "comment": null, - "receiver_expr": "(new BigDecimal(quantity).multiply(price))", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.math.BigDecimal" + "", + "java.sql.Timestamp" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "add(java.math.BigDecimal)", + "argument_expr": [ + "4", + "currentDate" + ], + "return_type": "", + "callee_signature": "setTimestamp(int, java.sql.Timestamp)", "is_public": true, "is_protected": false, "is_private": false, @@ -193732,21 +202404,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 15, - "end_line": 327, - "end_column": 70 + "start_line": 727, + "start_column": 7, + "end_line": 727, + "end_column": 39 }, { - "method_name": "multiply", + "method_name": "setDouble", "comment": null, - "receiver_expr": "new BigDecimal(quantity)", - "receiver_type": "java.math.BigDecimal", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.math.BigDecimal" + "", + "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", + "argument_expr": [ + "5", + "quantity" + ], + "return_type": "", + "callee_signature": "setDouble(int, double)", "is_public": true, "is_protected": false, "is_private": false, @@ -193755,51 +202432,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 16, - "end_line": 327, - "end_column": 55 + "start_line": 728, + "start_column": 7, + "end_line": 728, + "end_column": 33 }, { - "method_name": "creditAccountBalance", - "comment": { - "content": " subtract total from account balance", - "start_line": 328, - "end_line": 328, - "start_column": 7, - "end_column": 44, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", + "method_name": "setBigDecimal", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "", "java.math.BigDecimal" ], + "argument_expr": [ + "6", + "quoteData.getPrice().setScale(FinancialUtils.SCALE, FinancialUtils.ROUND)" + ], "return_type": "", - "callee_signature": "creditAccountBalance(java.sql.Connection, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, java.math.BigDecimal)", - "is_public": false, + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 329, + "start_line": 729, "start_column": 7, - "end_line": 329, - "end_column": 61 + "end_line": 729, + "end_column": 102 }, { - "method_name": "negate", + "method_name": "setScale", "comment": null, - "receiver_expr": "total", + "receiver_expr": "quoteData.getPrice()", "receiver_type": "java.math.BigDecimal", - "argument_types": [], + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "FinancialUtils.SCALE", + "FinancialUtils.ROUND" + ], "return_type": "java.math.BigDecimal", - "callee_signature": "negate()", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -193808,19 +202488,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 329, - "start_column": 47, - "end_line": 329, - "end_column": 60 + "start_line": 729, + "start_column": 29, + "end_line": 729, + "end_column": 101 }, { - "method_name": "getOrderID", + "method_name": "getPrice", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPrice()", "is_public": true, "is_protected": false, "is_private": false, @@ -193829,43 +202510,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 330, - "start_column": 31, - "end_line": 330, - "end_column": 52 + "start_line": 729, + "start_column": 29, + "end_line": 729, + "end_column": 48 }, { - "method_name": "completeOrder", + "method_name": "setBigDecimal", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", - "java.lang.Integer" + "", + "java.math.BigDecimal" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "completeOrder(java.sql.Connection, java.lang.Integer)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 335, - "start_column": 11, - "end_line": 335, - "end_column": 53 - }, - { - "method_name": "getOrderID", - "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "argument_expr": [ + "7", + "TradeConfig.getOrderFee(orderType)" + ], + "return_type": "", + "callee_signature": "setBigDecimal(int, java.math.BigDecimal)", "is_public": true, "is_protected": false, "is_private": false, @@ -193874,53 +202538,52 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 335, - "start_column": 31, - "end_line": 335, - "end_column": 52 + "start_line": 730, + "start_column": 7, + "end_line": 730, + "end_column": 63 }, { - "method_name": "completeOrderAsync", + "method_name": "getOrderFee", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [ - "java.lang.Integer", - "" + "java.lang.String" ], - "return_type": "java.util.concurrent.Future", - "callee_signature": "completeOrderAsync(java.lang.Integer, boolean)", + "argument_expr": [ + "orderType" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getOrderFee(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 337, - "start_column": 11, - "end_line": 337, - "end_column": 43 + "start_line": 730, + "start_column": 29, + "end_line": 730, + "end_column": 62 }, { - "method_name": "queueOrder", - "comment": { - "content": " 2-phase", - "start_line": 339, - "end_line": 339, - "start_column": 38, - "end_column": 47, - "is_javadoc": false - }, - "receiver_expr": "", - "receiver_type": "", + "method_name": "setInt", + "comment": null, + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.lang.Integer", + "", "" ], + "argument_expr": [ + "8", + "accountData.getAccountID().intValue()" + ], "return_type": "", - "callee_signature": "queueOrder(java.lang.Integer, boolean)", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -193929,67 +202592,70 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 339, - "start_column": 11, - "end_line": 339, - "end_column": 35 + "start_line": 731, + "start_column": 7, + "end_line": 731, + "end_column": 59 }, { - "method_name": "error", + "method_name": "intValue", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "javax.jms.JMSException" - ], + "receiver_expr": "accountData.getAccountID()", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 342, - "start_column": 9, - "end_line": 342, - "end_column": 111 + "start_line": 731, + "start_column": 22, + "end_line": 731, + "end_column": 58 }, { - "method_name": "cancelOrder", + "method_name": "getAccountID", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Integer" - ], - "return_type": "", - "callee_signature": "cancelOrder(java.sql.Connection, java.lang.Integer)", - "is_public": false, + "receiver_expr": "accountData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getAccountID()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 345, - "start_column": 9, - "end_line": 345, - "end_column": 49 + "start_line": 731, + "start_column": 22, + "end_line": 731, + "end_column": 47 }, { - "method_name": "getOrderID", + "method_name": "setNull", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "9", + "java.sql.Types.INTEGER" + ], + "return_type": "", + "callee_signature": "setNull(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -193998,41 +202664,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 345, - "start_column": 27, - "end_line": 345, - "end_column": 48 + "start_line": 733, + "start_column": 9, + "end_line": 733, + "end_column": 47 }, { - "method_name": "getOrderData", + "method_name": "setInt", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [ - "java.sql.Connection", + "", "" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderData(java.sql.Connection, int)", - "is_public": false, + "argument_expr": [ + "9", + "holdingData.getHoldingID().intValue()" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 348, - "start_column": 19, - "end_line": 348, - "end_column": 71 + "start_line": 735, + "start_column": 9, + "end_line": 735, + "end_column": 61 }, { "method_name": "intValue", "comment": null, - "receiver_expr": "orderData.getOrderID()", + "receiver_expr": "holdingData.getHoldingID()", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "intValue()", "is_public": true, @@ -194043,19 +202714,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 348, - "start_column": 38, - "end_line": 348, - "end_column": 70 + "start_line": 735, + "start_column": 24, + "end_line": 735, + "end_column": 60 }, { - "method_name": "getOrderID", + "method_name": "getHoldingID", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "callee_signature": "getHoldingID()", "is_public": true, "is_protected": false, "is_private": false, @@ -194064,63 +202736,70 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 348, - "start_column": 38, - "end_line": 348, - "end_column": 59 + "start_line": 735, + "start_column": 24, + "end_line": 735, + "end_column": 49 }, { - "method_name": "getInGlobalTxn", + "method_name": "setString", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "java.lang.String" + ], + "argument_expr": [ + "10", + "quoteData.getSymbol()" + ], "return_type": "", - "callee_signature": "getInGlobalTxn()", - "is_public": false, + "callee_signature": "setString(int, java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 350, - "start_column": 11, - "end_line": 350, - "end_column": 26 + "start_line": 737, + "start_column": 7, + "end_line": 737, + "end_column": 47 }, { - "method_name": "trace", + "method_name": "getSymbol", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 352, - "start_column": 9, - "end_line": 352, - "end_column": 66 + "start_line": 737, + "start_column": 26, + "end_line": 737, + "end_column": 46 }, { - "method_name": "commit", + "method_name": "executeUpdate", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit()", + "callee_signature": "executeUpdate()", "is_public": true, "is_protected": false, "is_private": false, @@ -194129,21 +202808,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 355, - "start_column": 11, - "end_line": 355, - "end_column": 22 + "start_line": 738, + "start_column": 7, + "end_line": 738, + "end_column": 26 }, { - "method_name": "setInGlobalTxn", + "method_name": "getOrderData", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ + "java.sql.Connection", "" ], - "return_type": "", - "callee_signature": "setInGlobalTxn(boolean)", + "argument_expr": [ + "conn", + "orderID.intValue()" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "getOrderData(java.sql.Connection, int)", "is_public": false, "is_protected": false, "is_private": true, @@ -194152,66 +202836,68 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 356, - "start_column": 11, - "end_line": 356, - "end_column": 31 + "start_line": 740, + "start_column": 19, + "end_line": 740, + "end_column": 56 }, { - "method_name": "commit", + "method_name": "intValue", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], + "receiver_expr": "orderID", + "receiver_type": "java.lang.Integer", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "commit(java.sql.Connection)", - "is_public": false, + "callee_signature": "intValue()", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 359, - "start_column": 9, - "end_line": 359, - "end_column": 20 + "start_line": 740, + "start_column": 38, + "end_line": 740, + "end_column": 55 }, { - "method_name": "error", + "method_name": "close", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, + "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 362, + "start_line": 742, "start_column": 7, - "end_line": 362, - "end_column": 58 + "end_line": 742, + "end_column": 18 }, { - "method_name": "getInGlobalTxn", + "method_name": "commit", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [], + "argument_types": [ + "java.sql.Connection" + ], + "argument_expr": [ + "conn" + ], "return_type": "", - "callee_signature": "getInGlobalTxn()", + "callee_signature": "commit(java.sql.Connection)", "is_public": false, "is_protected": false, "is_private": true, @@ -194220,31 +202906,38 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 363, - "start_column": 11, - "end_line": 363, - "end_column": 26 + "start_line": 744, + "start_column": 7, + "end_line": 744, + "end_column": 18 }, { - "method_name": "rollback", + "method_name": "error", "comment": null, - "receiver_expr": "txn", - "receiver_type": "javax.transaction.UserTransaction", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:createOrder -- error getting user orders\"", + "e" + ], "return_type": "", - "callee_signature": "rollback()", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 364, - "start_column": 9, - "end_line": 364, - "end_column": 22 + "start_line": 746, + "start_column": 7, + "end_line": 746, + "end_column": 74 }, { "method_name": "rollBack", @@ -194255,6 +202948,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -194265,10 +202962,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 366, - "start_column": 9, - "end_line": 366, - "end_column": 25 + "start_line": 747, + "start_column": 7, + "end_line": 747, + "end_column": 23 }, { "method_name": "releaseConn", @@ -194278,6 +202975,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -194288,21 +202988,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 369, + "start_line": 749, "start_column": 7, - "end_line": 369, + "end_line": 749, "end_column": 23 }, { "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", + "receiver_type": "java.sql.Timestamp", "argument_types": [ "" ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", "is_public": false, "is_protected": false, "is_private": false, @@ -194311,30 +203014,13 @@ "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 327, - "start_column": 16, - "end_line": 327, - "end_column": 39 + "start_line": 719, + "start_column": 31, + "end_line": 719, + "end_column": 71 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "getConn()", - "start_line": 296, - "start_column": 22, - "end_line": 296, - "end_column": 37 - }, { "comment": { "content": null, @@ -194347,61 +203033,10 @@ "name": "orderData", "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "initializer": "null", - "start_line": 297, - "start_column": 19, - "end_line": 297, - "end_column": 34 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "total", - "type": "java.math.BigDecimal", - "initializer": "", - "start_line": 299, - "start_column": 16, - "end_line": 299, - "end_column": 20 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "accountData", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "getAccountData(conn, userID)", - "start_line": 317, - "start_column": 23, - "end_line": 317, - "end_column": 64 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "quoteData", - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "initializer": "getQuoteData(conn, symbol)", - "start_line": 318, - "start_column": 21, - "end_line": 318, - "end_column": 58 + "start_line": 714, + "start_column": 19, + "end_line": 714, + "end_column": 34 }, { "comment": { @@ -194412,13 +203047,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "conn", + "type": "java.sql.Connection", "initializer": "null", - "start_line": 319, - "start_column": 23, - "end_line": 319, - "end_column": 40 + "start_line": 715, + "start_column": 16, + "end_line": 715, + "end_column": 26 }, { "comment": { @@ -194429,13 +203064,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "price", - "type": "java.math.BigDecimal", - "initializer": "quoteData.getPrice()", - "start_line": 325, - "start_column": 18, - "end_line": 325, - "end_column": 45 + "name": "currentDate", + "type": "java.sql.Timestamp", + "initializer": "new Timestamp(System.currentTimeMillis())", + "start_line": 719, + "start_column": 17, + "end_line": 719, + "end_column": 71 }, { "comment": { @@ -194446,13 +203081,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderFee", - "type": "java.math.BigDecimal", - "initializer": "orderData.getOrderFee()", - "start_line": 326, - "start_column": 18, - "end_line": 326, - "end_column": 51 + "name": "stmt", + "type": "java.sql.PreparedStatement", + "initializer": "getStatement(conn, createOrderSQL)", + "start_line": 721, + "start_column": 25, + "end_line": 721, + "end_column": 65 }, { "comment": { @@ -194465,16 +203100,47 @@ }, "name": "orderID", "type": "java.lang.Integer", - "initializer": "orderData.getOrderID()", - "start_line": 330, - "start_column": 21, - "end_line": 330, - "end_column": 52 + "initializer": "KeySequenceDirect.getNextID(conn, \"order\", inSession, getInGlobalTxn())", + "start_line": 723, + "start_column": 15, + "end_line": 723, + "end_column": 95 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 13, + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "getImpl()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getImpl()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int getImpl()", + "parameters": [], + "code": "{\n return TradeConfig.DIRECT;\n }", + "start_line": 1814, + "end_line": 1817, + "code_start_line": 1815, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.TradeConfig.DIRECT" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, "is_entrypoint": false }, "getConn()": { @@ -194513,6 +203179,7 @@ "receiver_expr": "datasource", "receiver_type": "javax.sql.DataSource", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConnection()", "is_public": true, @@ -194536,6 +203203,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "", "callee_signature": "setAutoCommit(boolean)", "is_public": true, @@ -194557,6 +203227,7 @@ "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doTrace()", "is_public": true, @@ -194580,6 +203251,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getConn -- new connection allocated, IsolationLevel=\" + conn.getTransactionIsolation() + \" connectionCount = \" + connCount" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -194601,6 +203275,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getTransactionIsolation()", "is_public": true, @@ -194679,71 +203354,77 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getClosedOrders(String)": { + "getAccountProfileDataFromResultSet(java.sql.ResultSet)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "getClosedOrders(String)", - "comments": [ - { - "content": "\n * @see TradeServices#getClosedOrders(String)\n ", - "start_line": 793, - "end_line": 795, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], + "signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", + "comments": [], + "annotations": [], "modifiers": [ - "public" + "private" ], "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "public Collection getClosedOrders(String userID) throws Exception", + "declaration": "private AccountProfileDataBean getAccountProfileDataFromResultSet(ResultSet rs) throws Exception", "parameters": [ { - "type": "java.lang.String", - "name": "userID", + "type": "java.sql.ResultSet", + "name": "rs", "annotations": [], "modifiers": [], - "start_line": 797, - "end_line": 797, - "start_column": 52, - "end_column": 64 + "start_line": 1555, + "end_line": 1555, + "start_column": 69, + "end_column": 80 } ], - "code": "{\n Collection orderDataBeans = new ArrayList();\n Connection conn = null;\n try {\n\n Log.trace(\"TradeDirect:getClosedOrders - inSession(\" + this.inSession + \")\", userID);\n \n\n conn = getConn();\n PreparedStatement stmt = getStatement(conn, getClosedOrdersSQL);\n stmt.setString(1, userID);\n\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n OrderDataBean orderData = getOrderDataFromResultSet(rs);\n orderData.setOrderStatus(\"completed\");\n updateOrderStatus(conn, orderData.getOrderID(), orderData.getOrderStatus());\n orderDataBeans.add(orderData);\n\n }\n\n stmt.close();\n commit(conn);\n } catch (Exception e) {\n Log.error(\"TradeDirect:getOrders -- error getting user orders\", e);\n rollBack(conn, e);\n } finally {\n releaseConn(conn);\n }\n return orderDataBeans;\n }", - "start_line": 796, - "end_line": 828, - "code_start_line": 797, - "return_type": "java.util.Collection", + "code": "{\n AccountProfileDataBean accountProfileData = null;\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getAccountProfileDataFromResultSet -- cannot find accountprofile data\");\n } else {\n accountProfileData = new AccountProfileDataBean(rs.getString(\"userID\"), rs.getString(\"passwd\"), rs.getString(\"fullName\"), rs.getString(\"address\"),\n rs.getString(\"email\"), rs.getString(\"creditCard\"));\n }\n\n return accountProfileData;\n }", + "start_line": 1555, + "end_line": 1566, + "code_start_line": 1555, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Collection", - "java.sql.Connection", - "java.sql.ResultSet", - "java.sql.PreparedStatement", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.inSession", - "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getClosedOrdersSQL" + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], + "accessed_fields": [], "call_sites": [ { - "method_name": "trace", + "method_name": "next", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1558, + "start_column": 10, + "end_line": 1558, + "end_column": 18 + }, + { + "method_name": "error", "comment": null, "receiver_expr": "Log", "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", "argument_types": [ - "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getAccountProfileDataFromResultSet -- cannot find accountprofile data\"" + ], "return_type": "", - "callee_signature": "trace(java.lang.String, java.lang.Object)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -194752,67 +203433,76 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 802, + "start_line": 1559, "start_column": 7, - "end_line": 802, - "end_column": 90 + "end_line": 1559, + "end_column": 100 }, { - "method_name": "getConn", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.sql.Connection", - "callee_signature": "getConn()", - "is_public": false, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"userID\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 805, - "start_column": 14, - "end_line": 805, - "end_column": 22 + "start_line": 1561, + "start_column": 55, + "end_line": 1561, + "end_column": 76 }, { - "method_name": "getStatement", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.Connection", "java.lang.String" ], - "return_type": "java.sql.PreparedStatement", - "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", - "is_public": false, + "argument_expr": [ + "\"passwd\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 806, - "start_column": 32, - "end_line": 806, - "end_column": 69 + "start_line": 1561, + "start_column": 79, + "end_line": 1561, + "end_column": 100 }, { - "method_name": "setString", + "method_name": "getString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "", "java.lang.String" ], - "return_type": "", - "callee_signature": "setString(int, java.lang.String)", + "argument_expr": [ + "\"fullName\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -194821,19 +203511,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 807, - "start_column": 7, - "end_line": 807, - "end_column": 31 + "start_line": 1561, + "start_column": 103, + "end_line": 1561, + "end_column": 126 }, { - "method_name": "executeQuery", + "method_name": "getString", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], - "return_type": "java.sql.ResultSet", - "callee_signature": "executeQuery()", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"address\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -194842,19 +203537,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 809, - "start_column": 22, - "end_line": 809, - "end_column": 40 + "start_line": 1561, + "start_column": 129, + "end_line": 1561, + "end_column": 151 }, { - "method_name": "next", + "method_name": "getString", "comment": null, "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"email\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -194863,69 +203563,163 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 811, - "start_column": 14, - "end_line": 811, - "end_column": 22 + "start_line": 1562, + "start_column": 11, + "end_line": 1562, + "end_column": 31 }, { - "method_name": "getOrderDataFromResultSet", + "method_name": "getString", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [ - "java.sql.ResultSet" + "java.lang.String" ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "callee_signature": "getOrderDataFromResultSet(java.sql.ResultSet)", - "is_public": false, + "argument_expr": [ + "\"creditCard\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, "is_protected": false, - "is_private": true, + "is_private": false, "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 812, - "start_column": 35, - "end_line": 812, - "end_column": 63 + "start_line": 1562, + "start_column": 34, + "end_line": 1562, + "end_column": 59 }, { - "method_name": "setOrderStatus", + "method_name": "", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [ + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", + "java.lang.String", "java.lang.String" ], - "return_type": "", - "callee_signature": "setOrderStatus(java.lang.String)", - "is_public": true, + "argument_expr": [ + "rs.getString(\"userID\")", + "rs.getString(\"passwd\")", + "rs.getString(\"fullName\")", + "rs.getString(\"address\")", + "rs.getString(\"email\")", + "rs.getString(\"creditCard\")" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 813, - "start_column": 9, - "end_line": 813, - "end_column": 45 + "start_line": 1561, + "start_column": 28, + "end_line": 1562, + "end_column": 60 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "null", + "start_line": 1556, + "start_column": 28, + "end_line": 1556, + "end_column": 52 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getAccountProfileData(java.sql.Connection, java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getAccountProfileData(java.sql.Connection, java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private AccountProfileDataBean getAccountProfileData(Connection conn, Integer accountID) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1195, + "end_line": 1195, + "start_column": 56, + "end_column": 70 }, { - "method_name": "updateOrderStatus", + "type": "java.lang.Integer", + "name": "accountID", + "annotations": [], + "modifiers": [], + "start_line": 1195, + "end_line": 1195, + "start_column": 73, + "end_column": 89 + } + ], + "code": "{\n PreparedStatement stmt = getStatement(conn, getAccountProfileForAccountSQL);\n stmt.setInt(1, accountID.intValue());\n\n ResultSet rs = stmt.executeQuery();\n\n AccountProfileDataBean accountProfileData = getAccountProfileDataFromResultSet(rs);\n stmt.close();\n return accountProfileData;\n }", + "start_line": 1195, + "end_line": 1204, + "code_start_line": 1195, + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.sql.ResultSet", + "java.sql.PreparedStatement", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getAccountProfileForAccountSQL" + ], + "call_sites": [ + { + "method_name": "getStatement", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.sql.Connection", - "java.lang.Integer", "java.lang.String" ], - "return_type": "", - "callee_signature": "updateOrderStatus(java.sql.Connection, java.lang.Integer, java.lang.String)", + "argument_expr": [ + "conn", + "getAccountProfileForAccountSQL" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, "is_protected": false, "is_private": true, @@ -194934,19 +203728,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 814, - "start_column": 9, - "end_line": 814, - "end_column": 83 + "start_line": 1196, + "start_column": 30, + "end_line": 1196, + "end_column": 79 }, { - "method_name": "getOrderID", + "method_name": "setInt", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getOrderID()", + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [ + "", + "" + ], + "argument_expr": [ + "1", + "accountID.intValue()" + ], + "return_type": "", + "callee_signature": "setInt(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -194955,42 +203756,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 814, - "start_column": 33, - "end_line": 814, - "end_column": 54 + "start_line": 1197, + "start_column": 5, + "end_line": 1197, + "end_column": 40 }, { - "method_name": "getOrderStatus", + "method_name": "intValue", "comment": null, - "receiver_expr": "orderData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "receiver_expr": "accountID", + "receiver_type": "java.lang.Integer", "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getOrderStatus()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 814, - "start_column": 57, - "end_line": 814, - "end_column": 82 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "orderDataBeans", - "receiver_type": "java.util.Collection", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], + "argument_expr": [], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "intValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -194999,19 +203778,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 815, - "start_column": 9, - "end_line": 815, - "end_column": 37 + "start_line": 1197, + "start_column": 20, + "end_line": 1197, + "end_column": 39 }, { - "method_name": "close", + "method_name": "executeQuery", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], - "return_type": "", - "callee_signature": "close()", + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -195020,21 +203800,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 819, - "start_column": 7, - "end_line": 819, - "end_column": 18 + "start_line": 1199, + "start_column": 20, + "end_line": 1199, + "end_column": 38 }, { - "method_name": "commit", + "method_name": "getAccountProfileDataFromResultSet", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.sql.Connection" + "java.sql.ResultSet" ], - "return_type": "", - "callee_signature": "commit(java.sql.Connection)", + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getAccountProfileDataFromResultSet(java.sql.ResultSet)", "is_public": false, "is_protected": false, "is_private": true, @@ -195043,139 +203826,35 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 820, - "start_column": 7, - "end_line": 820, - "end_column": 18 + "start_line": 1201, + "start_column": 49, + "end_line": 1201, + "end_column": 86 }, { - "method_name": "error", + "method_name": "close", "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String", - "java.lang.Exception" - ], + "receiver_expr": "stmt", + "receiver_type": "java.sql.PreparedStatement", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "close()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 822, - "start_column": 7, - "end_line": 822, - "end_column": 72 - }, - { - "method_name": "rollBack", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.Exception" - ], - "return_type": "", - "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 823, - "start_column": 7, - "end_line": 823, - "end_column": 23 - }, - { - "method_name": "releaseConn", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection" - ], - "return_type": "", - "callee_signature": "releaseConn(java.sql.Connection)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 825, - "start_column": 7, - "end_line": 825, - "end_column": 23 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.ArrayList", - "argument_types": [], - "return_type": "java.util.ArrayList", - "callee_signature": "ArrayList()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 798, - "start_column": 48, - "end_line": 798, - "end_column": 77 + "start_line": 1202, + "start_column": 5, + "end_line": 1202, + "end_column": 16 } ], "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "orderDataBeans", - "type": "java.util.Collection", - "initializer": "new ArrayList()", - "start_line": 798, - "start_column": 31, - "end_line": 798, - "end_column": 77 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "conn", - "type": "java.sql.Connection", - "initializer": "null", - "start_line": 799, - "start_column": 16, - "end_line": 799, - "end_column": 26 - }, { "comment": { "content": null, @@ -195187,11 +203866,11 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, getClosedOrdersSQL)", - "start_line": 806, - "start_column": 25, - "end_line": 806, - "end_column": 69 + "initializer": "getStatement(conn, getAccountProfileForAccountSQL)", + "start_line": 1196, + "start_column": 23, + "end_line": 1196, + "end_column": 79 }, { "comment": { @@ -195205,10 +203884,10 @@ "name": "rs", "type": "java.sql.ResultSet", "initializer": "stmt.executeQuery()", - "start_line": 809, - "start_column": 17, - "end_line": 809, - "end_column": 40 + "start_line": 1199, + "start_column": 15, + "end_line": 1199, + "end_column": 38 }, { "comment": { @@ -195219,18 +203898,18 @@ "end_column": -1, "is_javadoc": false }, - "name": "orderData", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "getOrderDataFromResultSet(rs)", - "start_line": 812, - "start_column": 23, - "end_line": 812, - "end_column": 63 + "name": "accountProfileData", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "getAccountProfileDataFromResultSet(rs)", + "start_line": 1201, + "start_column": 28, + "end_line": 1201, + "end_column": 86 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 4, + "cyclomatic_complexity": 1, "is_entrypoint": false }, "setInGlobalTxn(boolean)": { @@ -195282,6 +203961,369 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "getOrderDataFromResultSet(java.sql.ResultSet)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getOrderDataFromResultSet(java.sql.ResultSet)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private OrderDataBean getOrderDataFromResultSet(ResultSet rs) throws Exception", + "parameters": [ + { + "type": "java.sql.ResultSet", + "name": "rs", + "annotations": [], + "modifiers": [], + "start_line": 1584, + "end_line": 1584, + "start_column": 51, + "end_column": 62 + } + ], + "code": "{\n OrderDataBean orderData = null;\n\n orderData = new OrderDataBean(new Integer(rs.getInt(\"orderID\")), rs.getString(\"orderType\"), rs.getString(\"orderStatus\"), rs.getTimestamp(\"openDate\"),\n rs.getTimestamp(\"completionDate\"), rs.getDouble(\"quantity\"), rs.getBigDecimal(\"price\"), rs.getBigDecimal(\"orderFee\"),\n rs.getString(\"quote_symbol\"));\n return orderData;\n }", + "start_line": 1584, + "end_line": 1591, + "code_start_line": 1584, + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "getInt", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"orderID\"" + ], + "return_type": "", + "callee_signature": "getInt(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 47, + "end_line": 1587, + "end_column": 66 + }, + { + "method_name": "getString", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"orderType\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 70, + "end_line": 1587, + "end_column": 94 + }, + { + "method_name": "getString", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"orderStatus\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 97, + "end_line": 1587, + "end_column": 123 + }, + { + "method_name": "getTimestamp", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"openDate\"" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "getTimestamp(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 126, + "end_line": 1587, + "end_column": 152 + }, + { + "method_name": "getTimestamp", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"completionDate\"" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "getTimestamp(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1588, + "start_column": 9, + "end_line": 1588, + "end_column": 41 + }, + { + "method_name": "getDouble", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"quantity\"" + ], + "return_type": "", + "callee_signature": "getDouble(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1588, + "start_column": 44, + "end_line": 1588, + "end_column": 67 + }, + { + "method_name": "getBigDecimal", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"price\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1588, + "start_column": 70, + "end_line": 1588, + "end_column": 94 + }, + { + "method_name": "getBigDecimal", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"orderFee\"" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "getBigDecimal(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1588, + "start_column": 97, + "end_line": 1588, + "end_column": 124 + }, + { + "method_name": "getString", + "comment": null, + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"quote_symbol\"" + ], + "return_type": "java.lang.String", + "callee_signature": "getString(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1589, + "start_column": 9, + "end_line": 1589, + "end_column": 36 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "argument_types": [ + "java.lang.Integer", + "java.lang.String", + "java.lang.String", + "java.sql.Timestamp", + "java.sql.Timestamp", + "", + "java.math.BigDecimal", + "java.math.BigDecimal", + "java.lang.String" + ], + "argument_expr": [ + "new Integer(rs.getInt(\"orderID\"))", + "rs.getString(\"orderType\")", + "rs.getString(\"orderStatus\")", + "rs.getTimestamp(\"openDate\")", + "rs.getTimestamp(\"completionDate\")", + "rs.getDouble(\"quantity\")", + "rs.getBigDecimal(\"price\")", + "rs.getBigDecimal(\"orderFee\")", + "rs.getString(\"quote_symbol\")" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "callee_signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 17, + "end_line": 1589, + "end_column": 37 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "" + ], + "argument_expr": [ + "rs.getInt(\"orderID\")" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(int)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 1587, + "start_column": 35, + "end_line": 1587, + "end_column": 67 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "orderData", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "null", + "start_line": 1585, + "start_column": 19, + "end_line": 1585, + "end_column": 34 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getMarketSummaryInternal()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", "signature": "getMarketSummaryInternal()", @@ -195341,6 +204383,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getMarketSummary - inSession(\" + this.inSession + \")\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -195362,6 +204407,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.Connection", "callee_signature": "getConn()", "is_public": false, @@ -195388,6 +204434,12 @@ "", "" ], + "argument_expr": [ + "conn", + "getTSIAQuotesOrderByChangeSQL", + "ResultSet.TYPE_SCROLL_INSENSITIVE", + "ResultSet.CONCUR_READ_ONLY" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String, int, int)", "is_public": false, @@ -195409,6 +204461,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -195430,6 +204483,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -195453,6 +204507,9 @@ "argument_types": [ "java.sql.ResultSet" ], + "argument_expr": [ + "rs" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", "is_public": false, @@ -195476,8 +204533,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quoteData" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -195497,6 +204557,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -195523,6 +204584,12 @@ "", "" ], + "argument_expr": [ + "conn", + "\"select * from quoteejb q order by q.change1 DESC\"", + "ResultSet.TYPE_SCROLL_INSENSITIVE", + "ResultSet.CONCUR_READ_ONLY" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String, int, int)", "is_public": false, @@ -195544,6 +204611,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -195565,6 +204633,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -195588,6 +204657,9 @@ "argument_types": [ "java.sql.ResultSet" ], + "argument_expr": [ + "rs" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", "is_public": false, @@ -195611,8 +204683,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quoteData" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -195632,6 +204707,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -195653,6 +204729,7 @@ "receiver_expr": "topGainersData", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -195674,6 +204751,7 @@ "receiver_expr": "topLosersData", "receiver_type": "java.util.ArrayList", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -195698,6 +204776,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getTSIASQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -195719,6 +204801,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -195740,6 +204823,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -195763,6 +204847,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getMarketSummary -- error w/ getTSIASQL -- no results\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -195786,6 +204873,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TSIA\"" + ], "return_type": "java.math.BigDecimal", "callee_signature": "getBigDecimal(java.lang.String)", "is_public": true, @@ -195807,6 +204897,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -195831,6 +204922,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getOpenTSIASQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -195852,6 +204947,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -195873,6 +204969,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -195896,6 +204993,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getMarketSummary -- error w/ getOpenTSIASQL -- no results\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -195919,6 +205019,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"openTSIA\"" + ], "return_type": "java.math.BigDecimal", "callee_signature": "getBigDecimal(java.lang.String)", "is_public": true, @@ -195940,6 +205043,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -195964,6 +205068,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getTSIATotalVolumeSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -195985,6 +205093,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -196006,6 +205115,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -196029,6 +205139,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeDirect:getMarketSummary -- error w/ getTSIATotalVolumeSQL -- no results\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -196052,6 +205165,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"totalVolume\"" + ], "return_type": "", "callee_signature": "getDouble(java.lang.String)", "is_public": true, @@ -196073,6 +205189,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -196096,6 +205213,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "commit(java.sql.Connection)", "is_public": false, @@ -196120,8 +205240,12 @@ "java.lang.String", "javax.enterprise.event.NotificationOptions" ], + "argument_expr": [ + "\"MarketSummaryUpdate\"", + "NotificationOptions.builder().setExecutor(mes).build()" + ], "return_type": "java.util.concurrent.CompletionStage", - "callee_signature": "fireAsync(U, javax.enterprise.event.NotificationOptions)", + "callee_signature": "fireAsync(T, javax.enterprise.event.NotificationOptions)", "is_public": true, "is_protected": false, "is_private": false, @@ -196141,6 +205265,7 @@ "receiver_expr": "NotificationOptions.builder().setExecutor(mes)", "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions", "callee_signature": "build()", "is_public": true, @@ -196164,6 +205289,9 @@ "argument_types": [ "javax.enterprise.concurrent.ManagedExecutorService" ], + "argument_expr": [ + "mes" + ], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "setExecutor(java.util.concurrent.Executor)", "is_public": true, @@ -196185,6 +205313,7 @@ "receiver_expr": "NotificationOptions", "receiver_type": "javax.enterprise.event.NotificationOptions", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "builder()", "is_public": true, @@ -196209,6 +205338,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeDirect:login -- error logging in user\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -196233,6 +205366,10 @@ "java.sql.Connection", "java.lang.Exception" ], + "argument_expr": [ + "conn", + "e" + ], "return_type": "", "callee_signature": "rollBack(java.sql.Connection, java.lang.Exception)", "is_public": false, @@ -196256,6 +205393,9 @@ "argument_types": [ "java.sql.Connection" ], + "argument_expr": [ + "conn" + ], "return_type": "", "callee_signature": "releaseConn(java.sql.Connection)", "is_public": false, @@ -196279,6 +205419,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "5" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -196302,6 +205445,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "5" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -196329,8 +205475,15 @@ "java.util.ArrayList", "java.util.ArrayList" ], + "argument_expr": [ + "TSIA", + "openTSIA", + "volume", + "topGainersData", + "topLosersData" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", "is_public": false, "is_protected": false, "is_private": false, @@ -196556,10 +205709,19 @@ "cyclomatic_complexity": 12, "is_entrypoint": false }, - "updateHoldingStatus(Connection, Integer, String)": { + "getQuoteForUpdate(java.sql.Connection, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", - "signature": "updateHoldingStatus(Connection, Integer, String)", - "comments": [], + "signature": "getQuoteForUpdate(java.sql.Connection, java.lang.String)", + "comments": [ + { + "content": " symbol", + "start_line": 917, + "end_line": 917, + "start_column": 32, + "end_column": 40, + "is_javadoc": false + } + ], "annotations": [], "modifiers": [ "private" @@ -196567,51 +205729,44 @@ "thrown_exceptions": [ "java.lang.Exception" ], - "declaration": "private void updateHoldingStatus(Connection conn, Integer holdingID, String symbol) throws Exception", + "declaration": "private QuoteDataBean getQuoteForUpdate(Connection conn, String symbol) throws Exception", "parameters": [ { "type": "java.sql.Connection", "name": "conn", "annotations": [], "modifiers": [], - "start_line": 1245, - "end_line": 1245, - "start_column": 36, - "end_column": 50 - }, - { - "type": "java.lang.Integer", - "name": "holdingID", - "annotations": [], - "modifiers": [], - "start_line": 1245, - "end_line": 1245, - "start_column": 53, - "end_column": 69 + "start_line": 914, + "end_line": 914, + "start_column": 43, + "end_column": 57 }, { "type": "java.lang.String", "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 1245, - "end_line": 1245, - "start_column": 72, - "end_column": 84 + "start_line": 914, + "end_line": 914, + "start_column": 60, + "end_column": 72 } ], - "code": "{\n Timestamp ts = new Timestamp(0);\n PreparedStatement stmt = getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\");\n\n stmt.setTimestamp(1, ts);\n stmt.setInt(2, holdingID.intValue());\n stmt.executeUpdate();\n stmt.close();\n }", - "start_line": 1245, - "end_line": 1253, - "code_start_line": 1245, - "return_type": "void", + "code": "{\n QuoteDataBean quoteData = null;\n PreparedStatement stmt = getStatement(conn, getQuoteForUpdateSQL);\n stmt.setString(1, symbol); // symbol\n\n ResultSet rs = stmt.executeQuery();\n\n if (!rs.next()) {\n Log.error(\"TradeDirect:getQuote -- failure no result.next()\");\n } else {\n quoteData = getQuoteDataFromResultSet(rs);\n }\n\n stmt.close();\n\n return quoteData;\n }", + "start_line": 914, + "end_line": 930, + "code_start_line": 914, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.sql.Timestamp", + "java.sql.ResultSet", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "java.sql.PreparedStatement" ], - "accessed_fields": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.getQuoteForUpdateSQL" + ], "call_sites": [ { "method_name": "getStatement", @@ -196622,6 +205777,10 @@ "java.sql.Connection", "java.lang.String" ], + "argument_expr": [ + "conn", + "getQuoteForUpdateSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "getStatement(java.sql.Connection, java.lang.String)", "is_public": false, @@ -196632,22 +205791,33 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1247, + "start_line": 916, "start_column": 30, - "end_line": 1247, - "end_column": 108 + "end_line": 916, + "end_column": 69 }, { - "method_name": "setTimestamp", - "comment": null, + "method_name": "setString", + "comment": { + "content": " symbol", + "start_line": 917, + "end_line": 917, + "start_column": 32, + "end_column": 40, + "is_javadoc": false + }, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [ "", - "java.sql.Timestamp" + "java.lang.String" + ], + "argument_expr": [ + "1", + "symbol" ], "return_type": "", - "callee_signature": "setTimestamp(int, java.sql.Timestamp)", + "callee_signature": "setString(int, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -196656,22 +205826,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1249, + "start_line": 917, "start_column": 5, - "end_line": 1249, - "end_column": 28 + "end_line": 917, + "end_column": 29 }, { - "method_name": "setInt", + "method_name": "executeQuery", "comment": null, "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", - "argument_types": [ - "", - "" - ], - "return_type": "", - "callee_signature": "setInt(int, int)", + "argument_types": [], + "argument_expr": [], + "return_type": "java.sql.ResultSet", + "callee_signature": "executeQuery()", "is_public": true, "is_protected": false, "is_private": false, @@ -196680,19 +205848,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1250, - "start_column": 5, - "end_line": 1250, - "end_column": 40 + "start_line": 919, + "start_column": 20, + "end_line": 919, + "end_column": 38 }, { - "method_name": "intValue", + "method_name": "next", "comment": null, - "receiver_expr": "holdingID", - "receiver_type": "java.lang.Integer", + "receiver_expr": "rs", + "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "intValue()", + "callee_signature": "next()", "is_public": true, "is_protected": false, "is_private": false, @@ -196701,31 +205870,62 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1250, - "start_column": 20, - "end_line": 1250, - "end_column": 39 + "start_line": 921, + "start_column": 10, + "end_line": 921, + "end_column": 18 }, { - "method_name": "executeUpdate", + "method_name": "error", "comment": null, - "receiver_expr": "stmt", - "receiver_type": "java.sql.PreparedStatement", - "argument_types": [], + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:getQuote -- failure no result.next()\"" + ], "return_type": "", - "callee_signature": "executeUpdate()", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 922, + "start_column": 7, + "end_line": 922, + "end_column": 67 + }, + { + "method_name": "getQuoteDataFromResultSet", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.ResultSet" + ], + "argument_expr": [ + "rs" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "getQuoteDataFromResultSet(java.sql.ResultSet)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, "is_static_call": false, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1251, - "start_column": 5, - "end_line": 1251, - "end_column": 24 + "start_line": 924, + "start_column": 19, + "end_line": 924, + "end_column": 47 }, { "method_name": "close", @@ -196733,6 +205933,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -196743,33 +205944,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 1252, + "start_line": 927, "start_column": 5, - "end_line": 1252, + "end_line": 927, "end_column": 16 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 1246, - "start_column": 20, - "end_line": 1246, - "end_column": 35 } ], "variable_declarations": [ @@ -196782,13 +205960,13 @@ "end_column": -1, "is_javadoc": false }, - "name": "ts", - "type": "java.sql.Timestamp", - "initializer": "new Timestamp(0)", - "start_line": 1246, - "start_column": 15, - "end_line": 1246, - "end_column": 35 + "name": "quoteData", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "initializer": "null", + "start_line": 915, + "start_column": 19, + "end_line": 915, + "end_column": 34 }, { "comment": { @@ -196801,15 +205979,251 @@ }, "name": "stmt", "type": "java.sql.PreparedStatement", - "initializer": "getStatement(conn, \"update holdingejb set purchasedate= ? where holdingid = ?\")", - "start_line": 1247, + "initializer": "getStatement(conn, getQuoteForUpdateSQL)", + "start_line": 916, "start_column": 23, - "end_line": 1247, - "end_column": 108 + "end_line": 916, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "rs", + "type": "java.sql.ResultSet", + "initializer": "stmt.executeQuery()", + "start_line": 919, + "start_column": 15, + "end_line": 919, + "end_column": 38 } ], "crud_operations": [], "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "releaseConn(java.sql.Connection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "releaseConn(java.sql.Connection)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private void releaseConn(Connection conn) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1633, + "end_line": 1633, + "start_column": 28, + "end_column": 42 + } + ], + "code": "{\n try {\n if (conn != null) {\n conn.close();\n if (Log.doTrace()) {\n synchronized (lock) {\n connCount--;\n }\n Log.trace(\"TradeDirect:releaseConn -- connection closed, connCount=\" + connCount);\n }\n }\n } catch (Exception e) {\n Log.error(\"TradeDirect:releaseConnection -- failed to close connection\", e);\n }\n }", + "start_line": 1633, + "end_line": 1647, + "code_start_line": 1633, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.connCount", + "com.ibm.websphere.samples.daytrader.impl.direct.TradeDirect.lock" + ], + "call_sites": [ + { + "method_name": "close", + "comment": null, + "receiver_expr": "conn", + "receiver_type": "java.sql.Connection", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "close()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1636, + "start_column": 9, + "end_line": 1636, + "end_column": 20 + }, + { + "method_name": "doTrace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "doTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1637, + "start_column": 13, + "end_line": 1637, + "end_column": 25 + }, + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"TradeDirect:releaseConn -- connection closed, connCount=\" + connCount" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1641, + "start_column": 11, + "end_line": 1641, + "end_column": 91 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String", + "java.lang.Exception" + ], + "argument_expr": [ + "\"TradeDirect:releaseConnection -- failed to close connection\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1645, + "start_column": 7, + "end_line": 1645, + "end_column": 81 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 5, + "is_entrypoint": false + }, + "getStatement(java.sql.Connection, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/TradeDirect.java", + "signature": "getStatement(java.sql.Connection, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "private PreparedStatement getStatement(Connection conn, String sql) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 1709, + "end_line": 1709, + "start_column": 42, + "end_column": 56 + }, + { + "type": "java.lang.String", + "name": "sql", + "annotations": [], + "modifiers": [], + "start_line": 1709, + "end_line": 1709, + "start_column": 59, + "end_column": 68 + } + ], + "code": "{\n return conn.prepareStatement(sql);\n }", + "start_line": 1709, + "end_line": 1711, + "code_start_line": 1709, + "return_type": "java.sql.PreparedStatement", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "prepareStatement", + "comment": null, + "receiver_expr": "conn", + "receiver_type": "java.sql.Connection", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "sql" + ], + "return_type": "java.sql.PreparedStatement", + "callee_signature": "prepareStatement(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 1710, + "start_column": 12, + "end_line": 1710, + "end_column": 37 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false } @@ -198030,6 +207444,7 @@ "receiver_expr": "ejb", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.cdi.PingEJBIFace", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getMsg()", "is_public": true, @@ -198141,9 +207556,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "printObject(Object)": { + "printObject(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "printObject(Object)", + "signature": "printObject(java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -198182,6 +207597,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\\t\" + o.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -198203,6 +207621,7 @@ "receiver_expr": "o", "receiver_type": "java.lang.Object", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -198225,72 +207644,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "stat(String)": { + "log(java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "stat(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void stat(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 27, - "end_column": 40 - } - ], - "code": "{\n log(message);\n }", - "start_line": 119, - "end_line": 121, - "code_start_line": 119, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "log", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "log(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 5, - "end_line": 120, - "end_column": 16 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "log(String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "log(String, String)", + "signature": "log(java.lang.String, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -198339,6 +207695,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "msg1 + msg2" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -198361,9 +207720,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -198371,15 +207730,15 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1)", + "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 83, - "end_line": 83, + "start_line": 95, + "end_line": 95, "start_column": 28, "end_column": 41 }, @@ -198388,16 +207747,46 @@ "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 83, - "end_line": 83, + "start_line": 95, + "end_line": 95, "start_column": 44, "end_column": 55 + }, + { + "type": "java.lang.Object", + "name": "parm2", + "annotations": [], + "modifiers": [], + "start_line": 95, + "end_line": 95, + "start_column": 58, + "end_column": 69 + }, + { + "type": "java.lang.Object", + "name": "parm3", + "annotations": [], + "modifiers": [], + "start_line": 95, + "end_line": 95, + "start_column": 72, + "end_column": 83 + }, + { + "type": "java.lang.Object", + "name": "parm4", + "annotations": [], + "modifiers": [], + "start_line": 95, + "end_line": 95, + "start_column": 86, + "end_column": 97 } ], - "code": "{\n trace(message + \"(\" + parm1 + \")\");\n }", - "start_line": 83, - "end_line": 85, - "code_start_line": 83, + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4);\n }", + "start_line": 95, + "end_line": 97, + "code_start_line": 95, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -198412,6 +207801,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -198422,10 +207814,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 84, + "start_line": 96, "start_column": 5, - "end_line": 84, - "end_column": 38 + "end_line": 96, + "end_column": 83 } ], "variable_declarations": [], @@ -198434,9 +207826,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "printCollection(Collection)": { + "debug(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "printCollection(Collection)", + "signature": "debug(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -198444,192 +207836,49 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void printCollection(Collection c)", + "declaration": "public static void debug(String message)", "parameters": [ { - "type": "java.util.Collection", - "name": "c", + "type": "java.lang.String", + "name": "message", "annotations": [], "modifiers": [], - "start_line": 135, - "end_line": 135, - "start_column": 38, - "end_column": 52 + "start_line": 123, + "end_line": 123, + "start_column": 28, + "end_column": 41 } ], - "code": "{\n log(\"\\t---Log.printCollection -- collection size=\" + c.size());\n Iterator it = c.iterator();\n\n while (it.hasNext()) {\n log(\"\\t\\t\" + it.next().toString());\n }\n log(\"\\t---Log.printCollection -- complete\");\n }", - "start_line": 135, - "end_line": 143, - "code_start_line": 135, + "code": "{\n log.log(Level.INFO,message);\n }", + "start_line": 123, + "end_line": 125, + "code_start_line": 123, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Iterator" + "java.util.logging.Level" + ], + "accessed_fields": [ + "java.util.logging.Level.INFO", + "com.ibm.websphere.samples.daytrader.util.Log.log" ], - "accessed_fields": [], "call_sites": [ { "method_name": "log", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "log", + "receiver_type": "java.util.logging.Logger", "argument_types": [ + "java.util.logging.Level", "java.lang.String" ], - "return_type": "", - "callee_signature": "log(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 136, - "start_column": 5, - "end_line": 136, - "end_column": 66 - }, - { - "method_name": "size", - "comment": null, - "receiver_expr": "c", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "", - "callee_signature": "size()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 136, - "start_column": 58, - "end_line": 136, - "end_column": 65 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "c", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 137, - "start_column": 22, - "end_line": 137, - "end_column": 33 - }, - { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 139, - "start_column": 12, - "end_line": 139, - "end_column": 23 - }, - { - "method_name": "log", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" + "argument_expr": [ + "Level.INFO", + "message" ], "return_type": "", - "callee_signature": "log(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 7, - "end_line": 140, - "end_column": 40 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "it.next()", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 20, - "end_line": 140, - "end_column": 39 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 140, - "start_column": 20, - "end_line": 140, - "end_column": 28 - }, - { - "method_name": "log", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "log(java.lang.String)", + "callee_signature": "log(java.util.logging.Level, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -198638,39 +207887,21 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 124, "start_column": 5, - "end_line": 142, - "end_column": 47 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "it", - "type": "java.util.Iterator", - "initializer": "c.iterator()", - "start_line": 137, - "start_column": 17, - "end_line": 137, - "end_column": 33 + "end_line": 124, + "end_column": 31 } ], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, - "error(String)": { + "doTrace()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(String)", + "signature": "doTrace()", "comments": [], "annotations": [], "modifiers": [ @@ -198678,41 +207909,36 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void error(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 28, - "end_column": 41 - } - ], - "code": "{\n message = \"Error: \" + message;\n log.severe(message);\n }", - "start_line": 44, - "end_line": 47, - "code_start_line": 44, - "return_type": "void", + "declaration": "public static boolean doTrace()", + "parameters": [], + "code": "{\n return log.isLoggable(Level.FINE);\n }", + "start_line": 155, + "end_line": 157, + "code_start_line": 155, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.logging.Level" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Log.log" + "com.ibm.websphere.samples.daytrader.util.Log.log", + "java.util.logging.Level.FINE" ], "call_sites": [ { - "method_name": "severe", + "method_name": "isLoggable", "comment": null, "receiver_expr": "log", "receiver_type": "java.util.logging.Logger", "argument_types": [ - "java.lang.String" + "java.util.logging.Level" + ], + "argument_expr": [ + "Level.FINE" ], "return_type": "", - "callee_signature": "severe(java.lang.String)", + "callee_signature": "isLoggable(java.util.logging.Level)", "is_public": true, "is_protected": false, "is_private": false, @@ -198721,10 +207947,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 46, - "start_column": 5, - "end_line": 46, - "end_column": 23 + "start_line": 156, + "start_column": 12, + "end_line": 156, + "end_column": 37 } ], "variable_declarations": [], @@ -198733,9 +207959,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "error(Throwable, String)": { + "error(java.lang.Throwable, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(Throwable, String)", + "signature": "error(java.lang.Throwable, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -198789,6 +208015,10 @@ "java.lang.String", "java.lang.Throwable" ], + "argument_expr": [ + "message + \"\\n\\t\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -198812,6 +208042,9 @@ "argument_types": [ "java.io.PrintStream" ], + "argument_expr": [ + "System.out" + ], "return_type": "", "callee_signature": "printStackTrace(java.io.PrintStream)", "is_public": true, @@ -198834,9 +208067,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object, Object, Object, Object)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object, Object, Object, Object)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -198844,15 +208077,15 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5)", + "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5, Object parm6, Object parm7)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 28, "end_column": 41 }, @@ -198861,8 +208094,8 @@ "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 44, "end_column": 55 }, @@ -198871,8 +208104,8 @@ "name": "parm2", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 58, "end_column": 69 }, @@ -198881,8 +208114,8 @@ "name": "parm3", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 72, "end_column": 83 }, @@ -198891,8 +208124,8 @@ "name": "parm4", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 86, "end_column": 97 }, @@ -198901,16 +208134,36 @@ "name": "parm5", "annotations": [], "modifiers": [], - "start_line": 99, - "end_line": 99, + "start_line": 107, + "end_line": 107, "start_column": 100, "end_column": 111 + }, + { + "type": "java.lang.Object", + "name": "parm6", + "annotations": [], + "modifiers": [], + "start_line": 107, + "end_line": 107, + "start_column": 114, + "end_column": 125 + }, + { + "type": "java.lang.Object", + "name": "parm7", + "annotations": [], + "modifiers": [], + "start_line": 107, + "end_line": 107, + "start_column": 128, + "end_column": 139 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5);\n }", - "start_line": 99, - "end_line": 101, - "code_start_line": 99, + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6 + \", \" + parm7);\n }", + "start_line": 107, + "end_line": 109, + "code_start_line": 107, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -198925,6 +208178,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6 + \", \" + parm7" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -198935,10 +208191,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 100, + "start_line": 108, "start_column": 5, - "end_line": 100, - "end_column": 98 + "end_line": 108, + "end_column": 128 } ], "variable_declarations": [], @@ -198947,9 +208203,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doTrace()": { + "log(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "doTrace()", + "signature": "log(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -198957,33 +208213,49 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static boolean doTrace()", - "parameters": [], - "code": "{\n return log.isLoggable(Level.FINE);\n }", - "start_line": 155, - "end_line": 157, - "code_start_line": 155, - "return_type": "boolean", + "declaration": "public static void log(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 26, + "end_column": 39 + } + ], + "code": "{\n log.log(Level.INFO, message);\n }", + "start_line": 32, + "end_line": 34, + "code_start_line": 32, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ "java.util.logging.Level" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Log.log", - "java.util.logging.Level.FINE" + "java.util.logging.Level.INFO", + "com.ibm.websphere.samples.daytrader.util.Log.log" ], "call_sites": [ { - "method_name": "isLoggable", + "method_name": "log", "comment": null, "receiver_expr": "log", "receiver_type": "java.util.logging.Logger", "argument_types": [ - "java.util.logging.Level" + "java.util.logging.Level", + "java.lang.String" + ], + "argument_expr": [ + "Level.INFO", + "message" ], "return_type": "", - "callee_signature": "isLoggable(java.util.logging.Level)", + "callee_signature": "log(java.util.logging.Level, java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -198992,10 +208264,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 156, - "start_column": 12, - "end_line": 156, - "end_column": 37 + "start_line": 33, + "start_column": 5, + "end_line": 33, + "end_column": 32 } ], "variable_declarations": [], @@ -199004,9 +208276,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object, Object, Object)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object, Object, Object)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -199014,15 +208286,15 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4)", + "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5, Object parm6)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 103, + "end_line": 103, "start_column": 28, "end_column": 41 }, @@ -199031,8 +208303,8 @@ "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 103, + "end_line": 103, "start_column": 44, "end_column": 55 }, @@ -199041,8 +208313,8 @@ "name": "parm2", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 103, + "end_line": 103, "start_column": 58, "end_column": 69 }, @@ -199051,8 +208323,8 @@ "name": "parm3", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 103, + "end_line": 103, "start_column": 72, "end_column": 83 }, @@ -199061,16 +208333,36 @@ "name": "parm4", "annotations": [], "modifiers": [], - "start_line": 95, - "end_line": 95, + "start_line": 103, + "end_line": 103, "start_column": 86, "end_column": 97 + }, + { + "type": "java.lang.Object", + "name": "parm5", + "annotations": [], + "modifiers": [], + "start_line": 103, + "end_line": 103, + "start_column": 100, + "end_column": 111 + }, + { + "type": "java.lang.Object", + "name": "parm6", + "annotations": [], + "modifiers": [], + "start_line": 103, + "end_line": 103, + "start_column": 114, + "end_column": 125 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4);\n }", - "start_line": 95, - "end_line": 97, - "code_start_line": 95, + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6);\n }", + "start_line": 103, + "end_line": 105, + "code_start_line": 103, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -199085,6 +208377,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -199095,10 +208390,495 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 96, + "start_line": 104, "start_column": 5, - "end_line": 96, - "end_column": 83 + "end_line": 104, + "end_column": 113 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "trace(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "trace(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void trace(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 75, + "end_line": 75, + "start_column": 28, + "end_column": 41 + } + ], + "code": "{\n log.log(Level.FINE, message + \" threadID=\" + Thread.currentThread());\n }", + "start_line": 75, + "end_line": 77, + "code_start_line": 75, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.logging.Level" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.Log.log", + "java.util.logging.Level.FINE" + ], + "call_sites": [ + { + "method_name": "log", + "comment": null, + "receiver_expr": "log", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.util.logging.Level", + "java.lang.String" + ], + "argument_expr": [ + "Level.FINE", + "message + \" threadID=\" + Thread.currentThread()" + ], + "return_type": "", + "callee_signature": "log(java.util.logging.Level, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 5, + "end_line": 76, + "end_column": 72 + }, + { + "method_name": "currentThread", + "comment": null, + "receiver_expr": "Thread", + "receiver_type": "java.lang.Thread", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Thread", + "callee_signature": "currentThread()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 76, + "start_column": 50, + "end_line": 76, + "end_column": 71 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "traceInterceptor(java.lang.String, java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "traceInterceptor(java.lang.String, java.lang.Object)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void traceInterceptor(String message, Object parm1)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 79, + "end_line": 79, + "start_column": 39, + "end_column": 52 + }, + { + "type": "java.lang.Object", + "name": "parm1", + "annotations": [], + "modifiers": [], + "start_line": 79, + "end_line": 79, + "start_column": 55, + "end_column": 66 + } + ], + "code": "{\n log.log(Level.SEVERE,message,parm1);\n }", + "start_line": 79, + "end_line": 81, + "code_start_line": 79, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.logging.Level" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.Log.log", + "java.util.logging.Level.SEVERE" + ], + "call_sites": [ + { + "method_name": "log", + "comment": null, + "receiver_expr": "log", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.util.logging.Level", + "java.lang.String", + "java.lang.Object" + ], + "argument_expr": [ + "Level.SEVERE", + "message", + "parm1" + ], + "return_type": "", + "callee_signature": "log(java.util.logging.Level, java.lang.String, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 80, + "start_column": 5, + "end_line": 80, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "traceExit(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "traceExit(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void traceExit(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 115, + "end_line": 115, + "start_column": 32, + "end_column": 45 + } + ], + "code": "{\n log.log(Level.FINE,\"Method exit --\" + message);\n }", + "start_line": 115, + "end_line": 117, + "code_start_line": 115, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.logging.Level" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.Log.log", + "java.util.logging.Level.FINE" + ], + "call_sites": [ + { + "method_name": "log", + "comment": null, + "receiver_expr": "log", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.util.logging.Level", + "java.lang.String" + ], + "argument_expr": [ + "Level.FINE", + "\"Method exit --\" + message" + ], + "return_type": "", + "callee_signature": "log(java.util.logging.Level, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 116, + "start_column": 5, + "end_line": 116, + "end_column": 51 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void error(Throwable e, String msg1, String msg2, String msg3)", + "parameters": [ + { + "type": "java.lang.Throwable", + "name": "e", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 28, + "end_column": 38 + }, + { + "type": "java.lang.String", + "name": "msg1", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 41, + "end_column": 51 + }, + { + "type": "java.lang.String", + "name": "msg2", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 54, + "end_column": 64 + }, + { + "type": "java.lang.String", + "name": "msg3", + "annotations": [], + "modifiers": [], + "start_line": 71, + "end_line": 71, + "start_column": 67, + "end_column": 77 + } + ], + "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n }", + "start_line": 71, + "end_line": 73, + "code_start_line": 71, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "error", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String", + "java.lang.Throwable" + ], + "argument_expr": [ + "msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\"", + "e" + ], + "return_type": "", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 72, + "start_column": 5, + "end_line": 72, + "end_column": 55 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "error(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "error(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void error(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 44, + "end_line": 44, + "start_column": 28, + "end_column": 41 + } + ], + "code": "{\n message = \"Error: \" + message;\n log.severe(message);\n }", + "start_line": 44, + "end_line": 47, + "code_start_line": 44, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.Log.log" + ], + "call_sites": [ + { + "method_name": "severe", + "comment": null, + "receiver_expr": "log", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "message" + ], + "return_type": "", + "callee_signature": "severe(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 46, + "start_column": 5, + "end_line": 46, + "end_column": 23 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "print(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", + "signature": "print(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static void print(String message)", + "parameters": [ + { + "type": "java.lang.String", + "name": "message", + "annotations": [], + "modifiers": [], + "start_line": 127, + "end_line": 127, + "start_column": 28, + "end_column": 41 + } + ], + "code": "{\n log(message);\n }", + "start_line": 127, + "end_line": 129, + "code_start_line": 127, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "log", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "message" + ], + "return_type": "", + "callee_signature": "log(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 128, + "start_column": 5, + "end_line": 128, + "end_column": 16 } ], "variable_declarations": [], @@ -199107,9 +208887,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "traceExit(String)": { + "printCollection(java.lang.String, java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "traceExit(String)", + "signature": "printCollection(java.lang.String, java.util.Collection)", "comments": [], "annotations": [], "modifiers": [ @@ -199117,45 +208897,52 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void traceExit(String message)", + "declaration": "public static void printCollection(String message, Collection c)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 115, - "end_line": 115, - "start_column": 32, - "end_column": 45 + "start_line": 145, + "end_line": 145, + "start_column": 38, + "end_column": 51 + }, + { + "type": "java.util.Collection", + "name": "c", + "annotations": [], + "modifiers": [], + "start_line": 145, + "end_line": 145, + "start_column": 54, + "end_column": 68 } ], - "code": "{\n log.log(Level.FINE,\"Method exit --\" + message);\n }", - "start_line": 115, - "end_line": 117, - "code_start_line": 115, + "code": "{\n log(message);\n printCollection(c);\n }", + "start_line": 145, + "end_line": 148, + "code_start_line": 145, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Log.log", - "java.util.logging.Level.FINE" - ], + "referenced_types": [], + "accessed_fields": [], "call_sites": [ { "method_name": "log", "comment": null, - "receiver_expr": "log", - "receiver_type": "java.util.logging.Logger", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.util.logging.Level", "java.lang.String" ], + "argument_expr": [ + "message" + ], "return_type": "", - "callee_signature": "log(java.util.logging.Level, java.lang.String)", + "callee_signature": "log(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -199164,10 +208951,36 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 116, + "start_line": 146, "start_column": 5, - "end_line": 116, - "end_column": 51 + "end_line": 146, + "end_column": 16 + }, + { + "method_name": "printCollection", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.util.Collection" + ], + "argument_expr": [ + "c" + ], + "return_type": "", + "callee_signature": "printCollection(java.util.Collection)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 5, + "end_line": 147, + "end_column": 22 } ], "variable_declarations": [], @@ -199176,9 +208989,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "log(String, String, String)": { + "error(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "log(String, String, String)", + "signature": "error(java.lang.String, java.lang.String, java.lang.String, java.lang.Throwable)", "comments": [], "annotations": [], "modifiers": [ @@ -199186,43 +208999,53 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void log(String msg1, String msg2, String msg3)", + "declaration": "public static void error(String msg1, String msg2, String msg3, Throwable e)", "parameters": [ { "type": "java.lang.String", "name": "msg1", "annotations": [], "modifiers": [], - "start_line": 40, - "end_line": 40, - "start_column": 26, - "end_column": 36 + "start_line": 58, + "end_line": 58, + "start_column": 28, + "end_column": 38 }, { "type": "java.lang.String", "name": "msg2", "annotations": [], "modifiers": [], - "start_line": 40, - "end_line": 40, - "start_column": 39, - "end_column": 49 + "start_line": 58, + "end_line": 58, + "start_column": 41, + "end_column": 51 }, { "type": "java.lang.String", "name": "msg3", "annotations": [], "modifiers": [], - "start_line": 40, - "end_line": 40, - "start_column": 52, - "end_column": 62 + "start_line": 58, + "end_line": 58, + "start_column": 54, + "end_column": 64 + }, + { + "type": "java.lang.Throwable", + "name": "e", + "annotations": [], + "modifiers": [], + "start_line": 58, + "end_line": 58, + "start_column": 67, + "end_column": 77 } ], - "code": "{\n log(msg1 + msg2 + msg3);\n }", - "start_line": 40, - "end_line": 42, - "code_start_line": 40, + "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n }", + "start_line": 58, + "end_line": 60, + "code_start_line": 58, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -199230,15 +209053,20 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "log", + "method_name": "error", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Throwable" + ], + "argument_expr": [ + "msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\"", + "e" ], "return_type": "", - "callee_signature": "log(java.lang.String)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, @@ -199247,10 +209075,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 41, + "start_line": 59, "start_column": 5, - "end_line": 41, - "end_column": 27 + "end_line": 59, + "end_column": 55 } ], "variable_declarations": [], @@ -199259,9 +209087,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "traceEnter(String)": { + "traceEnter(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "traceEnter(String)", + "signature": "traceEnter(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -199306,6 +209134,10 @@ "java.util.logging.Level", "java.lang.String" ], + "argument_expr": [ + "Level.FINE", + "\"Method enter --\" + message" + ], "return_type": "", "callee_signature": "log(java.util.logging.Level, java.lang.String)", "is_public": true, @@ -199328,9 +209160,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "traceInterceptor(String, Object)": { + "stat(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "traceInterceptor(String, Object)", + "signature": "stat(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -199338,56 +209170,42 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void traceInterceptor(String message, Object parm1)", + "declaration": "public static void stat(String message)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 39, - "end_column": 52 - }, - { - "type": "java.lang.Object", - "name": "parm1", - "annotations": [], - "modifiers": [], - "start_line": 79, - "end_line": 79, - "start_column": 55, - "end_column": 66 + "start_line": 119, + "end_line": 119, + "start_column": 27, + "end_column": 40 } ], - "code": "{\n log.log(Level.SEVERE,message,parm1);\n }", - "start_line": 79, - "end_line": 81, - "code_start_line": 79, + "code": "{\n log(message);\n }", + "start_line": 119, + "end_line": 121, + "code_start_line": 119, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Log.log", - "java.util.logging.Level.SEVERE" - ], + "referenced_types": [], + "accessed_fields": [], "call_sites": [ { "method_name": "log", "comment": null, - "receiver_expr": "log", - "receiver_type": "java.util.logging.Logger", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.util.logging.Level", - "java.lang.String", - "java.lang.Object" + "java.lang.String" + ], + "argument_expr": [ + "message" ], "return_type": "", - "callee_signature": "log(java.util.logging.Level, java.lang.String, java.lang.Object)", + "callee_signature": "log(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -199396,10 +209214,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 80, + "start_line": 120, "start_column": 5, - "end_line": 80, - "end_column": 39 + "end_line": 120, + "end_column": 16 } ], "variable_declarations": [], @@ -199408,9 +209226,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object, Object)": { + "printCollection(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object, Object)", + "signature": "printCollection(java.util.Collection)", "comments": [], "annotations": [], "modifiers": [ @@ -199418,69 +209236,44 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3)", + "declaration": "public static void printCollection(Collection c)", "parameters": [ { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 28, - "end_column": 41 - }, - { - "type": "java.lang.Object", - "name": "parm1", - "annotations": [], - "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 44, - "end_column": 55 - }, - { - "type": "java.lang.Object", - "name": "parm2", - "annotations": [], - "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 58, - "end_column": 69 - }, - { - "type": "java.lang.Object", - "name": "parm3", + "type": "java.util.Collection", + "name": "c", "annotations": [], "modifiers": [], - "start_line": 91, - "end_line": 91, - "start_column": 72, - "end_column": 83 + "start_line": 135, + "end_line": 135, + "start_column": 38, + "end_column": 52 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\");\n }", - "start_line": 91, - "end_line": 93, - "code_start_line": 91, + "code": "{\n log(\"\\t---Log.printCollection -- collection size=\" + c.size());\n Iterator it = c.iterator();\n\n while (it.hasNext()) {\n log(\"\\t\\t\" + it.next().toString());\n }\n log(\"\\t---Log.printCollection -- complete\");\n }", + "start_line": 135, + "end_line": 143, + "code_start_line": 135, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Iterator" + ], "accessed_fields": [], "call_sites": [ { - "method_name": "trace", + "method_name": "log", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\\t---Log.printCollection -- collection size=\" + c.size()" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "log(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -199489,51 +209282,77 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 92, + "start_line": 136, "start_column": 5, - "end_line": 92, - "end_column": 68 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "print(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "print(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void print(String message)", - "parameters": [ + "end_line": 136, + "end_column": 66 + }, { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 127, - "end_line": 127, - "start_column": 28, - "end_column": 41 - } - ], - "code": "{\n log(message);\n }", - "start_line": 127, - "end_line": 129, - "code_start_line": 127, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ + "method_name": "size", + "comment": null, + "receiver_expr": "c", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "size()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 136, + "start_column": 58, + "end_line": 136, + "end_column": 65 + }, + { + "method_name": "iterator", + "comment": null, + "receiver_expr": "c", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 137, + "start_column": 22, + "end_line": 137, + "end_column": 33 + }, + { + "method_name": "hasNext", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 139, + "start_column": 12, + "end_line": 139, + "end_column": 23 + }, { "method_name": "log", "comment": null, @@ -199542,6 +209361,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\\t\\t\" + it.next().toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -199552,82 +209374,68 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, - "start_column": 5, - "end_line": 128, - "end_column": 16 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "error(String, String, Throwable)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(String, String, Throwable)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void error(String msg1, String msg2, Throwable e)", - "parameters": [ - { - "type": "java.lang.String", - "name": "msg1", - "annotations": [], - "modifiers": [], - "start_line": 54, - "end_line": 54, - "start_column": 28, - "end_column": 38 + "start_line": 140, + "start_column": 7, + "end_line": 140, + "end_column": 40 }, { - "type": "java.lang.String", - "name": "msg2", - "annotations": [], - "modifiers": [], - "start_line": 54, - "end_line": 54, - "start_column": 41, - "end_column": 51 + "method_name": "toString", + "comment": null, + "receiver_expr": "it.next()", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, + "start_column": 20, + "end_line": 140, + "end_column": 39 }, { - "type": "java.lang.Throwable", - "name": "e", - "annotations": [], - "modifiers": [], - "start_line": 54, - "end_line": 54, - "start_column": 54, - "end_column": 64 - } - ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\\t\", e);\n }", - "start_line": 54, - "end_line": 56, - "code_start_line": 54, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ + "method_name": "next", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 140, + "start_column": 20, + "end_line": 140, + "end_column": 28 + }, { - "method_name": "error", + "method_name": "log", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.Throwable" + "java.lang.String" + ], + "argument_expr": [ + "\"\\t---Log.printCollection -- complete\"" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "log(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -199636,21 +209444,39 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 55, + "start_line": 142, "start_column": 5, - "end_line": 55, - "end_column": 41 + "end_line": 142, + "end_column": 47 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "it", + "type": "java.util.Iterator", + "initializer": "c.iterator()", + "start_line": 137, + "start_column": 17, + "end_line": 137, + "end_column": 33 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "debug(String)": { + "error(java.lang.String, java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "debug(String)", + "signature": "error(java.lang.String, java.lang.Throwable)", "comments": [], "annotations": [], "modifiers": [ @@ -199658,45 +209484,56 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void debug(String message)", + "declaration": "public static void error(String message, Throwable e)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 123, - "end_line": 123, + "start_line": 49, + "end_line": 49, "start_column": 28, "end_column": 41 + }, + { + "type": "java.lang.Throwable", + "name": "e", + "annotations": [], + "modifiers": [], + "start_line": 49, + "end_line": 49, + "start_column": 44, + "end_column": 54 } ], - "code": "{\n log.log(Level.INFO,message);\n }", - "start_line": 123, - "end_line": 125, - "code_start_line": 123, + "code": "{\n error(message + \"\\n\\t\" + e.toString());\n e.printStackTrace(System.out);\n }", + "start_line": 49, + "end_line": 52, + "code_start_line": 49, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.logging.Level" + "java.io.PrintStream" ], "accessed_fields": [ - "java.util.logging.Level.INFO", - "com.ibm.websphere.samples.daytrader.util.Log.log" + "java.lang.System.out" ], "call_sites": [ { - "method_name": "log", + "method_name": "error", "comment": null, - "receiver_expr": "log", - "receiver_type": "java.util.logging.Logger", + "receiver_expr": "", + "receiver_type": "", "argument_types": [ - "java.util.logging.Level", "java.lang.String" ], + "argument_expr": [ + "message + \"\\n\\t\" + e.toString()" + ], "return_type": "", - "callee_signature": "log(java.util.logging.Level, java.lang.String)", + "callee_signature": "error(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -199705,67 +209542,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, + "start_line": 50, "start_column": 5, - "end_line": 124, - "end_column": 31 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "log(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "log(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void log(String message)", - "parameters": [ + "end_line": 50, + "end_column": 42 + }, { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 26, - "end_column": 39 - } - ], - "code": "{\n log.log(Level.INFO, message);\n }", - "start_line": 32, - "end_line": 34, - "code_start_line": 32, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "java.util.logging.Level.INFO", - "com.ibm.websphere.samples.daytrader.util.Log.log" - ], - "call_sites": [ + "method_name": "toString", + "comment": null, + "receiver_expr": "e", + "receiver_type": "java.lang.Throwable", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 50, + "start_column": 30, + "end_line": 50, + "end_column": 41 + }, { - "method_name": "log", + "method_name": "printStackTrace", "comment": null, - "receiver_expr": "log", - "receiver_type": "java.util.logging.Logger", + "receiver_expr": "e", + "receiver_type": "java.lang.Throwable", "argument_types": [ - "java.util.logging.Level", - "java.lang.String" + "java.io.PrintStream" + ], + "argument_expr": [ + "System.out" ], "return_type": "", - "callee_signature": "log(java.util.logging.Level, java.lang.String)", + "callee_signature": "printStackTrace(java.io.PrintStream)", "is_public": true, "is_protected": false, "is_private": false, @@ -199774,10 +209590,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 33, + "start_line": 51, "start_column": 5, - "end_line": 33, - "end_column": 32 + "end_line": 51, + "end_column": 33 } ], "variable_declarations": [], @@ -199786,9 +209602,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object, Object, Object, Object, Object, Object)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object, Object, Object, Object, Object, Object)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -199796,15 +209612,15 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5, Object parm6, Object parm7)", + "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 28, "end_column": 41 }, @@ -199813,8 +209629,8 @@ "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 44, "end_column": 55 }, @@ -199823,8 +209639,8 @@ "name": "parm2", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 58, "end_column": 69 }, @@ -199833,8 +209649,8 @@ "name": "parm3", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 72, "end_column": 83 }, @@ -199843,8 +209659,8 @@ "name": "parm4", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 86, "end_column": 97 }, @@ -199853,36 +209669,16 @@ "name": "parm5", "annotations": [], "modifiers": [], - "start_line": 107, - "end_line": 107, + "start_line": 99, + "end_line": 99, "start_column": 100, "end_column": 111 - }, - { - "type": "java.lang.Object", - "name": "parm6", - "annotations": [], - "modifiers": [], - "start_line": 107, - "end_line": 107, - "start_column": 114, - "end_column": 125 - }, - { - "type": "java.lang.Object", - "name": "parm7", - "annotations": [], - "modifiers": [], - "start_line": 107, - "end_line": 107, - "start_column": 128, - "end_column": 139 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6 + \", \" + parm7);\n }", - "start_line": 107, - "end_line": 109, - "code_start_line": 107, + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5);\n }", + "start_line": 99, + "end_line": 101, + "code_start_line": 99, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -199897,6 +209693,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -199907,10 +209706,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 108, + "start_line": 100, "start_column": 5, - "end_line": 108, - "end_column": 128 + "end_line": 100, + "end_column": 98 } ], "variable_declarations": [], @@ -199919,9 +209718,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object, Object, Object, Object, Object)": { + "log(java.lang.String, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object, Object, Object, Object, Object)", + "signature": "log(java.lang.String, java.lang.String, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -199929,83 +209728,43 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3, Object parm4, Object parm5, Object parm6)", + "declaration": "public static void log(String msg1, String msg2, String msg3)", "parameters": [ { "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 28, - "end_column": 41 - }, - { - "type": "java.lang.Object", - "name": "parm1", - "annotations": [], - "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 44, - "end_column": 55 - }, - { - "type": "java.lang.Object", - "name": "parm2", - "annotations": [], - "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 58, - "end_column": 69 - }, - { - "type": "java.lang.Object", - "name": "parm3", - "annotations": [], - "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 72, - "end_column": 83 - }, - { - "type": "java.lang.Object", - "name": "parm4", + "name": "msg1", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 86, - "end_column": 97 + "start_line": 40, + "end_line": 40, + "start_column": 26, + "end_column": 36 }, { - "type": "java.lang.Object", - "name": "parm5", + "type": "java.lang.String", + "name": "msg2", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 100, - "end_column": 111 + "start_line": 40, + "end_line": 40, + "start_column": 39, + "end_column": 49 }, { - "type": "java.lang.Object", - "name": "parm6", + "type": "java.lang.String", + "name": "msg3", "annotations": [], "modifiers": [], - "start_line": 103, - "end_line": 103, - "start_column": 114, - "end_column": 125 + "start_line": 40, + "end_line": 40, + "start_column": 52, + "end_column": 62 } ], - "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\" + \", \" + parm4 + \", \" + parm5 + \", \" + parm6);\n }", - "start_line": 103, - "end_line": 105, - "code_start_line": 103, + "code": "{\n log(msg1 + msg2 + msg3);\n }", + "start_line": 40, + "end_line": 42, + "code_start_line": 40, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -200013,15 +209772,18 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "trace", + "method_name": "log", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "msg1 + msg2 + msg3" + ], "return_type": "", - "callee_signature": "trace(java.lang.String)", + "callee_signature": "log(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -200030,10 +209792,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 104, + "start_line": 41, "start_column": 5, - "end_line": 104, - "end_column": 113 + "end_line": 41, + "end_column": 27 } ], "variable_declarations": [], @@ -200042,9 +209804,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "error(Throwable, String, String)": { + "error(java.lang.Throwable, java.lang.String, java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(Throwable, String, String)", + "signature": "error(java.lang.Throwable, java.lang.String, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -200104,6 +209866,10 @@ "java.lang.String", "java.lang.Throwable" ], + "argument_expr": [ + "msg1 + \"\\n\" + msg2 + \"\\n\\t\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -200126,96 +209892,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void trace(String message)", - "parameters": [ - { - "type": "java.lang.String", - "name": "message", - "annotations": [], - "modifiers": [], - "start_line": 75, - "end_line": 75, - "start_column": 28, - "end_column": 41 - } - ], - "code": "{\n log.log(Level.FINE, message + \" threadID=\" + Thread.currentThread());\n }", - "start_line": 75, - "end_line": 77, - "code_start_line": 75, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.logging.Level" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.Log.log", - "java.util.logging.Level.FINE" - ], - "call_sites": [ - { - "method_name": "log", - "comment": null, - "receiver_expr": "log", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.util.logging.Level", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "log(java.util.logging.Level, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 76, - "start_column": 5, - "end_line": 76, - "end_column": 72 - }, - { - "method_name": "currentThread", - "comment": null, - "receiver_expr": "Thread", - "receiver_type": "java.lang.Thread", - "argument_types": [], - "return_type": "java.lang.Thread", - "callee_signature": "currentThread()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 76, - "start_column": 50, - "end_line": 76, - "end_column": 71 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "doDebug()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", "signature": "doDebug()", @@ -200244,103 +209920,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "error(Throwable, String, String, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(Throwable, String, String, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static void error(Throwable e, String msg1, String msg2, String msg3)", - "parameters": [ - { - "type": "java.lang.Throwable", - "name": "e", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 28, - "end_column": 38 - }, - { - "type": "java.lang.String", - "name": "msg1", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 41, - "end_column": 51 - }, - { - "type": "java.lang.String", - "name": "msg2", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 54, - "end_column": 64 - }, - { - "type": "java.lang.String", - "name": "msg3", - "annotations": [], - "modifiers": [], - "start_line": 71, - "end_line": 71, - "start_column": 67, - "end_column": 77 - } - ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n }", - "start_line": 71, - "end_line": 73, - "code_start_line": 71, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "error", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.String", - "java.lang.Throwable" - ], - "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 72, - "start_column": 5, - "end_line": 72, - "end_column": 55 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "error(String, String, String, Throwable)": { + "trace(java.lang.String, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(String, String, String, Throwable)", + "signature": "trace(java.lang.String, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -200348,53 +209930,33 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void error(String msg1, String msg2, String msg3, Throwable e)", + "declaration": "public static void trace(String message, Object parm1)", "parameters": [ { "type": "java.lang.String", - "name": "msg1", + "name": "message", "annotations": [], "modifiers": [], - "start_line": 58, - "end_line": 58, + "start_line": 83, + "end_line": 83, "start_column": 28, - "end_column": 38 - }, - { - "type": "java.lang.String", - "name": "msg2", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 41, - "end_column": 51 - }, - { - "type": "java.lang.String", - "name": "msg3", - "annotations": [], - "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 54, - "end_column": 64 + "end_column": 41 }, { - "type": "java.lang.Throwable", - "name": "e", + "type": "java.lang.Object", + "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 67, - "end_column": 77 + "start_line": 83, + "end_line": 83, + "start_column": 44, + "end_column": 55 } ], - "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\" + msg3 + \"\\n\\t\", e);\n }", - "start_line": 58, - "end_line": 60, - "code_start_line": 58, + "code": "{\n trace(message + \"(\" + parm1 + \")\");\n }", + "start_line": 83, + "end_line": 85, + "code_start_line": 83, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -200402,16 +209964,18 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "error", + "method_name": "trace", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String", - "java.lang.Throwable" + "java.lang.String" + ], + "argument_expr": [ + "message + \"(\" + parm1 + \")\"" ], "return_type": "", - "callee_signature": "error(java.lang.String, java.lang.Throwable)", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -200420,10 +209984,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 59, + "start_line": 84, "start_column": 5, - "end_line": 59, - "end_column": 55 + "end_line": 84, + "end_column": 38 } ], "variable_declarations": [], @@ -200432,9 +209996,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "trace(String, Object, Object)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "trace(String, Object, Object)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -200493,6 +210057,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \")\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -200515,9 +210082,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "error(String, Throwable)": { + "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "error(String, Throwable)", + "signature": "trace(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)", "comments": [], "annotations": [], "modifiers": [ @@ -200525,97 +210092,72 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void error(String message, Throwable e)", + "declaration": "public static void trace(String message, Object parm1, Object parm2, Object parm3)", "parameters": [ { "type": "java.lang.String", "name": "message", "annotations": [], "modifiers": [], - "start_line": 49, - "end_line": 49, + "start_line": 91, + "end_line": 91, "start_column": 28, "end_column": 41 }, { - "type": "java.lang.Throwable", - "name": "e", + "type": "java.lang.Object", + "name": "parm1", "annotations": [], "modifiers": [], - "start_line": 49, - "end_line": 49, + "start_line": 91, + "end_line": 91, "start_column": 44, - "end_column": 54 + "end_column": 55 + }, + { + "type": "java.lang.Object", + "name": "parm2", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 58, + "end_column": 69 + }, + { + "type": "java.lang.Object", + "name": "parm3", + "annotations": [], + "modifiers": [], + "start_line": 91, + "end_line": 91, + "start_column": 72, + "end_column": 83 } ], - "code": "{\n error(message + \"\\n\\t\" + e.toString());\n e.printStackTrace(System.out);\n }", - "start_line": 49, - "end_line": 52, - "code_start_line": 49, + "code": "{\n trace(message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\");\n }", + "start_line": 91, + "end_line": 93, + "code_start_line": 91, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.io.PrintStream" - ], - "accessed_fields": [ - "java.lang.System.out" - ], + "referenced_types": [], + "accessed_fields": [], "call_sites": [ { - "method_name": "error", + "method_name": "trace", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ "java.lang.String" ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 50, - "start_column": 5, - "end_line": 50, - "end_column": 42 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Throwable", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 50, - "start_column": 30, - "end_line": 50, - "end_column": 41 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "e", - "receiver_type": "java.lang.Throwable", - "argument_types": [ - "java.io.PrintStream" + "argument_expr": [ + "message + \"(\" + parm1 + \", \" + parm2 + \", \" + parm3 + \")\"" ], "return_type": "", - "callee_signature": "printStackTrace(java.io.PrintStream)", + "callee_signature": "trace(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -200624,10 +210166,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 51, + "start_line": 92, "start_column": 5, - "end_line": 51, - "end_column": 33 + "end_line": 92, + "end_column": 68 } ], "variable_declarations": [], @@ -200636,9 +210178,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "printCollection(String, Collection)": { + "error(java.lang.String, java.lang.String, java.lang.Throwable)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/Log.java", - "signature": "printCollection(String, Collection)", + "signature": "error(java.lang.String, java.lang.String, java.lang.Throwable)", "comments": [], "annotations": [], "modifiers": [ @@ -200646,33 +210188,43 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static void printCollection(String message, Collection c)", + "declaration": "public static void error(String msg1, String msg2, Throwable e)", "parameters": [ { "type": "java.lang.String", - "name": "message", + "name": "msg1", "annotations": [], "modifiers": [], - "start_line": 145, - "end_line": 145, - "start_column": 38, + "start_line": 54, + "end_line": 54, + "start_column": 28, + "end_column": 38 + }, + { + "type": "java.lang.String", + "name": "msg2", + "annotations": [], + "modifiers": [], + "start_line": 54, + "end_line": 54, + "start_column": 41, "end_column": 51 }, { - "type": "java.util.Collection", - "name": "c", + "type": "java.lang.Throwable", + "name": "e", "annotations": [], "modifiers": [], - "start_line": 145, - "end_line": 145, + "start_line": 54, + "end_line": 54, "start_column": 54, - "end_column": 68 + "end_column": 64 } ], - "code": "{\n log(message);\n printCollection(c);\n }", - "start_line": 145, - "end_line": 148, - "code_start_line": 145, + "code": "{\n error(msg1 + \"\\n\" + msg2 + \"\\n\\t\", e);\n }", + "start_line": 54, + "end_line": 56, + "code_start_line": 54, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -200680,38 +210232,20 @@ "accessed_fields": [], "call_sites": [ { - "method_name": "log", + "method_name": "error", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String" + "java.lang.String", + "java.lang.Throwable" ], - "return_type": "", - "callee_signature": "log(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 146, - "start_column": 5, - "end_line": 146, - "end_column": 16 - }, - { - "method_name": "printCollection", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.util.Collection" + "argument_expr": [ + "msg1 + \"\\n\" + msg2 + \"\\n\\t\"", + "e" ], "return_type": "", - "callee_signature": "printCollection(java.util.Collection)", + "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, "is_protected": false, "is_private": false, @@ -200720,10 +210254,10 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 147, + "start_line": 55, "start_column": 5, - "end_line": 147, - "end_column": 22 + "end_line": 55, + "end_column": 41 } ], "variable_declarations": [], @@ -200840,7 +210374,7 @@ "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", - "signature": "ActionMessage()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -200865,9 +210399,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "doDecoding(String)": { + "doDecoding(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/websocket/ActionMessage.java", - "signature": "doDecoding(String)", + "signature": "doDecoding(java.lang.String)", "comments": [ { "content": " JSON parse", @@ -200920,6 +210454,9 @@ "argument_types": [ "java.io.StringReader" ], + "argument_expr": [ + "new StringReader(jsonText)" + ], "return_type": "javax.json.stream.JsonParser", "callee_signature": "createParser(java.io.Reader)", "is_public": true, @@ -200941,6 +210478,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -200962,6 +210500,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "javax.json.stream.JsonParser.Event", "callee_signature": "next()", "is_public": true, @@ -200983,6 +210522,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getString()", "is_public": true, @@ -201006,6 +210546,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -201027,6 +210570,7 @@ "receiver_expr": "parser", "receiver_type": "javax.json.stream.JsonParser", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getString()", "is_public": true, @@ -201051,6 +210595,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"ActionMessage:doDecoding(\" + jsonText + \") --> failed\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -201074,6 +210622,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ActionMessage:doDecoding -- decoded action -->\" + decodedAction + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -201097,6 +210648,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "jsonText" + ], "return_type": "java.io.StringReader", "callee_signature": "StringReader(java.lang.String)", "is_public": false, @@ -201349,120 +210903,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 108, - "end_line": 113, - "code_start_line": 109, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 9, - "end_line": 110, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -201516,6 +210959,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -201538,38 +210985,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", - "start_line": 103, - "end_line": 106, - "code_start_line": 104, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " get the users orders and print the output.", @@ -201658,6 +211076,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -201679,6 +211100,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -201702,6 +211124,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Servlet2Session2CMROne20ne\" + \"
    PingServlet2Session2CMROne2Many
    \" + \"
    PingServlet2Session2CMROne2Many uses the Trade Session EJB\" + \" to get the orders for a user using an EJB 3.0 Entity CMR one to many relationship\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -201723,6 +211148,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -201744,6 +211170,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -201767,6 +211194,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getOrders(java.lang.String)", "is_public": false, @@ -201790,6 +211220,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -201813,6 +211246,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime + \"
    Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -201836,6 +211272,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    One to Many CMR access of Account Orders from Account Entity
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -201859,6 +211298,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    User: \" + userID + \" currently has \" + orderDataBeans.size() + \" stock orders:\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -201880,6 +211322,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -201901,6 +211344,7 @@ "receiver_expr": "orderDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -201922,6 +211366,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -201943,6 +211388,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "next()", "is_public": true, @@ -201966,6 +211412,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    \" + orderData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -201987,6 +211436,7 @@ "receiver_expr": "orderData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -202010,6 +211460,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -202033,6 +211486,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -202054,6 +211510,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -202078,6 +211535,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session2CMROne2Many.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -202109,6 +211570,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Session2CMROne2Many.doGet(...): error\" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -202130,6 +211595,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -202153,6 +211619,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -202311,6 +211780,151 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", + "start_line": 103, + "end_line": 106, + "code_start_line": 104, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2CMROne2Many.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 108, + "end_line": 113, + "code_start_line": 109, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2CMROne2Many.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 9, + "end_line": 110, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -202483,9 +212097,36 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "addTiming(String, long, long)": { + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "private" + ], + "thrown_exceptions": [], + "declaration": "private MDBStats()", + "parameters": [], + "code": "{\n }", + "start_line": 30, + "end_line": 31, + "code_start_line": 30, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "addTiming(java.lang.String, long, long)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", - "signature": "addTiming(String, long, long)", + "signature": "addTiming(java.lang.String, long, long)", "comments": [], "annotations": [], "modifiers": [ @@ -202545,6 +212186,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "type" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "get(java.lang.Object)", "is_public": true, @@ -202566,6 +212210,7 @@ "receiver_expr": "stats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMax()", "is_public": true, @@ -202589,6 +212234,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "time" + ], "return_type": "", "callee_signature": "setMax(double)", "is_public": true, @@ -202610,6 +212258,7 @@ "receiver_expr": "stats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMin()", "is_public": true, @@ -202633,6 +212282,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "time" + ], "return_type": "", "callee_signature": "setMin(double)", "is_public": true, @@ -202656,6 +212308,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "stats.getCount() + 1" + ], "return_type": "", "callee_signature": "setCount(int)", "is_public": true, @@ -202677,6 +212332,7 @@ "receiver_expr": "stats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -202700,6 +212356,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "stats.getTotalTime() + time" + ], "return_type": "", "callee_signature": "setTotalTime(double)", "is_public": true, @@ -202721,6 +212380,7 @@ "receiver_expr": "stats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getTotalTime()", "is_public": true, @@ -202745,8 +212405,12 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.util.TimerStat" ], + "argument_expr": [ + "type", + "stats" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", - "callee_signature": "put(K, V)", + "callee_signature": "put(java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -202766,6 +212430,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "TimerStat()", "is_public": false, @@ -202823,33 +212488,6 @@ "cyclomatic_complexity": 5, "is_entrypoint": false }, - "()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", - "signature": "MDBStats()", - "comments": [], - "annotations": [], - "modifiers": [ - "private" - ], - "thrown_exceptions": [], - "declaration": "private MDBStats()", - "parameters": [], - "code": "{\n }", - "start_line": 30, - "end_line": 31, - "code_start_line": 30, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "reset()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/MDBStats.java", "signature": "reset()", @@ -202878,6 +212516,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "clear()", "is_public": true, @@ -202931,6 +212570,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", "callee_signature": "MDBStats()", "is_public": false, @@ -203122,128 +212762,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 85, - "end_line": 90, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 92, - "end_line": 92, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", - "start_line": 91, - "end_line": 96, - "code_start_line": 92, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 93, - "start_column": 9, - "end_line": 93, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 94, - "start_column": 20, - "end_line": 94, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 94, - "start_column": 20, - "end_line": 94, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -203306,6 +212827,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -203328,9 +212853,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -203397,6 +212922,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ab\"" + ], "return_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -203420,6 +212948,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -203441,6 +212972,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -203464,6 +212996,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping Servlet2Servlet\" + \"

    PingServlet2Servlet:
    Init time: \" + initTime + \"

    Message from Servlet: \" + ab.getMsg() + \"\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -203485,6 +213020,7 @@ "receiver_expr": "ab", "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.PingBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getMsg()", "is_public": true, @@ -203509,6 +213045,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ex", + "\"PingServlet2ServletRcv.doGet(...): general exception\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -203533,6 +213073,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2ServletRcv.doGet(...): general exception\" + ex.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -203554,6 +213098,7 @@ "receiver_expr": "ex", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -203610,6 +213155,130 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2ServletRcv.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 85, + "end_line": 90, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 92, + "end_line": 92, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n\n }", + "start_line": 91, + "end_line": 96, + "code_start_line": 92, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingServlet2ServletRcv.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 93, + "start_column": 9, + "end_line": 93, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 20, + "end_line": 94, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 94, + "start_column": 20, + "end_line": 94, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -203886,112 +213555,248 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)": { + "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "OrderDataBean(Integer, String, String, Date, Date, double, BigDecimal, BigDecimal, String)", + "signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public OrderDataBean(Integer orderID, String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, String symbol)", + "declaration": "public void setHolding(HoldingDataBean holding)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holding", + "annotations": [], + "modifiers": [], + "start_line": 271, + "end_line": 271, + "start_column": 28, + "end_column": 50 + } + ], + "code": "{\n this.holding = holding;\n }", + "start_line": 271, + "end_line": 273, + "code_start_line": 271, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.holding" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setOrderID(java.lang.Integer)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "setOrderID(java.lang.Integer)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderID(Integer orderID)", "parameters": [ { "type": "java.lang.Integer", "name": "orderID", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 26, - "end_column": 40 - }, + "start_line": 180, + "end_line": 180, + "start_column": 28, + "end_column": 42 + } + ], + "code": "{\n this.orderID = orderID;\n }", + "start_line": 180, + "end_line": 182, + "code_start_line": 180, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setAccount(AccountDataBean account)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", + "annotations": [], + "modifiers": [], + "start_line": 255, + "end_line": 255, + "start_column": 28, + "end_column": 50 + } + ], + "code": "{\n this.account = account;\n }", + "start_line": 255, + "end_line": 257, + "code_start_line": 255, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.account" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "(java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, com.ibm.websphere.samples.daytrader.entities.AccountDataBean, com.ibm.websphere.samples.daytrader.entities.QuoteDataBean, com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderDataBean(String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding)", + "parameters": [ { "type": "java.lang.String", "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 43, - "end_column": 58 + "start_line": 138, + "end_line": 138, + "start_column": 26, + "end_column": 41 }, { "type": "java.lang.String", "name": "orderStatus", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 61, - "end_column": 78 + "start_line": 138, + "end_line": 138, + "start_column": 44, + "end_column": 61 }, { "type": "java.util.Date", "name": "openDate", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 81, - "end_column": 93 + "start_line": 138, + "end_line": 138, + "start_column": 64, + "end_column": 76 }, { "type": "java.util.Date", "name": "completionDate", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 96, - "end_column": 114 + "start_line": 138, + "end_line": 138, + "start_column": 79, + "end_column": 97 }, { "type": "double", "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 117, - "end_column": 131 + "start_line": 138, + "end_line": 138, + "start_column": 100, + "end_column": 114 }, { "type": "java.math.BigDecimal", "name": "price", "annotations": [], "modifiers": [], - "start_line": 125, - "end_line": 125, - "start_column": 134, - "end_column": 149 + "start_line": 138, + "end_line": 138, + "start_column": 117, + "end_column": 132 }, { "type": "java.math.BigDecimal", "name": "orderFee", "annotations": [], "modifiers": [], - "start_line": 126, - "end_line": 126, + "start_line": 138, + "end_line": 138, + "start_column": 135, + "end_column": 153 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "name": "account", + "annotations": [], + "modifiers": [], + "start_line": 139, + "end_line": 139, "start_column": 13, - "end_column": 31 + "end_column": 35 }, { - "type": "java.lang.String", - "name": "symbol", + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", "annotations": [], "modifiers": [], - "start_line": 126, - "end_line": 126, - "start_column": 34, - "end_column": 46 + "start_line": 139, + "end_line": 139, + "start_column": 38, + "end_column": 56 + }, + { + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "name": "holding", + "annotations": [], + "modifiers": [], + "start_line": 139, + "end_line": 139, + "start_column": 59, + "end_column": 81 } ], - "code": "{\n setOrderID(orderID);\n setOrderType(orderType);\n setOrderStatus(orderStatus);\n setOpenDate(openDate);\n setCompletionDate(completionDate);\n setQuantity(quantity);\n setPrice(price);\n setOrderFee(orderFee);\n setSymbol(symbol);\n }", - "start_line": 125, - "end_line": 136, - "code_start_line": 126, + "code": "{\n setOrderType(orderType);\n setOrderStatus(orderStatus);\n setOpenDate(openDate);\n setCompletionDate(completionDate);\n setQuantity(quantity);\n setPrice(price);\n setOrderFee(orderFee);\n setAccount(account);\n setQuote(quote);\n setHolding(holding);\n }", + "start_line": 138, + "end_line": 150, + "code_start_line": 139, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -203999,38 +213804,16 @@ "accessed_fields": [ "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.price", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.holding", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.symbol", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.completionDate", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.account", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderType", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" ], "call_sites": [ - { - "method_name": "setOrderID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.lang.Integer" - ], - "return_type": "", - "callee_signature": "setOrderID(java.lang.Integer)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 127, - "start_column": 9, - "end_line": 127, - "end_column": 27 - }, { "method_name": "setOrderType", "comment": null, @@ -204039,6 +213822,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderType" + ], "return_type": "", "callee_signature": "setOrderType(java.lang.String)", "is_public": true, @@ -204049,9 +213835,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 128, + "start_line": 140, "start_column": 9, - "end_line": 128, + "end_line": 140, "end_column": 31 }, { @@ -204062,6 +213848,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderStatus" + ], "return_type": "", "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, @@ -204072,9 +213861,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 129, + "start_line": 141, "start_column": 9, - "end_line": 129, + "end_line": 141, "end_column": 35 }, { @@ -204085,6 +213874,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "openDate" + ], "return_type": "", "callee_signature": "setOpenDate(java.util.Date)", "is_public": true, @@ -204095,9 +213887,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 130, + "start_line": 142, "start_column": 9, - "end_line": 130, + "end_line": 142, "end_column": 29 }, { @@ -204108,6 +213900,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "completionDate" + ], "return_type": "", "callee_signature": "setCompletionDate(java.util.Date)", "is_public": true, @@ -204118,9 +213913,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 131, + "start_line": 143, "start_column": 9, - "end_line": 131, + "end_line": 143, "end_column": 41 }, { @@ -204131,6 +213926,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quantity" + ], "return_type": "", "callee_signature": "setQuantity(double)", "is_public": true, @@ -204141,9 +213939,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 132, + "start_line": 144, "start_column": 9, - "end_line": 132, + "end_line": 144, "end_column": 29 }, { @@ -204154,6 +213952,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "price" + ], "return_type": "", "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, @@ -204164,9 +213965,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 133, + "start_line": 145, "start_column": 9, - "end_line": 133, + "end_line": 145, "end_column": 23 }, { @@ -204175,10 +213976,65 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.math.BigDecimal" + "java.math.BigDecimal" + ], + "argument_expr": [ + "orderFee" + ], + "return_type": "", + "callee_signature": "setOrderFee(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 146, + "start_column": 9, + "end_line": 146, + "end_column": 29 + }, + { + "method_name": "setAccount", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + ], + "argument_expr": [ + "account" + ], + "return_type": "", + "callee_signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 147, + "start_column": 9, + "end_line": 147, + "end_column": 27 + }, + { + "method_name": "setQuote", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "quote" ], "return_type": "", - "callee_signature": "setOrderFee(java.math.BigDecimal)", + "callee_signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", "is_public": true, "is_protected": false, "is_private": false, @@ -204187,21 +214043,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 134, + "start_line": 148, "start_column": 9, - "end_line": 134, - "end_column": 29 + "end_line": 148, + "end_column": 23 }, { - "method_name": "setSymbol", + "method_name": "setHolding", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.lang.String" + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + ], + "argument_expr": [ + "holding" ], "return_type": "", - "callee_signature": "setSymbol(java.lang.String)", + "callee_signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", "is_public": true, "is_protected": false, "is_private": false, @@ -204210,12 +214069,54 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 135, + "start_line": 149, "start_column": 9, - "end_line": 135, - "end_column": 25 + "end_line": 149, + "end_column": 27 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setQuote(QuoteDataBean quote)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quote", + "annotations": [], + "modifiers": [], + "start_line": 263, + "end_line": 263, + "start_column": 26, + "end_column": 44 } ], + "code": "{\n this.quote = quote;\n }", + "start_line": 263, + "end_line": 265, + "code_start_line": 263, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote" + ], + "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -204254,6 +214155,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -204275,6 +214179,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndBoolean()", "is_public": true, @@ -204298,6 +214203,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.MAX_VALUE" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -204321,6 +214229,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.MAX_VALUE" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -204342,6 +214253,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "rndQuantity()", "is_public": true, @@ -204365,6 +214277,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -204388,6 +214303,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -204409,6 +214327,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -204440,6 +214359,17 @@ "java.math.BigDecimal", "java.lang.String" ], + "argument_expr": [ + "new Integer(TradeConfig.rndInt(100000))", + "TradeConfig.rndBoolean() ? \"buy\" : \"sell\"", + "\"open\"", + "new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE))", + "new java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE))", + "TradeConfig.rndQuantity()", + "TradeConfig.rndBigDecimal(1000.0f)", + "TradeConfig.rndBigDecimal(1000.0f)", + "TradeConfig.rndSymbol()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "OrderDataBean(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", "is_public": false, @@ -204463,6 +214393,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(100000)" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -204486,6 +214419,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(Integer.MAX_VALUE)" + ], "return_type": "java.util.Date", "callee_signature": "Date(long)", "is_public": false, @@ -204509,6 +214445,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(Integer.MAX_VALUE)" + ], "return_type": "java.util.Date", "callee_signature": "Date(long)", "is_public": false, @@ -204531,9 +214470,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setSymbol(String)": { + "setSymbol(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setSymbol(String)", + "signature": "setSymbol(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -204606,6 +214545,7 @@ "receiver_expr": "this.orderID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hashCode()", "is_public": true, @@ -204646,6 +214586,48 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, + "setOrderType(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "setOrderType(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrderType(String orderType)", + "parameters": [ + { + "type": "java.lang.String", + "name": "orderType", + "annotations": [], + "modifiers": [], + "start_line": 188, + "end_line": 188, + "start_column": 30, + "end_column": 45 + } + ], + "code": "{\n this.orderType = orderType;\n }", + "start_line": 188, + "end_line": 190, + "code_start_line": 188, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderType" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getPrice()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "signature": "getPrice()", @@ -204704,6 +214686,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "this.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -204725,6 +214710,7 @@ "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -204805,6 +214791,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"cancelled\"" + ], "return_type": "", "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, @@ -204829,7 +214818,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "OrderDataBean()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -204854,48 +214843,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderID(Integer)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setOrderID(Integer)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderID(Integer orderID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "orderID", - "annotations": [], - "modifiers": [], - "start_line": 180, - "end_line": 180, - "start_column": 28, - "end_column": 42 - } - ], - "code": "{\n this.orderID = orderID;\n }", - "start_line": 180, - "end_line": 182, - "code_start_line": 180, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "toHTML()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", "signature": "toHTML()", @@ -204923,6 +214870,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -204944,6 +214892,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -204965,6 +214914,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -204986,6 +214936,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -205007,6 +214958,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -205028,6 +214980,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -205049,6 +215002,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -205070,6 +215024,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -205091,6 +215046,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -205113,122 +215069,352 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)": { + "setOrderFee(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "OrderDataBean(String, String, Date, Date, double, BigDecimal, BigDecimal, AccountDataBean, QuoteDataBean, HoldingDataBean)", + "signature": "setOrderFee(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public OrderDataBean(String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding)", + "declaration": "public void setOrderFee(BigDecimal orderFee)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "orderFee", + "annotations": [], + "modifiers": [], + "start_line": 236, + "end_line": 236, + "start_column": 29, + "end_column": 47 + } + ], + "code": "{\n this.orderFee = orderFee;\n }", + "start_line": 236, + "end_line": 238, + "code_start_line": 236, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getQuantity()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getQuantity()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public double getQuantity()", + "parameters": [], + "code": "{\n return quantity;\n }", + "start_line": 216, + "end_line": 218, + "code_start_line": 216, + "return_type": "double", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrderFee()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getOrderFee()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public BigDecimal getOrderFee()", + "parameters": [], + "code": "{\n return orderFee;\n }", + "start_line": 232, + "end_line": 234, + "code_start_line": 232, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getQuote()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getQuote()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public QuoteDataBean getQuote()", + "parameters": [], + "code": "{\n return quote;\n }", + "start_line": 259, + "end_line": 261, + "code_start_line": 259, + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getOrderStatus()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getOrderStatus()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getOrderStatus()", + "parameters": [], + "code": "{\n return orderStatus;\n }", + "start_line": 192, + "end_line": 194, + "code_start_line": 192, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "getSymbol()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getSymbol()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getSymbol()", + "parameters": [], + "code": "{\n if (quote != null) {\n return quote.getSymbol();\n }\n return symbol;\n }", + "start_line": 240, + "end_line": 245, + "code_start_line": 240, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.symbol" + ], + "call_sites": [ + { + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quote", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 242, + "start_column": 20, + "end_line": 242, + "end_column": 36 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "getOrderID()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "getOrderID()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public Integer getOrderID()", + "parameters": [], + "code": "{\n return orderID;\n }", + "start_line": 176, + "end_line": 178, + "code_start_line": 176, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", + "signature": "(java.lang.Integer, java.lang.String, java.lang.String, java.util.Date, java.util.Date, double, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public OrderDataBean(Integer orderID, String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, String symbol)", "parameters": [ + { + "type": "java.lang.Integer", + "name": "orderID", + "annotations": [], + "modifiers": [], + "start_line": 125, + "end_line": 125, + "start_column": 26, + "end_column": 40 + }, { "type": "java.lang.String", "name": "orderType", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 26, - "end_column": 41 + "start_line": 125, + "end_line": 125, + "start_column": 43, + "end_column": 58 }, { "type": "java.lang.String", "name": "orderStatus", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 44, - "end_column": 61 + "start_line": 125, + "end_line": 125, + "start_column": 61, + "end_column": 78 }, { "type": "java.util.Date", "name": "openDate", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 64, - "end_column": 76 + "start_line": 125, + "end_line": 125, + "start_column": 81, + "end_column": 93 }, { "type": "java.util.Date", "name": "completionDate", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 79, - "end_column": 97 + "start_line": 125, + "end_line": 125, + "start_column": 96, + "end_column": 114 }, { "type": "double", "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 100, - "end_column": 114 + "start_line": 125, + "end_line": 125, + "start_column": 117, + "end_column": 131 }, { "type": "java.math.BigDecimal", "name": "price", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 117, - "end_column": 132 + "start_line": 125, + "end_line": 125, + "start_column": 134, + "end_column": 149 }, { "type": "java.math.BigDecimal", "name": "orderFee", "annotations": [], "modifiers": [], - "start_line": 138, - "end_line": 138, - "start_column": 135, - "end_column": 153 - }, - { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, + "start_line": 126, + "end_line": 126, "start_column": 13, - "end_column": 35 - }, - { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", - "annotations": [], - "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 38, - "end_column": 56 + "end_column": 31 }, { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holding", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 139, - "end_line": 139, - "start_column": 59, - "end_column": 81 + "start_line": 126, + "end_line": 126, + "start_column": 34, + "end_column": 46 } ], - "code": "{\n setOrderType(orderType);\n setOrderStatus(orderStatus);\n setOpenDate(openDate);\n setCompletionDate(completionDate);\n setQuantity(quantity);\n setPrice(price);\n setOrderFee(orderFee);\n setAccount(account);\n setQuote(quote);\n setHolding(holding);\n }", - "start_line": 138, - "end_line": 150, - "code_start_line": 139, + "code": "{\n setOrderID(orderID);\n setOrderType(orderType);\n setOrderStatus(orderStatus);\n setOpenDate(openDate);\n setCompletionDate(completionDate);\n setQuantity(quantity);\n setPrice(price);\n setOrderFee(orderFee);\n setSymbol(symbol);\n }", + "start_line": 125, + "end_line": 136, + "code_start_line": 126, "return_type": null, "is_implicit": false, "is_constructor": true, @@ -205236,16 +215422,41 @@ "accessed_fields": [ "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.price", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.holding", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.symbol", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.completionDate", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.account", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderType", "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" ], "call_sites": [ + { + "method_name": "setOrderID", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.Integer" + ], + "argument_expr": [ + "orderID" + ], + "return_type": "", + "callee_signature": "setOrderID(java.lang.Integer)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 127, + "start_column": 9, + "end_line": 127, + "end_column": 27 + }, { "method_name": "setOrderType", "comment": null, @@ -205254,6 +215465,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderType" + ], "return_type": "", "callee_signature": "setOrderType(java.lang.String)", "is_public": true, @@ -205264,9 +215478,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 140, + "start_line": 128, "start_column": 9, - "end_line": 140, + "end_line": 128, "end_column": 31 }, { @@ -205277,6 +215491,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "orderStatus" + ], "return_type": "", "callee_signature": "setOrderStatus(java.lang.String)", "is_public": true, @@ -205287,9 +215504,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 141, + "start_line": 129, "start_column": 9, - "end_line": 141, + "end_line": 129, "end_column": 35 }, { @@ -205300,6 +215517,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "openDate" + ], "return_type": "", "callee_signature": "setOpenDate(java.util.Date)", "is_public": true, @@ -205310,9 +215530,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 142, + "start_line": 130, "start_column": 9, - "end_line": 142, + "end_line": 130, "end_column": 29 }, { @@ -205323,6 +215543,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "completionDate" + ], "return_type": "", "callee_signature": "setCompletionDate(java.util.Date)", "is_public": true, @@ -205333,9 +215556,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 143, + "start_line": 131, "start_column": 9, - "end_line": 143, + "end_line": 131, "end_column": 41 }, { @@ -205346,6 +215569,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quantity" + ], "return_type": "", "callee_signature": "setQuantity(double)", "is_public": true, @@ -205356,9 +215582,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 144, + "start_line": 132, "start_column": 9, - "end_line": 144, + "end_line": 132, "end_column": 29 }, { @@ -205369,6 +215595,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "price" + ], "return_type": "", "callee_signature": "setPrice(java.math.BigDecimal)", "is_public": true, @@ -205379,9 +215608,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 145, + "start_line": 133, "start_column": 9, - "end_line": 145, + "end_line": 133, "end_column": 23 }, { @@ -205392,6 +215621,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "orderFee" + ], "return_type": "", "callee_signature": "setOrderFee(java.math.BigDecimal)", "is_public": true, @@ -205402,67 +215634,24 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 146, + "start_line": 134, "start_column": 9, - "end_line": 146, + "end_line": 134, "end_column": 29 }, { - "method_name": "setAccount", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" - ], - "return_type": "", - "callee_signature": "setAccount(com.ibm.websphere.samples.daytrader.entities.AccountDataBean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 147, - "start_column": 9, - "end_line": 147, - "end_column": 27 - }, - { - "method_name": "setQuote", + "method_name": "setSymbol", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + "java.lang.String" ], - "return_type": "", - "callee_signature": "setQuote(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 148, - "start_column": 9, - "end_line": 148, - "end_column": 23 - }, - { - "method_name": "setHolding", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" + "argument_expr": [ + "symbol" ], "return_type": "", - "callee_signature": "setHolding(com.ibm.websphere.samples.daytrader.entities.HoldingDataBean)", + "callee_signature": "setSymbol(java.lang.String)", "is_public": true, "is_protected": false, "is_private": false, @@ -205471,425 +215660,15 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 149, + "start_line": 135, "start_column": 9, - "end_line": 149, - "end_column": 27 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuantity()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getQuantity()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public double getQuantity()", - "parameters": [], - "code": "{\n return quantity;\n }", - "start_line": 216, - "end_line": 218, - "code_start_line": 216, - "return_type": "double", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOrderFee()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getOrderFee()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public BigDecimal getOrderFee()", - "parameters": [], - "code": "{\n return orderFee;\n }", - "start_line": 232, - "end_line": 234, - "code_start_line": 232, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrderType(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setOrderType(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderType(String orderType)", - "parameters": [ - { - "type": "java.lang.String", - "name": "orderType", - "annotations": [], - "modifiers": [], - "start_line": 188, - "end_line": 188, - "start_column": 30, - "end_column": 45 - } - ], - "code": "{\n this.orderType = orderType;\n }", - "start_line": 188, - "end_line": 190, - "code_start_line": 188, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderType" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getQuote()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getQuote()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public QuoteDataBean getQuote()", - "parameters": [], - "code": "{\n return quote;\n }", - "start_line": 259, - "end_line": 261, - "code_start_line": 259, - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPrice(BigDecimal)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setPrice(BigDecimal)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPrice(BigDecimal price)", - "parameters": [ - { - "type": "java.math.BigDecimal", - "name": "price", - "annotations": [], - "modifiers": [], - "start_line": 228, - "end_line": 228, - "start_column": 26, - "end_column": 41 - } - ], - "code": "{\n this.price = price;\n }", - "start_line": 228, - "end_line": 230, - "code_start_line": 228, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.price" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "equals(Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "equals(Object)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean equals(Object object)", - "parameters": [ - { - "type": "java.lang.Object", - "name": "object", - "annotations": [], - "modifiers": [], - "start_line": 328, - "end_line": 328, - "start_column": 27, - "end_column": 39 - } - ], - "code": "{\n \n if (!(object instanceof OrderDataBean)) {\n return false;\n }\n OrderDataBean other = (OrderDataBean) object;\n if (this.orderID != other.orderID && (this.orderID == null || !this.orderID.equals(other.orderID))) {\n return false;\n }\n return true;\n }", - "start_line": 327, - "end_line": 338, - "code_start_line": 328, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.Integer", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" - ], - "call_sites": [ - { - "method_name": "equals", - "comment": null, - "receiver_expr": "this.orderID", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.Integer" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 334, - "start_column": 72, - "end_line": 334, - "end_column": 105 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "other", - "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", - "initializer": "(OrderDataBean) object", - "start_line": 333, - "start_column": 23, - "end_line": 333, - "end_column": 52 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 5, - "is_entrypoint": false - }, - "getOrderStatus()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getOrderStatus()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getOrderStatus()", - "parameters": [], - "code": "{\n return orderStatus;\n }", - "start_line": 192, - "end_line": 194, - "code_start_line": 192, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrderStatus(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setOrderStatus(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrderStatus(String orderStatus)", - "parameters": [ - { - "type": "java.lang.String", - "name": "orderStatus", - "annotations": [], - "modifiers": [], - "start_line": 196, - "end_line": 196, - "start_column": 32, - "end_column": 49 - } - ], - "code": "{\n this.orderStatus = orderStatus;\n }", - "start_line": 196, - "end_line": 198, - "code_start_line": 196, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getSymbol()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getSymbol()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getSymbol()", - "parameters": [], - "code": "{\n if (quote != null) {\n return quote.getSymbol();\n }\n return symbol;\n }", - "start_line": 240, - "end_line": 245, - "code_start_line": 240, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote", - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.symbol" - ], - "call_sites": [ - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quote", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 242, - "start_column": 20, - "end_line": 242, - "end_column": 36 + "end_line": 135, + "end_column": 25 } ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "getOrderID()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getOrderID()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Integer getOrderID()", - "parameters": [], - "code": "{\n return orderID;\n }", - "start_line": 176, - "end_line": 178, - "code_start_line": 176, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, @@ -205924,6 +215703,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -205947,6 +215727,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"open\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -205970,6 +215753,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"processing\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206039,6 +215825,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getOrderID()", "is_public": true, @@ -206060,6 +215847,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -206081,6 +215869,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -206102,6 +215891,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getOpenDate()", "is_public": true, @@ -206123,6 +215913,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCompletionDate()", "is_public": true, @@ -206144,6 +215935,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getQuantity()", "is_public": true, @@ -206165,6 +215957,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -206186,6 +215979,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOrderFee()", "is_public": true, @@ -206207,6 +216001,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getSymbol()", "is_public": true, @@ -206229,40 +216024,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAccount(AccountDataBean)": { + "setCompletionDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setAccount(AccountDataBean)", + "signature": "setCompletionDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAccount(AccountDataBean account)", + "declaration": "public void setCompletionDate(Date completionDate)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "name": "account", + "type": "java.util.Date", + "name": "completionDate", "annotations": [], "modifiers": [], - "start_line": 255, - "end_line": 255, - "start_column": 28, - "end_column": 50 + "start_line": 212, + "end_line": 212, + "start_column": 35, + "end_column": 53 } ], - "code": "{\n this.account = account;\n }", - "start_line": 255, - "end_line": 257, - "code_start_line": 255, + "code": "{\n this.completionDate = completionDate;\n }", + "start_line": 212, + "end_line": 214, + "code_start_line": 212, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.account" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.completionDate" ], "call_sites": [], "variable_declarations": [], @@ -206271,32 +216066,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOrderFee(BigDecimal)": { + "setPrice(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setOrderFee(BigDecimal)", + "signature": "setPrice(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOrderFee(BigDecimal orderFee)", + "declaration": "public void setPrice(BigDecimal price)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "orderFee", + "name": "price", "annotations": [], "modifiers": [], - "start_line": 236, - "end_line": 236, - "start_column": 29, - "end_column": 47 + "start_line": 228, + "end_line": 228, + "start_column": 26, + "end_column": 41 } ], - "code": "{\n this.orderFee = orderFee;\n }", - "start_line": 236, - "end_line": 238, - "code_start_line": 236, + "code": "{\n this.price = price;\n }", + "start_line": 228, + "end_line": 230, + "code_start_line": 228, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -206304,36 +216099,7 @@ "java.math.BigDecimal" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderFee" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "getOpenDate()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "getOpenDate()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public Date getOpenDate()", - "parameters": [], - "code": "{\n return openDate;\n }", - "start_line": 200, - "end_line": 202, - "code_start_line": 200, - "return_type": "java.util.Date", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.price" ], "call_sites": [], "variable_declarations": [], @@ -206342,40 +216108,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenDate(Date)": { + "setOrderStatus(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setOpenDate(Date)", + "signature": "setOrderStatus(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setOpenDate(Date openDate)", + "declaration": "public void setOrderStatus(String orderStatus)", "parameters": [ { - "type": "java.util.Date", - "name": "openDate", + "type": "java.lang.String", + "name": "orderStatus", "annotations": [], "modifiers": [], - "start_line": 204, - "end_line": 204, - "start_column": 29, - "end_column": 41 + "start_line": 196, + "end_line": 196, + "start_column": 32, + "end_column": 49 } ], - "code": "{\n this.openDate = openDate;\n }", - "start_line": 204, - "end_line": 206, - "code_start_line": 204, + "code": "{\n this.orderStatus = orderStatus;\n }", + "start_line": 196, + "end_line": 198, + "code_start_line": 196, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderStatus" ], "call_sites": [], "variable_declarations": [], @@ -206384,40 +216150,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHolding(HoldingDataBean)": { + "getOpenDate()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setHolding(HoldingDataBean)", + "signature": "getOpenDate()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setHolding(HoldingDataBean holding)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "name": "holding", - "annotations": [], - "modifiers": [], - "start_line": 271, - "end_line": 271, - "start_column": 28, - "end_column": 50 - } - ], - "code": "{\n this.holding = holding;\n }", - "start_line": 271, - "end_line": 273, - "code_start_line": 271, - "return_type": "void", + "declaration": "public Date getOpenDate()", + "parameters": [], + "code": "{\n return openDate;\n }", + "start_line": 200, + "end_line": 202, + "code_start_line": 200, + "return_type": "java.util.Date", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.holding" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" ], "call_sites": [], "variable_declarations": [], @@ -206486,6 +216239,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -206509,6 +216263,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sell\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206609,6 +216366,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -206632,6 +216390,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"completed\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206655,6 +216416,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"alertcompleted\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206678,6 +216442,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"cancelled\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206718,40 +216485,38 @@ "cyclomatic_complexity": 4, "is_entrypoint": false }, - "setQuote(QuoteDataBean)": { + "setQuantity(double)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setQuote(QuoteDataBean)", + "signature": "setQuantity(double)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setQuote(QuoteDataBean quote)", + "declaration": "public void setQuantity(double quantity)", "parameters": [ { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quote", + "type": "double", + "name": "quantity", "annotations": [], "modifiers": [], - "start_line": 263, - "end_line": 263, - "start_column": 26, - "end_column": 44 + "start_line": 220, + "end_line": 220, + "start_column": 29, + "end_column": 43 } ], - "code": "{\n this.quote = quote;\n }", - "start_line": 263, - "end_line": 265, - "code_start_line": 263, + "code": "{\n this.quantity = quantity;\n }", + "start_line": 220, + "end_line": 222, + "code_start_line": 220, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quote" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity" ], "call_sites": [], "variable_declarations": [], @@ -206760,38 +216525,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setQuantity(double)": { + "setOpenDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setQuantity(double)", + "signature": "setOpenDate(java.util.Date)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setQuantity(double quantity)", + "declaration": "public void setOpenDate(Date openDate)", "parameters": [ { - "type": "double", - "name": "quantity", + "type": "java.util.Date", + "name": "openDate", "annotations": [], "modifiers": [], - "start_line": 220, - "end_line": 220, + "start_line": 204, + "end_line": 204, "start_column": 29, - "end_column": 43 + "end_column": 41 } ], - "code": "{\n this.quantity = quantity;\n }", - "start_line": 220, - "end_line": 222, - "code_start_line": 220, + "code": "{\n this.openDate = openDate;\n }", + "start_line": 204, + "end_line": 206, + "code_start_line": 204, "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Date" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.quantity" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.openDate" ], "call_sites": [], "variable_declarations": [], @@ -206831,6 +216598,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderType()", "is_public": true, @@ -206854,6 +216622,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"buy\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -206894,46 +216665,94 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "setCompletionDate(Date)": { + "equals(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/OrderDataBean.java", - "signature": "setCompletionDate(Date)", + "signature": "equals(java.lang.Object)", "comments": [], - "annotations": [], + "annotations": [ + "@Override" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCompletionDate(Date completionDate)", + "declaration": "public boolean equals(Object object)", "parameters": [ { - "type": "java.util.Date", - "name": "completionDate", + "type": "java.lang.Object", + "name": "object", "annotations": [], "modifiers": [], - "start_line": 212, - "end_line": 212, - "start_column": 35, - "end_column": 53 + "start_line": 328, + "end_line": 328, + "start_column": 27, + "end_column": 39 } ], - "code": "{\n this.completionDate = completionDate;\n }", - "start_line": 212, - "end_line": 214, - "code_start_line": 212, - "return_type": "void", + "code": "{\n \n if (!(object instanceof OrderDataBean)) {\n return false;\n }\n OrderDataBean other = (OrderDataBean) object;\n if (this.orderID != other.orderID && (this.orderID == null || !this.orderID.equals(other.orderID))) {\n return false;\n }\n return true;\n }", + "start_line": 327, + "end_line": 338, + "code_start_line": 328, + "return_type": "boolean", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.lang.Integer", + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.completionDate" + "com.ibm.websphere.samples.daytrader.entities.OrderDataBean.orderID" + ], + "call_sites": [ + { + "method_name": "equals", + "comment": null, + "receiver_expr": "this.orderID", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.Integer" + ], + "argument_expr": [ + "other.orderID" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 334, + "start_column": 72, + "end_line": 334, + "end_column": 105 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "other", + "type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", + "initializer": "(OrderDataBean) object", + "start_line": 333, + "start_column": 23, + "end_line": 333, + "end_column": 52 + } ], - "call_sites": [], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false }, "getAccount()": { @@ -206996,6 +216815,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getOrderStatus()", "is_public": true, @@ -207019,6 +216839,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"cancelled\"" + ], "return_type": "", "callee_signature": "compareToIgnoreCase(java.lang.String)", "is_public": true, @@ -207556,120 +217379,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 108, - "end_line": 113, - "code_start_line": 109, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 9, - "end_line": 110, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -207723,6 +217435,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -207745,38 +217461,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", - "start_line": 103, - "end_line": 106, - "code_start_line": 104, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " get the price and print the output.", @@ -207895,6 +217582,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -207916,6 +217606,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -207939,6 +217630,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Servlet2Entity\" + \"
    PingServlet2Entity
    \" + \"
    PingServlet2Entity accesses an EntityManager\" + \" using a PersistenceContext annotaion and then gets the price of a random symbol (generated by TradeConfig)\" + \" through the EntityManager find method\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -207960,6 +217654,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -207981,6 +217676,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -208005,8 +217701,12 @@ "java.lang.Class", "java.lang.String" ], + "argument_expr": [ + "QuoteDataBean.class", + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "find(java.lang.Class, java.lang.Object)", + "callee_signature": "find(java.lang.Class, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -208035,6 +217735,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"web_primtv.PingServlet2Entity.doGet(...): error performing find\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -208058,6 +217761,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -208081,6 +217787,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime + \"
    Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -208104,6 +217813,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Quote Information

    \" + quote.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -208125,6 +217837,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -208148,6 +217861,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -208171,6 +217887,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -208192,6 +217911,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -208216,6 +217936,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Entity.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -208247,6 +217971,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2Entity.doGet(...): error\" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -208268,6 +217996,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -208291,6 +218020,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -208424,6 +218156,151 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Entity EJB path\";\n }", + "start_line": 103, + "end_line": 106, + "code_start_line": 104, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Entity.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 108, + "end_line": 113, + "code_start_line": 109, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Entity.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 9, + "end_line": 110, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -208636,9 +218513,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (11/6/2000\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -208701,6 +218578,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -208723,9 +218604,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingServlet2IncludeRcv.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " do nothing but get included by PingServlet2Include", @@ -208866,9 +218747,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "printGainHTML(BigDecimal)": { + "computeGain(java.math.BigDecimal, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "printGainHTML(BigDecimal)", + "signature": "computeGain(java.math.BigDecimal, java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -208876,23 +218757,127 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static String printGainHTML(BigDecimal gain)", + "declaration": "public static BigDecimal computeGain(BigDecimal currentBalance, BigDecimal openBalance)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "currentBalance", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 42, + "end_column": 66 + }, + { + "type": "java.math.BigDecimal", + "name": "openBalance", + "annotations": [], + "modifiers": [], + "start_line": 32, + "end_line": 32, + "start_column": 69, + "end_column": 90 + } + ], + "code": "{\n return currentBalance.subtract(openBalance).setScale(SCALE);\n }", + "start_line": 32, + "end_line": 34, + "code_start_line": 32, + "return_type": "java.math.BigDecimal", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + ], + "call_sites": [ + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "currentBalance.subtract(openBalance)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "SCALE" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 33, + "start_column": 16, + "end_line": 33, + "end_column": 67 + }, + { + "method_name": "subtract", + "comment": null, + "receiver_expr": "currentBalance", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "openBalance" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "subtract(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 33, + "start_column": 16, + "end_line": 33, + "end_column": 51 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "printGainPercentHTML(java.math.BigDecimal)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", + "signature": "printGainPercentHTML(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public", + "static" + ], + "thrown_exceptions": [], + "declaration": "public static String printGainPercentHTML(BigDecimal gain)", "parameters": [ { "type": "java.math.BigDecimal", "name": "gain", "annotations": [], "modifiers": [], - "start_line": 58, - "end_line": 58, - "start_column": 40, - "end_column": 54 + "start_line": 86, + "end_line": 86, + "start_column": 47, + "end_column": 61 } ], - "code": "{\n String htmlString, arrow;\n if (gain.doubleValue() < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n\n htmlString += gain.setScale(SCALE, ROUND) + \"\";\n return htmlString;\n }", - "start_line": 58, - "end_line": 70, - "code_start_line": 58, + "code": "{\n String htmlString, arrow;\n if (gain.doubleValue() < 0.0) {\n htmlString = \"(\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"(+\";\n arrow = \"arrowup.gif\";\n }\n\n htmlString += gain.setScale(SCALE, ROUND);\n htmlString += \"%)\";\n return htmlString;\n }", + "start_line": 86, + "end_line": 99, + "code_start_line": 86, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, @@ -208910,6 +218895,7 @@ "receiver_expr": "gain", "receiver_type": "java.math.BigDecimal", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doubleValue()", "is_public": true, @@ -208920,9 +218906,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 60, + "start_line": 88, "start_column": 13, - "end_line": 60, + "end_line": 88, "end_column": 30 }, { @@ -208934,6 +218920,10 @@ "", "" ], + "argument_expr": [ + "SCALE", + "ROUND" + ], "return_type": "java.math.BigDecimal", "callee_signature": "setScale(int, int)", "is_public": true, @@ -208944,9 +218934,9 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 68, + "start_line": 96, "start_column": 23, - "end_line": 68, + "end_line": 96, "end_column": 49 } ], @@ -208963,9 +218953,9 @@ "name": "htmlString", "type": "java.lang.String", "initializer": "", - "start_line": 59, + "start_line": 87, "start_column": 16, - "end_line": 59, + "end_line": 87, "end_column": 25 }, { @@ -208980,9 +218970,9 @@ "name": "arrow", "type": "java.lang.String", "initializer": "", - "start_line": 59, + "start_line": 87, "start_column": 28, - "end_line": 59, + "end_line": 87, "end_column": 32 } ], @@ -208991,9 +218981,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "printQuoteLink(String)": { + "computeHoldingsTotal(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "printQuoteLink(String)", + "signature": "computeHoldingsTotal(java.util.Collection)", "comments": [], "annotations": [], "modifiers": [ @@ -209001,38 +218991,380 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static String printQuoteLink(String symbol)", + "declaration": "public static BigDecimal computeHoldingsTotal(Collection holdingDataBeans)", "parameters": [ { - "type": "java.lang.String", - "name": "symbol", + "type": "java.util.Collection", + "name": "holdingDataBeans", "annotations": [], "modifiers": [], - "start_line": 101, - "end_line": 101, - "start_column": 41, - "end_column": 53 + "start_line": 44, + "end_line": 44, + "start_column": 51, + "end_column": 80 } ], - "code": "{\n return \"\" + symbol + \"\";\n }", - "start_line": 101, - "end_line": 103, - "code_start_line": 101, - "return_type": "java.lang.String", + "code": "{\n BigDecimal holdingsTotal = new BigDecimal(0.0).setScale(SCALE);\n if (holdingDataBeans == null) {\n return holdingsTotal;\n }\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n BigDecimal total = holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()));\n holdingsTotal = holdingsTotal.add(total);\n }\n return holdingsTotal.setScale(SCALE);\n }", + "start_line": 44, + "end_line": 56, + "code_start_line": 44, + "return_type": "java.math.BigDecimal", "is_implicit": false, "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], + "referenced_types": [ + "java.math.BigDecimal", + "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "java.util.Iterator" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" + ], + "call_sites": [ + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "new BigDecimal(0.0)", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "SCALE" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 36, + "end_line": 45, + "end_column": 70 + }, + { + "method_name": "iterator", + "comment": null, + "receiver_expr": "holdingDataBeans", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 49, + "start_column": 26, + "end_line": 49, + "end_column": 52 + }, + { + "method_name": "hasNext", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 50, + "start_column": 16, + "end_line": 50, + "end_column": 27 + }, + { + "method_name": "next", + "comment": null, + "receiver_expr": "it", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 51, + "start_column": 61, + "end_line": 51, + "end_column": 69 + }, + { + "method_name": "multiply", + "comment": null, + "receiver_expr": "holdingData.getPurchasePrice()", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "new BigDecimal(holdingData.getQuantity())" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "multiply(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 32, + "end_line": 52, + "end_column": 113 + }, + { + "method_name": "getPurchasePrice", + "comment": null, + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.math.BigDecimal", + "callee_signature": "getPurchasePrice()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 32, + "end_line": 52, + "end_column": 61 + }, + { + "method_name": "getQuantity", + "comment": null, + "receiver_expr": "holdingData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getQuantity()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 87, + "end_line": 52, + "end_column": 111 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "holdingsTotal", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "total" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "add(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 53, + "start_column": 29, + "end_line": 53, + "end_column": 52 + }, + { + "method_name": "setScale", + "comment": null, + "receiver_expr": "holdingsTotal", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "SCALE" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "setScale(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 55, + "start_column": 16, + "end_line": 55, + "end_column": 44 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "0.0" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 36, + "end_line": 45, + "end_column": 54 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.math.BigDecimal", + "argument_types": [ + "" + ], + "argument_expr": [ + "holdingData.getQuantity()" + ], + "return_type": "java.math.BigDecimal", + "callee_signature": "BigDecimal(double)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 72, + "end_line": 52, + "end_column": 112 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingsTotal", + "type": "java.math.BigDecimal", + "initializer": "new BigDecimal(0.0).setScale(SCALE)", + "start_line": 45, + "start_column": 20, + "end_line": 45, + "end_column": 70 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "it", + "type": "java.util.Iterator", + "initializer": "holdingDataBeans.iterator()", + "start_line": 49, + "start_column": 21, + "end_line": 49, + "end_column": 52 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "holdingData", + "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", + "initializer": "(HoldingDataBean) it.next()", + "start_line": 51, + "start_column": 29, + "end_line": 51, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "total", + "type": "java.math.BigDecimal", + "initializer": "holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()))", + "start_line": 52, + "start_column": 24, + "end_line": 52, + "end_column": 113 + } + ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 3, "is_entrypoint": false }, - "computeGain(BigDecimal, BigDecimal)": { + "printGainHTML(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "computeGain(BigDecimal, BigDecimal)", + "signature": "printGainHTML(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -209040,51 +219372,43 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static BigDecimal computeGain(BigDecimal currentBalance, BigDecimal openBalance)", + "declaration": "public static String printGainHTML(BigDecimal gain)", "parameters": [ { "type": "java.math.BigDecimal", - "name": "currentBalance", - "annotations": [], - "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 42, - "end_column": 66 - }, - { - "type": "java.math.BigDecimal", - "name": "openBalance", + "name": "gain", "annotations": [], "modifiers": [], - "start_line": 32, - "end_line": 32, - "start_column": 69, - "end_column": 90 + "start_line": 58, + "end_line": 58, + "start_column": 40, + "end_column": 54 } ], - "code": "{\n return currentBalance.subtract(openBalance).setScale(SCALE);\n }", - "start_line": 32, - "end_line": 34, - "code_start_line": 32, - "return_type": "java.math.BigDecimal", + "code": "{\n String htmlString, arrow;\n if (gain.doubleValue() < 0.0) {\n htmlString = \"\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"\";\n arrow = \"arrowup.gif\";\n }\n\n htmlString += gain.setScale(SCALE, ROUND) + \"\";\n return htmlString;\n }", + "start_line": 58, + "end_line": 70, + "code_start_line": 58, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" ], "call_sites": [ { - "method_name": "setScale", + "method_name": "doubleValue", "comment": null, - "receiver_expr": "currentBalance.subtract(openBalance)", + "receiver_expr": "gain", "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "doubleValue()", "is_public": true, "is_protected": false, "is_private": false, @@ -209093,21 +219417,26 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 33, - "start_column": 16, - "end_line": 33, - "end_column": 67 + "start_line": 60, + "start_column": 13, + "end_line": 60, + "end_column": 30 }, { - "method_name": "subtract", + "method_name": "setScale", "comment": null, - "receiver_expr": "currentBalance", + "receiver_expr": "gain", "receiver_type": "java.math.BigDecimal", "argument_types": [ - "java.math.BigDecimal" + "", + "" + ], + "argument_expr": [ + "SCALE", + "ROUND" ], "return_type": "java.math.BigDecimal", - "callee_signature": "subtract(java.math.BigDecimal)", + "callee_signature": "setScale(int, int)", "is_public": true, "is_protected": false, "is_private": false, @@ -209116,21 +219445,56 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 33, + "start_line": 68, + "start_column": 23, + "end_line": 68, + "end_column": 49 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "htmlString", + "type": "java.lang.String", + "initializer": "", + "start_line": 59, "start_column": 16, - "end_line": 33, - "end_column": 51 + "end_line": 59, + "end_column": 25 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "arrow", + "type": "java.lang.String", + "initializer": "", + "start_line": 59, + "start_column": 28, + "end_line": 59, + "end_column": 32 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 2, "is_entrypoint": false }, - "computeGainPercent(BigDecimal, BigDecimal)": { + "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "computeGainPercent(BigDecimal, BigDecimal)", + "signature": "computeGainPercent(java.math.BigDecimal, java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -209184,6 +219548,7 @@ "receiver_expr": "openBalance", "receiver_type": "java.math.BigDecimal", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "doubleValue()", "is_public": true, @@ -209207,6 +219572,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "HUNDRED" + ], "return_type": "java.math.BigDecimal", "callee_signature": "multiply(java.math.BigDecimal)", "is_public": true, @@ -209230,6 +219598,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "ONE" + ], "return_type": "java.math.BigDecimal", "callee_signature": "subtract(java.math.BigDecimal)", "is_public": true, @@ -209254,6 +219625,10 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "openBalance", + "ROUND" + ], "return_type": "java.math.BigDecimal", "callee_signature": "divide(java.math.BigDecimal, int)", "is_public": true, @@ -209294,9 +219669,9 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "printGainPercentHTML(BigDecimal)": { + "printQuoteLink(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "printGainPercentHTML(BigDecimal)", + "signature": "printQuoteLink(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -209304,119 +219679,33 @@ "static" ], "thrown_exceptions": [], - "declaration": "public static String printGainPercentHTML(BigDecimal gain)", + "declaration": "public static String printQuoteLink(String symbol)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "gain", + "type": "java.lang.String", + "name": "symbol", "annotations": [], "modifiers": [], - "start_line": 86, - "end_line": 86, - "start_column": 47, - "end_column": 61 + "start_line": 101, + "end_line": 101, + "start_column": 41, + "end_column": 53 } ], - "code": "{\n String htmlString, arrow;\n if (gain.doubleValue() < 0.0) {\n htmlString = \"(\";\n arrow = \"arrowdown.gif\";\n } else {\n htmlString = \"(+\";\n arrow = \"arrowup.gif\";\n }\n\n htmlString += gain.setScale(SCALE, ROUND);\n htmlString += \"%)\";\n return htmlString;\n }", - "start_line": 86, - "end_line": 99, - "code_start_line": 86, + "code": "{\n return \"\" + symbol + \"\";\n }", + "start_line": 101, + "end_line": 103, + "code_start_line": 101, "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.ROUND", - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" - ], - "call_sites": [ - { - "method_name": "doubleValue", - "comment": null, - "receiver_expr": "gain", - "receiver_type": "java.math.BigDecimal", - "argument_types": [], - "return_type": "", - "callee_signature": "doubleValue()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 88, - "start_column": 13, - "end_line": 88, - "end_column": 30 - }, - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "gain", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "", - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int, int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 96, - "start_column": 23, - "end_line": 96, - "end_column": 49 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "htmlString", - "type": "java.lang.String", - "initializer": "", - "start_line": 87, - "start_column": 16, - "end_line": 87, - "end_column": 25 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "arrow", - "type": "java.lang.String", - "initializer": "", - "start_line": 87, - "start_column": 28, - "end_line": 87, - "end_column": 32 - } - ], + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 2, + "cyclomatic_complexity": 1, "is_entrypoint": false }, "printChangeHTML(double)": { @@ -209494,364 +219783,6 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": false - }, - "computeHoldingsTotal(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/FinancialUtils.java", - "signature": "computeHoldingsTotal(Collection)", - "comments": [], - "annotations": [], - "modifiers": [ - "public", - "static" - ], - "thrown_exceptions": [], - "declaration": "public static BigDecimal computeHoldingsTotal(Collection holdingDataBeans)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "holdingDataBeans", - "annotations": [], - "modifiers": [], - "start_line": 44, - "end_line": 44, - "start_column": 51, - "end_column": 80 - } - ], - "code": "{\n BigDecimal holdingsTotal = new BigDecimal(0.0).setScale(SCALE);\n if (holdingDataBeans == null) {\n return holdingsTotal;\n }\n Iterator it = holdingDataBeans.iterator();\n while (it.hasNext()) {\n HoldingDataBean holdingData = (HoldingDataBean) it.next();\n BigDecimal total = holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()));\n holdingsTotal = holdingsTotal.add(total);\n }\n return holdingsTotal.setScale(SCALE);\n }", - "start_line": 44, - "end_line": 56, - "code_start_line": 44, - "return_type": "java.math.BigDecimal", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.math.BigDecimal", - "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "java.util.Iterator" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.FinancialUtils.SCALE" - ], - "call_sites": [ - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "new BigDecimal(0.0)", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 36, - "end_line": 45, - "end_column": 70 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "holdingDataBeans", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 49, - "start_column": 26, - "end_line": 49, - "end_column": 52 - }, - { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 50, - "start_column": 16, - "end_line": 50, - "end_column": 27 - }, - { - "method_name": "next", - "comment": null, - "receiver_expr": "it", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "callee_signature": "next()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 51, - "start_column": 61, - "end_line": 51, - "end_column": 69 - }, - { - "method_name": "multiply", - "comment": null, - "receiver_expr": "holdingData.getPurchasePrice()", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "multiply(java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 32, - "end_line": 52, - "end_column": 113 - }, - { - "method_name": "getPurchasePrice", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "java.math.BigDecimal", - "callee_signature": "getPurchasePrice()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 32, - "end_line": 52, - "end_column": 61 - }, - { - "method_name": "getQuantity", - "comment": null, - "receiver_expr": "holdingData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "argument_types": [], - "return_type": "", - "callee_signature": "getQuantity()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 87, - "end_line": 52, - "end_column": 111 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "holdingsTotal", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "java.math.BigDecimal" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "add(java.math.BigDecimal)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 53, - "start_column": 29, - "end_line": 53, - "end_column": 52 - }, - { - "method_name": "setScale", - "comment": null, - "receiver_expr": "holdingsTotal", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "setScale(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 55, - "start_column": 16, - "end_line": 55, - "end_column": 44 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 36, - "end_line": 45, - "end_column": 54 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.math.BigDecimal", - "argument_types": [ - "" - ], - "return_type": "java.math.BigDecimal", - "callee_signature": "BigDecimal(double)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 52, - "start_column": 72, - "end_line": 52, - "end_column": 112 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingsTotal", - "type": "java.math.BigDecimal", - "initializer": "new BigDecimal(0.0).setScale(SCALE)", - "start_line": 45, - "start_column": 20, - "end_line": 45, - "end_column": 70 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "it", - "type": "java.util.Iterator", - "initializer": "holdingDataBeans.iterator()", - "start_line": 49, - "start_column": 21, - "end_line": 49, - "end_column": 52 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "holdingData", - "type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", - "initializer": "(HoldingDataBean) it.next()", - "start_line": 51, - "start_column": 29, - "end_line": 51, - "end_column": 69 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "total", - "type": "java.math.BigDecimal", - "initializer": "holdingData.getPurchasePrice().multiply(new BigDecimal(holdingData.getQuantity()))", - "start_line": 52, - "start_column": 24, - "end_line": 52, - "end_column": 113 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false } }, "field_declarations": [ @@ -210179,6 +220110,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummarySingleton:updateMarketSummary -- updating market summary\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -210200,6 +220134,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getRunTimeMode()", "is_public": true, @@ -210223,6 +220158,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"MarketSummarySingleton:updateMarketSummary -- Not EJB3 Mode, so not updating\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -210244,6 +220182,7 @@ "receiver_expr": "entityManager", "receiver_type": "javax.persistence.EntityManager", "argument_types": [], + "argument_expr": [], "return_type": "javax.persistence.criteria.CriteriaBuilder", "callee_signature": "getCriteriaBuilder()", "is_public": true, @@ -210267,8 +220206,11 @@ "argument_types": [ "java.lang.Class" ], + "argument_expr": [ + "QuoteDataBean.class" + ], "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "createQuery(java.lang.Class)", + "callee_signature": "createQuery(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -210290,8 +220232,11 @@ "argument_types": [ "java.lang.Class" ], + "argument_expr": [ + "QuoteDataBean.class" + ], "return_type": "javax.persistence.criteria.Root", - "callee_signature": "from(java.lang.Class)", + "callee_signature": "from(java.lang.Class)", "is_public": true, "is_protected": false, "is_private": false, @@ -210313,8 +220258,11 @@ "argument_types": [ "javax.persistence.criteria.Order" ], + "argument_expr": [ + "criteriaBuilder.desc(quoteRoot.get(\"change1\"))" + ], "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "orderBy(javax.persistence.criteria.Order...)", + "callee_signature": "orderBy(javax.persistence.criteria.Order[])", "is_public": true, "is_protected": false, "is_private": false, @@ -210336,8 +220284,11 @@ "argument_types": [ "javax.persistence.criteria.Path" ], + "argument_expr": [ + "quoteRoot.get(\"change1\")" + ], "return_type": "javax.persistence.criteria.Order", - "callee_signature": "desc(javax.persistence.criteria.Expression)", + "callee_signature": "desc(javax.persistence.criteria.Expression)", "is_public": true, "is_protected": false, "is_private": false, @@ -210359,6 +220310,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"change1\"" + ], "return_type": "javax.persistence.criteria.Path", "callee_signature": "get(java.lang.String)", "is_public": true, @@ -210382,8 +220336,11 @@ "argument_types": [ "javax.persistence.criteria.Root" ], + "argument_expr": [ + "quoteRoot" + ], "return_type": "javax.persistence.criteria.CriteriaQuery", - "callee_signature": "select(javax.persistence.criteria.Selection)", + "callee_signature": "select(javax.persistence.criteria.Selection)", "is_public": true, "is_protected": false, "is_private": false, @@ -210405,8 +220362,11 @@ "argument_types": [ "javax.persistence.criteria.CriteriaQuery" ], + "argument_expr": [ + "criteriaQuery" + ], "return_type": "javax.persistence.TypedQuery", - "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", + "callee_signature": "createQuery(javax.persistence.criteria.CriteriaQuery)", "is_public": true, "is_protected": false, "is_private": false, @@ -210426,6 +220386,7 @@ "receiver_expr": "q", "receiver_type": "javax.persistence.TypedQuery", "argument_types": [], + "argument_expr": [], "return_type": "java.util.List", "callee_signature": "getResultList()", "is_public": true, @@ -210449,6 +220410,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Warning: The database has not been configured. If this is the first time the application has been started, please create and populate the database tables. Then restart the server.\"" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -210472,8 +220436,11 @@ "argument_types": [ "" ], + "argument_expr": [ + "new QuoteDataBean[quotes.size()]" + ], "return_type": "", - "callee_signature": "toArray(T[])", + "callee_signature": "toArray(java.lang.Object[])", "is_public": true, "is_protected": false, "is_private": false, @@ -210493,6 +220460,7 @@ "receiver_expr": "quotes", "receiver_type": "java.util.List", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -210516,8 +220484,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quoteArray[i]" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -210539,8 +220510,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" ], + "argument_expr": [ + "quoteArray[i]" + ], "return_type": "", - "callee_signature": "add(E)", + "callee_signature": "add(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -210560,6 +220534,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getPrice()", "is_public": true, @@ -210581,6 +220556,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpen()", "is_public": true, @@ -210602,6 +220578,7 @@ "receiver_expr": "quote", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getVolume()", "is_public": true, @@ -210625,6 +220602,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "price" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -210648,6 +220628,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "open" + ], "return_type": "java.math.BigDecimal", "callee_signature": "add(java.math.BigDecimal)", "is_public": true, @@ -210672,6 +220655,10 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "new BigDecimal(quoteArray.length)", + "FinancialUtils.ROUND" + ], "return_type": "java.math.BigDecimal", "callee_signature": "divide(java.math.BigDecimal, int)", "is_public": true, @@ -210696,6 +220683,10 @@ "java.math.BigDecimal", "" ], + "argument_expr": [ + "new BigDecimal(quoteArray.length)", + "FinancialUtils.ROUND" + ], "return_type": "java.math.BigDecimal", "callee_signature": "divide(java.math.BigDecimal, int)", "is_public": true, @@ -210719,6 +220710,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean" ], + "argument_expr": [ + "new MarketSummaryDataBean(TSIA, openTSIA, totalVolume, topGainers, topLosers)" + ], "return_type": "", "callee_signature": "setMarketSummaryDataBean(com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean)", "is_public": true, @@ -210743,8 +220737,12 @@ "java.lang.String", "javax.enterprise.event.NotificationOptions" ], + "argument_expr": [ + "\"MarketSummaryUpdate\"", + "NotificationOptions.builder().setExecutor(mes).build()" + ], "return_type": "java.util.concurrent.CompletionStage", - "callee_signature": "fireAsync(U, javax.enterprise.event.NotificationOptions)", + "callee_signature": "fireAsync(T, javax.enterprise.event.NotificationOptions)", "is_public": true, "is_protected": false, "is_private": false, @@ -210764,6 +220762,7 @@ "receiver_expr": "NotificationOptions.builder().setExecutor(mes)", "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions", "callee_signature": "build()", "is_public": true, @@ -210787,6 +220786,9 @@ "argument_types": [ "javax.enterprise.concurrent.ManagedExecutorService" ], + "argument_expr": [ + "mes" + ], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "setExecutor(java.util.concurrent.Executor)", "is_public": true, @@ -210808,6 +220810,7 @@ "receiver_expr": "NotificationOptions", "receiver_type": "javax.enterprise.event.NotificationOptions", "argument_types": [], + "argument_expr": [], "return_type": "javax.enterprise.event.NotificationOptions.Builder", "callee_signature": "builder()", "is_public": true, @@ -210831,6 +220834,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "5" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -210854,6 +220860,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "5" + ], "return_type": "java.util.ArrayList", "callee_signature": "ArrayList(int)", "is_public": false, @@ -210877,6 +220886,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quoteArray.length" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(int)", "is_public": false, @@ -210900,6 +220912,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "quoteArray.length" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(int)", "is_public": false, @@ -210927,8 +220942,15 @@ "java.util.ArrayList", "java.util.ArrayList" ], + "argument_expr": [ + "TSIA", + "openTSIA", + "totalVolume", + "topGainers", + "topLosers" + ], "return_type": "com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean", - "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", + "callee_signature": "MarketSummaryDataBean(java.math.BigDecimal, java.math.BigDecimal, double, java.util.Collection, java.util.Collection)", "is_public": false, "is_protected": false, "is_private": false, @@ -211239,9 +221261,9 @@ "cyclomatic_complexity": 7, "is_entrypoint": false }, - "setMarketSummaryDataBean(MarketSummaryDataBean)": { + "setMarketSummaryDataBean(com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/ejb3/MarketSummarySingleton.java", - "signature": "setMarketSummaryDataBean(MarketSummaryDataBean)", + "signature": "setMarketSummaryDataBean(com.ibm.websphere.samples.daytrader.beans.MarketSummaryDataBean)", "comments": [], "annotations": [ "@Lock(LockType.WRITE)" @@ -211314,6 +221336,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "updateMarketSummary()", "is_public": false, @@ -211806,6 +221829,295 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { + "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "(int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public AccountDataBean(int loginCount, int logoutCount, Date lastLogin, Date creationDate, BigDecimal balance, BigDecimal openBalance, String profileID)", + "parameters": [ + { + "type": "int", + "name": "loginCount", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 28, + "end_column": 41 + }, + { + "type": "int", + "name": "logoutCount", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 44, + "end_column": 58 + }, + { + "type": "java.util.Date", + "name": "lastLogin", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 61, + "end_column": 74 + }, + { + "type": "java.util.Date", + "name": "creationDate", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 77, + "end_column": 93 + }, + { + "type": "java.math.BigDecimal", + "name": "balance", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 96, + "end_column": 113 + }, + { + "type": "java.math.BigDecimal", + "name": "openBalance", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 116, + "end_column": 137 + }, + { + "type": "java.lang.String", + "name": "profileID", + "annotations": [], + "modifiers": [], + "start_line": 117, + "end_line": 117, + "start_column": 140, + "end_column": 155 + } + ], + "code": "{\n setLoginCount(loginCount);\n setLogoutCount(logoutCount);\n setLastLogin(lastLogin);\n setCreationDate(creationDate);\n setBalance(balance);\n setOpenBalance(openBalance);\n setProfileID(profileID);\n }", + "start_line": 117, + "end_line": 125, + "code_start_line": 117, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.lastLogin", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.creationDate", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profileID", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.loginCount", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.balance", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.logoutCount", + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.openBalance" + ], + "call_sites": [ + { + "method_name": "setLoginCount", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "loginCount" + ], + "return_type": "", + "callee_signature": "setLoginCount(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 9, + "end_line": 118, + "end_column": 33 + }, + { + "method_name": "setLogoutCount", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "" + ], + "argument_expr": [ + "logoutCount" + ], + "return_type": "", + "callee_signature": "setLogoutCount(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 9, + "end_line": 119, + "end_column": 35 + }, + { + "method_name": "setLastLogin", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.util.Date" + ], + "argument_expr": [ + "lastLogin" + ], + "return_type": "", + "callee_signature": "setLastLogin(java.util.Date)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 9, + "end_line": 120, + "end_column": 31 + }, + { + "method_name": "setCreationDate", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.util.Date" + ], + "argument_expr": [ + "creationDate" + ], + "return_type": "", + "callee_signature": "setCreationDate(java.util.Date)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 9, + "end_line": 121, + "end_column": 37 + }, + { + "method_name": "setBalance", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "balance" + ], + "return_type": "", + "callee_signature": "setBalance(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 9, + "end_line": 122, + "end_column": 27 + }, + { + "method_name": "setOpenBalance", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.math.BigDecimal" + ], + "argument_expr": [ + "openBalance" + ], + "return_type": "", + "callee_signature": "setOpenBalance(java.math.BigDecimal)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 123, + "start_column": 9, + "end_line": 123, + "end_column": 35 + }, + { + "method_name": "setProfileID", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "profileID" + ], + "return_type": "", + "callee_signature": "setProfileID(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 124, + "start_column": 9, + "end_line": 124, + "end_column": 31 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "setLoginCount(int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "setLoginCount(int)", @@ -211958,6 +222270,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -211981,6 +222296,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "10000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -212004,6 +222322,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "10000" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -212034,6 +222355,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "Integer.MAX_VALUE" + ], "return_type": "", "callee_signature": "rndInt(int)", "is_public": true, @@ -212057,6 +222381,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -212080,6 +222407,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "1000000.0f" + ], "return_type": "java.math.BigDecimal", "callee_signature": "rndBigDecimal(float)", "is_public": true, @@ -212101,6 +222431,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -212131,6 +222462,16 @@ "java.math.BigDecimal", "java.lang.String" ], + "argument_expr": [ + "// accountID\nnew Integer(TradeConfig.rndInt(100000))", + "// loginCount\nTradeConfig.rndInt(10000)", + "// logoutCount\nTradeConfig.rndInt(10000)", + "// lastLogin\nnew java.util.Date()", + "// creationDate\nnew java.util.Date(TradeConfig.rndInt(Integer.MAX_VALUE))", + "// balance\nTradeConfig.rndBigDecimal(1000000.0f)", + "// openBalance\nTradeConfig.rndBigDecimal(1000000.0f)", + "// profileID\nTradeConfig.rndUserID()" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "AccountDataBean(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", "is_public": false, @@ -212154,6 +222495,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(100000)" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -212175,6 +222519,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -212198,6 +222543,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "TradeConfig.rndInt(Integer.MAX_VALUE)" + ], "return_type": "java.util.Date", "callee_signature": "Date(long)", "is_public": false, @@ -212260,40 +222608,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setLastLogin(Date)": { + "setAccountID(java.lang.Integer)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setLastLogin(Date)", + "signature": "setAccountID(java.lang.Integer)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setLastLogin(Date lastLogin)", + "declaration": "public void setAccountID(Integer accountID)", "parameters": [ { - "type": "java.util.Date", - "name": "lastLogin", + "type": "java.lang.Integer", + "name": "accountID", "annotations": [], "modifiers": [], - "start_line": 185, - "end_line": 185, + "start_line": 161, + "end_line": 161, "start_column": 30, - "end_column": 43 + "end_column": 46 } ], - "code": "{\n this.lastLogin = lastLogin;\n }", - "start_line": 185, - "end_line": 187, - "code_start_line": 185, + "code": "{\n this.accountID = accountID;\n }", + "start_line": 161, + "end_line": 163, + "code_start_line": 161, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.util.Date" + "java.lang.Integer" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.lastLogin" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.accountID" ], "call_sites": [], "variable_declarations": [], @@ -212302,347 +222650,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "login(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "login(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void login(String password)", - "parameters": [ - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 249, - "end_line": 249, - "start_column": 23, - "end_column": 37 - } - ], - "code": "{\n AccountProfileDataBean profile = getProfile();\n if ((profile == null) || (profile.getPassword().equals(password) == false)) {\n String error = \"AccountBean:Login failure for account: \" + getAccountID()\n + ((profile == null) ? \"null AccountProfile\" : \"\\n\\tIncorrect password-->\" + profile.getUserID() + \":\" + profile.getPassword());\n throw new EJBException(error);\n }\n\n setLastLogin(new Timestamp(System.currentTimeMillis()));\n setLoginCount(getLoginCount() + 1);\n }", - "start_line": 249, - "end_line": 259, - "code_start_line": 249, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String", - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profile" - ], - "call_sites": [ - { - "method_name": "getProfile", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "callee_signature": "getProfile()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 250, - "start_column": 42, - "end_line": 250, - "end_column": 53 - }, - { - "method_name": "equals", - "comment": null, - "receiver_expr": "profile.getPassword()", - "receiver_type": "java.lang.String", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 251, - "start_column": 35, - "end_line": 251, - "end_column": 72 - }, - { - "method_name": "getPassword", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 251, - "start_column": 35, - "end_line": 251, - "end_column": 55 - }, - { - "method_name": "getAccountID", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "getAccountID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 252, - "start_column": 72, - "end_line": 252, - "end_column": 85 - }, - { - "method_name": "getUserID", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getUserID()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 253, - "start_column": 98, - "end_line": 253, - "end_column": 116 - }, - { - "method_name": "getPassword", - "comment": null, - "receiver_expr": "profile", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getPassword()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 253, - "start_column": 126, - "end_line": 253, - "end_column": 146 - }, - { - "method_name": "setLastLogin", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Timestamp" - ], - "return_type": "", - "callee_signature": "setLastLogin(java.util.Date)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 257, - "start_column": 9, - "end_line": 257, - "end_column": 63 - }, - { - "method_name": "currentTimeMillis", - "comment": null, - "receiver_expr": "System", - "receiver_type": "java.lang.System", - "argument_types": [], - "return_type": "", - "callee_signature": "currentTimeMillis()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 257, - "start_column": 36, - "end_line": 257, - "end_column": 61 - }, - { - "method_name": "setLoginCount", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], - "return_type": "", - "callee_signature": "setLoginCount(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 258, - "start_column": 9, - "end_line": 258, - "end_column": 42 - }, - { - "method_name": "getLoginCount", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [], - "return_type": "", - "callee_signature": "getLoginCount()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 258, - "start_column": 23, - "end_line": 258, - "end_column": 37 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "javax.ejb.EJBException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "javax.ejb.EJBException", - "callee_signature": "EJBException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 254, - "start_column": 19, - "end_line": 254, - "end_column": 41 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.sql.Timestamp", - "argument_types": [ - "" - ], - "return_type": "java.sql.Timestamp", - "callee_signature": "Timestamp(long)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 257, - "start_column": 22, - "end_line": 257, - "end_column": 62 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "profile", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "initializer": "getProfile()", - "start_line": 250, - "start_column": 32, - "end_line": 250, - "end_column": 53 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "error", - "type": "java.lang.String", - "initializer": "\"AccountBean:Login failure for account: \" + getAccountID() + ((profile == null) ? \"null AccountProfile\" : \"\\n\\tIncorrect password-->\" + profile.getUserID() + \":\" + profile.getPassword())", - "start_line": 252, - "start_column": 20, - "end_line": 253, - "end_column": 147 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 4, - "is_entrypoint": false - }, "hashCode()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "hashCode()", @@ -212676,6 +222683,7 @@ "receiver_expr": "this.accountID", "receiver_type": "java.lang.Integer", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hashCode()", "is_public": true, @@ -212716,6 +222724,48 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, + "setLastLogin(java.util.Date)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "setLastLogin(java.util.Date)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setLastLogin(Date lastLogin)", + "parameters": [ + { + "type": "java.util.Date", + "name": "lastLogin", + "annotations": [], + "modifiers": [], + "start_line": 185, + "end_line": 185, + "start_column": 30, + "end_column": 43 + } + ], + "code": "{\n this.lastLogin = lastLogin;\n }", + "start_line": 185, + "end_line": 187, + "code_start_line": 185, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Date" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.lastLogin" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "print()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "print()", @@ -212745,6 +222795,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "this.toString()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -212766,6 +222819,7 @@ "receiver_expr": "this", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -212790,7 +222844,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "AccountDataBean()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -212815,48 +222869,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setHoldings(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setHoldings(Collection)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setHoldings(Collection holdings)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "holdings", - "annotations": [], - "modifiers": [], - "start_line": 237, - "end_line": 237, - "start_column": 29, - "end_column": 64 - } - ], - "code": "{\n this.holdings = holdings;\n }", - "start_line": 237, - "end_line": 239, - "code_start_line": 237, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.holdings" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getCreationDate()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "getCreationDate()", @@ -212942,6 +222954,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -212963,6 +222976,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLoginCount()", "is_public": true, @@ -212984,6 +222998,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLogoutCount()", "is_public": true, @@ -213005,6 +223020,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getLastLogin()", "is_public": true, @@ -213026,6 +223042,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCreationDate()", "is_public": true, @@ -213047,6 +223064,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getBalance()", "is_public": true, @@ -213068,6 +223086,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenBalance()", "is_public": true, @@ -213089,6 +223108,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getProfileID()", "is_public": true, @@ -213140,40 +223160,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setAccountID(Integer)": { + "getLoginCount()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setAccountID(Integer)", + "signature": "getLoginCount()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setAccountID(Integer accountID)", - "parameters": [ - { - "type": "java.lang.Integer", - "name": "accountID", - "annotations": [], - "modifiers": [], - "start_line": 161, - "end_line": 161, - "start_column": 30, - "end_column": 46 - } - ], - "code": "{\n this.accountID = accountID;\n }", - "start_line": 161, - "end_line": 163, - "code_start_line": 161, - "return_type": "void", + "declaration": "public int getLoginCount()", + "parameters": [], + "code": "{\n return loginCount;\n }", + "start_line": 165, + "end_line": 167, + "code_start_line": 165, + "return_type": "int", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.Integer" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.accountID" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.loginCount" ], "call_sites": [], "variable_declarations": [], @@ -213182,27 +223189,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getLoginCount()": { + "setHoldings(java.util.Collection)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "getLoginCount()", + "signature": "setHoldings(java.util.Collection)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public int getLoginCount()", - "parameters": [], - "code": "{\n return loginCount;\n }", - "start_line": 165, - "end_line": 167, - "code_start_line": 165, - "return_type": "int", + "declaration": "public void setHoldings(Collection holdings)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "holdings", + "annotations": [], + "modifiers": [], + "start_line": 237, + "end_line": 237, + "start_column": 29, + "end_column": 64 + } + ], + "code": "{\n this.holdings = holdings;\n }", + "start_line": 237, + "end_line": 239, + "code_start_line": 237, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.util.Collection" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.loginCount" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.holdings" ], "call_sites": [], "variable_declarations": [], @@ -213240,91 +223260,46 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "equals(Object)": { + "setCreationDate(java.util.Date)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "equals(Object)", + "signature": "setCreationDate(java.util.Date)", "comments": [], - "annotations": [ - "@Override" - ], + "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public boolean equals(Object object)", + "declaration": "public void setCreationDate(Date creationDate)", "parameters": [ { - "type": "java.lang.Object", - "name": "object", + "type": "java.util.Date", + "name": "creationDate", "annotations": [], "modifiers": [], - "start_line": 273, - "end_line": 273, - "start_column": 27, - "end_column": 39 + "start_line": 193, + "end_line": 193, + "start_column": 33, + "end_column": 49 } ], - "code": "{\n \n if (!(object instanceof AccountDataBean)) {\n return false;\n }\n AccountDataBean other = (AccountDataBean) object;\n\n if (this.accountID != other.accountID && (this.accountID == null || !this.accountID.equals(other.accountID))) {\n return false;\n }\n\n return true;\n }", - "start_line": 272, - "end_line": 285, - "code_start_line": 273, - "return_type": "boolean", + "code": "{\n this.creationDate = creationDate;\n }", + "start_line": 193, + "end_line": 195, + "code_start_line": 193, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "java.lang.Integer" + "java.util.Date" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.accountID" - ], - "call_sites": [ - { - "method_name": "equals", - "comment": null, - "receiver_expr": "this.accountID", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.Integer" - ], - "return_type": "", - "callee_signature": "equals(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 280, - "start_column": 78, - "end_line": 280, - "end_column": 115 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "other", - "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", - "initializer": "(AccountDataBean) object", - "start_line": 278, - "start_column": 25, - "end_line": 278, - "end_column": 56 - } + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.creationDate" ], + "call_sites": [], + "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 5, + "cyclomatic_complexity": 1, "is_entrypoint": false }, "logout()": { @@ -213356,6 +223331,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "getLogoutCount() + 1" + ], "return_type": "", "callee_signature": "setLogoutCount(int)", "is_public": true, @@ -213377,6 +223355,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLogoutCount()", "is_public": true, @@ -213428,6 +223407,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -213449,6 +223429,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLoginCount()", "is_public": true, @@ -213470,6 +223451,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getLogoutCount()", "is_public": true, @@ -213491,6 +223473,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getLastLogin()", "is_public": true, @@ -213512,6 +223495,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "getCreationDate()", "is_public": true, @@ -213533,6 +223517,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getBalance()", "is_public": true, @@ -213554,6 +223539,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.math.BigDecimal", "callee_signature": "getOpenBalance()", "is_public": true, @@ -213575,6 +223561,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getProfileID()", "is_public": true, @@ -213597,9 +223584,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setOpenBalance(BigDecimal)": { + "setOpenBalance(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setOpenBalance(BigDecimal)", + "signature": "setOpenBalance(java.math.BigDecimal)", "comments": [], "annotations": [], "modifiers": [ @@ -213668,9 +223655,51 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)": { + "setBalance(java.math.BigDecimal)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "AccountDataBean(Integer, int, int, Date, Date, BigDecimal, BigDecimal, String)", + "signature": "setBalance(java.math.BigDecimal)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setBalance(BigDecimal balance)", + "parameters": [ + { + "type": "java.math.BigDecimal", + "name": "balance", + "annotations": [], + "modifiers": [], + "start_line": 201, + "end_line": 201, + "start_column": 28, + "end_column": 45 + } + ], + "code": "{\n this.balance = balance;\n }", + "start_line": 201, + "end_line": 203, + "code_start_line": 201, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.math.BigDecimal" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.balance" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "(java.lang.Integer, int, int, java.util.Date, java.util.Date, java.math.BigDecimal, java.math.BigDecimal, java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -213787,6 +223816,9 @@ "argument_types": [ "java.lang.Integer" ], + "argument_expr": [ + "accountID" + ], "return_type": "", "callee_signature": "setAccountID(java.lang.Integer)", "is_public": true, @@ -213810,6 +223842,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "loginCount" + ], "return_type": "", "callee_signature": "setLoginCount(int)", "is_public": true, @@ -213833,6 +223868,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "logoutCount" + ], "return_type": "", "callee_signature": "setLogoutCount(int)", "is_public": true, @@ -213856,6 +223894,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "lastLogin" + ], "return_type": "", "callee_signature": "setLastLogin(java.util.Date)", "is_public": true, @@ -213879,6 +223920,9 @@ "argument_types": [ "java.util.Date" ], + "argument_expr": [ + "creationDate" + ], "return_type": "", "callee_signature": "setCreationDate(java.util.Date)", "is_public": true, @@ -213902,6 +223946,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "balance" + ], "return_type": "", "callee_signature": "setBalance(java.math.BigDecimal)", "is_public": true, @@ -213925,6 +223972,9 @@ "argument_types": [ "java.math.BigDecimal" ], + "argument_expr": [ + "openBalance" + ], "return_type": "", "callee_signature": "setOpenBalance(java.math.BigDecimal)", "is_public": true, @@ -213948,6 +223998,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "profileID" + ], "return_type": "", "callee_signature": "setProfileID(java.lang.String)", "is_public": true, @@ -213970,51 +224023,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCreationDate(Date)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setCreationDate(Date)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setCreationDate(Date creationDate)", - "parameters": [ - { - "type": "java.util.Date", - "name": "creationDate", - "annotations": [], - "modifiers": [], - "start_line": 193, - "end_line": 193, - "start_column": 33, - "end_column": 49 - } - ], - "code": "{\n this.creationDate = creationDate;\n }", - "start_line": 193, - "end_line": 195, - "code_start_line": 193, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Date" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.creationDate" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setProfileID(String)": { + "setProfileID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setProfileID(String)", + "signature": "setProfileID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -214054,90 +224065,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setProfile(AccountProfileDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setProfile(AccountProfileDataBean)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setProfile(AccountProfileDataBean profile)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", - "name": "profile", - "annotations": [], - "modifiers": [], - "start_line": 245, - "end_line": 245, - "start_column": 28, - "end_column": 57 - } - ], - "code": "{\n this.profile = profile;\n }", - "start_line": 245, - "end_line": 247, - "code_start_line": 245, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profile" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setOrders(Collection)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setOrders(Collection)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setOrders(Collection orders)", - "parameters": [ - { - "type": "java.util.Collection", - "name": "orders", - "annotations": [], - "modifiers": [], - "start_line": 229, - "end_line": 229, - "start_column": 27, - "end_column": 58 - } - ], - "code": "{\n this.orders = orders;\n }", - "start_line": 229, - "end_line": 231, - "code_start_line": 229, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.orders" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, "getOrders()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "getOrders()", @@ -214225,6 +224152,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setOrders(java.util.Collection)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "setOrders(java.util.Collection)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setOrders(Collection orders)", + "parameters": [ + { + "type": "java.util.Collection", + "name": "orders", + "annotations": [], + "modifiers": [], + "start_line": 229, + "end_line": 229, + "start_column": 27, + "end_column": 58 + } + ], + "code": "{\n this.orders = orders;\n }", + "start_line": 229, + "end_line": 231, + "code_start_line": 229, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Collection" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.orders" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getProfile()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "getProfile()", @@ -214254,6 +224223,48 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "setProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setProfile(AccountProfileDataBean profile)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "name": "profile", + "annotations": [], + "modifiers": [], + "start_line": 245, + "end_line": 245, + "start_column": 28, + "end_column": 57 + } + ], + "code": "{\n this.profile = profile;\n }", + "start_line": 245, + "end_line": 247, + "code_start_line": 245, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profile" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getOpenBalance()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", "signature": "getOpenBalance()", @@ -214283,158 +224294,192 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setBalance(BigDecimal)": { + "login(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "setBalance(BigDecimal)", + "signature": "login(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setBalance(BigDecimal balance)", + "declaration": "public void login(String password)", "parameters": [ { - "type": "java.math.BigDecimal", - "name": "balance", + "type": "java.lang.String", + "name": "password", "annotations": [], "modifiers": [], - "start_line": 201, - "end_line": 201, - "start_column": 28, - "end_column": 45 + "start_line": 249, + "end_line": 249, + "start_column": 23, + "end_column": 37 } ], - "code": "{\n this.balance = balance;\n }", - "start_line": 201, - "end_line": 203, - "code_start_line": 201, + "code": "{\n AccountProfileDataBean profile = getProfile();\n if ((profile == null) || (profile.getPassword().equals(password) == false)) {\n String error = \"AccountBean:Login failure for account: \" + getAccountID()\n + ((profile == null) ? \"null AccountProfile\" : \"\\n\\tIncorrect password-->\" + profile.getUserID() + \":\" + profile.getPassword());\n throw new EJBException(error);\n }\n\n setLastLogin(new Timestamp(System.currentTimeMillis()));\n setLoginCount(getLoginCount() + 1);\n }", + "start_line": 249, + "end_line": 259, + "code_start_line": 249, "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [ - "java.math.BigDecimal" + "java.lang.String", + "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.balance" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "(int, int, Date, Date, BigDecimal, BigDecimal, String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", - "signature": "AccountDataBean(int, int, Date, Date, BigDecimal, BigDecimal, String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profile" ], - "thrown_exceptions": [], - "declaration": "public AccountDataBean(int loginCount, int logoutCount, Date lastLogin, Date creationDate, BigDecimal balance, BigDecimal openBalance, String profileID)", - "parameters": [ + "call_sites": [ { - "type": "int", - "name": "loginCount", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 28, - "end_column": 41 + "method_name": "getProfile", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "callee_signature": "getProfile()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 250, + "start_column": 42, + "end_line": 250, + "end_column": 53 }, { - "type": "int", - "name": "logoutCount", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 44, - "end_column": 58 + "method_name": "equals", + "comment": null, + "receiver_expr": "profile.getPassword()", + "receiver_type": "java.lang.String", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "password" + ], + "return_type": "", + "callee_signature": "equals(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 251, + "start_column": 35, + "end_line": 251, + "end_column": 72 }, { - "type": "java.util.Date", - "name": "lastLogin", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 61, - "end_column": 74 + "method_name": "getPassword", + "comment": null, + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPassword()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 251, + "start_column": 35, + "end_line": 251, + "end_column": 55 }, { - "type": "java.util.Date", - "name": "creationDate", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 77, - "end_column": 93 + "method_name": "getAccountID", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "getAccountID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 252, + "start_column": 72, + "end_line": 252, + "end_column": 85 }, { - "type": "java.math.BigDecimal", - "name": "balance", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 96, - "end_column": 113 + "method_name": "getUserID", + "comment": null, + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getUserID()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 253, + "start_column": 98, + "end_line": 253, + "end_column": 116 }, { - "type": "java.math.BigDecimal", - "name": "openBalance", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 116, - "end_column": 137 + "method_name": "getPassword", + "comment": null, + "receiver_expr": "profile", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getPassword()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 253, + "start_column": 126, + "end_line": 253, + "end_column": 146 }, { - "type": "java.lang.String", - "name": "profileID", - "annotations": [], - "modifiers": [], - "start_line": 117, - "end_line": 117, - "start_column": 140, - "end_column": 155 - } - ], - "code": "{\n setLoginCount(loginCount);\n setLogoutCount(logoutCount);\n setLastLogin(lastLogin);\n setCreationDate(creationDate);\n setBalance(balance);\n setOpenBalance(openBalance);\n setProfileID(profileID);\n }", - "start_line": 117, - "end_line": 125, - "code_start_line": 117, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.lastLogin", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.creationDate", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.profileID", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.loginCount", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.balance", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.logoutCount", - "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.openBalance" - ], - "call_sites": [ - { - "method_name": "setLoginCount", + "method_name": "setLastLogin", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "" + "java.sql.Timestamp" + ], + "argument_expr": [ + "new Timestamp(System.currentTimeMillis())" ], "return_type": "", - "callee_signature": "setLoginCount(int)", + "callee_signature": "setLastLogin(java.util.Date)", "is_public": true, "is_protected": false, "is_private": false, @@ -214443,44 +224488,46 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 118, + "start_line": 257, "start_column": 9, - "end_line": 118, - "end_column": 33 + "end_line": 257, + "end_column": 63 }, { - "method_name": "setLogoutCount", + "method_name": "currentTimeMillis", "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "" - ], + "receiver_expr": "System", + "receiver_type": "java.lang.System", + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setLogoutCount(int)", + "callee_signature": "currentTimeMillis()", "is_public": true, "is_protected": false, "is_private": false, "is_unspecified": false, - "is_static_call": false, + "is_static_call": true, "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 119, - "start_column": 9, - "end_line": 119, - "end_column": 35 + "start_line": 257, + "start_column": 36, + "end_line": 257, + "end_column": 61 }, { - "method_name": "setLastLogin", + "method_name": "setLoginCount", "comment": null, "receiver_expr": "", "receiver_type": "", "argument_types": [ - "java.util.Date" + "" + ], + "argument_expr": [ + "getLoginCount() + 1" ], "return_type": "", - "callee_signature": "setLastLogin(java.util.Date)", + "callee_signature": "setLoginCount(int)", "is_public": true, "is_protected": false, "is_private": false, @@ -214489,21 +224536,20 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 120, + "start_line": 258, "start_column": 9, - "end_line": 120, - "end_column": 31 + "end_line": 258, + "end_column": 42 }, { - "method_name": "setCreationDate", + "method_name": "getLoginCount", "comment": null, "receiver_expr": "", "receiver_type": "", - "argument_types": [ - "java.util.Date" - ], + "argument_types": [], + "argument_expr": [], "return_type": "", - "callee_signature": "setCreationDate(java.util.Date)", + "callee_signature": "getLoginCount()", "is_public": true, "is_protected": false, "is_private": false, @@ -214512,67 +224558,157 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 121, - "start_column": 9, - "end_line": 121, + "start_line": 258, + "start_column": 23, + "end_line": 258, "end_column": 37 }, { - "method_name": "setBalance", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "javax.ejb.EJBException", "argument_types": [ - "java.math.BigDecimal" + "java.lang.String" ], - "return_type": "", - "callee_signature": "setBalance(java.math.BigDecimal)", - "is_public": true, + "argument_expr": [ + "error" + ], + "return_type": "javax.ejb.EJBException", + "callee_signature": "EJBException(java.lang.String)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 122, - "start_column": 9, - "end_line": 122, - "end_column": 27 + "start_line": 254, + "start_column": 19, + "end_line": 254, + "end_column": 41 }, { - "method_name": "setOpenBalance", + "method_name": "", "comment": null, "receiver_expr": "", - "receiver_type": "", + "receiver_type": "java.sql.Timestamp", "argument_types": [ - "java.math.BigDecimal" + "" ], - "return_type": "", - "callee_signature": "setOpenBalance(java.math.BigDecimal)", - "is_public": true, + "argument_expr": [ + "System.currentTimeMillis()" + ], + "return_type": "java.sql.Timestamp", + "callee_signature": "Timestamp(long)", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 123, - "start_column": 9, - "end_line": 123, - "end_column": 35 + "start_line": 257, + "start_column": 22, + "end_line": 257, + "end_column": 62 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "profile", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", + "initializer": "getProfile()", + "start_line": 250, + "start_column": 32, + "end_line": 250, + "end_column": 53 }, { - "method_name": "setProfileID", + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "error", + "type": "java.lang.String", + "initializer": "\"AccountBean:Login failure for account: \" + getAccountID() + ((profile == null) ? \"null AccountProfile\" : \"\\n\\tIncorrect password-->\" + profile.getUserID() + \":\" + profile.getPassword())", + "start_line": 252, + "start_column": 20, + "end_line": 253, + "end_column": 147 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 4, + "is_entrypoint": false + }, + "equals(java.lang.Object)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/entities/AccountDataBean.java", + "signature": "equals(java.lang.Object)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public boolean equals(Object object)", + "parameters": [ + { + "type": "java.lang.Object", + "name": "object", + "annotations": [], + "modifiers": [], + "start_line": 273, + "end_line": 273, + "start_column": 27, + "end_column": 39 + } + ], + "code": "{\n \n if (!(object instanceof AccountDataBean)) {\n return false;\n }\n AccountDataBean other = (AccountDataBean) object;\n\n if (this.accountID != other.accountID && (this.accountID == null || !this.accountID.equals(other.accountID))) {\n return false;\n }\n\n return true;\n }", + "start_line": 272, + "end_line": 285, + "code_start_line": 273, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.entities.AccountDataBean.accountID" + ], + "call_sites": [ + { + "method_name": "equals", "comment": null, - "receiver_expr": "", - "receiver_type": "", + "receiver_expr": "this.accountID", + "receiver_type": "java.lang.Integer", "argument_types": [ - "java.lang.String" + "java.lang.Integer" + ], + "argument_expr": [ + "other.accountID" ], "return_type": "", - "callee_signature": "setProfileID(java.lang.String)", + "callee_signature": "equals(java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -214581,16 +224717,34 @@ "is_constructor_call": false, "crud_operation": null, "crud_query": null, - "start_line": 124, - "start_column": 9, - "end_line": 124, - "end_column": 31 + "start_line": 280, + "start_column": 78, + "end_line": 280, + "end_column": 115 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "other", + "type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", + "initializer": "(AccountDataBean) object", + "start_line": 278, + "start_column": 25, + "end_line": 278, + "end_column": 56 } ], - "variable_declarations": [], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 1, + "cyclomatic_complexity": 5, "is_entrypoint": false } }, @@ -215076,120 +225230,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 118, - "end_line": 118, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 117, - "end_line": 122, - "code_start_line": 118, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 9, - "end_line": 119, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 20, - "end_line": 121, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 20, - "end_line": 121, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -215243,6 +225286,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -215265,38 +225312,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity returning a collection of Entity EJBs\";\n }", - "start_line": 112, - "end_line": 115, - "code_start_line": 113, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " getQuote will call findQuote which will instaniate the", @@ -215393,6 +225411,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -215414,6 +225435,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -215437,6 +225459,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2Session2EntityCollection\" + \"
    PingServlet2Session2EntityCollection
    \" + \"\" + \"PingServlet2Session2EntityCollection tests the common path of a Servlet calling a Session EJB \" + \"which in turn calls a finder on an Entity EJB returning a collection of Entity EJBs.
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -215458,6 +225483,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -215479,6 +225505,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndUserID()", "is_public": true, @@ -215502,6 +225529,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "java.util.Collection", "callee_signature": "getHoldings(java.lang.String)", "is_public": false, @@ -215526,6 +225556,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ne", + "\"PingServlet2Session2EntityCollection.goGet(...): exception getting HoldingData collection through Trade for user \" + userID" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -215549,6 +225583,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -215572,6 +225609,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -215595,6 +225635,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    User: \" + userID + \" is currently holding \" + holdingDataBeans.size() + \" stock holdings:\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -215616,6 +225659,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "size()", "is_public": true, @@ -215637,6 +225681,7 @@ "receiver_expr": "holdingDataBeans", "receiver_type": "java.util.Collection", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Iterator", "callee_signature": "iterator()", "is_public": true, @@ -215658,6 +225703,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "hasNext()", "is_public": true, @@ -215679,6 +225725,7 @@ "receiver_expr": "it", "receiver_type": "java.util.Iterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "callee_signature": "next()", "is_public": true, @@ -215702,6 +225749,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    \" + holdingData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -215723,6 +225773,7 @@ "receiver_expr": "holdingData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.HoldingDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -215746,6 +225797,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -215767,6 +225821,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -215791,6 +225846,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session2EntityCollection.doGet(...): General Exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -215815,6 +225874,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"General Exception caught, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -215836,6 +225899,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -215859,6 +225923,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -216017,6 +226084,151 @@ "crud_queries": [], "cyclomatic_complexity": 5, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Session to Entity returning a collection of Entity EJBs\";\n }", + "start_line": 112, + "end_line": 115, + "code_start_line": 113, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2EntityCollection.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 118, + "end_line": 118, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 117, + "end_line": 122, + "code_start_line": 118, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2EntityCollection.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 9, + "end_line": 119, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 20, + "end_line": 121, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 20, + "end_line": 121, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -216625,6 +226837,90 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { + "setPassword(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", + "signature": "setPassword(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setPassword(String password)", + "parameters": [ + { + "type": "java.lang.String", + "name": "password", + "annotations": [], + "modifiers": [], + "start_line": 237, + "end_line": 237, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.password = password;\n }", + "start_line": 237, + "end_line": 239, + "code_start_line": 237, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.password" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "setResults(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", + "signature": "setResults(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setResults(String results)", + "parameters": [ + { + "type": "java.lang.String", + "name": "results", + "annotations": [], + "modifiers": [], + "start_line": 263, + "end_line": 263, + "start_column": 26, + "end_column": 39 + } + ], + "code": "{\n this.results = results;\n }", + "start_line": 263, + "end_line": 265, + "code_start_line": 263, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.results" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "logout()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "signature": "logout()", @@ -216717,6 +227013,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -216740,6 +227039,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "", "callee_signature": "logout(java.lang.String)", "is_public": false, @@ -216770,6 +227072,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"illegal argument:\" + e.getMessage()" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -216791,6 +227096,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.IllegalArgumentException", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getMessage()", "is_public": true, @@ -216824,6 +227130,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeServletAction.doLogout(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"treating this as a user error and forwarding on to a new page\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -216857,6 +227169,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeAppJSF.logout():\"", + "\"Error logging out\" + userID", + "\"fowarding to an error page\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -216880,6 +227198,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "false" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -216901,6 +227222,7 @@ "receiver_expr": "session", "receiver_type": "javax.servlet.http.HttpSession", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "invalidate()", "is_public": true, @@ -216922,6 +227244,7 @@ "receiver_expr": "((HttpServletRequest) context.getRequest())", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "logout()", "is_public": true, @@ -216943,6 +227266,7 @@ "receiver_expr": "context", "receiver_type": "javax.faces.context.ExternalContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.HttpServletRequest", "callee_signature": "getRequest()", "is_public": true, @@ -216969,6 +227293,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeAppJSF.logout():\"", + "\"Error logging out request\" + userID", + "\"fowarding to an error page\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -217009,6 +227339,48 @@ "cyclomatic_complexity": 5, "is_entrypoint": false }, + "setMoney(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", + "signature": "setMoney(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setMoney(String money)", + "parameters": [ + { + "type": "java.lang.String", + "name": "money", + "annotations": [], + "modifiers": [], + "start_line": 295, + "end_line": 295, + "start_column": 24, + "end_column": 35 + } + ], + "code": "{\n this.money = money;\n }", + "start_line": 295, + "end_line": 297, + "code_start_line": 295, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.money" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "getCpassword()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "signature": "getCpassword()", @@ -217038,40 +227410,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setEmail(String)": { + "getCcn()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setEmail(String)", + "signature": "getCcn()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setEmail(String email)", - "parameters": [ - { - "type": "java.lang.String", - "name": "email", - "annotations": [], - "modifiers": [], - "start_line": 279, - "end_line": 279, - "start_column": 24, - "end_column": 35 - } - ], - "code": "{\n this.email = email;\n }", - "start_line": 279, - "end_line": 281, - "code_start_line": 279, - "return_type": "void", + "declaration": "public String getCcn()", + "parameters": [], + "code": "{\n return ccn;\n }", + "start_line": 283, + "end_line": 285, + "code_start_line": 283, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.email" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.ccn" ], "call_sites": [], "variable_declarations": [], @@ -217080,32 +227439,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCcn(String)": { + "setCpassword(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setCcn(String)", + "signature": "setCpassword(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCcn(String ccn)", + "declaration": "public void setCpassword(String cpassword)", "parameters": [ { "type": "java.lang.String", - "name": "ccn", + "name": "cpassword", "annotations": [], "modifiers": [], - "start_line": 287, - "end_line": 287, - "start_column": 22, - "end_column": 31 + "start_line": 245, + "end_line": 245, + "start_column": 28, + "end_column": 43 } ], - "code": "{\n this.ccn = ccn;\n }", - "start_line": 287, - "end_line": 289, - "code_start_line": 287, + "code": "{\n this.cpassword = cpassword;\n }", + "start_line": 245, + "end_line": 247, + "code_start_line": 245, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -217113,7 +227472,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.ccn" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.cpassword" ], "call_sites": [], "variable_declarations": [], @@ -217122,27 +227481,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getCcn()": { + "setEmail(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "getCcn()", + "signature": "setEmail(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getCcn()", - "parameters": [], - "code": "{\n return ccn;\n }", - "start_line": 283, - "end_line": 285, - "code_start_line": 283, - "return_type": "java.lang.String", + "declaration": "public void setEmail(String email)", + "parameters": [ + { + "type": "java.lang.String", + "name": "email", + "annotations": [], + "modifiers": [], + "start_line": 279, + "end_line": 279, + "start_column": 24, + "end_column": 35 + } + ], + "code": "{\n this.email = email;\n }", + "start_line": 279, + "end_line": 281, + "code_start_line": 279, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.ccn" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.email" ], "call_sites": [], "variable_declarations": [], @@ -217151,42 +227523,163 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setUserID(String)": { + "(javax.enterprise.inject.Instance)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setUserID(String)", + "signature": "(javax.enterprise.inject.Instance)", "comments": [], - "annotations": [], + "annotations": [ + "@Inject" + ], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setUserID(String userID)", + "declaration": "public TradeAppJSF(@Any Instance services)", "parameters": [ { - "type": "java.lang.String", - "name": "userID", - "annotations": [], + "type": "javax.enterprise.inject.Instance", + "name": "services", + "annotations": [ + "@Any" + ], "modifiers": [], - "start_line": 229, - "end_line": 229, - "start_column": 25, - "end_column": 37 + "start_line": 80, + "end_line": 80, + "start_column": 22, + "end_column": 58 } ], - "code": "{\n this.userID = userID;\n }", - "start_line": 229, - "end_line": 231, - "code_start_line": 229, - "return_type": "void", + "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 79, + "end_line": 82, + "code_start_line": 80, + "return_type": null, "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "is_constructor": true, + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.userID" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.tradeAction" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 19, + "end_line": 81, + "end_column": 133 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 19, + "end_line": 81, + "end_column": 127 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 63, + "end_line": 81, + "end_column": 95 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 97, + "end_line": 81, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 81, + "start_column": 35, + "end_line": 81, + "end_column": 126 + } ], - "call_sites": [], "variable_declarations": [], "crud_operations": [], "crud_queries": [], @@ -217275,6 +227768,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cpassword" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -217298,6 +227794,9 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean" ], + "argument_expr": [ + "accountProfileData" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "updateAccountProfile(com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean)", "is_public": false, @@ -217328,6 +227827,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"invalid argument, check userID is correct, and the database is populated\" + userID" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -217354,6 +227856,12 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "e", + "\"TradeServletAction.doAccount(...)\"", + "\"illegal argument, information should be in exception string\"", + "\"treating this as a user error and forwarding on to a new page\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -217382,6 +227890,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -217410,6 +227919,14 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "userID", + "password", + "fullname", + "address", + "email", + "ccn" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "AccountProfileDataBean(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -217552,6 +228069,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "userID", + "password" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "login(java.lang.String, java.lang.String)", "is_public": false, @@ -217575,6 +228096,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "userID" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "callee_signature": "getAccountProfileData(java.lang.String)", "is_public": false, @@ -217598,6 +228122,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "true" + ], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession(boolean)", "is_public": true, @@ -217622,6 +228149,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"", + "userID" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -217646,6 +228177,10 @@ "java.lang.String", "java.util.Date" ], + "argument_expr": [ + "\"sessionCreationDate\"", + "new java.util.Date()" + ], "return_type": "", "callee_signature": "setAttribute(java.lang.String, java.lang.Object)", "is_public": true, @@ -217669,6 +228204,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ready to Trade\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -217699,6 +228237,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountProfileData.getAddress()" + ], "return_type": "", "callee_signature": "setAddress(java.lang.String)", "is_public": true, @@ -217720,6 +228261,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getAddress()", "is_public": true, @@ -217743,6 +228285,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountProfileData.getCreditCard()" + ], "return_type": "", "callee_signature": "setCcn(java.lang.String)", "is_public": true, @@ -217764,6 +228309,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getCreditCard()", "is_public": true, @@ -217787,6 +228333,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountProfileData.getEmail()" + ], "return_type": "", "callee_signature": "setEmail(java.lang.String)", "is_public": true, @@ -217808,6 +228357,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getEmail()", "is_public": true, @@ -217831,6 +228381,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountProfileData.getFullName()" + ], "return_type": "", "callee_signature": "setFullname(java.lang.String)", "is_public": true, @@ -217852,6 +228405,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getFullName()", "is_public": true, @@ -217875,6 +228429,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "accountProfileData.getPassword()" + ], "return_type": "", "callee_signature": "setCpassword(java.lang.String)", "is_public": true, @@ -217896,6 +228453,7 @@ "receiver_expr": "accountProfileData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountProfileDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getPassword()", "is_public": true, @@ -217921,6 +228479,11 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"TradeServletAction.doLogin(...)\"", + "\"Error finding account for user \" + userID + \"\"", + "\"user entered a bad username or the database is not populated\"" + ], "return_type": "", "callee_signature": "log(java.lang.String, java.lang.String, java.lang.String)", "is_public": true, @@ -217951,6 +228514,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Could not find account\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -217972,6 +228538,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -217995,6 +228562,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"User does not exist or password is incorrect!\"" + ], "return_type": "java.lang.NullPointerException", "callee_signature": "NullPointerException(java.lang.String)", "is_public": false, @@ -218069,6 +228639,48 @@ "cyclomatic_complexity": 3, "is_entrypoint": false }, + "setCcn(java.lang.String)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", + "signature": "setCcn(java.lang.String)", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public void setCcn(String ccn)", + "parameters": [ + { + "type": "java.lang.String", + "name": "ccn", + "annotations": [], + "modifiers": [], + "start_line": 287, + "end_line": 287, + "start_column": 22, + "end_column": 31 + } + ], + "code": "{\n this.ccn = ccn;\n }", + "start_line": 287, + "end_line": 289, + "code_start_line": 287, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.String" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.ccn" + ], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "register()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", "signature": "register()", @@ -218151,6 +228763,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "cpassword" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -218172,6 +228787,7 @@ "receiver_expr": "password", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "length()", "is_public": true, @@ -218201,6 +228817,15 @@ "java.lang.String", "java.math.BigDecimal" ], + "argument_expr": [ + "userID", + "password", + "fullname", + "address", + "email", + "ccn", + "new BigDecimal(money)" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "callee_signature": "register(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.math.BigDecimal)", "is_public": false, @@ -218224,6 +228849,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Registration operation failed;\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -218245,6 +228873,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "login()", "is_public": true, @@ -218268,6 +228897,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Registration operation succeeded; Account \" + accountData.getAccountID() + \" has been created.\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -218289,6 +228921,7 @@ "receiver_expr": "accountData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.AccountDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Integer", "callee_signature": "getAccountID()", "is_public": true, @@ -218319,6 +228952,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Registration operation failed, your passwords did not match\"" + ], "return_type": "", "callee_signature": "setResults(java.lang.String)", "is_public": true, @@ -218349,6 +228985,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -218370,6 +229009,7 @@ "receiver_expr": "e1", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -218393,6 +229033,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "money" + ], "return_type": "java.math.BigDecimal", "callee_signature": "BigDecimal(java.lang.String)", "is_public": false, @@ -218417,6 +229060,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"TradeServletAction.doRegister(...)\" + \" exception user =\" + userID", + "e" + ], "return_type": "java.lang.Exception", "callee_signature": "Exception(java.lang.String, java.lang.Throwable)", "is_public": false, @@ -218515,27 +229162,40 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "getPassword()": { + "setFullname(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "getPassword()", + "signature": "setFullname(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public String getPassword()", - "parameters": [], - "code": "{\n return password;\n }", - "start_line": 233, - "end_line": 235, - "code_start_line": 233, - "return_type": "java.lang.String", + "declaration": "public void setFullname(String fullname)", + "parameters": [ + { + "type": "java.lang.String", + "name": "fullname", + "annotations": [], + "modifiers": [], + "start_line": 253, + "end_line": 253, + "start_column": 27, + "end_column": 41 + } + ], + "code": "{\n this.fullname = fullname;\n }", + "start_line": 253, + "end_line": 255, + "code_start_line": 253, + "return_type": "void", "is_implicit": false, "is_constructor": false, - "referenced_types": [], + "referenced_types": [ + "java.lang.String" + ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.password" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.fullname" ], "call_sites": [], "variable_declarations": [], @@ -218544,40 +229204,27 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setCpassword(String)": { + "getPassword()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setCpassword(String)", + "signature": "getPassword()", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setCpassword(String cpassword)", - "parameters": [ - { - "type": "java.lang.String", - "name": "cpassword", - "annotations": [], - "modifiers": [], - "start_line": 245, - "end_line": 245, - "start_column": 28, - "end_column": 43 - } - ], - "code": "{\n this.cpassword = cpassword;\n }", - "start_line": 245, - "end_line": 247, - "code_start_line": 245, - "return_type": "void", + "declaration": "public String getPassword()", + "parameters": [], + "code": "{\n return password;\n }", + "start_line": 233, + "end_line": 235, + "code_start_line": 233, + "return_type": "java.lang.String", "is_implicit": false, "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], + "referenced_types": [], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.cpassword" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.password" ], "call_sites": [], "variable_declarations": [], @@ -218586,32 +229233,32 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "setMoney(String)": { + "setUserID(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setMoney(String)", + "signature": "setUserID(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ "public" ], "thrown_exceptions": [], - "declaration": "public void setMoney(String money)", + "declaration": "public void setUserID(String userID)", "parameters": [ { "type": "java.lang.String", - "name": "money", + "name": "userID", "annotations": [], "modifiers": [], - "start_line": 295, - "end_line": 295, - "start_column": 24, - "end_column": 35 + "start_line": 229, + "end_line": 229, + "start_column": 25, + "end_column": 37 } ], - "code": "{\n this.money = money;\n }", - "start_line": 295, - "end_line": 297, - "code_start_line": 295, + "code": "{\n this.userID = userID;\n }", + "start_line": 229, + "end_line": 231, + "code_start_line": 229, "return_type": "void", "is_implicit": false, "is_constructor": false, @@ -218619,7 +229266,7 @@ "java.lang.String" ], "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.money" + "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.userID" ], "call_sites": [], "variable_declarations": [], @@ -218735,289 +229382,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "(Instance)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "TradeAppJSF(Instance)", - "comments": [], - "annotations": [ - "@Inject" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public TradeAppJSF(@Any Instance services)", - "parameters": [ - { - "type": "javax.enterprise.inject.Instance", - "name": "services", - "annotations": [ - "@Any" - ], - "modifiers": [], - "start_line": 80, - "end_line": 80, - "start_column": 22, - "end_column": 58 - } - ], - "code": "{\n tradeAction = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 79, - "end_line": 82, - "code_start_line": 80, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.tradeAction" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 19, - "end_line": 81, - "end_column": 133 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 19, - "end_line": 81, - "end_column": 127 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 63, - "end_line": 81, - "end_column": 95 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 97, - "end_line": 81, - "end_column": 124 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 81, - "start_column": 35, - "end_line": 81, - "end_column": 126 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setResults(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setResults(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setResults(String results)", - "parameters": [ - { - "type": "java.lang.String", - "name": "results", - "annotations": [], - "modifiers": [], - "start_line": 263, - "end_line": 263, - "start_column": 26, - "end_column": 39 - } - ], - "code": "{\n this.results = results;\n }", - "start_line": 263, - "end_line": 265, - "code_start_line": 263, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.results" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setFullname(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setFullname(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setFullname(String fullname)", - "parameters": [ - { - "type": "java.lang.String", - "name": "fullname", - "annotations": [], - "modifiers": [], - "start_line": 253, - "end_line": 253, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.fullname = fullname;\n }", - "start_line": 253, - "end_line": 255, - "code_start_line": 253, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.fullname" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setPassword(String)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setPassword(String)", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void setPassword(String password)", - "parameters": [ - { - "type": "java.lang.String", - "name": "password", - "annotations": [], - "modifiers": [], - "start_line": 237, - "end_line": 237, - "start_column": 27, - "end_column": 41 - } - ], - "code": "{\n this.password = password;\n }", - "start_line": 237, - "end_line": 239, - "code_start_line": 237, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.String" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.jsf.TradeAppJSF.password" - ], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "setAddress(String)": { + "setAddress(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/jsf/TradeAppJSF.java", - "signature": "setAddress(String)", + "signature": "setAddress(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -219456,129 +229823,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", - "start_line": 112, - "end_line": 117, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 119, - "end_line": 119, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", - "start_line": 118, - "end_line": 124, - "code_start_line": 119, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread.initTime" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 120, - "start_column": 9, - "end_line": 120, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 20, - "end_line": 121, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 20, - "end_line": 121, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * forwards post requests to the doGet method Creation date: (03/18/2014\n * 10:52:39 AM)\n *\n * @param res\n * javax.servlet.http.HttpServletRequest\n * @param res2\n * javax.servlet.http.HttpServletResponse\n ", @@ -219641,6 +229888,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": false, @@ -219663,47 +229914,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", - "signature": "getServletInfo()", - "comments": [ - { - "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", - "start_line": 102, - "end_line": 106, - "start_column": 5, - "end_column": 8, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"Tests a ManagedThread asynchronous servlet\";\n }", - "start_line": 107, - "end_line": 110, - "code_start_line": 108, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": "\n * this is the main method of the servlet that will service all get\n * requests.\n *\n * @param request\n * HttpServletRequest\n * @param responce\n * HttpServletResponce\n *", @@ -219771,6 +229984,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.AsyncContext", "callee_signature": "startAsync()", "is_public": true, @@ -219792,6 +230006,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletOutputStream", "callee_signature": "getOutputStream()", "is_public": true, @@ -219815,6 +230030,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -219838,6 +230056,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping ManagedThread\" + \"

    Ping ManagedThread
    Init time : \" + initTime + \"

    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -219861,6 +230082,9 @@ "argument_types": [ "java.lang.Runnable" ], + "argument_expr": [ + "new Runnable() {\n\n @Override\n public void run() {\n try {\n out.println(\"HitCount: \" + ++hitCount + \"
    \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n asyncContext.complete();\n }\n}" + ], "return_type": "java.lang.Thread", "callee_signature": "newThread(java.lang.Runnable)", "is_public": true, @@ -219884,6 +230108,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HitCount: \" + ++hitCount + \"
    \"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -219905,6 +230132,7 @@ "receiver_expr": "e", "receiver_type": "java.io.IOException", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "printStackTrace()", "is_public": true, @@ -219926,6 +230154,7 @@ "receiver_expr": "asyncContext", "receiver_type": "javax.servlet.AsyncContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "complete()", "is_public": true, @@ -219947,6 +230176,7 @@ "receiver_expr": "thread", "receiver_type": "java.lang.Thread", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "start()", "is_public": true, @@ -219971,6 +230201,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingManagedThreadServlet.doGet(...): general exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -219995,6 +230229,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -220016,6 +230254,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -220037,8 +230276,9 @@ "receiver_expr": "", "receiver_type": "java.lang.Runnable", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.Runnable", - "callee_signature": "Anonymous-fcae5bf6-c992-4131-bc93-1639be08ea79()", + "callee_signature": "Anonymous-e0ea8dcd-708b-40df-a4ad-40030557f56f()", "is_public": false, "is_protected": false, "is_private": false, @@ -220110,6 +230350,169 @@ "crud_queries": [], "cyclomatic_complexity": 2, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", + "signature": "getServletInfo()", + "comments": [ + { + "content": "\n * returns a string of information about the servlet\n *\n * @return info String: contains info about the servlet\n *", + "start_line": 102, + "end_line": 106, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"Tests a ManagedThread asynchronous servlet\";\n }", + "start_line": 107, + "end_line": 110, + "code_start_line": 108, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/PingManagedThread.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": "\n * called when the class is loaded to initialize the servlet\n *\n * @param config\n * ServletConfig:\n *", + "start_line": 112, + "end_line": 117, + "start_column": 5, + "end_column": 8, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 119, + "end_line": 119, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n initTime = new java.util.Date().toString();\n hitCount = 0;\n\n }", + "start_line": 118, + "end_line": 124, + "code_start_line": 119, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.PingManagedThread.initTime" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 120, + "start_column": 9, + "end_line": 120, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 20, + "end_line": 121, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 20, + "end_line": 121, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -220332,252 +230735,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 109, - "end_line": 109, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n if (tradeSLSBLocal == null) {\n Log.error(\"PingServlet2Session2Entity:init - Injection of tradeSLSBLocal failed - performing JNDI lookup!\");\n\n try {\n InitialContext context = new InitialContext();\n tradeSLSBLocal = (TradeSLSBBean) context.lookup(\"java:comp/env/ejb/TradeSLSBBean\");\n } catch (Exception ex) {\n Log.error(\"PingServlet2Session2Entity:init - Lookup of tradeSLSBLocal failed!!!\");\n ex.printStackTrace();\n }\n }\n }", - "start_line": 108, - "end_line": 125, - "code_start_line": 109, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "javax.naming.InitialContext" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.hitCount", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.tradeSLSBLocal" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 9, - "end_line": 110, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 50 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 115, - "start_column": 13, - "end_line": 115, - "end_column": 119 - }, - { - "method_name": "lookup", - "comment": null, - "receiver_expr": "context", - "receiver_type": "javax.naming.InitialContext", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", - "callee_signature": "lookup(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 119, - "start_column": 50, - "end_line": 119, - "end_column": 98 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 121, - "start_column": 17, - "end_line": 121, - "end_column": 97 - }, - { - "method_name": "printStackTrace", - "comment": null, - "receiver_expr": "ex", - "receiver_type": "java.lang.Exception", - "argument_types": [], - "return_type": "", - "callee_signature": "printStackTrace()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 17, - "end_line": 122, - "end_column": 36 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 112, - "start_column": 20, - "end_line": 112, - "end_column": 39 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "javax.naming.InitialContext", - "argument_types": [], - "return_type": "javax.naming.InitialContext", - "callee_signature": "InitialContext()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 118, - "start_column": 42, - "end_line": 118, - "end_column": 61 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "context", - "type": "javax.naming.InitialContext", - "initializer": "new InitialContext()", - "start_line": 118, - "start_column": 32, - "end_line": 118, - "end_column": 61 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -220631,6 +230791,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -220653,38 +230817,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB path\";\n\n }", - "start_line": 102, - "end_line": 106, - "code_start_line": 103, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " getQuote will call findQuote which will instaniate the", @@ -220771,6 +230906,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -220792,6 +230930,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -220815,6 +230954,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2Session2Entity\" + \"
    PingServlet2Session2Entity
    \" + \"\" + \"PingServlet2Session2Entity tests the common path of a Servlet calling a Session EJB \" + \"which in turn calls an Entity EJB.
    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -220836,6 +230978,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -220857,6 +231000,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "rndSymbol()", "is_public": true, @@ -220880,6 +231024,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "symbol" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "callee_signature": "getQuote(java.lang.String)", "is_public": false, @@ -220904,6 +231051,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "ne", + "\"PingServlet2Session2Entity.goGet(...): exception getting QuoteData through Trade\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -220927,6 +231078,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \" + hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -220950,6 +231104,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \" + initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -220973,6 +231130,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Quote Information

    \" + quoteData.toHTML()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -220994,6 +231154,7 @@ "receiver_expr": "quoteData", "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toHTML()", "is_public": true, @@ -221017,6 +231178,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -221038,6 +231202,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -221062,6 +231227,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2Session2Entity.doGet(...): General Exception caught\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -221086,6 +231255,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"General Exception caught, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -221107,6 +231280,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -221130,6 +231304,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -221254,6 +231431,294 @@ "crud_queries": [], "cyclomatic_complexity": 4, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, tests Servlet to Session to Entity EJB path\";\n\n }", + "start_line": 102, + "end_line": 106, + "code_start_line": 103, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2Session2Entity.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 109, + "end_line": 109, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n\n if (tradeSLSBLocal == null) {\n Log.error(\"PingServlet2Session2Entity:init - Injection of tradeSLSBLocal failed - performing JNDI lookup!\");\n\n try {\n InitialContext context = new InitialContext();\n tradeSLSBLocal = (TradeSLSBBean) context.lookup(\"java:comp/env/ejb/TradeSLSBBean\");\n } catch (Exception ex) {\n Log.error(\"PingServlet2Session2Entity:init - Lookup of tradeSLSBLocal failed!!!\");\n ex.printStackTrace();\n }\n }\n }", + "start_line": 108, + "end_line": 125, + "code_start_line": 109, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "javax.naming.InitialContext" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.hitCount", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2Session2Entity.tradeSLSBLocal" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 9, + "end_line": 110, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 50 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"PingServlet2Session2Entity:init - Injection of tradeSLSBLocal failed - performing JNDI lookup!\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 115, + "start_column": 13, + "end_line": 115, + "end_column": 119 + }, + { + "method_name": "lookup", + "comment": null, + "receiver_expr": "context", + "receiver_type": "javax.naming.InitialContext", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"java:comp/env/ejb/TradeSLSBBean\"" + ], + "return_type": "com.ibm.websphere.samples.daytrader.impl.ejb3.TradeSLSBBean", + "callee_signature": "lookup(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 119, + "start_column": 50, + "end_line": 119, + "end_column": 98 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"PingServlet2Session2Entity:init - Lookup of tradeSLSBLocal failed!!!\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 121, + "start_column": 17, + "end_line": 121, + "end_column": 97 + }, + { + "method_name": "printStackTrace", + "comment": null, + "receiver_expr": "ex", + "receiver_type": "java.lang.Exception", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "printStackTrace()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 17, + "end_line": 122, + "end_column": 36 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 112, + "start_column": 20, + "end_line": 112, + "end_column": 39 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "javax.naming.InitialContext", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.naming.InitialContext", + "callee_signature": "InitialContext()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 118, + "start_column": 42, + "end_line": 118, + "end_column": 61 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "context", + "type": "javax.naming.InitialContext", + "initializer": "new InitialContext()", + "start_line": 118, + "start_column": 32, + "end_line": 118, + "end_column": 61 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false } }, "field_declarations": [ @@ -221398,9 +231863,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "(String)": { + "(java.lang.String)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/TradeRunTimeModeLiteral.java", - "signature": "TradeRunTimeModeLiteral(String)", + "signature": "(java.lang.String)", "comments": [], "annotations": [], "modifiers": [ @@ -221813,286 +232278,6 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", - "signature": "init(ServletConfig)", - "comments": [ - { - "content": " TODO: Uncomment this once split-tier issue is resolved", - "start_line": 66, - "end_line": 66, - "start_column": 7, - "end_column": 63, - "is_javadoc": false - }, - { - "content": " TradeDirect.init();", - "start_line": 67, - "end_line": 67, - "start_column": 7, - "end_column": 28, - "is_javadoc": false - }, - { - "content": "\n * Servlet initialization method.\n ", - "start_line": 53, - "end_line": 55, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 57, - "end_line": 57, - "start_column": 20, - "end_column": 39 - } - ], - "code": "{\n super.init(config);\n java.util.Enumeration en = config.getInitParameterNames();\n while (en.hasMoreElements()) {\n String parm = en.nextElement();\n String value = config.getInitParameter(parm);\n TradeConfig.setConfigParam(parm, value);\n }\n try {\n // TODO: Uncomment this once split-tier issue is resolved\n // TradeDirect.init();\n } catch (Exception e) {\n Log.error(e, \"TradeAppServlet:init -- Error initializing TradeDirect\");\n }\n }", - "start_line": 56, - "end_line": 71, - "code_start_line": 57, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Enumeration", - "java.lang.String" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 58, - "start_column": 5, - "end_line": 58, - "end_column": 22 - }, - { - "method_name": "getInitParameterNames", - "comment": null, - "receiver_expr": "config", - "receiver_type": "javax.servlet.ServletConfig", - "argument_types": [], - "return_type": "java.util.Enumeration", - "callee_signature": "getInitParameterNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 59, - "start_column": 40, - "end_line": 59, - "end_column": 69 - }, - { - "method_name": "hasMoreElements", - "comment": null, - "receiver_expr": "en", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "", - "callee_signature": "hasMoreElements()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 12, - "end_line": 60, - "end_column": 31 - }, - { - "method_name": "nextElement", - "comment": null, - "receiver_expr": "en", - "receiver_type": "java.util.Enumeration", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "nextElement()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 21, - "end_line": 61, - "end_column": 36 - }, - { - "method_name": "getInitParameter", - "comment": null, - "receiver_expr": "config", - "receiver_type": "javax.servlet.ServletConfig", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.String", - "callee_signature": "getInitParameter(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 62, - "start_column": 22, - "end_line": 62, - "end_column": 50 - }, - { - "method_name": "setConfigParam", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "setConfigParam(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 7, - "end_line": 63, - "end_column": 45 - }, - { - "method_name": "error", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.Exception", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "error(java.lang.Throwable, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 69, - "start_column": 7, - "end_line": 69, - "end_column": 76 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "en", - "type": "java.util.Enumeration", - "initializer": "config.getInitParameterNames()", - "start_line": 59, - "start_column": 35, - "end_line": 59, - "end_column": 69 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "parm", - "type": "java.lang.String", - "initializer": "en.nextElement()", - "start_line": 61, - "start_column": 14, - "end_line": 61, - "end_column": 36 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "value", - "type": "java.lang.String", - "initializer": "config.getInitParameter(parm)", - "start_line": 62, - "start_column": 14, - "end_line": 62, - "end_column": 50 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", @@ -222158,6 +232343,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "request", + "response" + ], "return_type": "", "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -222245,6 +232434,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "request", + "response" + ], "return_type": "", "callee_signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -222305,9 +232498,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "performTask(HttpServletRequest, HttpServletResponse)": { + "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", - "signature": "performTask(HttpServletRequest, HttpServletResponse)", + "signature": "performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " String to create full dispatch path to TradeAppServlet w/ request", @@ -222432,6 +232625,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -222455,6 +232651,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"action\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222476,6 +232675,7 @@ "receiver_expr": "getServletConfig()", "receiver_type": "javax.servlet.ServletConfig", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletContext", "callee_signature": "getServletContext()", "is_public": true, @@ -222497,6 +232697,7 @@ "receiver_expr": "", "receiver_type": "", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.ServletConfig", "callee_signature": "getServletConfig()", "is_public": true, @@ -222523,6 +232724,12 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "\"\"" + ], "return_type": "", "callee_signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -222546,6 +232753,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"login\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -222569,6 +232779,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uid\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222592,6 +232805,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"passwd\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222619,6 +232835,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "passwd" + ], "return_type": "", "callee_signature": "doLogin(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -222642,6 +232865,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"register\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -222665,6 +232891,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"user id\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222688,6 +232917,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"passwd\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222711,6 +232943,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"confirm passwd\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222734,6 +232969,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Full Name\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222757,6 +232995,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Credit Card Number\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222780,6 +233021,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"money\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222803,6 +233047,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"email\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222826,6 +233073,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"snail mail\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -222859,6 +233109,19 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "passwd", + "cpasswd", + "fullname", + "ccn", + "money", + "email", + "smail" + ], "return_type": "", "callee_signature": "doRegister(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -222880,6 +233143,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.HttpSession", "callee_signature": "getSession()", "is_public": true, @@ -222903,6 +233167,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"uidBean\"" + ], "return_type": "java.lang.String", "callee_signature": "getAttribute(java.lang.String)", "is_public": true, @@ -222926,6 +233193,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeAppServlet service error: User Not Logged in\"" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -222952,6 +233222,12 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "\"User Not Logged in\"" + ], "return_type": "", "callee_signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -222975,6 +233251,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"logout\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -222996,6 +233275,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getWebInterface()", "is_public": true, @@ -223019,6 +233299,9 @@ "argument_types": [ "javax.servlet.http.PushBuilder" ], + "argument_expr": [ + "req.newPushBuilder()" + ], "return_type": "", "callee_signature": "pushHeaderImages(javax.servlet.http.PushBuilder)", "is_public": false, @@ -223040,6 +233323,7 @@ "receiver_expr": "req", "receiver_type": "javax.servlet.http.HttpServletRequest", "argument_types": [], + "argument_expr": [], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "newPushBuilder()", "is_public": true, @@ -223063,6 +233347,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"quotes\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223086,6 +233373,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbols\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223113,6 +233403,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "symbols" + ], "return_type": "", "callee_signature": "doQuotes(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -223136,6 +233433,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"buy\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223159,6 +233459,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"symbol\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223182,6 +233485,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"quantity\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223210,6 +233516,14 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "symbol", + "quantity" + ], "return_type": "", "callee_signature": "doBuy(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -223233,6 +233547,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"sell\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223256,6 +233573,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "req.getParameter(\"holdingID\")" + ], "return_type": "", "callee_signature": "parseInt(java.lang.String)", "is_public": true, @@ -223279,6 +233599,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"holdingID\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223306,6 +233629,13 @@ "java.lang.String", "java.lang.Integer" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "new Integer(holdingID)" + ], "return_type": "", "callee_signature": "doSell(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Integer)", "is_public": false, @@ -223329,6 +233659,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"portfolio\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223352,6 +233685,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"portfolioNoEdge\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223379,6 +233715,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "\"Portfolio as of \" + new java.util.Date()" + ], "return_type": "", "callee_signature": "doPortfolio(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -223402,6 +233745,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"logout\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223428,6 +233774,12 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID" + ], "return_type": "", "callee_signature": "doLogout(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -223451,6 +233803,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"home\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223478,6 +233833,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "\"Ready to Trade\"" + ], "return_type": "", "callee_signature": "doHome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -223501,6 +233863,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"account\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223528,6 +233893,13 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "\"\"" + ], "return_type": "", "callee_signature": "doAccount(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)", "is_public": false, @@ -223551,6 +233923,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"update_profile\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223574,6 +233949,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"password\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223597,6 +233975,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"cpassword\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223620,6 +234001,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"fullname\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223643,6 +234027,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"address\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223666,6 +234053,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"creditcard\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223689,6 +234079,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"email\"" + ], "return_type": "java.lang.String", "callee_signature": "getParameter(java.lang.String)", "is_public": true, @@ -223721,6 +234114,18 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID", + "password == null ? \"\" : password.trim()", + "cpassword == null ? \"\" : cpassword.trim()", + "fullName == null ? \"\" : fullName.trim()", + "address == null ? \"\" : address.trim()", + "creditcard == null ? \"\" : creditcard.trim()", + "email == null ? \"\" : email.trim()" + ], "return_type": "", "callee_signature": "doAccountUpdate(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)", "is_public": false, @@ -223742,6 +234147,7 @@ "receiver_expr": "password", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223763,6 +234169,7 @@ "receiver_expr": "cpassword", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223784,6 +234191,7 @@ "receiver_expr": "fullName", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223805,6 +234213,7 @@ "receiver_expr": "address", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223826,6 +234235,7 @@ "receiver_expr": "creditcard", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223847,6 +234257,7 @@ "receiver_expr": "email", "receiver_type": "java.lang.String", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "trim()", "is_public": true, @@ -223870,6 +234281,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"mksummary\"" + ], "return_type": "", "callee_signature": "equals(java.lang.Object)", "is_public": true, @@ -223896,6 +234310,12 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "userID" + ], "return_type": "", "callee_signature": "doMarketSummary(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -223919,6 +234339,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeAppServlet: Invalid Action=\" + action" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -223945,6 +234368,12 @@ "javax.servlet.http.HttpServletResponse", "java.lang.String" ], + "argument_expr": [ + "ctx", + "req", + "resp", + "\"TradeAppServlet: Invalid Action\" + action" + ], "return_type": "", "callee_signature": "doWelcome(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)", "is_public": false, @@ -223968,6 +234397,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "holdingID" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -223989,6 +234421,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -224386,9 +234819,306 @@ "cyclomatic_complexity": 23, "is_entrypoint": true }, - "pushHeaderImages(PushBuilder)": { + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [ + { + "content": " TODO: Uncomment this once split-tier issue is resolved", + "start_line": 66, + "end_line": 66, + "start_column": 7, + "end_column": 63, + "is_javadoc": false + }, + { + "content": " TradeDirect.init();", + "start_line": 67, + "end_line": 67, + "start_column": 7, + "end_column": 28, + "is_javadoc": false + }, + { + "content": "\n * Servlet initialization method.\n ", + "start_line": 53, + "end_line": 55, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 57, + "end_line": 57, + "start_column": 20, + "end_column": 39 + } + ], + "code": "{\n super.init(config);\n java.util.Enumeration en = config.getInitParameterNames();\n while (en.hasMoreElements()) {\n String parm = en.nextElement();\n String value = config.getInitParameter(parm);\n TradeConfig.setConfigParam(parm, value);\n }\n try {\n // TODO: Uncomment this once split-tier issue is resolved\n // TradeDirect.init();\n } catch (Exception e) {\n Log.error(e, \"TradeAppServlet:init -- Error initializing TradeDirect\");\n }\n }", + "start_line": 56, + "end_line": 71, + "code_start_line": 57, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Enumeration", + "java.lang.String" + ], + "accessed_fields": [], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 58, + "start_column": 5, + "end_line": 58, + "end_column": 22 + }, + { + "method_name": "getInitParameterNames", + "comment": null, + "receiver_expr": "config", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Enumeration", + "callee_signature": "getInitParameterNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 59, + "start_column": 40, + "end_line": 59, + "end_column": 69 + }, + { + "method_name": "hasMoreElements", + "comment": null, + "receiver_expr": "en", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasMoreElements()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 12, + "end_line": 60, + "end_column": 31 + }, + { + "method_name": "nextElement", + "comment": null, + "receiver_expr": "en", + "receiver_type": "java.util.Enumeration", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "nextElement()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 21, + "end_line": 61, + "end_column": 36 + }, + { + "method_name": "getInitParameter", + "comment": null, + "receiver_expr": "config", + "receiver_type": "javax.servlet.ServletConfig", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "parm" + ], + "return_type": "java.lang.String", + "callee_signature": "getInitParameter(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 62, + "start_column": 22, + "end_line": 62, + "end_column": 50 + }, + { + "method_name": "setConfigParam", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "parm", + "value" + ], + "return_type": "", + "callee_signature": "setConfigParam(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 7, + "end_line": 63, + "end_column": 45 + }, + { + "method_name": "error", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.Exception", + "java.lang.String" + ], + "argument_expr": [ + "e", + "\"TradeAppServlet:init -- Error initializing TradeDirect\"" + ], + "return_type": "", + "callee_signature": "error(java.lang.Throwable, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 69, + "start_column": 7, + "end_line": 69, + "end_column": 76 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "en", + "type": "java.util.Enumeration", + "initializer": "config.getInitParameterNames()", + "start_line": 59, + "start_column": 35, + "end_line": 59, + "end_column": 69 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "parm", + "type": "java.lang.String", + "initializer": "en.nextElement()", + "start_line": 61, + "start_column": 14, + "end_line": 61, + "end_column": 36 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "value", + "type": "java.lang.String", + "initializer": "config.getInitParameter(parm)", + "start_line": 62, + "start_column": 14, + "end_line": 62, + "end_column": 50 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "pushHeaderImages(javax.servlet.http.PushBuilder)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/servlet/TradeAppServlet.java", - "signature": "pushHeaderImages(PushBuilder)", + "signature": "pushHeaderImages(javax.servlet.http.PushBuilder)", "comments": [], "annotations": [], "modifiers": [ @@ -224424,6 +235154,7 @@ "receiver_expr": "pushBuilder.path(\"images/menuHome.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224448,6 +235179,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224471,6 +235206,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/menuHome.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224492,6 +235230,7 @@ "receiver_expr": "pushBuilder.path(\"images/account.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224516,6 +235255,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224539,6 +235282,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/account.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224560,6 +235306,7 @@ "receiver_expr": "pushBuilder.path(\"images/portfolio.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224584,6 +235331,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224607,6 +235358,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/portfolio.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224628,6 +235382,7 @@ "receiver_expr": "pushBuilder.path(\"images/quotes.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224652,6 +235407,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224675,6 +235434,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/quotes.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224696,6 +235458,7 @@ "receiver_expr": "pushBuilder.path(\"images/logout.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224720,6 +235483,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224743,6 +235510,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/logout.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224764,6 +235534,7 @@ "receiver_expr": "pushBuilder.path(\"images/graph.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224788,6 +235559,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224811,6 +235586,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/graph.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224832,6 +235610,7 @@ "receiver_expr": "pushBuilder.path(\"images/line.gif\").addHeader(\"content-type\", \"image/gif\")", "receiver_type": "javax.servlet.http.PushBuilder", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "push()", "is_public": true, @@ -224856,6 +235635,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"content-type\"", + "\"image/gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "addHeader(java.lang.String, java.lang.String)", "is_public": true, @@ -224879,6 +235662,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"images/line.gif\"" + ], "return_type": "javax.servlet.http.PushBuilder", "callee_signature": "path(java.lang.String)", "is_public": true, @@ -224902,6 +235688,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HTTP/2 is enabled\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -224925,6 +235714,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"HTTP/2 not enabled\"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -225052,547 +235844,38 @@ "declaration": "public XMLObject createXMLObject()", "parameters": [], "code": "{\n XMLObject xo = new XMLObject();\n return xo;\n }", - "start_line": 24, - "end_line": 27, - "code_start_line": 24, - "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject" - ], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", - "callee_signature": "XMLObject()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 25, - "start_column": 20, - "end_line": 25, - "end_column": 34 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "xo", - "type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", - "initializer": "new XMLObject()", - "start_line": 25, - "start_column": 15, - "end_line": 25, - "end_column": 34 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - } - }, - "field_declarations": [], - "enum_constants": [], - "record_components": [], - "initialization_blocks": [], - "is_entrypoint_class": false - } - }, - "is_modified": false - }, - "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", - "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", - "comments": [ - { - "content": " First verify we have allocated a block of keys", - "start_line": 35, - "end_line": 35, - "start_column": 9, - "end_column": 57, - "is_javadoc": false - }, - { - "content": " for this key name", - "start_line": 36, - "end_line": 36, - "start_column": 9, - "end_column": 28, - "is_javadoc": false - }, - { - "content": " Then verify the allocated block has not been depleted", - "start_line": 37, - "end_line": 37, - "start_column": 9, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " allocate a new block if necessary", - "start_line": 38, - "end_line": 38, - "start_column": 9, - "end_column": 44, - "is_javadoc": false - }, - { - "content": " get and return a new unique key", - "start_line": 48, - "end_line": 48, - "start_column": 9, - "end_column": 42, - "is_javadoc": false - }, - { - "content": " commit any pending txns", - "start_line": 61, - "end_line": 61, - "start_column": 32, - "end_column": 57, - "is_javadoc": false - }, - { - "content": " No keys found for this name - create a new one", - "start_line": 69, - "end_line": 69, - "start_column": 17, - "end_column": 65, - "is_javadoc": false - }, - { - "content": "\n * (C) Copyright IBM Corporation 2015.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", - "start_line": 1, - "end_line": 15, - "start_column": 1, - "end_column": 3, - "is_javadoc": true - } - ], - "imports": [ - "java.sql.Connection", - "java.sql.PreparedStatement", - "java.sql.ResultSet", - "java.util.Collection", - "java.util.HashMap", - "java.util.Iterator", - "com.ibm.websphere.samples.daytrader.util.KeyBlock", - "com.ibm.websphere.samples.daytrader.util.Log", - "com.ibm.websphere.samples.daytrader.util.TradeConfig" - ], - "type_declarations": { - "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect": { - "is_nested_type": false, - "is_class_or_interface_declaration": true, - "is_enum_declaration": false, - "is_annotation_declaration": false, - "is_record_declaration": false, - "is_interface": false, - "is_inner_class": false, - "is_local_class": false, - "extends_list": [], - "comments": [ - { - "content": " First verify we have allocated a block of keys", - "start_line": 35, - "end_line": 35, - "start_column": 9, - "end_column": 57, - "is_javadoc": false - }, - { - "content": " for this key name", - "start_line": 36, - "end_line": 36, - "start_column": 9, - "end_column": 28, - "is_javadoc": false - }, - { - "content": " Then verify the allocated block has not been depleted", - "start_line": 37, - "end_line": 37, - "start_column": 9, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " allocate a new block if necessary", - "start_line": 38, - "end_line": 38, - "start_column": 9, - "end_column": 44, - "is_javadoc": false - }, - { - "content": " get and return a new unique key", - "start_line": 48, - "end_line": 48, - "start_column": 9, - "end_column": 42, - "is_javadoc": false - }, - { - "content": " commit any pending txns", - "start_line": 61, - "end_line": 61, - "start_column": 32, - "end_column": 57, - "is_javadoc": false - }, - { - "content": " No keys found for this name - create a new one", - "start_line": 69, - "end_line": 69, - "start_column": 17, - "end_column": 65, - "is_javadoc": false - } - ], - "implements_list": [], - "modifiers": [ - "public" - ], - "annotations": [], - "parent_type": "", - "nested_type_declarations": [], - "callable_declarations": { - "getNextID(Connection, String, boolean, boolean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", - "signature": "getNextID(Connection, String, boolean, boolean)", - "comments": [ - { - "content": " First verify we have allocated a block of keys", - "start_line": 35, - "end_line": 35, - "start_column": 9, - "end_column": 57, - "is_javadoc": false - }, - { - "content": " for this key name", - "start_line": 36, - "end_line": 36, - "start_column": 9, - "end_column": 28, - "is_javadoc": false - }, - { - "content": " Then verify the allocated block has not been depleted", - "start_line": 37, - "end_line": 37, - "start_column": 9, - "end_column": 64, - "is_javadoc": false - }, - { - "content": " allocate a new block if necessary", - "start_line": 38, - "end_line": 38, - "start_column": 9, - "end_column": 44, - "is_javadoc": false - }, - { - "content": " get and return a new unique key", - "start_line": 48, - "end_line": 48, - "start_column": 9, - "end_column": 42, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public", - "static", - "synchronized" - ], - "thrown_exceptions": [ - "java.lang.Exception" - ], - "declaration": "public static synchronized Integer getNextID(Connection conn, String keyName, boolean inSession, boolean inGlobalTxn) throws Exception", - "parameters": [ - { - "type": "java.sql.Connection", - "name": "conn", - "annotations": [], - "modifiers": [], - "start_line": 33, - "end_line": 33, - "start_column": 50, - "end_column": 64 - }, - { - "type": "java.lang.String", - "name": "keyName", - "annotations": [], - "modifiers": [], - "start_line": 33, - "end_line": 33, - "start_column": 67, - "end_column": 80 - }, - { - "type": "boolean", - "name": "inSession", - "annotations": [], - "modifiers": [], - "start_line": 33, - "end_line": 33, - "start_column": 83, - "end_column": 99 - }, - { - "type": "boolean", - "name": "inGlobalTxn", - "annotations": [], - "modifiers": [], - "start_line": 33, - "end_line": 33, - "start_column": 102, - "end_column": 120 - } - ], - "code": "{\n Integer nextID = null;\n // First verify we have allocated a block of keys\n // for this key name\n // Then verify the allocated block has not been depleted\n // allocate a new block if necessary\n if (keyMap.containsKey(keyName) == false) {\n allocNewBlock(conn, keyName, inSession, inGlobalTxn);\n }\n Collection block = keyMap.get(keyName);\n\n Iterator ids = block.iterator();\n if (ids.hasNext() == false) {\n ids = allocNewBlock(conn, keyName, inSession, inGlobalTxn).iterator();\n }\n // get and return a new unique key\n nextID = (Integer) ids.next();\n\n \n Log.trace(\"KeySequenceDirect:getNextID inSession(\" + inSession + \") - return new PK ID for Entity type: \" + keyName + \" ID=\" + nextID);\n \n return nextID;\n }", - "start_line": 33, - "end_line": 55, - "code_start_line": 33, - "return_type": "java.lang.Integer", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.util.Collection", - "java.util.Iterator", - "java.lang.Integer" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect.keyMap" - ], - "call_sites": [ - { - "method_name": "containsKey", - "comment": null, - "receiver_expr": "keyMap", - "receiver_type": "java.util.HashMap>", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "containsKey(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 39, - "start_column": 13, - "end_line": 39, - "end_column": 39 - }, - { - "method_name": "allocNewBlock", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String", - "", - "" - ], - "return_type": "java.util.Collection", - "callee_signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 40, - "start_column": 13, - "end_line": 40, - "end_column": 64 - }, - { - "method_name": "get", - "comment": null, - "receiver_expr": "keyMap", - "receiver_type": "java.util.HashMap>", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.util.Collection", - "callee_signature": "get(java.lang.Object)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 42, - "start_column": 31, - "end_line": 42, - "end_column": 49 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "block", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 44, - "start_column": 27, - "end_line": 44, - "end_column": 42 - }, - { - "method_name": "hasNext", - "comment": null, - "receiver_expr": "ids", - "receiver_type": "java.util.Iterator", - "argument_types": [], - "return_type": "", - "callee_signature": "hasNext()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 45, - "start_column": 13, - "end_line": 45, - "end_column": 25 - }, - { - "method_name": "iterator", - "comment": null, - "receiver_expr": "allocNewBlock(conn, keyName, inSession, inGlobalTxn)", - "receiver_type": "java.util.Collection", - "argument_types": [], - "return_type": "java.util.Iterator", - "callee_signature": "iterator()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 46, - "start_column": 19, - "end_line": 46, - "end_column": 81 - }, - { - "method_name": "allocNewBlock", - "comment": null, - "receiver_expr": "", - "receiver_type": "", - "argument_types": [ - "java.sql.Connection", - "java.lang.String", - "", - "" - ], - "return_type": "java.util.Collection", - "callee_signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", - "is_public": false, - "is_protected": false, - "is_private": true, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 46, - "start_column": 19, - "end_line": 46, - "end_column": 70 - }, + "start_line": 24, + "end_line": 27, + "code_start_line": 24, + "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject" + ], + "accessed_fields": [], + "call_sites": [ { - "method_name": "next", + "method_name": "", "comment": null, - "receiver_expr": "ids", - "receiver_type": "java.util.Iterator", + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", "argument_types": [], - "return_type": "java.lang.Integer", - "callee_signature": "next()", - "is_public": true, + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", + "callee_signature": "XMLObject()", + "is_public": false, "is_protected": false, "is_private": false, - "is_unspecified": false, + "is_unspecified": true, "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 49, - "start_column": 28, - "end_line": 49, - "end_column": 37 - }, - { - "method_name": "trace", - "comment": null, - "receiver_expr": "Log", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", - "argument_types": [ - "java.lang.String" - ], - "return_type": "", - "callee_signature": "trace(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, + "is_constructor_call": true, "crud_operation": null, "crud_query": null, - "start_line": 52, - "start_column": 9, - "end_line": 52, - "end_column": 142 + "start_line": 25, + "start_column": 20, + "end_line": 25, + "end_column": 34 } ], "variable_declarations": [ @@ -225605,57 +235888,190 @@ "end_column": -1, "is_javadoc": false }, - "name": "nextID", - "type": "java.lang.Integer", - "initializer": "null", - "start_line": 34, - "start_column": 17, - "end_line": 34, - "end_column": 29 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "block", - "type": "java.util.Collection", - "initializer": "keyMap.get(keyName)", - "start_line": 42, - "start_column": 23, - "end_line": 42, - "end_column": 49 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "ids", - "type": "java.util.Iterator", - "initializer": "block.iterator()", - "start_line": 44, - "start_column": 21, - "end_line": 44, - "end_column": 42 + "name": "xo", + "type": "com.ibm.websphere.samples.daytrader.web.prims.jaxrs.XMLObject", + "initializer": "new XMLObject()", + "start_line": 25, + "start_column": 15, + "end_line": 25, + "end_column": 34 } ], "crud_operations": [], "crud_queries": [], - "cyclomatic_complexity": 3, + "cyclomatic_complexity": 1, "is_entrypoint": false + } + }, + "field_declarations": [], + "enum_constants": [], + "record_components": [], + "initialization_blocks": [], + "is_entrypoint_class": false + } + }, + "is_modified": false + }, + "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", + "package_name": "com.ibm.websphere.samples.daytrader.impl.direct", + "comments": [ + { + "content": " First verify we have allocated a block of keys", + "start_line": 35, + "end_line": 35, + "start_column": 9, + "end_column": 57, + "is_javadoc": false + }, + { + "content": " for this key name", + "start_line": 36, + "end_line": 36, + "start_column": 9, + "end_column": 28, + "is_javadoc": false + }, + { + "content": " Then verify the allocated block has not been depleted", + "start_line": 37, + "end_line": 37, + "start_column": 9, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " allocate a new block if necessary", + "start_line": 38, + "end_line": 38, + "start_column": 9, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " get and return a new unique key", + "start_line": 48, + "end_line": 48, + "start_column": 9, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " commit any pending txns", + "start_line": 61, + "end_line": 61, + "start_column": 32, + "end_column": 57, + "is_javadoc": false + }, + { + "content": " No keys found for this name - create a new one", + "start_line": 69, + "end_line": 69, + "start_column": 17, + "end_column": 65, + "is_javadoc": false + }, + { + "content": "\n * (C) Copyright IBM Corporation 2015.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ", + "start_line": 1, + "end_line": 15, + "start_column": 1, + "end_column": 3, + "is_javadoc": true + } + ], + "imports": [ + "java.sql.Connection", + "java.sql.PreparedStatement", + "java.sql.ResultSet", + "java.util.Collection", + "java.util.HashMap", + "java.util.Iterator", + "com.ibm.websphere.samples.daytrader.util.KeyBlock", + "com.ibm.websphere.samples.daytrader.util.Log", + "com.ibm.websphere.samples.daytrader.util.TradeConfig" + ], + "type_declarations": { + "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect": { + "is_nested_type": false, + "is_class_or_interface_declaration": true, + "is_enum_declaration": false, + "is_annotation_declaration": false, + "is_record_declaration": false, + "is_interface": false, + "is_inner_class": false, + "is_local_class": false, + "extends_list": [], + "comments": [ + { + "content": " First verify we have allocated a block of keys", + "start_line": 35, + "end_line": 35, + "start_column": 9, + "end_column": 57, + "is_javadoc": false + }, + { + "content": " for this key name", + "start_line": 36, + "end_line": 36, + "start_column": 9, + "end_column": 28, + "is_javadoc": false + }, + { + "content": " Then verify the allocated block has not been depleted", + "start_line": 37, + "end_line": 37, + "start_column": 9, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " allocate a new block if necessary", + "start_line": 38, + "end_line": 38, + "start_column": 9, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " get and return a new unique key", + "start_line": 48, + "end_line": 48, + "start_column": 9, + "end_column": 42, + "is_javadoc": false + }, + { + "content": " commit any pending txns", + "start_line": 61, + "end_line": 61, + "start_column": 32, + "end_column": 57, + "is_javadoc": false }, - "allocNewBlock(Connection, String, boolean, boolean)": { + { + "content": " No keys found for this name - create a new one", + "start_line": 69, + "end_line": 69, + "start_column": 17, + "end_column": 65, + "is_javadoc": false + } + ], + "implements_list": [], + "modifiers": [ + "public" + ], + "annotations": [], + "parent_type": "", + "nested_type_declarations": [], + "callable_declarations": { + "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", - "signature": "allocNewBlock(Connection, String, boolean, boolean)", + "signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", "comments": [ { "content": " commit any pending txns", @@ -225759,6 +236175,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -225782,6 +236199,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "getKeyForUpdateSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "prepareStatement(java.lang.String)", "is_public": true, @@ -225806,6 +236226,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "keyName" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -225827,6 +236251,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -225848,6 +236273,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -225871,6 +236297,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "createKeySQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "prepareStatement(java.lang.String)", "is_public": true, @@ -225895,6 +236324,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "keyName" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -225919,6 +236352,10 @@ "", "" ], + "argument_expr": [ + "2", + "keyVal" + ], "return_type": "", "callee_signature": "setInt(int, int)", "is_public": true, @@ -225940,6 +236377,7 @@ "receiver_expr": "stmt2", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -225961,6 +236399,7 @@ "receiver_expr": "stmt2", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -225982,6 +236421,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -226005,6 +236445,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "getKeyForUpdateSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "prepareStatement(java.lang.String)", "is_public": true, @@ -226029,6 +236472,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "1", + "keyName" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -226050,6 +236497,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "java.sql.ResultSet", "callee_signature": "executeQuery()", "is_public": true, @@ -226071,6 +236519,7 @@ "receiver_expr": "rs", "receiver_type": "java.sql.ResultSet", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "next()", "is_public": true, @@ -226094,6 +236543,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"keyval\"" + ], "return_type": "", "callee_signature": "getInt(java.lang.String)", "is_public": true, @@ -226115,6 +236567,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -226138,6 +236591,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "updateKeyValueSQL" + ], "return_type": "java.sql.PreparedStatement", "callee_signature": "prepareStatement(java.lang.String)", "is_public": true, @@ -226162,6 +236618,10 @@ "", "" ], + "argument_expr": [ + "1", + "keyVal + TradeConfig.KEYBLOCKSIZE" + ], "return_type": "", "callee_signature": "setInt(int, int)", "is_public": true, @@ -226186,6 +236646,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "2", + "keyName" + ], "return_type": "", "callee_signature": "setString(int, java.lang.String)", "is_public": true, @@ -226207,6 +236671,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "executeUpdate()", "is_public": true, @@ -226228,6 +236693,7 @@ "receiver_expr": "stmt", "receiver_type": "java.sql.PreparedStatement", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -226252,8 +236718,12 @@ "java.lang.String", "java.util.Collection" ], + "argument_expr": [ + "keyName", + "block" + ], "return_type": "java.util.Collection", - "callee_signature": "put(K, V)", + "callee_signature": "put(java.lang.Object, java.lang.Object)", "is_public": true, "is_protected": false, "is_private": false, @@ -226273,6 +236743,7 @@ "receiver_expr": "conn", "receiver_type": "java.sql.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "commit()", "is_public": true, @@ -226297,6 +236768,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "error" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -226318,6 +236793,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -226342,6 +236818,10 @@ "", "" ], + "argument_expr": [ + "keyVal", + "keyVal + TradeConfig.KEYBLOCKSIZE - 1" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.KeyBlock", "callee_signature": "KeyBlock(int, int)", "is_public": false, @@ -226365,6 +236845,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "error + e.toString()" + ], "return_type": "java.lang.Exception", "callee_signature": "Exception(java.lang.String)", "is_public": false, @@ -226506,6 +236989,408 @@ "crud_queries": [], "cyclomatic_complexity": 7, "is_entrypoint": false + }, + "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/impl/direct/KeySequenceDirect.java", + "signature": "getNextID(java.sql.Connection, java.lang.String, boolean, boolean)", + "comments": [ + { + "content": " First verify we have allocated a block of keys", + "start_line": 35, + "end_line": 35, + "start_column": 9, + "end_column": 57, + "is_javadoc": false + }, + { + "content": " for this key name", + "start_line": 36, + "end_line": 36, + "start_column": 9, + "end_column": 28, + "is_javadoc": false + }, + { + "content": " Then verify the allocated block has not been depleted", + "start_line": 37, + "end_line": 37, + "start_column": 9, + "end_column": 64, + "is_javadoc": false + }, + { + "content": " allocate a new block if necessary", + "start_line": 38, + "end_line": 38, + "start_column": 9, + "end_column": 44, + "is_javadoc": false + }, + { + "content": " get and return a new unique key", + "start_line": 48, + "end_line": 48, + "start_column": 9, + "end_column": 42, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "public", + "static", + "synchronized" + ], + "thrown_exceptions": [ + "java.lang.Exception" + ], + "declaration": "public static synchronized Integer getNextID(Connection conn, String keyName, boolean inSession, boolean inGlobalTxn) throws Exception", + "parameters": [ + { + "type": "java.sql.Connection", + "name": "conn", + "annotations": [], + "modifiers": [], + "start_line": 33, + "end_line": 33, + "start_column": 50, + "end_column": 64 + }, + { + "type": "java.lang.String", + "name": "keyName", + "annotations": [], + "modifiers": [], + "start_line": 33, + "end_line": 33, + "start_column": 67, + "end_column": 80 + }, + { + "type": "boolean", + "name": "inSession", + "annotations": [], + "modifiers": [], + "start_line": 33, + "end_line": 33, + "start_column": 83, + "end_column": 99 + }, + { + "type": "boolean", + "name": "inGlobalTxn", + "annotations": [], + "modifiers": [], + "start_line": 33, + "end_line": 33, + "start_column": 102, + "end_column": 120 + } + ], + "code": "{\n Integer nextID = null;\n // First verify we have allocated a block of keys\n // for this key name\n // Then verify the allocated block has not been depleted\n // allocate a new block if necessary\n if (keyMap.containsKey(keyName) == false) {\n allocNewBlock(conn, keyName, inSession, inGlobalTxn);\n }\n Collection block = keyMap.get(keyName);\n\n Iterator ids = block.iterator();\n if (ids.hasNext() == false) {\n ids = allocNewBlock(conn, keyName, inSession, inGlobalTxn).iterator();\n }\n // get and return a new unique key\n nextID = (Integer) ids.next();\n\n \n Log.trace(\"KeySequenceDirect:getNextID inSession(\" + inSession + \") - return new PK ID for Entity type: \" + keyName + \" ID=\" + nextID);\n \n return nextID;\n }", + "start_line": 33, + "end_line": 55, + "code_start_line": 33, + "return_type": "java.lang.Integer", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.util.Collection", + "java.util.Iterator", + "java.lang.Integer" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.impl.direct.KeySequenceDirect.keyMap" + ], + "call_sites": [ + { + "method_name": "containsKey", + "comment": null, + "receiver_expr": "keyMap", + "receiver_type": "java.util.HashMap>", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "keyName" + ], + "return_type": "", + "callee_signature": "containsKey(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 39, + "start_column": 13, + "end_line": 39, + "end_column": 39 + }, + { + "method_name": "allocNewBlock", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "conn", + "keyName", + "inSession", + "inGlobalTxn" + ], + "return_type": "java.util.Collection", + "callee_signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 40, + "start_column": 13, + "end_line": 40, + "end_column": 64 + }, + { + "method_name": "get", + "comment": null, + "receiver_expr": "keyMap", + "receiver_type": "java.util.HashMap>", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "keyName" + ], + "return_type": "java.util.Collection", + "callee_signature": "get(java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 42, + "start_column": 31, + "end_line": 42, + "end_column": 49 + }, + { + "method_name": "iterator", + "comment": null, + "receiver_expr": "block", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 44, + "start_column": 27, + "end_line": 44, + "end_column": 42 + }, + { + "method_name": "hasNext", + "comment": null, + "receiver_expr": "ids", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "hasNext()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 45, + "start_column": 13, + "end_line": 45, + "end_column": 25 + }, + { + "method_name": "iterator", + "comment": null, + "receiver_expr": "allocNewBlock(conn, keyName, inSession, inGlobalTxn)", + "receiver_type": "java.util.Collection", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Iterator", + "callee_signature": "iterator()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 46, + "start_column": 19, + "end_line": 46, + "end_column": 81 + }, + { + "method_name": "allocNewBlock", + "comment": null, + "receiver_expr": "", + "receiver_type": "", + "argument_types": [ + "java.sql.Connection", + "java.lang.String", + "", + "" + ], + "argument_expr": [ + "conn", + "keyName", + "inSession", + "inGlobalTxn" + ], + "return_type": "java.util.Collection", + "callee_signature": "allocNewBlock(java.sql.Connection, java.lang.String, boolean, boolean)", + "is_public": false, + "is_protected": false, + "is_private": true, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 46, + "start_column": 19, + "end_line": 46, + "end_column": 70 + }, + { + "method_name": "next", + "comment": null, + "receiver_expr": "ids", + "receiver_type": "java.util.Iterator", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.Integer", + "callee_signature": "next()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 49, + "start_column": 28, + "end_line": 49, + "end_column": 37 + }, + { + "method_name": "trace", + "comment": null, + "receiver_expr": "Log", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.Log", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"KeySequenceDirect:getNextID inSession(\" + inSession + \") - return new PK ID for Entity type: \" + keyName + \" ID=\" + nextID" + ], + "return_type": "", + "callee_signature": "trace(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 52, + "start_column": 9, + "end_line": 52, + "end_column": 142 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "nextID", + "type": "java.lang.Integer", + "initializer": "null", + "start_line": 34, + "start_column": 17, + "end_line": 34, + "end_column": 29 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "block", + "type": "java.util.Collection", + "initializer": "keyMap.get(keyName)", + "start_line": 42, + "start_column": 23, + "end_line": 42, + "end_column": 49 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "ids", + "type": "java.util.Iterator", + "initializer": "block.iterator()", + "start_line": 44, + "start_column": 21, + "end_line": 44, + "end_column": 42 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false } }, "field_declarations": [ @@ -226713,6 +237598,7 @@ "receiver_expr": "list", "receiver_type": "java.util.List", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isEmpty()", "is_public": true, @@ -226735,364 +237621,6 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, - "add(QuoteDataBean)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", - "signature": "add(QuoteDataBean)", - "comments": [ - { - "content": " Add stock, remove if needed", - "start_line": 59, - "end_line": 59, - "start_column": 7, - "end_column": 36, - "is_javadoc": false - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public boolean add(QuoteDataBean quoteData)", - "parameters": [ - { - "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "name": "quoteData", - "annotations": [], - "modifiers": [], - "start_line": 52, - "end_line": 52, - "start_column": 22, - "end_column": 44 - } - ], - "code": "{\n\n int symbolNumber = new Integer(quoteData.getSymbol().substring(2));\n\n if ( symbolNumber < TradeConfig.getMAX_QUOTES() * TradeConfig.getListQuotePriceChangeFrequency() * 0.01) {\n list.add(0, quoteData);\n\n // Add stock, remove if needed\n if(list.size() > maxSize) {\n list.remove(maxSize);\n } \n quotePriceChangeEvent.fireAsync(\"quotePriceChange for symbol: \" + quoteData.getSymbol(), NotificationOptions.builder().setExecutor(mes).build());\n }\n return true;\n }", - "start_line": 52, - "end_line": 66, - "code_start_line": 52, - "return_type": "boolean", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.maxSize", - "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.list", - "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.mes", - "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.quotePriceChangeEvent" - ], - "call_sites": [ - { - "method_name": "substring", - "comment": null, - "receiver_expr": "quoteData.getSymbol()", - "receiver_type": "java.lang.String", - "argument_types": [ - "" - ], - "return_type": "java.lang.String", - "callee_signature": "substring(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 36, - "end_line": 54, - "end_column": 69 - }, - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 36, - "end_line": 54, - "end_column": 56 - }, - { - "method_name": "getMAX_QUOTES", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getMAX_QUOTES()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 25, - "end_line": 56, - "end_column": 51 - }, - { - "method_name": "getListQuotePriceChangeFrequency", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getListQuotePriceChangeFrequency()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 56, - "start_column": 55, - "end_line": 56, - "end_column": 100 - }, - { - "method_name": "add", - "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.List", - "argument_types": [ - "", - "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" - ], - "return_type": "", - "callee_signature": "add(int, E)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 57, - "start_column": 7, - "end_line": 57, - "end_column": 28 - }, - { - "method_name": "size", - "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.List", - "argument_types": [], - "return_type": "", - "callee_signature": "size()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 60, - "start_column": 10, - "end_line": 60, - "end_column": 20 - }, - { - "method_name": "remove", - "comment": null, - "receiver_expr": "list", - "receiver_type": "java.util.List", - "argument_types": [ - "" - ], - "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "callee_signature": "remove(int)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 61, - "start_column": 9, - "end_line": 61, - "end_column": 28 - }, - { - "method_name": "fireAsync", - "comment": null, - "receiver_expr": "quotePriceChangeEvent", - "receiver_type": "javax.enterprise.event.Event", - "argument_types": [ - "java.lang.String", - "javax.enterprise.event.NotificationOptions" - ], - "return_type": "java.util.concurrent.CompletionStage", - "callee_signature": "fireAsync(U, javax.enterprise.event.NotificationOptions)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 7, - "end_line": 63, - "end_column": 150 - }, - { - "method_name": "getSymbol", - "comment": null, - "receiver_expr": "quoteData", - "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "getSymbol()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 73, - "end_line": 63, - "end_column": 93 - }, - { - "method_name": "build", - "comment": null, - "receiver_expr": "NotificationOptions.builder().setExecutor(mes)", - "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", - "argument_types": [], - "return_type": "javax.enterprise.event.NotificationOptions", - "callee_signature": "build()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 96, - "end_line": 63, - "end_column": 149 - }, - { - "method_name": "setExecutor", - "comment": null, - "receiver_expr": "NotificationOptions.builder()", - "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", - "argument_types": [ - "javax.enterprise.concurrent.ManagedExecutorService" - ], - "return_type": "javax.enterprise.event.NotificationOptions.Builder", - "callee_signature": "setExecutor(java.util.concurrent.Executor)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 96, - "end_line": 63, - "end_column": 141 - }, - { - "method_name": "builder", - "comment": null, - "receiver_expr": "NotificationOptions", - "receiver_type": "javax.enterprise.event.NotificationOptions", - "argument_types": [], - "return_type": "javax.enterprise.event.NotificationOptions.Builder", - "callee_signature": "builder()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 63, - "start_column": 96, - "end_line": 63, - "end_column": 124 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.Integer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.Integer", - "callee_signature": "Integer(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 54, - "start_column": 24, - "end_line": 54, - "end_column": 70 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "symbolNumber", - "type": "int", - "initializer": "new Integer(quoteData.getSymbol().substring(2))", - "start_line": 54, - "start_column": 9, - "end_line": 54, - "end_column": 70 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 3, - "is_entrypoint": false - }, "recentList()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", "signature": "recentList()", @@ -227124,6 +237652,391 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + }, + "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/RecentQuotePriceChangeList.java", + "signature": "add(com.ibm.websphere.samples.daytrader.entities.QuoteDataBean)", + "comments": [ + { + "content": " Add stock, remove if needed", + "start_line": 59, + "end_line": 59, + "start_column": 7, + "end_column": 36, + "is_javadoc": false + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public boolean add(QuoteDataBean quoteData)", + "parameters": [ + { + "type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "name": "quoteData", + "annotations": [], + "modifiers": [], + "start_line": 52, + "end_line": 52, + "start_column": 22, + "end_column": 44 + } + ], + "code": "{\n\n int symbolNumber = new Integer(quoteData.getSymbol().substring(2));\n\n if ( symbolNumber < TradeConfig.getMAX_QUOTES() * TradeConfig.getListQuotePriceChangeFrequency() * 0.01) {\n list.add(0, quoteData);\n\n // Add stock, remove if needed\n if(list.size() > maxSize) {\n list.remove(maxSize);\n } \n quotePriceChangeEvent.fireAsync(\"quotePriceChange for symbol: \" + quoteData.getSymbol(), NotificationOptions.builder().setExecutor(mes).build());\n }\n return true;\n }", + "start_line": 52, + "end_line": 66, + "code_start_line": 52, + "return_type": "boolean", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.maxSize", + "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.list", + "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.mes", + "com.ibm.websphere.samples.daytrader.util.RecentQuotePriceChangeList.quotePriceChangeEvent" + ], + "call_sites": [ + { + "method_name": "substring", + "comment": null, + "receiver_expr": "quoteData.getSymbol()", + "receiver_type": "java.lang.String", + "argument_types": [ + "" + ], + "argument_expr": [ + "2" + ], + "return_type": "java.lang.String", + "callee_signature": "substring(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 36, + "end_line": 54, + "end_column": 69 + }, + { + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 36, + "end_line": 54, + "end_column": 56 + }, + { + "method_name": "getMAX_QUOTES", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getMAX_QUOTES()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 56, + "start_column": 25, + "end_line": 56, + "end_column": 51 + }, + { + "method_name": "getListQuotePriceChangeFrequency", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getListQuotePriceChangeFrequency()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 56, + "start_column": 55, + "end_line": 56, + "end_column": 100 + }, + { + "method_name": "add", + "comment": null, + "receiver_expr": "list", + "receiver_type": "java.util.List", + "argument_types": [ + "", + "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean" + ], + "argument_expr": [ + "0", + "quoteData" + ], + "return_type": "", + "callee_signature": "add(int, java.lang.Object)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 57, + "start_column": 7, + "end_line": 57, + "end_column": 28 + }, + { + "method_name": "size", + "comment": null, + "receiver_expr": "list", + "receiver_type": "java.util.List", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "size()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 60, + "start_column": 10, + "end_line": 60, + "end_column": 20 + }, + { + "method_name": "remove", + "comment": null, + "receiver_expr": "list", + "receiver_type": "java.util.List", + "argument_types": [ + "" + ], + "argument_expr": [ + "maxSize" + ], + "return_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "callee_signature": "remove(int)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 61, + "start_column": 9, + "end_line": 61, + "end_column": 28 + }, + { + "method_name": "fireAsync", + "comment": null, + "receiver_expr": "quotePriceChangeEvent", + "receiver_type": "javax.enterprise.event.Event", + "argument_types": [ + "java.lang.String", + "javax.enterprise.event.NotificationOptions" + ], + "argument_expr": [ + "\"quotePriceChange for symbol: \" + quoteData.getSymbol()", + "NotificationOptions.builder().setExecutor(mes).build()" + ], + "return_type": "java.util.concurrent.CompletionStage", + "callee_signature": "fireAsync(T, javax.enterprise.event.NotificationOptions)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 7, + "end_line": 63, + "end_column": 150 + }, + { + "method_name": "getSymbol", + "comment": null, + "receiver_expr": "quoteData", + "receiver_type": "com.ibm.websphere.samples.daytrader.entities.QuoteDataBean", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "getSymbol()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 73, + "end_line": 63, + "end_column": 93 + }, + { + "method_name": "build", + "comment": null, + "receiver_expr": "NotificationOptions.builder().setExecutor(mes)", + "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.enterprise.event.NotificationOptions", + "callee_signature": "build()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 96, + "end_line": 63, + "end_column": 149 + }, + { + "method_name": "setExecutor", + "comment": null, + "receiver_expr": "NotificationOptions.builder()", + "receiver_type": "javax.enterprise.event.NotificationOptions.Builder", + "argument_types": [ + "javax.enterprise.concurrent.ManagedExecutorService" + ], + "argument_expr": [ + "mes" + ], + "return_type": "javax.enterprise.event.NotificationOptions.Builder", + "callee_signature": "setExecutor(java.util.concurrent.Executor)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 96, + "end_line": 63, + "end_column": 141 + }, + { + "method_name": "builder", + "comment": null, + "receiver_expr": "NotificationOptions", + "receiver_type": "javax.enterprise.event.NotificationOptions", + "argument_types": [], + "argument_expr": [], + "return_type": "javax.enterprise.event.NotificationOptions.Builder", + "callee_signature": "builder()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 63, + "start_column": 96, + "end_line": 63, + "end_column": 124 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.Integer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "quoteData.getSymbol().substring(2)" + ], + "return_type": "java.lang.Integer", + "callee_signature": "Integer(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 54, + "start_column": 24, + "end_line": 54, + "end_column": 70 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "symbolNumber", + "type": "int", + "initializer": "new Integer(quoteData.getSymbol().substring(2))", + "start_line": 54, + "start_column": 9, + "end_line": 54, + "end_column": 70 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 3, + "is_entrypoint": false } }, "field_declarations": [ @@ -227788,14 +238701,14 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "nextIndex()": { + "add(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", - "signature": "nextIndex()", + "signature": "add(java.lang.Object)", "comments": [ { - "content": "\n * @see ListIterator#nextIndex()\n ", - "start_line": 101, - "end_line": 103, + "content": "\n * @see ListIterator#add()\n ", + "start_line": 117, + "end_line": 119, "start_column": 9, "end_column": 11, "is_javadoc": true @@ -227808,27 +238721,65 @@ "public" ], "thrown_exceptions": [], - "declaration": "public int nextIndex()", - "parameters": [], - "code": "{\n return index - min;\n }", - "start_line": 104, - "end_line": 107, - "code_start_line": 105, - "return_type": "int", + "declaration": "public void add(Object o)", + "parameters": [ + { + "type": "java.lang.Object", + "name": "o", + "annotations": [], + "modifiers": [], + "start_line": 121, + "end_line": 121, + "start_column": 25, + "end_column": 32 + } + ], + "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: add() not supported\");\n }", + "start_line": 120, + "end_line": 123, + "code_start_line": 121, + "return_type": "void", "is_implicit": false, "is_constructor": false, "referenced_types": [], "accessed_fields": [], - "call_sites": [], + "call_sites": [ + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.UnsupportedOperationException", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"KeyBlock: add() not supported\"" + ], + "return_type": "java.lang.UnsupportedOperationException", + "callee_signature": "UnsupportedOperationException(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 122, + "start_column": 19, + "end_line": 122, + "end_column": 84 + } + ], "variable_declarations": [], "crud_operations": [], "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false }, - "set(Object)": { + "set(java.lang.Object)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", - "signature": "set(Object)", + "signature": "set(java.lang.Object)", "comments": [ { "content": "\n * @see ListIterator#set(Object)\n ", @@ -227875,6 +238826,44 @@ "cyclomatic_complexity": 1, "is_entrypoint": false }, + "nextIndex()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", + "signature": "nextIndex()", + "comments": [ + { + "content": "\n * @see ListIterator#nextIndex()\n ", + "start_line": 101, + "end_line": 103, + "start_column": 9, + "end_column": 11, + "is_javadoc": true + } + ], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public int nextIndex()", + "parameters": [], + "code": "{\n return index - min;\n }", + "start_line": 104, + "end_line": 107, + "code_start_line": 105, + "return_type": "int", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, "next()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", "signature": "next()", @@ -227916,6 +238905,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"KeyBlock:next() -- Error KeyBlock depleted\"" + ], "return_type": "java.lang.RuntimeException", "callee_signature": "RuntimeException(java.lang.String)", "is_public": false, @@ -227939,6 +238931,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "index++" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -228001,6 +238996,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "--index" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -228063,6 +239061,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"KeyBlock: previousIndex() not supported\"" + ], "return_type": "java.lang.UnsupportedOperationException", "callee_signature": "UnsupportedOperationException(java.lang.String)", "is_public": false, @@ -228163,6 +239164,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"KeyBlock: remove() not supported\"" + ], "return_type": "java.lang.UnsupportedOperationException", "callee_signature": "UnsupportedOperationException(java.lang.String)", "is_public": false, @@ -228184,79 +239188,6 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false - }, - "add(Object)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", - "signature": "add(Object)", - "comments": [ - { - "content": "\n * @see ListIterator#add()\n ", - "start_line": 117, - "end_line": 119, - "start_column": 9, - "end_column": 11, - "is_javadoc": true - } - ], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public void add(Object o)", - "parameters": [ - { - "type": "java.lang.Object", - "name": "o", - "annotations": [], - "modifiers": [], - "start_line": 121, - "end_line": 121, - "start_column": 25, - "end_column": 32 - } - ], - "code": "{\n throw new UnsupportedOperationException(\"KeyBlock: add() not supported\");\n }", - "start_line": 120, - "end_line": 123, - "code_start_line": 121, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [ - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.UnsupportedOperationException", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.UnsupportedOperationException", - "callee_signature": "UnsupportedOperationException(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 122, - "start_column": 19, - "end_line": 122, - "end_column": 84 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false } }, "field_declarations": [], @@ -228403,7 +239334,7 @@ "callable_declarations": { "(int, int)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", - "signature": "KeyBlock(int, int)", + "signature": "(int, int)", "comments": [ { "content": "\n * Constructor for KeyBlock\n ", @@ -228464,7 +239395,7 @@ }, "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/util/KeyBlock.java", - "signature": "KeyBlock()", + "signature": "()", "comments": [ { "content": "\n * Constructor for KeyBlock\n ", @@ -228551,6 +239482,7 @@ "receiver_expr": "", "receiver_type": "com.ibm.websphere.samples.daytrader.util.KeyBlock.KeyBlockIterator", "argument_types": [], + "argument_expr": [], "return_type": "com.ibm.websphere.samples.daytrader.util.KeyBlock.KeyBlockIterator", "callee_signature": "KeyBlockIterator()", "is_public": false, @@ -228921,201 +239853,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "()": { + "onMessage(javax.jms.Message)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", - "signature": "DTBroker3MDB()", - "comments": [], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public DTBroker3MDB()", - "parameters": [], - "code": "{\n\n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n }", - "start_line": 63, - "end_line": 69, - "code_start_line": 63, - "return_type": null, - "is_implicit": false, - "is_constructor": true, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.mdbStats", - "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.statInterval" - ], - "call_sites": [ - { - "method_name": "getInstance", - "comment": null, - "receiver_expr": "MDBStats", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", - "callee_signature": "getInstance()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 68, - "start_column": 16, - "end_line": 68, - "end_column": 37 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, - "boostrapTradeServices()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", - "signature": "boostrapTradeServices()", - "comments": [], - "annotations": [ - "@PostConstruct" - ], - "modifiers": [], - "thrown_exceptions": [], - "declaration": "void boostrapTradeServices()", - "parameters": [], - "code": "{\n trade = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", - "start_line": 71, - "end_line": 74, - "code_start_line": 72, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.services", - "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.trade" - ], - "call_sites": [ - { - "method_name": "get", - "comment": null, - "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [], - "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", - "callee_signature": "get()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 13, - "end_line": 73, - "end_column": 127 - }, - { - "method_name": "select", - "comment": null, - "receiver_expr": "services", - "receiver_type": "javax.enterprise.inject.Instance", - "argument_types": [ - "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" - ], - "return_type": "javax.enterprise.inject.Instance", - "callee_signature": "select(java.lang.annotation.Annotation...)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 13, - "end_line": 73, - "end_column": 121 - }, - { - "method_name": "getRunTimeModeNames", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeModeNames()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 57, - "end_line": 73, - "end_column": 89 - }, - { - "method_name": "getRunTimeMode", - "comment": null, - "receiver_expr": "TradeConfig", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", - "argument_types": [], - "return_type": "", - "callee_signature": "getRunTimeMode()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": true, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 91, - "end_line": 73, - "end_column": 118 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "argument_types": [ - "java.lang.String" - ], - "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", - "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 73, - "start_column": 29, - "end_line": 73, - "end_column": 120 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": true - }, - "onMessage(Message)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", - "signature": "onMessage(Message)", + "signature": "onMessage(javax.jms.Message)", "comments": [ { "content": " Order has been cancelled -- ignore returned messages", @@ -229213,6 +239953,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"TradeBroker:onMessage -- received message -->\" + ((TextMessage) message).getText() + \"command-->\" + message.getStringProperty(\"command\") + \"<--\"" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -229234,6 +239977,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -229257,6 +240001,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"command\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -229278,6 +240025,7 @@ "receiver_expr": "message", "receiver_type": "javax.jms.Message", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getJMSRedelivered()", "is_public": true, @@ -229301,6 +240049,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTBroker3MDB: The following JMS message was redelivered due to a rollback:\\n\" + ((TextMessage) message).getText()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -229322,6 +240073,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -229345,6 +240097,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"command\"" + ], "return_type": "java.lang.String", "callee_signature": "getStringProperty(java.lang.String)", "is_public": true, @@ -229368,6 +240123,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTBroker3MDB:onMessage -- received message with null command. Message-->\" + message" + ], "return_type": "", "callee_signature": "debug(java.lang.String)", "is_public": true, @@ -229391,6 +240149,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"neworder\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -229414,6 +240175,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"orderID\"" + ], "return_type": "", "callee_signature": "getIntProperty(java.lang.String)", "is_public": true, @@ -229437,6 +240201,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"twoPhase\"" + ], "return_type": "", "callee_signature": "getBooleanProperty(java.lang.String)", "is_public": true, @@ -229460,6 +240227,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"direct\"" + ], "return_type": "", "callee_signature": "getBooleanProperty(java.lang.String)", "is_public": true, @@ -229483,6 +240253,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"publishTime\"" + ], "return_type": "", "callee_signature": "getLongProperty(java.lang.String)", "is_public": true, @@ -229504,6 +240277,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -229527,6 +240301,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTBroker3MDB:onMessage - completing order \" + orderID + \" twoPhase=\" + twoPhase + \" direct=\" + direct" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -229551,6 +240328,10 @@ "java.lang.Integer", "" ], + "argument_expr": [ + "orderID", + "twoPhase" + ], "return_type": "com.ibm.websphere.samples.daytrader.entities.OrderDataBean", "callee_signature": "completeOrder(java.lang.Integer, boolean)", "is_public": false, @@ -229576,6 +240357,11 @@ "", "" ], + "argument_expr": [ + "\"DTBroker3MDB:neworder\"", + "publishTime", + "receiveTime" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "addTiming(java.lang.String, long, long)", "is_public": true, @@ -229597,6 +240383,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -229620,6 +240407,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" DTBroker3MDB: processed \" + statInterval + \" stock trading orders.\" + \" Total NewOrders process = \" + currentStats.getCount() + \"Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -229641,6 +240431,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -229662,6 +240453,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMinSecs()", "is_public": true, @@ -229683,6 +240475,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMaxSecs()", "is_public": true, @@ -229704,6 +240497,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getAvgSecs()", "is_public": true, @@ -229728,6 +240522,10 @@ "java.lang.String", "java.lang.Exception" ], + "argument_expr": [ + "\"DTBroker3MDB:onMessage Exception completing order: \" + orderID + \"\\n\"", + "e" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -229749,6 +240547,7 @@ "receiver_expr": "mdc", "receiver_type": "javax.ejb.MessageDrivenContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "setRollbackOnly()", "is_public": true, @@ -229772,6 +240571,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"ping\"" + ], "return_type": "", "callee_signature": "equalsIgnoreCase(java.lang.String)", "is_public": true, @@ -229795,6 +240597,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTBroker3MDB:onMessage received test command -- message: \" + ((TextMessage) message).getText()" + ], "return_type": "", "callee_signature": "trace(java.lang.String)", "is_public": true, @@ -229816,6 +240621,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -229839,6 +240645,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"publishTime\"" + ], "return_type": "", "callee_signature": "getLongProperty(java.lang.String)", "is_public": true, @@ -229860,6 +240669,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -229885,6 +240695,11 @@ "", "" ], + "argument_expr": [ + "\"DTBroker3MDB:ping\"", + "publishTime", + "receiveTime" + ], "return_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "callee_signature": "addTiming(java.lang.String, long, long)", "is_public": true, @@ -229906,6 +240721,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -229929,6 +240745,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\" DTBroker3MDB: received \" + statInterval + \" ping messages.\" + \" Total ping message count = \" + currentStats.getCount() + \" Time (in seconds):\" + \" min: \" + currentStats.getMinSecs() + \" max: \" + currentStats.getMaxSecs() + \" avg: \" + currentStats.getAvgSecs()" + ], "return_type": "", "callee_signature": "log(java.lang.String)", "is_public": true, @@ -229950,6 +240769,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getCount()", "is_public": true, @@ -229971,6 +240791,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMinSecs()", "is_public": true, @@ -229992,6 +240813,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getMaxSecs()", "is_public": true, @@ -230013,6 +240835,7 @@ "receiver_expr": "currentStats", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TimerStat", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getAvgSecs()", "is_public": true, @@ -230036,6 +240859,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"DTBroker3MDB:onMessage - unknown message request command-->\" + command + \"<-- message=\" + ((TextMessage) message).getText()" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -230057,6 +240883,7 @@ "receiver_expr": "((TextMessage) message)", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -230088,6 +240915,10 @@ "java.lang.String", "java.lang.Throwable" ], + "argument_expr": [ + "\"DTBroker3MDB: Error rolling back transaction\"", + "t" + ], "return_type": "", "callee_signature": "error(java.lang.String, java.lang.Throwable)", "is_public": true, @@ -230109,6 +240940,7 @@ "receiver_expr": "mdc", "receiver_type": "javax.ejb.MessageDrivenContext", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "setRollbackOnly()", "is_public": true, @@ -230132,6 +240964,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "message.getIntProperty(\"orderID\")" + ], "return_type": "java.lang.Integer", "callee_signature": "Integer(int)", "is_public": false, @@ -230324,6 +241159,208 @@ "crud_queries": [], "cyclomatic_complexity": 9, "is_entrypoint": false + }, + "()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "signature": "()", + "comments": [], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public DTBroker3MDB()", + "parameters": [], + "code": "{\n\n if (statInterval <= 0) {\n statInterval = 10000;\n }\n mdbStats = MDBStats.getInstance();\n }", + "start_line": 63, + "end_line": 69, + "code_start_line": 63, + "return_type": null, + "is_implicit": false, + "is_constructor": true, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.mdbStats", + "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.statInterval" + ], + "call_sites": [ + { + "method_name": "getInstance", + "comment": null, + "receiver_expr": "MDBStats", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.util.MDBStats", + "callee_signature": "getInstance()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 68, + "start_column": 16, + "end_line": 68, + "end_column": 37 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false + }, + "boostrapTradeServices()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/mdb/DTBroker3MDB.java", + "signature": "boostrapTradeServices()", + "comments": [], + "annotations": [ + "@PostConstruct" + ], + "modifiers": [], + "thrown_exceptions": [], + "declaration": "void boostrapTradeServices()", + "parameters": [], + "code": "{\n trade = services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])).get();\n }", + "start_line": 71, + "end_line": 74, + "code_start_line": 72, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.services", + "com.ibm.websphere.samples.daytrader.mdb.DTBroker3MDB.trade" + ], + "call_sites": [ + { + "method_name": "get", + "comment": null, + "receiver_expr": "services.select(new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]))", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [], + "argument_expr": [], + "return_type": "com.ibm.websphere.samples.daytrader.interfaces.TradeServices", + "callee_signature": "get()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 13, + "end_line": 73, + "end_column": 127 + }, + { + "method_name": "select", + "comment": null, + "receiver_expr": "services", + "receiver_type": "javax.enterprise.inject.Instance", + "argument_types": [ + "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral" + ], + "argument_expr": [ + "new TradeRunTimeModeLiteral(TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()])" + ], + "return_type": "javax.enterprise.inject.Instance", + "callee_signature": "select(java.lang.annotation.Annotation[])", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 13, + "end_line": 73, + "end_column": 121 + }, + { + "method_name": "getRunTimeModeNames", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeModeNames()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 57, + "end_line": 73, + "end_column": 89 + }, + { + "method_name": "getRunTimeMode", + "comment": null, + "receiver_expr": "TradeConfig", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", + "argument_types": [], + "argument_expr": [], + "return_type": "", + "callee_signature": "getRunTimeMode()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": true, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 91, + "end_line": 73, + "end_column": 118 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "TradeConfig.getRunTimeModeNames()[TradeConfig.getRunTimeMode()]" + ], + "return_type": "com.ibm.websphere.samples.daytrader.util.TradeRunTimeModeLiteral", + "callee_signature": "TradeRunTimeModeLiteral(java.lang.String)", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 73, + "start_column": 29, + "end_line": 73, + "end_column": 120 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": true } }, "field_declarations": [ @@ -230596,120 +241633,9 @@ "parent_type": "", "nested_type_declarations": [], "callable_declarations": { - "init(ServletConfig)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", - "signature": "init(ServletConfig)", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [ - "javax.servlet.ServletException" - ], - "declaration": "public void init(ServletConfig config) throws ServletException", - "parameters": [ - { - "type": "javax.servlet.ServletConfig", - "name": "config", - "annotations": [], - "modifiers": [], - "start_line": 141, - "end_line": 141, - "start_column": 22, - "end_column": 41 - } - ], - "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", - "start_line": 140, - "end_line": 145, - "code_start_line": 141, - "return_type": "void", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue.initTime", - "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue.hitCount" - ], - "call_sites": [ - { - "method_name": "init", - "comment": null, - "receiver_expr": "super", - "receiver_type": "javax.servlet.http.HttpServlet", - "argument_types": [ - "javax.servlet.ServletConfig" - ], - "return_type": "", - "callee_signature": "init(javax.servlet.ServletConfig)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 142, - "start_column": 9, - "end_line": 142, - "end_column": 26 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "new java.util.Date()", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 144, - "start_column": 20, - "end_line": 144, - "end_column": 50 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.util.Date", - "argument_types": [], - "return_type": "java.util.Date", - "callee_signature": "Date()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 144, - "start_column": 20, - "end_line": 144, - "end_column": 39 - } - ], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doPost(HttpServletRequest, HttpServletResponse)": { + "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", - "signature": "doPost(HttpServletRequest, HttpServletResponse)", + "signature": "doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [], "annotations": [ "@Override" @@ -230763,6 +241689,10 @@ "javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletResponse" ], + "argument_expr": [ + "req", + "res" + ], "return_type": "", "callee_signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "is_public": true, @@ -230785,38 +241715,9 @@ "cyclomatic_complexity": 1, "is_entrypoint": true }, - "getServletInfo()": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", - "signature": "getServletInfo()", - "comments": [], - "annotations": [ - "@Override" - ], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String getServletInfo()", - "parameters": [], - "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n\n }", - "start_line": 134, - "end_line": 138, - "code_start_line": 135, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [], - "accessed_fields": [], - "call_sites": [], - "variable_declarations": [], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 1, - "is_entrypoint": false - }, - "doGet(HttpServletRequest, HttpServletResponse)": { + "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", - "signature": "doGet(HttpServletRequest, HttpServletResponse)", + "signature": "doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)", "comments": [ { "content": " use a stringbuffer to avoid concatenation of Strings", @@ -230913,6 +241814,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"text/html\"" + ], "return_type": "", "callee_signature": "setContentType(java.lang.String)", "is_public": true, @@ -230934,6 +241838,7 @@ "receiver_expr": "res", "receiver_type": "javax.servlet.http.HttpServletResponse", "argument_types": [], + "argument_expr": [], "return_type": "java.io.PrintWriter", "callee_signature": "getWriter()", "is_public": true, @@ -230957,6 +241862,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2MDBQueue\" + \"
    PingServlet2MDBQueue
    \" + \"\" + \"Tests the basic operation of a servlet posting a message to an EJB MDB through a JMS Queue.
    \" + \"Note: Not intended for performance testing.\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -230978,6 +241886,7 @@ "receiver_expr": "queueConnectionFactory", "receiver_type": "javax.jms.ConnectionFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.Connection", "callee_signature": "createConnection()", "is_public": true, @@ -230999,6 +241908,7 @@ "receiver_expr": "TradeConfig", "receiver_type": "com.ibm.websphere.samples.daytrader.util.TradeConfig", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "getPrimIterations()", "is_public": true, @@ -231020,6 +241930,7 @@ "receiver_expr": "queueConnectionFactory", "receiver_type": "javax.jms.ConnectionFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.JMSContext", "callee_signature": "createContext()", "is_public": true, @@ -231041,6 +241952,7 @@ "receiver_expr": "context", "receiver_type": "javax.jms.JMSContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.TextMessage", "callee_signature": "createTextMessage()", "is_public": true, @@ -231065,6 +241977,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "\"command\"", + "\"ping\"" + ], "return_type": "", "callee_signature": "setStringProperty(java.lang.String, java.lang.String)", "is_public": true, @@ -231089,6 +242005,10 @@ "java.lang.String", "" ], + "argument_expr": [ + "\"publishTime\"", + "System.currentTimeMillis()" + ], "return_type": "", "callee_signature": "setLongProperty(java.lang.String, long)", "is_public": true, @@ -231110,6 +242030,7 @@ "receiver_expr": "System", "receiver_type": "java.lang.System", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "currentTimeMillis()", "is_public": true, @@ -231133,6 +242054,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"Ping message for queue java:comp/env/jms/TradeBrokerQueue sent from PingServlet2MDBQueue at \" + new java.util.Date()" + ], "return_type": "", "callee_signature": "setText(java.lang.String)", "is_public": true, @@ -231157,6 +242081,10 @@ "javax.jms.Queue", "javax.jms.TextMessage" ], + "argument_expr": [ + "tradeBrokerQueue", + "message" + ], "return_type": "javax.jms.JMSProducer", "callee_signature": "send(javax.jms.Destination, javax.jms.Message)", "is_public": true, @@ -231178,6 +242106,7 @@ "receiver_expr": "context", "receiver_type": "javax.jms.JMSContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.jms.JMSProducer", "callee_signature": "createProducer()", "is_public": true, @@ -231208,6 +242137,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "initTime" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231231,6 +242163,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    initTime: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231254,6 +242189,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "hitCount++" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(int)", "is_public": true, @@ -231277,6 +242215,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Hit Count: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231300,6 +242241,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Posted Text message to java:comp/env/jms/TradeBrokerQueue destination\"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231323,6 +242267,9 @@ "argument_types": [ "javax.jms.TextMessage" ], + "argument_expr": [ + "message" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.Object)", "is_public": true, @@ -231346,6 +242293,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"
    Message: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231369,6 +242319,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "message.getText()" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231392,6 +242345,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    Message text: \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231413,6 +242369,7 @@ "receiver_expr": "message", "receiver_type": "javax.jms.TextMessage", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "getText()", "is_public": true, @@ -231436,6 +242393,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"

    \"" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "append(java.lang.String)", "is_public": true, @@ -231459,6 +242419,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "output.toString()" + ], "return_type": "", "callee_signature": "println(java.lang.String)", "is_public": true, @@ -231480,6 +242443,7 @@ "receiver_expr": "output", "receiver_type": "java.lang.StringBuffer", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -231503,6 +242467,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"PingServlet2MDBQueue.doGet(...):exception posting message to TradeBrokerQueue destination \"" + ], "return_type": "", "callee_signature": "error(java.lang.String)", "is_public": true, @@ -231524,6 +242491,7 @@ "receiver_expr": "conn", "receiver_type": "javax.jms.Connection", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "close()", "is_public": true, @@ -231548,6 +242516,10 @@ "java.lang.Exception", "java.lang.String" ], + "argument_expr": [ + "e", + "\"PingServlet2MDBQueue.doGet(...): error\"" + ], "return_type": "", "callee_signature": "error(java.lang.Throwable, java.lang.String)", "is_public": true, @@ -231572,6 +242544,10 @@ "", "java.lang.String" ], + "argument_expr": [ + "500", + "\"PingServlet2MDBQueue.doGet(...): error, \" + e.toString()" + ], "return_type": "", "callee_signature": "sendError(int, java.lang.String)", "is_public": true, @@ -231593,6 +242569,7 @@ "receiver_expr": "e", "receiver_type": "java.lang.Exception", "argument_types": [], + "argument_expr": [], "return_type": "java.lang.String", "callee_signature": "toString()", "is_public": true, @@ -231616,6 +242593,9 @@ "argument_types": [ "" ], + "argument_expr": [ + "100" + ], "return_type": "java.lang.StringBuffer", "callee_signature": "StringBuffer(int)", "is_public": false, @@ -231637,6 +242617,7 @@ "receiver_expr": "", "receiver_type": "java.util.Date", "argument_types": [], + "argument_expr": [], "return_type": "java.util.Date", "callee_signature": "Date()", "is_public": false, @@ -231778,6 +242759,151 @@ "crud_queries": [], "cyclomatic_complexity": 5, "is_entrypoint": true + }, + "getServletInfo()": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", + "signature": "getServletInfo()", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String getServletInfo()", + "parameters": [], + "code": "{\n return \"web primitive, configured with trade runtime configs, tests Servlet to Session EJB path\";\n\n }", + "start_line": 134, + "end_line": 138, + "code_start_line": 135, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [], + "call_sites": [], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false + }, + "init(javax.servlet.ServletConfig)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/ejb3/PingServlet2MDBQueue.java", + "signature": "init(javax.servlet.ServletConfig)", + "comments": [], + "annotations": [ + "@Override" + ], + "modifiers": [ + "public" + ], + "thrown_exceptions": [ + "javax.servlet.ServletException" + ], + "declaration": "public void init(ServletConfig config) throws ServletException", + "parameters": [ + { + "type": "javax.servlet.ServletConfig", + "name": "config", + "annotations": [], + "modifiers": [], + "start_line": 141, + "end_line": 141, + "start_column": 22, + "end_column": 41 + } + ], + "code": "{\n super.init(config);\n hitCount = 0;\n initTime = new java.util.Date().toString();\n }", + "start_line": 140, + "end_line": 145, + "code_start_line": 141, + "return_type": "void", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue.initTime", + "com.ibm.websphere.samples.daytrader.web.prims.ejb3.PingServlet2MDBQueue.hitCount" + ], + "call_sites": [ + { + "method_name": "init", + "comment": null, + "receiver_expr": "super", + "receiver_type": "javax.servlet.http.HttpServlet", + "argument_types": [ + "javax.servlet.ServletConfig" + ], + "argument_expr": [ + "config" + ], + "return_type": "", + "callee_signature": "init(javax.servlet.ServletConfig)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 142, + "start_column": 9, + "end_line": 142, + "end_column": 26 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "new java.util.Date()", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 144, + "start_column": 20, + "end_line": 144, + "end_column": 50 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.util.Date", + "argument_types": [], + "argument_expr": [], + "return_type": "java.util.Date", + "callee_signature": "Date()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 144, + "start_column": 20, + "end_line": 144, + "end_column": 39 + } + ], + "variable_declarations": [], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 1, + "is_entrypoint": false } }, "field_declarations": [ @@ -231986,7 +243112,7 @@ "callable_declarations": { "()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", - "signature": "SimpleBean1()", + "signature": "()", "comments": [], "annotations": [], "modifiers": [ @@ -232020,6 +243146,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"java:comp/ValidatorFactory\"" + ], "return_type": "javax.validation.ValidatorFactory", "callee_signature": "lookup(java.lang.String)", "is_public": true, @@ -232041,6 +243170,7 @@ "receiver_expr": "validatorFactory", "receiver_type": "javax.validation.ValidatorFactory", "argument_types": [], + "argument_expr": [], "return_type": "javax.validation.Validator", "callee_signature": "getValidator()", "is_public": true, @@ -232062,6 +243192,7 @@ "receiver_expr": "", "receiver_type": "javax.naming.InitialContext", "argument_types": [], + "argument_expr": [], "return_type": "javax.naming.InitialContext", "callee_signature": "InitialContext()", "is_public": false, @@ -232102,229 +243233,6 @@ "cyclomatic_complexity": 2, "is_entrypoint": false }, - "formatConstraintViolations(Set)": { - "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", - "signature": "formatConstraintViolations(Set)", - "comments": [ - { - "content": "\n * Convert the constraint violations for use within WAS diagnostic logs.\n *\n * @return a String representation of the constraint violations formatted one per line and uniformly indented.\n ", - "start_line": 100, - "end_line": 104, - "start_column": 3, - "end_column": 5, - "is_javadoc": true - } - ], - "annotations": [], - "modifiers": [ - "public" - ], - "thrown_exceptions": [], - "declaration": "public String formatConstraintViolations(Set> cvSet)", - "parameters": [ - { - "type": "java.util.Set>", - "name": "cvSet", - "annotations": [], - "modifiers": [], - "start_line": 105, - "end_line": 105, - "start_column": 44, - "end_column": 86 - } - ], - "code": "{\n traceLogger.entering(thisClass, \"formatConstraintViolations \" + cvSet);\n\n StringBuffer msg = new StringBuffer();\n for (ConstraintViolation cv : cvSet) {\n msg.append(\"\\n\\t\" + cv.toString());\n }\n\n traceLogger.exiting(thisClass, \"formatConstraintViolations \" + msg);\n return msg.toString();\n }", - "start_line": 105, - "end_line": 115, - "code_start_line": 105, - "return_type": "java.lang.String", - "is_implicit": false, - "is_constructor": false, - "referenced_types": [ - "java.lang.StringBuffer", - "javax.validation.ConstraintViolation" - ], - "accessed_fields": [ - "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1.traceLogger", - "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1.thisClass" - ], - "call_sites": [ - { - "method_name": "entering", - "comment": null, - "receiver_expr": "traceLogger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "entering(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 106, - "start_column": 5, - "end_line": 106, - "end_column": 74 - }, - { - "method_name": "append", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [ - "java.lang.String" - ], - "return_type": "java.lang.StringBuffer", - "callee_signature": "append(java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 7, - "end_line": 110, - "end_column": 40 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "cv", - "receiver_type": "javax.validation.ConstraintViolation", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 110, - "start_column": 27, - "end_line": 110, - "end_column": 39 - }, - { - "method_name": "exiting", - "comment": null, - "receiver_expr": "traceLogger", - "receiver_type": "java.util.logging.Logger", - "argument_types": [ - "java.lang.String", - "java.lang.String" - ], - "return_type": "", - "callee_signature": "exiting(java.lang.String, java.lang.String)", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 113, - "start_column": 5, - "end_line": 113, - "end_column": 71 - }, - { - "method_name": "toString", - "comment": null, - "receiver_expr": "msg", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.String", - "callee_signature": "toString()", - "is_public": true, - "is_protected": false, - "is_private": false, - "is_unspecified": false, - "is_static_call": false, - "is_constructor_call": false, - "crud_operation": null, - "crud_query": null, - "start_line": 114, - "start_column": 12, - "end_line": 114, - "end_column": 25 - }, - { - "method_name": "", - "comment": null, - "receiver_expr": "", - "receiver_type": "java.lang.StringBuffer", - "argument_types": [], - "return_type": "java.lang.StringBuffer", - "callee_signature": "StringBuffer()", - "is_public": false, - "is_protected": false, - "is_private": false, - "is_unspecified": true, - "is_static_call": false, - "is_constructor_call": true, - "crud_operation": null, - "crud_query": null, - "start_line": 108, - "start_column": 24, - "end_line": 108, - "end_column": 41 - } - ], - "variable_declarations": [ - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "msg", - "type": "java.lang.StringBuffer", - "initializer": "new StringBuffer()", - "start_line": 108, - "start_column": 18, - "end_line": 108, - "end_column": 41 - }, - { - "comment": { - "content": null, - "start_line": -1, - "end_line": -1, - "start_column": -1, - "end_column": -1, - "is_javadoc": false - }, - "name": "cv", - "type": "javax.validation.ConstraintViolation", - "initializer": "", - "start_line": 109, - "start_column": 43, - "end_line": 109, - "end_column": 44 - } - ], - "crud_operations": [], - "crud_queries": [], - "cyclomatic_complexity": 2, - "is_entrypoint": false - }, "checkInjectionValidation()": { "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", "signature": "checkInjectionValidation()", @@ -232365,6 +243273,11 @@ "java.lang.String", "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1" ], + "argument_expr": [ + "thisClass", + "\"checkInjectionValidation\"", + "this" + ], "return_type": "", "callee_signature": "entering(java.lang.String, java.lang.String, java.lang.Object)", "is_public": true, @@ -232388,8 +243301,11 @@ "argument_types": [ "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1" ], + "argument_expr": [ + "this" + ], "return_type": "java.util.Set>", - "callee_signature": "validate(T, java.lang.Class...)", + "callee_signature": "validate(java.lang.Object, java.lang.Class[])", "is_public": true, "is_protected": false, "is_private": false, @@ -232409,6 +243325,7 @@ "receiver_expr": "cvSet", "receiver_type": "java.util.Set>", "argument_types": [], + "argument_expr": [], "return_type": "", "callee_signature": "isEmpty()", "is_public": true, @@ -232432,8 +243349,11 @@ "argument_types": [ "java.util.Set>" ], + "argument_expr": [ + "cvSet" + ], "return_type": "java.lang.String", - "callee_signature": "formatConstraintViolations(java.util.Set>)", + "callee_signature": "formatConstraintViolations(java.util.Set)", "is_public": true, "is_protected": false, "is_private": false, @@ -232456,6 +243376,10 @@ "java.util.logging.Level", "java.lang.String" ], + "argument_expr": [ + "Level.INFO", + "\"Some reason cvSet was not null: \" + cvSet + \", \" + msg" + ], "return_type": "", "callee_signature": "log(java.util.logging.Level, java.lang.String)", "is_public": true, @@ -232480,6 +243404,10 @@ "java.lang.String", "java.lang.String" ], + "argument_expr": [ + "thisClass", + "\"checkInjectionValidation \"" + ], "return_type": "", "callee_signature": "exiting(java.lang.String, java.lang.String)", "is_public": true, @@ -232503,6 +243431,9 @@ "argument_types": [ "java.lang.String" ], + "argument_expr": [ + "\"validation should not have found constraints: \" + msg" + ], "return_type": "java.lang.IllegalStateException", "callee_signature": "IllegalStateException(java.lang.String)", "is_public": false, @@ -232646,6 +243577,243 @@ "crud_queries": [], "cyclomatic_complexity": 1, "is_entrypoint": false + }, + "formatConstraintViolations(java.util.Set)": { + "file_path": "/Users/sinhas/workspace/codellm-devkit/tests/resources/java/application/sample.daytrader8-1.2/src/main/java/com/ibm/websphere/samples/daytrader/web/prims/beanval/SimpleBean1.java", + "signature": "formatConstraintViolations(java.util.Set)", + "comments": [ + { + "content": "\n * Convert the constraint violations for use within WAS diagnostic logs.\n *\n * @return a String representation of the constraint violations formatted one per line and uniformly indented.\n ", + "start_line": 100, + "end_line": 104, + "start_column": 3, + "end_column": 5, + "is_javadoc": true + } + ], + "annotations": [], + "modifiers": [ + "public" + ], + "thrown_exceptions": [], + "declaration": "public String formatConstraintViolations(Set> cvSet)", + "parameters": [ + { + "type": "java.util.Set>", + "name": "cvSet", + "annotations": [], + "modifiers": [], + "start_line": 105, + "end_line": 105, + "start_column": 44, + "end_column": 86 + } + ], + "code": "{\n traceLogger.entering(thisClass, \"formatConstraintViolations \" + cvSet);\n\n StringBuffer msg = new StringBuffer();\n for (ConstraintViolation cv : cvSet) {\n msg.append(\"\\n\\t\" + cv.toString());\n }\n\n traceLogger.exiting(thisClass, \"formatConstraintViolations \" + msg);\n return msg.toString();\n }", + "start_line": 105, + "end_line": 115, + "code_start_line": 105, + "return_type": "java.lang.String", + "is_implicit": false, + "is_constructor": false, + "referenced_types": [ + "java.lang.StringBuffer", + "javax.validation.ConstraintViolation" + ], + "accessed_fields": [ + "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1.traceLogger", + "com.ibm.websphere.samples.daytrader.web.prims.beanval.SimpleBean1.thisClass" + ], + "call_sites": [ + { + "method_name": "entering", + "comment": null, + "receiver_expr": "traceLogger", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "thisClass", + "\"formatConstraintViolations \" + cvSet" + ], + "return_type": "", + "callee_signature": "entering(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 106, + "start_column": 5, + "end_line": 106, + "end_column": 74 + }, + { + "method_name": "append", + "comment": null, + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [ + "java.lang.String" + ], + "argument_expr": [ + "\"\\n\\t\" + cv.toString()" + ], + "return_type": "java.lang.StringBuffer", + "callee_signature": "append(java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 7, + "end_line": 110, + "end_column": 40 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "cv", + "receiver_type": "javax.validation.ConstraintViolation", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 110, + "start_column": 27, + "end_line": 110, + "end_column": 39 + }, + { + "method_name": "exiting", + "comment": null, + "receiver_expr": "traceLogger", + "receiver_type": "java.util.logging.Logger", + "argument_types": [ + "java.lang.String", + "java.lang.String" + ], + "argument_expr": [ + "thisClass", + "\"formatConstraintViolations \" + msg" + ], + "return_type": "", + "callee_signature": "exiting(java.lang.String, java.lang.String)", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 113, + "start_column": 5, + "end_line": 113, + "end_column": 71 + }, + { + "method_name": "toString", + "comment": null, + "receiver_expr": "msg", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.String", + "callee_signature": "toString()", + "is_public": true, + "is_protected": false, + "is_private": false, + "is_unspecified": false, + "is_static_call": false, + "is_constructor_call": false, + "crud_operation": null, + "crud_query": null, + "start_line": 114, + "start_column": 12, + "end_line": 114, + "end_column": 25 + }, + { + "method_name": "", + "comment": null, + "receiver_expr": "", + "receiver_type": "java.lang.StringBuffer", + "argument_types": [], + "argument_expr": [], + "return_type": "java.lang.StringBuffer", + "callee_signature": "StringBuffer()", + "is_public": false, + "is_protected": false, + "is_private": false, + "is_unspecified": true, + "is_static_call": false, + "is_constructor_call": true, + "crud_operation": null, + "crud_query": null, + "start_line": 108, + "start_column": 24, + "end_line": 108, + "end_column": 41 + } + ], + "variable_declarations": [ + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "msg", + "type": "java.lang.StringBuffer", + "initializer": "new StringBuffer()", + "start_line": 108, + "start_column": 18, + "end_line": 108, + "end_column": 41 + }, + { + "comment": { + "content": null, + "start_line": -1, + "end_line": -1, + "start_column": -1, + "end_column": -1, + "is_javadoc": false + }, + "name": "cv", + "type": "javax.validation.ConstraintViolation", + "initializer": "", + "start_line": 109, + "start_column": 43, + "end_line": 109, + "end_column": 44 + } + ], + "crud_operations": [], + "crud_queries": [], + "cyclomatic_complexity": 2, + "is_entrypoint": false } }, "field_declarations": [ @@ -232871,5 +244039,5 @@ "is_modified": false } }, - "version": "2.3.4" + "version": "2.3.5" } \ No newline at end of file